USB disabled by hub (EMI?), re-enabling...


5 posts
by pippopippo » Mon Mar 20, 2017 8:07 am
Hi,

my Raspberry Pi 3 is connected to a USB 3G Modem with a Y cable .

All the system is powered by a Mean Well IRM-30-5ST, 5V, 6A.

I got this problem (dmesg:)

PPP generic driver version 2.4.2
PPP BSD Compression module registered
PPP Deflate Compression module registered
usb usb1-port1: disabled by hub (EMI?), re-enabling..
usb 1-1: USB disconnect, device number 2
usb 1-1.1: USB disconnect, device number 3
usb 1-1.2: USB disconnect, device number 4
usb 1-1.4: USB disconnect, device number 5
usb 1-1.5: USB disconnect, device number 6

and all USB ports are forever disconnected...

after the problem the lsusb is:

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

and should be:

Bus 001 Device 006: ID 12d1:1506 Huawei Technologies Co., Ltd. E398 LTE/UMTS/GSM Modem/Networkcard
Bus 001 Device 005: ID 090c:1000 Silicon Motion, Inc. - Taiwan (formerly Feiya Technology Corp.) Flash Drive
Bus 001 Device 004: ID 0c45:62f0 Microdia
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

the above problem happens with 3 different Raspberry pi 3 using 3 different 3G modems (same model).

Now I have 2 questions for you raspberry-guru:

1) How can I avoid the problem;
2) How can I force the system to re-enable the USB Ports?

attached a zip file containing the 3 dmesg, one for each different Raspberry Pi 3.

thanks

Pippo
Attachments
dmesg.zip
(27.47 KiB) Not downloaded yet
Posts: 15
Joined: Mon Mar 07, 2016 12:30 pm
by wh7qq » Tue Mar 21, 2017 12:57 am
Does the problem persist with a boot of a headless Pi with nothing connected to the USB ports? If you plug in a fresh Raspbian uSD card and boot, does it persist? The USB "Y" cable sounds suspicious to me...never used one but it sounds like a conflict looking for a place to happen.
On the other hand, I found this reference: https://www.howtogeek.com/238683/are-th ... l-devices/. It might help you for future reference.
Sent by WH7QQ from an RPi3/Raspbian/pixel desktop.
Posts: 391
Joined: Thu Oct 09, 2014 2:50 am
by klricks » Tue Mar 21, 2017 3:43 am
What else is connected to your USB ports?
The USB is limited to 1.2A. If you go above that then you will need to use a powered HUB.
There is no point in using a 'Y' cable with the RPi as the 5V (1.2A) power is paralleled or shared between all 4 ports.
Go here for my RPi writeup. Basic config, Serial Port add-on etc:
http://blackeagle12.net/Comp/RPi/Rpi.html Click web icon on right side --->
Posts: 4221
Joined: Sat Jan 12, 2013 3:01 am
Location: Grants Pass, OR, USA
by pippopippo » Tue Mar 21, 2017 6:23 am
HI,

devices connected:

USB Camera:
http://www.elpcctv.com/170-degree-fishe ... p-191.html

USB Drive:
https://www.amazon.it/gp/product/B013R9 ... UTF8&psc=1

USB 3G Modem:
https://www.aliexpress.com/store/produc ... 0.0.FBcRdO

Only USB 3G modem is powered by Y-cable.

USB Drive and USB Camera are directly connected to RPI 3 USB ports.

No ethernet devices are connected.

tks
Posts: 15
Joined: Mon Mar 07, 2016 12:30 pm
by wh7qq » Tue Mar 21, 2017 8:04 pm
I checked Mouser's info on the MeanWell supply and it looks to be quite a competent supply (and very reasonably priced) but I see only the input and output screw terminal blocks for connections to it. What are you doing to connect to the RPi from the MeanWell brick? If the connecting wires are too fine or the connections not secure, that could be an issue. Otherwise, I'm at a loss.
Sent by WH7QQ from an RPi3/Raspbian/pixel desktop.
Posts: 391
Joined: Thu Oct 09, 2014 2:50 am