GNU/Linux & USB – Read from USB In Endpoint Type Bulk Transfer in a Linux Driver
#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.
I will show you how to read from USB Bulk In Endpoints from a Linux Driver. Therefore I will implement a gpiochip-compatible driver for my Atmega32U4 USB device.
You can find the source code here:
https://github.com/johannes4Linux/usb_tutorial
You want to support my work? You can buy me a coffee here: https://www.buymeacoffee.com/johannes4linux
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:
Resources for this video:
https://github.com/torvalds/linux/blob/master/drivers/gpio/gpio-tpic2810.c
https://makelinux.net/ldd3/chp-13-sect-4.shtml
Views : 216
linux