Re: lsusb omits some devices and (apparently) cannot be fixed
"Karl O. Pinc" <[email protected]>
| Newsgroups | gmane.linux.usb.devel |
|---|---|
| Message-ID | <1189722842l.13173l.5l@mofo> |
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. Karl <[email protected]> Free Software: "You don't pay back, you pay forward." -- Robert A. Heinlein ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ [email protected] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel