Re: [PATCH 1/5] lsusb: install into /usr/bin

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Oct 27, 2010 at 8:26 AM, Mike Frysinger <vapier@xxxxxxxxxx> wrote:
> On Tue, Oct 26, 2010 at 8:23 PM, Samuli Suominen wrote:
>> On 10/27/2010 03:05 AM, Sarah Sharp wrote:
>>
>>> The descriptors are fetched fine when I run lsusb as root.  This is probably
>>> due to file permissions, but do you really want to move lsusb out of sbin?
>>
>> lsusb's output is useful as-is without parameters to find the correct
>> drivers based on device id when you build the kernel.
>> it would be best to simply provide less output when ran as root.
>>
>
> but i dont think the inability to read a few pieces of info as
> non-root on some systems should prevent moving to /usr/bin.  there is
> plenty of info that is accessible to non-root users.

I agree. lsusb is useful for non-root users. It is one of the most
important tools when troubleshooting usb device problems.
Moreover, when proper udev rules is set (and when kernel
hid driver is detached for the hid device), lsusb can provide
more information, even when run as a non-root user.


-- 
Xiaofan
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux