On Thu, Sep 13, 2007 at 05:34:02PM -0500, Karl O. Pinc wrote: > > On 09/13/2007 05:17:17 PM, Aurelien Jarno wrote: > >Karl O. Pinc a écrit : > > >> lsusb silently ignores at least some permission errors, resulting in > >> no output for the device to which there are no permissions. > > > > >As already explained, lsusb does not parse /dev, but uses libusb for > >that. If a device is not in the list given by libusb, lsusb has no way > >to guess that a device is missing. > > That's why I'm writing to (I hope) the authors of Linux's usb > internals, so they can expose an interface libusb can use > to come up with good error reporting. > > Regards /dev, my point is that the existence of the device > _is_ knowable to the account without permissions to > the device, so all the necessary information is > available. Something just needs to put > it together to come up with an error message. >
Just set the environment variable USB_DEBUG to 255 and you will see an error message. But the binary interface of libusb has not been design to report such errors, and changing it now will break a lot of software. You will have to wait for the next generation of libusb that is currently being developed. -- .''`. Aurelien Jarno | GPG: 1024D/F1BCDB73 : :' : Debian developer | Electrical Engineer `. `' [EMAIL PROTECTED] | [EMAIL PROTECTED] `- people.debian.org/~aurel32 | www.aurel32.net -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]