GNU/Linux & USB - Implementing Control Transfers in a Linux USB Driver or Kernelmodule

Поділитися
Вставка
  • Опубліковано 1 жов 2024
  • #GNU #Linux #Tutorial #Driver #DriverDevelopment
    Let's take a closer look at USB. In this series of tutorials we will learn how to implement an USB device on a microcontroller and interact with it over our GNU/Linux OS from user- and kernelspace.
    Today we will control the 7 segment display of our Atmega32U4 USB device with control transfers from kernelspace. We will write a driver which creates a procfs file. By writing to this file the driver updates the value of the display, by reading from it, the driver will read back the displayed value.
    You can find the source code here:
    github.com/joh...
    Here is a link to the video where I showed how to implement procfs files:
    • Let's code a Linux Dri...
    You want to support my work? You can buy me a coffee here: www.buymeacoff...
    If you want to contact me, you can find my E-Mail on www.gnu-linux.rocks
    You want to learn more? Check out my playlist:
    • GNU/Linux & USB
    Resources for this video:
    makelinux.net/...

КОМЕНТАРІ • 8