Let's code a Linux Driver: 1: A minimal Hello World Linux Kernel Module

Поделиться
HTML-код
  • Опубликовано: 5 ноя 2024

Комментарии • 17

  • @jholloway77
    @jholloway77 2 дня назад +1

    Oh hells yeah!!!
    I've decided to not only do these projects on a linux box, but to recreate each of the drivers you make on a FreeBSD machine.
    That way not only will I learn in a more hands on way, but I can compare and contrast the different *nix systems

  • @ExplosiveAnyThing
    @ExplosiveAnyThing 2 дня назад

    I am really excited about the new series. I followed the old one but I am very hyped for this and I will definitely follow this one as well! Thank you very much for this!

  • @sergiogcollado
    @sergiogcollado 3 дня назад +2

    First comment? Thanks for the video Johanes! ❤

  • @fluctura
    @fluctura 2 дня назад

    Nice, thank you! I remember fixing a sound driver for Linux 2.4 in 2003 or so.. was fun. I since moved on to macOS but it's nice to see the modern Linux way -- it's EXACTLY like it used to be 20 years ago haha -- schöne Grüße.. und aufpassen.. deine Website hat kein Impressum..

  • @ΝίκοςΙστοσελίδα
    @ΝίκοςΙστοσελίδα 2 дня назад

    The first of the updated videos? Congrats!

    • @johannes4gnu_linux96
      @johannes4gnu_linux96  2 дня назад +2

      Yes, the first of the new ones. More are coming :)

    • @ΝίκοςΙστοσελίδα
      @ΝίκοςΙστοσελίδα 2 дня назад

      @@johannes4gnu_linux96 Just one question, does the old video about installing the necessary tools still hold with updated versions, or did I miss a video?

    • @johannes4gnu_linux96
      @johannes4gnu_linux96  2 дня назад +1

      @@ΝίκοςΙστοσελίδα This video is still valid for setting up everything on Raspberry Pi OS: ruclips.net/video/RJr0c4dpKxI/видео.html

    • @adedayoeniola2118
      @adedayoeniola2118 2 дня назад

      Welldone Johannes, this is so much better

  • @rodrigoolmos9202
    @rodrigoolmos9202 День назад

    So good video dude 😊

  • @jamesross3939
    @jamesross3939 2 дня назад

    Liked and subscribed!

  •  2 дня назад

    Well done. Thanks!

  • @Optmzdlyz
    @Optmzdlyz День назад

    Hey Johannes
    What would be the difference between using Static variable for the module init and exit functions vs not using one? We do not need them to retain their value after the driver is unloaded so we can just use int only?

  • @0x8F
    @0x8F 2 дня назад

    Great video!
    I noticed that I can do 'sudo rmmod hello' without specifying the .ko file, I guess that is using the running module name directly

    • @johannes4gnu_linux96
      @johannes4gnu_linux96  2 дня назад +1

      Yes, that is also possible. The module name of a loaded module or the path and filename of the module can be used to remove the module. We will dive into this a little bit more in the next video.

  • @ralify
    @ralify 2 дня назад

    Btw are you using arch?

  • @preetamdas4048
    @preetamdas4048 2 дня назад

    yay