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

Re: Resetting a USB port in Debian 10



On Thu, May 19, 2022 at 09:25:23AM +0200, tomas@tuxteam.de wrote:
> On Thu, May 19, 2022 at 09:55:54AM +0300, Anssi Saari wrote:
> > Jason <electron@emypeople.net> writes:
> > 
> > > What is the best way to power cycle or reset a USB port?

Turns out the easiest answer was within reach all the time: In Debian 10, 'usbreset' is included in the standard usbutils package. One glitch is that because it does not allow the user to specify the reset time (to my knowledge), my modem gets the next higher device number (ttyACM1 instead of ttyACM0). Calling usbreset a 2nd time brings it back to /dev/ttyACM0.

If usbreset turns out not to solve my problem(s), I will pursue the other excellent leads that were provided. Thank you for all the helpful responses.


-- 
Jason


Reply to: