lordwhiskey
Posts: 2
Joined: Fri Oct 04, 2013 9:53 am

Sudden ETH and USB shutdown

Fri Oct 04, 2013 10:06 am

Hi everyone,

I'm new on this forum and I am a new Raspberry PI user.

My device is the Model B with 256MB of RAM.

I've got a class 10 8GB SD card. The power supply i given with 5V and 2A directly to the micro usb of the Raspberry.

I've got also a powered USB Hub (Dlink DUB-H4) with a 5V and 1.5 A power supplier.

Well, I have attached to the Raspberry the following cables:

1 - HDMI
2 - ETH Cable
3 - USB HUB
3.1 - Optical Mouse
3.2 - USB Keyboard
3.3 - TV Dongle

Where 3.x denotes the devices connected to the powered HUB.

My OS is OpenElec (latest stable version)

Sometimes happens that the USB devices as well as the ETH leds shuts down for a while and then restart about few seconds.

I think is a strange behavior because the power supplied to the device should be sufficient.

In nominal system conditions, where no load is occupying the CPU, it seems stable and everything works fine.

But if I try to install an Add-On, for instance, during operations it happens that the whole HUB shuts down and also the ETH connection.

According to DMESG logs it seems a reboot of these devices.. Here below the code dumped from Dmesg..

Could anyone help me to understand this strange behavior?

Thanks in advance

Code: Select all

Æ 1361.053018Å ERROR::dwc_otg_hcd_urb_enqueue:514: Not connected
Æ 1361.053018Å 
Æ 1361.058201Å usb 1-1: USB disconnect, device number 38
Æ 1361.058237Å usb 1-1.1: USB disconnect, device number 39
Æ 1361.058448Å smsc95xx 1-1.1:1.0 eth0: unregister 'smsc95xx' usb-bcm2708_usb-1.1, smsc95xx USB 2.0 Ethernet
Æ 1361.058522Å smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
Æ 1361.071462Å usb 1-1.3: USB disconnect, device number 40
Æ 1361.071499Å usb 1-1.3.1: USB disconnect, device number 41
Æ 1361.078666Å usb 1-1.3.2: USB disconnect, device number 42
Æ 1361.090535Å usb 1-1.3.3: USB disconnect, device number 43
Æ 1361.102852Å usb 1-1.3.3: dvb_usb_v2: 'Afatech AF9035 reference design' successfully deinitialized and disconnected
Æ 1361.287751Å Indeed it is in host mode hprt0 = 00021501
Æ 1361.667750Å usb 1-1: new high-speed USB device number 44 using dwc_otg
Æ 1361.668021Å Indeed it is in host mode hprt0 = 00001101
Æ 1362.058563Å usb 1-1: New USB device found, idVendor=0424, idProduct=9512
Æ 1362.058598Å usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
Æ 1362.066183Å hub 1-1:1.0: USB hub found
Æ 1362.066658Å hub 1-1:1.0: 3 ports detected
Æ 1362.348102Å usb 1-1.1: new high-speed USB device number 45 using dwc_otg
Æ 1362.448465Å usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
Æ 1362.448500Å usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
Æ 1362.456095Å smsc95xx v1.0.4
Æ 1362.522504Å smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-bcm2708_usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:8e:b3:24
Æ 1362.601856Å smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
Æ 1362.602457Å IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
Æ 1362.618007Å usb 1-1.3: new high-speed USB device number 46 using dwc_otg
Æ 1362.721918Å usb 1-1.3: New USB device found, idVendor=2101, idProduct=8500
Æ 1362.721956Å usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Æ 1362.721976Å usb 1-1.3: Product: USB2.0 Hub
Æ 1362.721991Å usb 1-1.3: Manufacturer: Action Star
Æ 1362.724907Å hub 1-1.3:1.0: USB hub found
Æ 1362.725582Å hub 1-1.3:1.0: 5 ports detected
Æ 1363.008168Å usb 1-1.3.1: new high-speed USB device number 47 using dwc_otg
Æ 1363.111964Å usb 1-1.3.1: New USB device found, idVendor=2101, idProduct=8501
Æ 1363.112000Å usb 1-1.3.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Æ 1363.112019Å usb 1-1.3.1: Product: USB HID
Æ 1363.112034Å usb 1-1.3.1: Manufacturer: Action Star
Æ 1363.127888Å hid-generic 0003:2101:8501.0016: hiddev0,hidraw0: USB HID v1.11 Device ÆAction Star USB HIDÅ on usb-bcm2708_usb-1.3.1/input0
Æ 1363.218258Å usb 1-1.3.2: new low-speed USB device number 48 using dwc_otg
Æ 1363.326790Å usb 1-1.3.2: New USB device found, idVendor=093a, idProduct=2510
Æ 1363.326829Å usb 1-1.3.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Æ 1363.326845Å usb 1-1.3.2: Product: USB OPTICAL MOUSE
Æ 1363.326860Å usb 1-1.3.2: Manufacturer: PIXART
Æ 1363.342025Å input: PIXART USB OPTICAL MOUSE as /devices/platform/bcm2708_usb/usb1/1-1/1-1.3/1-1.3.2/1-1.3.2:1.0/input/input15
Æ 1363.357709Å hid-generic 0003:093A:2510.0017: input,hidraw1: USB HID v1.11 Mouse ÆPIXART USB OPTICAL MOUSEÅ on usb-bcm2708_usb-1.3.2/input0
Æ 1363.448089Å usb 1-1.3.3: new high-speed USB device number 49 using dwc_otg
Æ 1363.554218Å usb 1-1.3.3: New USB device found, idVendor=15a4, idProduct=1001
Æ 1363.554256Å usb 1-1.3.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Æ 1363.554274Å usb 1-1.3.3: Product: AF9035A USB Device
Æ 1363.554289Å usb 1-1.3.3: Manufacturer: Afa Technologies Inc.
Æ 1363.554304Å usb 1-1.3.3: SerialNumber: AF0102020700001
Æ 1363.559864Å usb 1-1.3.3: af9035_identify_state: prechip_version=00 chip_version=03 chip_type=3802
Æ 1363.560327Å usb 1-1.3.3: dvb_usb_v2: found a 'Afatech AF9035 reference design' in warm state
Æ 1363.565879Å usb 1-1.3.3: dvb_usb_v2: will pass the complete MPEG2 transport stream to the software demuxer
Æ 1363.566009Å DVB: registering new adapter (Afatech AF9035 reference design)
Æ 1363.572965Å i2c i2c-2: af9033: firmware version: LINK=11.5.9.0 OFDM=5.17.9.1
Æ 1363.577181Å usb 1-1.3.3: DVB: registering adapter 0 frontend 0 (Afatech AF9033 (DVB-T))...
Æ 1363.584907Å i2c i2c-2: tua9001: Infineon TUA 9001 successfully attached
Æ 1363.588276Å input: Afa Technologies Inc. AF9035A USB Device as /devices/platform/bcm2708_usb/usb1/1-1/1-1.3/1-1.3.3/1-1.3.3:1.1/input/input16
Æ 1363.596318Å hid-generic 0003:15A4:1001.0018: input,hidraw2: USB HID v1.01 Keyboard ÆAfa Technologies Inc. AF9035A USB DeviceÅ on usb-bcm2708_usb-1.3.3/input1
Æ 1363.606505Å usb 1-1.3.3: dvb_usb_v2: 'Afatech AF9035 reference design' successfully initialized and connected
Æ 1364.045706Å IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Æ 1364.053721Å smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0x45E1

User avatar
Davespice
Forum Moderator
Forum Moderator
Posts: 1662
Joined: Fri Oct 14, 2011 8:06 pm
Location: The Netherlands
Contact: Twitter

Re: Sudden ETH and USB shutdown

Fri Oct 04, 2013 12:07 pm

I wonder if your hub is back powering the Pi? This is where the USB hub itself is sending 5 volts of power into the USB A slots on the Pi. The way to test this is to unplug the Pi micro USB connector and see if the Pi stays up. If this is happening it could explain this behaviour. The way to avoid it is to cut the red wire inside the cable that uplinks the hub to the Pi.

User avatar
FTrevorGowen
Forum Moderator
Forum Moderator
Posts: 5086
Joined: Mon Mar 04, 2013 6:12 pm
Location: Bristol, U.K.
Contact: Website

Re: Sudden ETH and USB shutdown

Fri Oct 04, 2013 12:13 pm

Some more info. w.r.t. to powered USB hub, keyboard and T.V. dongle may be useful (Make, model etc.).
What happens if you unplug the keyboard from from the powered hub and re-plug it into the Pi's 2nd port?
Is your "Model B Pi with 256Mb of RAM" a "B1" which still has the extra (140mA) polyfuses on the USB ports, or an early "B2" with the new "mounting holes", only one (the main) polyfuse but with only 256Mb of RAM?
I don't us OpenElec, so I'm not sure if you can do this: What does "lsusb" and "usb-devices" report?
Trev,
Still running Raspbian Jessie on some older Pi's (an A, B1, B2, B+, P2B, 3xP0, P0W) but Stretch on my 2xP3A+, P3B+, P3B, B+, A+ and a B2. See: https://www.cpmspectrepi.uk/raspberry_pi/raspiidx.htm

thsBavR10
Posts: 233
Joined: Sat Jul 21, 2012 3:11 pm

Re: Sudden ETH and USB shutdown

Fri Oct 04, 2013 12:32 pm

I also discovered these usb disconnect messages about 2 -3 weeks ago. (after i did a rpi-update, about 2013-09-24).
I don't have an extra hub, only WLAN stick and logitech keyboard stick.
The only workaround was to use an old firmware

Code: Select all

echo sudo rpi-update e3e89868ece21abe525dc181c431c8a8b5de58b8 
Since then I have received no more error messages.

lordwhiskey
Posts: 2
Joined: Fri Oct 04, 2013 9:53 am

Re: Sudden ETH and USB shutdown

Fri Oct 04, 2013 1:01 pm

Hello guys,

thanks for your responses.

After a deep investigation over the Raspberry I've found the issue. The problem were due to the power supplier. I don't know why, but the nominal voltage has passed from 4.95V (measured between TP1 and TP2) to 3.89!!!! :o :o

After the power supplier replacement everything is working fine.

Anyway the HUB does not make any back-power, in fact after the micro USB power removal the device shut down.

Thank you for your support!

Return to “Troubleshooting”