I am new to Linux kernel programming. I want to develop a program for reading information about a USB drive, such as manufacturer name, capacity, etc. I know about descriptors and their attributes. But I don’t understand how to list the USB drives connected to the system. I am looking for a function that initiates a connection between the kernel and the USB port. How is this possible?
source
share