Sedat Dilek <[email protected]> writes:
> On Wed, Jun 15, 2016 at 5:51 PM, Alan Stern <[email protected]> wrote:
>
>> sudo ./usbreset /dev/bus/usb/001/005
>>
>> 001 and 005 are the Bus and Device numbers from the lsusb output.
>>
>
> Thanks, Alan.
>
> I will look and test this (or adapt your) line as soon as I get in
> front of my machine.
>
> I have seen that the corresponding "usb-port" provides a usb3-hub and
> a usb2-hub, so I think I have to reset both?
> Are those hubs independent?
> I will re-check my outputs which I had sent here.
>
> Can you add an example-line to the "help-text" when invoking usbreset
> with no (or wrong) device-filename argument?

I noticed a while ago that the OpenWrt guys have made a few useful
changes to this utility, including the ability to name the device by
VID:PID. This makes it a lot easier to use:
http://git.openwrt.org/?p=openwrt.git;a=blob;f=package/utils/usbreset/src/usbreset.c

I've been planning to get that diff submitted to usbutils, but haven't
gotten around to it yet.  Yes, I move slowly ;)


Bjørn
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to