Re: [Linux USB] enable/disable individual ports

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

 



On Sat, Nov 21, 2015 at 08:32:10PM +0100, Bjørn Mork wrote:
> Alan Stern <stern@xxxxxxxxxxxxxxxxxxx> writes:
> 
> > I have written a program (for Linux only; it doesn't use libusb) that 
> > issues a reset to a single device:
> >
> > 	http://marc.info/?l=linux-usb&m=126944503308931&w=2
> >
> > You can use this to reset each of the 10-port hubs in turn.  Or even to 
> > reset the 5-port hub.
> 
> This is a very useful tool in all it's simple elegance.  For all us who
> never would have guessed that there was such an ioctl...
> 
> I saved a copy when you first posted it and have used it on quite a few
> occasions.  Maybe the tool should be added to the usbutils collection so
> it could reach a somewhat wider audience?  Yes, I know the usecases are
> all weird, but that still doesn't mean than everyone with a usecase will
> read this list :)

I've considered it in the past, but didn't want to deal with all of the
"this doesn't work on my hardware" emails.  Maybe if the code prints out
a big message when it's run it might help...

greg k-h
--
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