Navigation: Linux Kernel Driver DataBase - web LKDDB: Main index - U index
The Linux kernel configuration item CONFIG_USB_DEVICE_CLASS
:
CONFIG_USB
Userspace access to USB devices is granted by device-nodes exported directly from the usbdev in sysfs. Old versions of the driver core and udev needed additional class devices to export device nodes.
These additional devices are difficult to handle in userspace, if information about USB interfaces must be available. One device contains the device node, the other device contains the interface data. Both devices are at the same level in sysfs (siblings) and one can't access the other. The device node created directly by the usb device is the parent device of the interface and therefore easily accessible from the interface event.
This option provides backward compatibility for libusb device nodes (lsusb) when usbfs is not used, and the following udev rule doesn't exist: SUBSYSTEM=="usb", ACTION=="add", ENV{DEVTYPE}=="usb_device", \ NAME="bus/usb/$env{BUSNUM}/$env{DEVNUM}", MODE="0644"
Raw data from LKDDb:
(none)
This page is automaticly generated with free (libre, open) software lkddb(see lkddb-sources).
The data is retrived from:
Popular queries:
Navigation: Linux Kernel Driver DataBase - web LKDDB: main index - U index
Automatically generated (in year 2024). See also LKDDb sources on GitLab