On Wed, Jun 15, 2016 at 08:22:44AM +0200, Sedat Dilek wrote:
> Hi Alan,
> 
> I updated my usb-ids on my Ubuntu 12.04 LTS (AMD64).
> Background was my ASMedia ASM-104x USB-3.0 controller/hub shows no
> human-readable vendor-string etc.
> 
> While checking parallelelly a new usbutils release, I saw your
> "usbreset" example program in the corresponding GitHub repo [1].
> 
> Sometimes my Internet connection does not get established and I do not
> want to plug-off it from my hardware (usb-2 port).
> I hope your usbrest program can do the trick software-technically.
> 
> So how do I reset my Internet stick?
> 
> $ lsusb | grep -i huawei
> Bus 001 Device 005: ID 12d1:1436 Huawei Technologies Co., Ltd. Broadband stick
> 
> [ Excerpts from my dmesg-outputs ]
> 
> [   22.352232] cdc_ether 1-1.2:1.1 wwan0: register 'cdc_ether' at
> usb-0000:00:1a.0-1.2, Mobile Broadband Network Device,
> 02:50:f3:00:00:00
> [   22.395891] option 1-1.2:1.0: GSM modem (1-port) converter detected
> [   22.399676] usb 1-1.2: GSM modem (1-port) converter now attached to ttyUSB0
> [   22.399997] option 1-1.2:1.3: GSM modem (1-port) converter detected
> [   22.400557] usb 1-1.2: GSM modem (1-port) converter now attached to ttyUSB1
> [   22.400639] option 1-1.2:1.4: GSM modem (1-port) converter detected
> [   22.401041] usb 1-1.2: GSM modem (1-port) converter now attached to ttyUSB2
> 
> Not sure how to usbreset - all three /dev/ttyUSB[0-2] ?

Nope, you need to point it at your hub.

But be aware that usbreset does not always work, at all, as not all
hardware hubs support this additional feature.

good luck!

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

Reply via email to