Re: USB regression for Android phone and sound card in 4.14

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

 



On Fri, 4 May 2018, Alan Stern wrote:

> You can try using the usbreset program from here:
> 
> 	https://marc.info/?l=linux-usb&m=144820655510812&w=2
> 
> That program wants the usbfs pathname of the hub instead of the sysfs 
> path.  So you would call it with
> 
> 	usbreset /dev/bus/usb/001/DDD
> 
> where DDD is the hub's device number.  You can get this number by 
> reading the /sys/bus/usb/devices/1-0/devnum file, but the value has to 

Typo -- that should have been 1-9, not 1-0.

Alan Stern

> be zero-padded to three digits.
> 
> The usbreset program will send a bus reset to the hub, which is 
> stronger than a soft reinit but not as strong as unplugging it and then 
> plugging it back in.
> 
> Alan Stern

--
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