Re: /sys/bus/usb/devices

2014-04-28 Thread Mathias Nyman
On 04/27/2014 11:11 AM, John Freed wrote: I hope you don't mind me writing you directly, and if someone else can handle this better please let me know. I'm trying to do some backend work on libusb and I notice that the kernel keeps all the information on the Device Descriptors except for the v

Re: /sys/bus/usb/devices

2014-04-28 Thread Greg KH
On Mon, Apr 28, 2014 at 02:59:16PM +0300, Mathias Nyman wrote: > > > On 04/27/2014 11:11 AM, John Freed wrote: > > I hope you don't mind me writing you directly, and if someone else can > > handle this better please let me know. > > > > I'm trying to do some backend work on libusb and I notice th

Re: /sys/bus/usb/devices

2014-04-28 Thread Alan Stern
On Mon, 28 Apr 2014, Mathias Nyman wrote: > > > On 04/27/2014 11:11 AM, John Freed wrote: > > I hope you don't mind me writing you directly, and if someone else can > > handle this better please let me know. > > > > I'm trying to do some backend work on libusb and I notice that the > > kernel ke

Re: /sys/bus/usb/devices/2-5 to /dev/... mapping

2015-04-02 Thread Alan Stern
I hope you don't mind that I have CC'ed the mailing list for this reply. > I have idVendor and idProduct codes of a device (2357:f000). Have you considered what will happen in the future when you have two devices with the same idVendor and idProduct codes? > By crawling (in