Re: [PATCH] USB: add usbfs ioctl to retrieve the connection parameters

2019-06-11 Thread Alan Stern
On Mon, 10 Jun 2019, Dmitry Torokhov wrote: > Recently usfbs gained availability to retrieve device speed, but there > is sill no way to determine the bus number or list of ports the device > is connected to when using usbfs. While this information can be obtained > from sysfs, not all environment

[PATCH] USB: add usbfs ioctl to retrieve the connection parameters

2019-06-10 Thread Dmitry Torokhov
Recently usfbs gained availability to retrieve device speed, but there is sill no way to determine the bus number or list of ports the device is connected to when using usbfs. While this information can be obtained from sysfs, not all environments allow sysfs access. In a jailed environment a progr