Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Documentation sysfs-bus-usb: Document which files are used by libusb

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Hans de Goede and committed by
Greg Kroah-Hartman
2eb86032 db187a5b

+10
+10
Documentation/ABI/stable/sysfs-bus-usb
··· 91 91 KernelVersion: since at least 2.6.18 92 92 Description: 93 93 Device address on the USB bus. 94 + Users: 95 + libusb 94 96 95 97 What: /sys/bus/usb/devices/.../bConfigurationValue 96 98 KernelVersion: since at least 2.6.18 ··· 108 106 configuration, rather then unconfigure the device. 109 107 110 108 Writing -1 will always unconfigure the device. 109 + Users: 110 + libusb 111 111 112 112 What: /sys/bus/usb/devices/.../busnum 113 113 KernelVersion: 2.6.22 114 114 Description: 115 115 Bus-number of the USB-bus the device is connected to. 116 + Users: 117 + libusb 116 118 117 119 What: /sys/bus/usb/devices/.../descriptors 118 120 KernelVersion: 2.6.26 ··· 130 124 can be trusted, and can be used to seek forward one (sub) 131 125 descriptor at a time until the next config descriptor is found. 132 126 All descriptors read from this file are in bus-endian format 127 + Users: 128 + libusb 133 129 134 130 What: /sys/bus/usb/devices/.../speed 135 131 KernelVersion: since at least 2.6.18 136 132 Description: 137 133 Speed the device is connected with to the usb-host in 138 134 Mbit / second. IE one of 1.5 / 12 / 480 / 5000. 135 + Users: 136 + libusb