Making Simple Windows Driver in C

Поділитися
Вставка
  • Опубліковано 5 лют 2025

КОМЕНТАРІ • 419

  • @bmx666bmx666
    @bmx666bmx666 11 місяців тому +172

    0 water, 100% short and useful information. Thanks!

  • @badtrip858
    @badtrip858 Рік тому +360

    It is almost comical that when searching for a video about Windows Drivers' Development so far, I was only getting results from 10 years ago that have completely given up on that specific matter so the information on these outdated videos is also minimal, and now, out of nowhere, I bumped into this video on my home page. I'd really love to see more guides concerning drivers' development. That was incredible.

    • @matteoveraldi.musica
      @matteoveraldi.musica Рік тому +1

      Same

    • @israelperezmasle6673
      @israelperezmasle6673 11 місяців тому +17

      I wasn't even looking, it just popped up

    • @johnmarks714
      @johnmarks714 7 місяців тому

      Pavel Yosifovich is another good source. Dont know about his videos, but he's written good low level programming type books, such as device driver dev and theyre current.

    • @Алексей-ч4у3з
      @Алексей-ч4у3з 6 місяців тому

      so there are no new episodes and this video is more HELLO WORLD than really driver development guide

    • @harleyspeedthrust4013
      @harleyspeedthrust4013 2 місяці тому +1

      There's great stuff on msdn

  • @georgeadrianstefan1676
    @georgeadrianstefan1676 Рік тому +499

    Another episode of: Things I will never do but watch anyway because i like them.

    • @lucianprl
      @lucianprl 10 місяців тому +16

      at least I'm not the only one who does this :)))

    • @mr.t9816
      @mr.t9816 9 місяців тому +6

      Oh now i understand why this very very specific video has 250k+ views lol.

    • @sadiulhakim7814
      @sadiulhakim7814 9 місяців тому +2

      @@lucianprl Same here

    • @Lbf5677
      @Lbf5677 25 днів тому

      Imagine 250k Linux driver devs

    • @MrGerdbrecht
      @MrGerdbrecht 12 днів тому

      Actually i kinda go back to win32api because i find Qt apps so damn slow in startup. Having a high perf pc and then those startup time make me think we go backwards. And i hate win32api. but it's probably instant compatible running on linux aswell with WINE emulation.

  • @johnshaw6702
    @johnshaw6702 Рік тому +29

    I liked it. I haven't written a driver in 25 years, but I see things have changed. Short but sweet.

  • @szyszqu
    @szyszqu Рік тому +13

    Damn, at the beginning I couldn't even tell if it was Linux or Windows with that DWM bar, looks amazing!

  • @madghostek3026
    @madghostek3026 Рік тому +87

    extremely good tutorial, coincise, no pauses, everything planned

  • @BarryKawooya-c3g
    @BarryKawooya-c3g Рік тому +196

    Everything to get you started with drivers

  • @g4yktzgjx6
    @g4yktzgjx6 Рік тому +4

    Video starts "Before you start writing a driver"
    Wait.. You skipped 6 steps. "Hello", "Subscribe", "Like", "Sponsor", "Basic shit you should know before even clicking the video", and "Thank you".
    Overall. Nice, short, and concise video. More of this please!

  • @preludelight
    @preludelight Рік тому +297

    I thought "There's no way a sub 8 minute video is going to be enough to be informative for a topic like this." I was completely wrong. This was well paced, straight forward, and better than I could have imagined. This will be the go-to video I send to people who want to start with kernel mode dev but don't understand quite where to get started.
    Also: What shell replacement are you using, It looks swell!

    • @nirlichtman
      @nirlichtman  Рік тому +36

      Thanks! :) I use a port of Suckless dwm for Windows called dwm-win32, it actually sits on top of the shell and does not replace it but rather it works by managing the existing windows and listening to newly created ones

    • @cocosloan3748
      @cocosloan3748 Рік тому +20

      Do not encourage this fellow...
      Next time he will do it in 4 minutes and I wont get it at all 😢

    • @jyothishkumar3098
      @jyothishkumar3098 Рік тому

      ​@@nirlichtman Much like xoblite or Kera desktop

  • @nyzss
    @nyzss Рік тому +117

    incredible content, I would love to see more videos that introduce or expend on more low level concepts. thank you!

  • @Potew
    @Potew Рік тому +4

    I wonder how much knowledge and IQ is needed for making all these steps with such easiness. Thanks for the video!

  • @uschurch
    @uschurch Рік тому +5

    You have the best programming tutorials.👌If everyone made their tutorials as concise and terse UA-cam could free half of its storage.😂

  • @dtikvxcdgjbv7975
    @dtikvxcdgjbv7975 11 місяців тому +2

    I love Your work. Very helpful.
    You proved us that creating a driver is not a rocket science.
    Now some humorous stuff. When I saw the driver not stopping from executing, I expected that You'll like a true programmer make fun of it by saying: "OMG, how is this thing stopping?"

  • @waleedalrashed1411
    @waleedalrashed1411 Рік тому +11

    Even though I learned about drivers back in Uni. It was all theory. your 7-minute long video was the missing piece.
    Like your video style, not asking for [like , share, comment] just straight to the point with no pauses.
    Appreciate your hard work.
    p.s: liked , shared, subed ✅

  • @HarperLee1840
    @HarperLee1840 Рік тому +5

    That's quality content I want on UA-cam. Great video sir.

  • @Speed4Runs
    @Speed4Runs Рік тому +4

    It amazes me how someone can be both a CS geek and cute at the same time
    I've always been interested in drivers development, but despite having both hardware/electronics and kernel knowledge, I had no idea of where to start for drivers, ESPECIALLY on Windows. Thanks!

    • @nirlichtman
      @nirlichtman  Рік тому +2

      Thanks for the compliment :)

    • @runninggames771
      @runninggames771 11 місяців тому +8

      lmao bro got rizzed on a fucking driver tutorial

    • @Speed4Runs
      @Speed4Runs 11 місяців тому +2

      @@runninggames771 could you believe it? Being weird and coding really bring the most unexpected parts of people

    • @gatonegro187
      @gatonegro187 10 місяців тому

      eww gay

    • @felipemurta9160
      @felipemurta9160 8 місяців тому

      @@runninggames771lmaoo

  • @chipling7367
    @chipling7367 11 місяців тому +1

    Thank you so much Nir, that's the kind of video I enjoyed the most. Short and informative. No BS. Thanks again.

  • @rohitjacob803
    @rohitjacob803 7 місяців тому +1

    Finally someone decided to put out on a tutorial on writing windows driver instead of linux

  • @stefanosbek
    @stefanosbek Рік тому +5

    I absolutely love these. Short but informational.

  • @GrindAlchemyTech
    @GrindAlchemyTech Рік тому +14

    You explain very well....the delivery is rare ....many videos I've watched...it's rare to get explanations that actually explain things if that makes sense... thank you ♌🙌🏽💗

  • @orcofnbu
    @orcofnbu Рік тому +2

    i feel so lucky that i found this content. just wow

  • @faustasazuolasbagdonas123
    @faustasazuolasbagdonas123 Рік тому +4

    Short and straight to the point 👍. Subscribed.

  • @NullCyan
    @NullCyan Рік тому +99

    Please make more Windows low level programming, this is awesome!
    suggestion: tutorials on C windows api

    • @ufufuawa401
      @ufufuawa401 Рік тому +7

      How bout Native API Programming :3 ?

    • @NullCyan
      @NullCyan Рік тому

      @@ufufuawa401 true :3

    • @dsihacks
      @dsihacks Рік тому

      @@ufufuawa401 aint no way we making our own csrss.exe 💀

    • @awaismushtaq5719
      @awaismushtaq5719 11 місяців тому +5

      @@ufufuawa401 couldn't agree more. We all need to know how things used to be during good old days

  • @abdullahtrees5204
    @abdullahtrees5204 Рік тому +16

    This is an excellent video! To the point, concise and beautifully simple! Thanks a lot

  • @Acradasa
    @Acradasa 6 місяців тому

    i can't get enough of your content, it's that good!

  • @joab83
    @joab83 Рік тому +10

    simple, concise and excellent for learning basic concepts!

  • @HumanGamer
    @HumanGamer Рік тому +10

    I've been wanting to know windows driver dev for years and suddenly you make this video! Thank you. Would you be able to do more tutorials on windows drivers? For example, what about a driver for a virtual floppy disc or something? I'd love to see that.

    • @nirlichtman
      @nirlichtman  Рік тому +11

      Yes, planning on more driver/kernel level videos, it's a very interesting subject :)

    • @sameerakhatoon9508
      @sameerakhatoon9508 Рік тому +1

      @@nirlichtman would love to watch more on this

  • @Songfugel
    @Songfugel 8 місяців тому

    Wow, this was an amazing video! so clear and so informative without skipping any steps (like sadly so many do) that are "obvious" to people who this every day

  • @formlessone2807
    @formlessone2807 Рік тому +5

    Well done - succinct, hits the important points. Thanks for this!

  • @pascalcoole2725
    @pascalcoole2725 11 місяців тому

    Nir, thanks, i don't understand anything about MicroSoft Windows, running Linux since 1994 as wel as some UNICES. Your video however is the first interesting instruction on MicroSoft development i have ever seen.
    Main interesting thing is that you actualy show whats happening iso obfuscating the whole process using an IDE.

  • @vladislavkaras491
    @vladislavkaras491 Рік тому +1

    It was interesting to watch how to create a simple driver!
    Thanks for the video!

  • @alexandrohdez3982
    @alexandrohdez3982 Рік тому +1

    Driver is complex, thank you 👏👏👏👏

  • @GuildOfCalamity
    @GuildOfCalamity Рік тому +1

    Never seen this explained so succinctly, bravo!
    Could you do another tutorial for creating a driver to talk to a USB device?

    • @nirlichtman
      @nirlichtman  Рік тому +1

      Thanks! Noted, that is a good idea :)

  • @mattmurphy7030
    @mattmurphy7030 7 місяців тому

    This is exactly the kind of stuff I want to see. Thanks!

  • @tamirrothschild
    @tamirrothschild Рік тому +1

    לא יודע איך הגעתי לפה אבל כל הכבוד לך ובהצלחה עם הערוץ

  • @emblink27
    @emblink27 11 місяців тому +1

    Watched the video.
    Added driver development to my cv 😁

  • @complexity5545
    @complexity5545 8 місяців тому

    I was trying to refresh making microsoft drivers. Good video.

  • @FatBoi305
    @FatBoi305 Рік тому

    Man after looking at C-Drive for 20 years, your title just gave me a brain fart 😂.

  • @netanelkomm5636
    @netanelkomm5636 Рік тому

    הופתעתי ושמחתי באותו זמן לגלות שאתה ישראלי כשראיתי ״שבת, 02 דצמבר״ :)

  • @illusoryknowledge9307
    @illusoryknowledge9307 9 місяців тому

    The couple cringe comments bashing Vim or C is laughable and makes one question if they even know programming.
    Great video, most have sought profit by means of their 20 minute diatribes, inefficiently transmitting that thing called knowledge. This is a pleasant contrast.

  • @ciscornBIG
    @ciscornBIG Рік тому +1

    HELL YEAH! I'll check this out this later today. Thanks, broseph!

  • @jbray250
    @jbray250 Рік тому +7

    Fantastic tutorial and well explained, subscribed and looking forward to more

  • @indianbandhu
    @indianbandhu Рік тому

    Holy Sh**!...Dam it so precise, so concise tutorial..freaking amazing!!!🤩

  • @ilyastoletov
    @ilyastoletov 6 місяців тому

    Nice video. I certainly won't write any drivers for Windows but the commands' syntax of Windows shell is quite interesting, although similar to Linux

  • @jonweinraub
    @jonweinraub 11 місяців тому

    Really fantastic how the algorithm shows something I didn’t think I wanted to learn but now I do. Why though you needed the two voided parameters but wasn’t used on call with null unless I missed something. תודה

    • @nirlichtman
      @nirlichtman  10 місяців тому +1

      That is just to follow the entry point signature according to the docs which specifies that the driver entry gets two parameters, I did not used the information passed into these parameters so I just ignored them.
      בכיף 🙂

  • @siiiiiiiiiiiiiiiiiuu
    @siiiiiiiiiiiiiiiiiuu 5 місяців тому

    did this guy just entered PC godmode? yes!

  • @597das
    @597das Рік тому +14

    are you using a tiling window manager within windows? or do you just have multiple instances of a vm on different linux workspeces? if so, what tiling window manager are you using? I tried komorebi a few years back but it was pretty early in development back then.

    • @ardnys35
      @ardnys35 Рік тому +3

      that looks like i3 and it's a nice wm for linux. seeing it on windows is kinda cursed but it got me curious too. anyways maybe give i3 a try, it's pretty easy to setup and configure

    • @nirlichtman
      @nirlichtman  Рік тому +11

      @597das I use a port of Suckless dwm for Windows called dwm-win32, more information on the vid about my setup

  • @progste
    @progste Рік тому +2

    Very well made and without wasting time!

  • @none_of_your_business
    @none_of_your_business Рік тому +3

    Interesting, after 10 years of linux kernel programming, I never knew that windows also has something akin to dmesg, I also love how short and to the point this was. Kol hakavod.

    • @nirlichtman
      @nirlichtman  Рік тому

      Toda! It's somewhat similar to dmesg but also different since dmesg shows you the kernel log buffer and the program dbgview just connects as a debugger to the user mode programs/kernel and shows you debug prints (although it does have a feature to log boot)

  • @BigA1
    @BigA1 Рік тому +7

    Not being a full time programmer, I would like to see a 'Real World' example of what a driver is and what it can do, if that's possible?

    • @nirlichtman
      @nirlichtman  Рік тому +4

      Yes, I plan on making a more general video about drivers as well :)

    • @TheNewKill1212
      @TheNewKill1212 Рік тому

      I've been developing kernelmode driver for anti-cheat system, used assembly on x86 and ObRegisterCallbacks on x64. This is one of the examples.
      Another example is a device driver as you can access everything from kernel, you can for example ask PCI device directly.

  • @kamugishajoseph6467
    @kamugishajoseph6467 Рік тому

    The precise video about drivers development.
    Can you continue and create executable file for driver ?

  • @sinaghaderi9184
    @sinaghaderi9184 Рік тому +1

    Nice video 👍🏼 Ps: now i understand the beauty of the linux kernel.. way more cooler and easier to write a kernel module 🧑‍💻

  • @kern776
    @kern776 Рік тому +2

    You are ANGEL!! Thank you buddy, i suscribed )) thanks

  • @saecula2391
    @saecula2391 7 місяців тому

    Klasse Video Vielen Dank, kurz und kompakt ... btw Ich benutze u.a. Visual Studio hauptberuflich ✨

  • @test-rj2vl
    @test-rj2vl Рік тому

    If you just want to play around and learn I would suggest using VirtualBox or VMware or something similar. Then you don't have to restart. Also if you brick your computer like infinite boot loop or something then with VM you just restore previous snapshot and you are ready to go again.

  • @Rombizio
    @Rombizio 8 місяців тому

    The cmd prompt to compile this alone make me cry. The extra steps to make it work put me in fetal position.

  • @karlm9584
    @karlm9584 Рік тому +1

    This is great thank you. I never knew how to create services like that. Would that service also show up in Windows services?

    • @nirlichtman
      @nirlichtman  Рік тому +2

      It won't show up in the services application since it is technically not a service but a kernel driver (I ran sc with type= kernel), SC supports also creating and loading drivers and calls them also "services" but you can see it is a driver by looking at the type (with sc query for example) and seeing that it says "KERNEL_DRIVER".

  • @michaeldonoghue9015
    @michaeldonoghue9015 11 місяців тому

    Great video. I would just add that you should always wear your seatbelt when writing a driver. Safety first.

  • @MariusSchwendtmayer
    @MariusSchwendtmayer 29 днів тому

    How did you get into driver developement ?
    Do you have a software engineering background or CS education ? Or more like an embedded systems background and a CE educaction ?

  • @kinershah464
    @kinershah464 8 місяців тому

    Awesome, nice and simple. 👍

  • @RiadAhmed-ce6qo
    @RiadAhmed-ce6qo 8 місяців тому

    Nice one 👍 is that working with hive and hardware abstraction layer ?

  • @gaeshows1938
    @gaeshows1938 Рік тому +6

    It’s better to debug your driver inside a VM to avoid having to restart your PC every time you get a BSOD

    • @paradoxicalcat7173
      @paradoxicalcat7173 7 місяців тому

      The first time I wrote a Windows driver I didn't BSOD the machine once. Driver dev isn't for you if you can't handle memory.

  • @MNE-yk8vp
    @MNE-yk8vp Рік тому

    no intro, no curve ball, just straight nerd-ery

  • @jasdfff770
    @jasdfff770 9 місяців тому +1

    I don't quite understand what a driver does. What is the difference from a "normal" program? And isn't a driver a specific program that a hardware uses to communivate with the OS? If so, the driver you created doesn't have any hardaware attached to it. If you could explain to me... thanks!

  • @深夜酒吧
    @深夜酒吧 Рік тому +2

    how to get your driver certified by ms? how much money does it take to do that?

  • @test-rj2vl
    @test-rj2vl Рік тому

    Can you make video of getting your driver signed so you could run it normally? It's something that we all have to do at some point anyways. MS official tutorial can be big and scary at the beginning. It's not clear if it costs money or if if it's possible for free also.

  • @HimanshuShekhar1
    @HimanshuShekhar1 10 місяців тому

    This is super awesome channel. Thank you

  • @ohioisbruh
    @ohioisbruh Рік тому +1

    Just have a doubt... How to implement this driver onto a device... cuz today most devices are plug & play...

  • @SeanChYT
    @SeanChYT Рік тому +1

    Is there any way to install custom certificates or anything so that we can sign our own drivers? Disabling driver signature verification permanently is becoming very difficult on modern Windows versions if I remember correctly. It used to be easier.

  • @DeadCat-42
    @DeadCat-42 9 місяців тому

    I used to make all kinds of genetic print drivers for hp laser printers to get around the bloat ware they pushed.

  • @Veso266
    @Veso266 Рік тому +1

    Nice
    Would love to see a more detail video like how to comunicate with a driver from ur user program
    Suppose u are making a device driver, so how would u get data in and out of it with ur user program so u could comunicate with a device on the other side of a driver?

    • @nirlichtman
      @nirlichtman  Рік тому +1

      That is a good idea for a future video, thanks :)

  • @lilhaxxor
    @lilhaxxor Рік тому

    Very nice. Things I want to know:
    - Is the "cl" compiler "Clang" or something else ?
    - What happens when you crash a driver ? Do you know the procedure to handle that safely or is it a guaranteed blue screen ?

    • @nirlichtman
      @nirlichtman  Рік тому +1

      - "cl" is the Visual Studio compiler - unless you tell it to compile only, it also calls the linker after it finishes compiling (in the video I passed to cl flags for the compiler and for the linker)
      - You can handle exceptions in the driver safely - more information here: learn.microsoft.com/en-us/windows-hardware/drivers/kernel/handling-exceptions

  • @josephdaquila2479
    @josephdaquila2479 5 місяців тому

    I don't seem to be seeing the "km" folder. I'm wondering if there was something I had to do beforehand to gain access to that folder. I see a "um" folder, presumably "user mode".
    EDIT: followed the guide for downloading the SDK and the WDK and we're good now.
    I guess what was already installed in the directory only included the user mode directory "um".

  • @MrChrisRP
    @MrChrisRP Рік тому

    Nasty, dude. Rock! You make the NirSoft stuff? Just wondering, with the coincidence in names is all. I like those tools a lot myself and use them since forever. Same with Russinovich's stuff.

  • @defaultentertainment697
    @defaultentertainment697 Рік тому

    nice albums on the wall man, starset and breaking benjamin.

    • @nirlichtman
      @nirlichtman  Рік тому +1

      Thanks! 🤘

    • @defaultentertainment697
      @defaultentertainment697 Рік тому

      @@nirlichtman i religiously listen to downplay's saturday album on every saturday, starting with it's saturday song.

    • @nirlichtman
      @nirlichtman  Рік тому +1

      @@defaultentertainment697 Nice song! has some early Breaking Benjamin vibes :) I like the original Downplay version of Dark on Me

  • @soyysaucceee
    @soyysaucceee Рік тому

    Nice video! deserve likes and subs

  • @gregorymccoy6797
    @gregorymccoy6797 Рік тому

    Good video. Very clear

  • @strob5657
    @strob5657 Рік тому +1

    Wait can you explain why .sys and not .inf? Do they serve the same purpose or is there a difference? This is so neat by the way it's super cool

    • @nirlichtman
      @nirlichtman  Рік тому +2

      Thanks :) .inf and .sys serve a different purpose, the sys file is the actual binary of the driver while inf files are textual config files that tell Windows how to install software/drivers

    • @strob5657
      @strob5657 Рік тому +1

      Ahh I see I see, thanks!! And again, really cool video I'm such a sucker for low level windows, thanks for making such a concise video about it!!

  • @bitterbob30
    @bitterbob30 7 місяців тому

    I'll take "World's most complicated and convoluted Hello World program, for $1,000"

  • @DroneMothership
    @DroneMothership Рік тому +1

    Solid bro!!

  • @duyhung.30
    @duyhung.30 8 місяців тому

    sir how to have dwm like that in windows. thank you for great conents btw

  • @ok-gp7gr
    @ok-gp7gr Рік тому

    I'm getting error startservice failed 577, "Windows cannot verify the digital signature for this file".
    I have checked that I have done the step where you disabled the Windows driver signature enforcement; am I missing a step?

  • @muzairafzal1529
    @muzairafzal1529 Рік тому

    Great work brother

  • @binks3371
    @binks3371 Рік тому

    can you do more driver videos ? Like how to write a simple filesystem driver.

    • @nirlichtman
      @nirlichtman  Рік тому

      Yes, more driver videos are planned :)

  • @nostromza3433
    @nostromza3433 Рік тому +1

    How do you sign the driver?

  • @roncato7
    @roncato7 11 місяців тому

    Can you provide an e2e example next?

  • @jackgerberuae
    @jackgerberuae Рік тому +2

    What would you do with a driver though. All hardware drivers are supplied by MS or the vendor, right?

    • @dylanh333
      @dylanh333 Рік тому +3

      Access and manipulate kernel data structures normally not available in userland, implement file system filters, hook system calls, etc.
      The term "driver" in Windows tends to more generically refer to kernel modules (in Linux terminology), rather than just stuff for "driving" actual hardware.
      That said, you do also have some "user-mode drivers" that *are* for driving hardware, and don't run in kernel mode ¯⁠\⁠_⁠(⁠ツ⁠)⁠_⁠/⁠¯

    • @jackgerberuae
      @jackgerberuae Рік тому +1

      @@dylanh333 that is a very clear explanation, thank you 🙏

  • @isyankarmakarna9865
    @isyankarmakarna9865 10 місяців тому

    wxcuse me. please tell me how can i write a keyboard driver for autopress. forexample it can be autopressd "z" when the notepad open.

  • @strange1702
    @strange1702 Рік тому +2

    would be cool to see c++ version of drivers as well as how to sign a driver (:

    • @0o29k2
      @0o29k2 9 місяців тому

      just write ur code in c++, cl is a c++ compiler

    • @paradoxicalcat7173
      @paradoxicalcat7173 7 місяців тому

      C++ isn't supported in kernel driver development as it uses memory in ways kernel mode drivers can't support due to the nature of memory management in the kernel.

    • @strange1702
      @strange1702 7 місяців тому

      @@paradoxicalcat7173 tf you talking about, it is supported, i have been writing kernel drivers for a decade now in c++ obviously...

    • @strange1702
      @strange1702 7 місяців тому

      @paradoxicalcat7173 literally usermode functions such as readprocessmemory is streamed from kernel... what you said is basically "i cant read this book, because its in French, and translations are impossible"

  • @TulhoKay
    @TulhoKay 11 місяців тому

    Hello, I'm from Brazil, my English is at translator level. I started studying the x86 architecture, I can now create some codes. Could you guide me? I have an old notebook to do the tests. It uses several VIA components. My question, how do I get the codes for hardware control and stuff? Like, the bios has its interrupts is it a super I/O, video card? Everything is very confusing, this part involving peripherals.

  • @bgill7475
    @bgill7475 Рік тому +2

    Excellent and straight to the point, thank you very much! 🙂

  • @TommiAVasarainen
    @TommiAVasarainen 8 місяців тому

    what is that operating system modification ? never seen that kind of Win 10 ....

  • @goofballbiscuits3647
    @goofballbiscuits3647 11 місяців тому

    Thank you! I had to modernize a driver for Win11 to use a 12+ year old printer. It's an amazing Canon from before the ink stuff started getting bananas. I spend $20/year on ink. The only problem I have is that Canon didn't want to modernize the driver!
    I've only developed for private companies. I know how they lock down IP and have heard that camera companies have gotten super greedy as well.
    Is it legal for me to release what I have for a win11 driver so others can enjoy it? Bound by US law here, so a bit nervous navigating this IP minefield lol I'm not hiring an attorney for my first FOSSy aspirations 😅

  • @dailydoseofshtposts6891
    @dailydoseofshtposts6891 Рік тому +1

    Brilliant tutorial once again, but what are drivers exacly useful for?

    • @nirlichtman
      @nirlichtman  Рік тому +2

      Drivers enable you to operate in kernel level and call kernel functions (for example the function I use in the video DbgPrint is implemented in the kernel) and are useful for a variety of reasons for example adding support for new devices, implementing a file system or just for fun and learning :)

    • @dailydoseofshtposts6891
      @dailydoseofshtposts6891 Рік тому +1

      @@nirlichtman thank you :)

    • @TheFuture36520
      @TheFuture36520 3 місяці тому

      @@nirlichtman cool touchscreen drivers, mouse pad drivers, keyboard drivers.
      Is it true that without drivers the hardware wouldn't be able to interact with humans?

  • @kcirtaP69
    @kcirtaP69 Рік тому +1

    If "sc create driverName binPath= C:\path\to\driver.sys type= kernel" is giving you an error try using sc.exe

  • @ahwbjsjianwekem8311
    @ahwbjsjianwekem8311 Рік тому

    isnt `bcdedit -set testsigning on` enough dor it to load?

  • @johnmarks714
    @johnmarks714 7 місяців тому

    Im curious if you've heard of Pavel Yosifovich? I think youd find his works interesting

  • @hoteny
    @hoteny Рік тому

    4:30 so back in 2020 i think, I tried vjoy driver installation but failed because it wasnt signed. I enabled test mode and it still didnt work.
    Now vjoy is signed by someone who loves paying hundreds of dollars a year but i still dont get how test mode didnt work at all…

  • @rajatmond
    @rajatmond Рік тому +1

    Can't you do it in visual studio? That's the whole purpose I prefer lattepanda over raspberry pi.

  • @DrVektor
    @DrVektor Рік тому

    Thank you for this example.