aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/ABI/testing/sysfs-bus-usb
diff options
context:
space:
mode:
authorStefan Koch <stefan.koch10@gmail.com>2015-08-08 11:32:55 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-08-14 16:55:55 -0700
commit6ef2bf71764708f7c58ee9300acd8df05dbaa06f (patch)
tree6bd1e02e6f155374a25d642b3a92a5ad7db6b80a /Documentation/ABI/testing/sysfs-bus-usb
parentusb: interface authorization: SysFS part of USB interface authorization (diff)
downloadlinux-dev-6ef2bf71764708f7c58ee9300acd8df05dbaa06f.tar.xz
linux-dev-6ef2bf71764708f7c58ee9300acd8df05dbaa06f.zip
usb: interface authorization: Documentation part
This part adds the documentation for the interface authorization. Signed-off-by: Stefan Koch <skoch@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/ABI/testing/sysfs-bus-usb')
-rw-r--r--Documentation/ABI/testing/sysfs-bus-usb22
1 files changed, 22 insertions, 0 deletions
diff --git a/Documentation/ABI/testing/sysfs-bus-usb b/Documentation/ABI/testing/sysfs-bus-usb
index 864637f25bee..5c6c26446f2a 100644
--- a/Documentation/ABI/testing/sysfs-bus-usb
+++ b/Documentation/ABI/testing/sysfs-bus-usb
@@ -1,3 +1,25 @@
+What: /sys/bus/usb/devices/INTERFACE/authorized
+Date: June 2015
+KernelVersion: 4.2
+Description:
+ This allows to authorize (1) or deauthorize (0)
+ individual interfaces instead a whole device
+ in contrast to the device authorization.
+ If a deauthorized interface will be authorized
+ so the driver probing must be triggered manually
+ by writing INTERFACE to /sys/bus/usb/drivers_probe
+ This allows to avoid side-effects with drivers
+ that need multiple interfaces.
+ A deauthorized interface cannot be probed or claimed.
+
+What: /sys/bus/usb/devices/usbX/interface_authorized_default
+Date: June 2015
+KernelVersion: 4.2
+Description:
+ This is used as default value that determines
+ if interfaces would authorized per default.
+ The value can be 1 or 0. It is per default 1.
+
What: /sys/bus/usb/device/.../authorized
Date: July 2008
KernelVersion: 2.6.26