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