Files
kernel_arpi/include/uapi/linux
Alan Stern c01b244ad8 USB: add usbfs ioctl to retrieve the connection speed
The usbfs interface does not provide any way for the user to learn the
speed at which a device is connected.  The current API includes a
USBDEVFS_CONNECTINFO ioctl, but all it provides is the device's
address and a one-bit value indicating whether the connection is low
speed.  That may have sufficed in the era of USB-1.1, but it isn't
good enough today.

This patch introduces a new ioctl, USBDEVFS_GET_SPEED, which returns a
numeric value indicating the speed of the connection: unknown, low,
full, high, wireless, super, or super-plus.

Similar information (not exactly the same) is available through sysfs,
but it seems reasonable to provide the actual value in usbfs.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Reported-by: Reinhard Huck <reinhard.huck@thesycon.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-06-13 10:48:24 +02:00
..
2017-05-17 11:53:02 +02:00
2017-03-03 07:24:00 -03:00
2017-03-25 20:11:19 -07:00
2017-04-24 12:35:56 -04:00
2017-01-10 14:05:11 -05:00
2017-02-03 15:16:45 -05:00
2017-01-17 14:38:43 -05:00
2017-02-20 11:13:37 -05:00
2017-03-28 22:32:42 -07:00
2017-01-09 16:07:38 -05:00
2017-01-29 19:17:23 -05:00
2017-03-09 15:42:33 +01:00
2017-01-10 18:31:55 -08:00
2017-03-31 12:55:06 +02:00
2017-04-24 12:35:56 -04:00