Problem with Three Port USB Hub with Ethernet/Realtek RTL8152


#1

Hi,

I recently purchased a few bits for a project. Unfortunately I’ve hit a bit of a problem. In short the Three Port USB Hub with Ethernet/Realtek RTL8152 (ADP003) on one of the Pi 3 that I purchased has (I believe) developed a bit of a problem in that when you try and use it, it throws some errors and dissapears.

I’m running CentOS 7 armv7l and the item in question is set up to be eth1. I’m using an official RasPi power supply.

ls1lstntp01 log # lsusb
Bus 001 Device 023: ID 0bda:8152 Realtek Semiconductor Corp. RTL8152 Fast Ethernet Adapter
Bus 001 Device 022: ID 1a40:0101 Terminus Technology Inc. Hub
Bus 001 Device 021: ID 413c:2107 Dell Computer Corp. 
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. SMC9514 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
ls1lstntp01 log # ifdown eth1
ls1lstntp01 log # lsusb 
Bus 001 Device 023: ID 0bda:8152 Realtek Semiconductor Corp. RTL8152 Fast Ethernet Adapter
Bus 001 Device 022: ID 1a40:0101 Terminus Technology Inc. Hub
Bus 001 Device 021: ID 413c:2107 Dell Computer Corp. 
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. SMC9514 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
ls1lstntp01 log # ifup eth1
RTNETLINK answers: No such device
ERROR    : [/etc/sysconfig/network-scripts/ifup-eth] Failed to bring up eth1.
ls1lstntp01 log # tail -f ls1lstntp01.01011970
1970-01-01T01:07:01.000+01:00 ls1lstntp01 systemd[1]:  Started Session c3 of user root.
1970-01-01T01:07:01.000+01:00 ls1lstntp01 systemd[1]:  Starting Session c3 of user root.
1970-01-01T01:07:02.001+01:00 ls1lstntp01 kernel:  usb 1-1.4.4: new high-speed USB device number 27 using dwc_otg
1970-01-01T01:07:01.000+01:00 ls1lstntp01 systemd[1]:  Removed slice user-0.slice.
1970-01-01T01:07:01.000+01:00 ls1lstntp01 systemd[1]:  Stopping user-0.slice.
1970-01-01T01:07:02.431+01:00 ls1lstntp01 kernel:  usb 1-1.4.4: device not accepting address 27, error -71
1970-01-01T01:07:02.531+01:00 ls1lstntp01 kernel:  usb 1-1.4.4: new high-speed USB device number 28 using dwc_otg
1970-01-01T01:07:02.951+01:00 ls1lstntp01 kernel:  usb 1-1.4.4: device not accepting address 28, error -71
1970-01-01T01:07:02.961+01:00 ls1lstntp01 kernel:  usb 1-1.4-port4: unable to enumerate USB device

And also this sort of thing which were so verbose they stopped the Pi rebooting…

01:16.759+01:00 ls1lstntp01 kernel: usb 1-1.4: new full-speed USB device number 7 using dwc_otg
1970-01-01T01:01:16.860+01:00 ls1lstntp01 kernel: usb 1-1.4: not running at top speed; connect to a high speed hub
1970-01-01T01:01:16.862+01:00 ls1lstntp01 kernel: usb 1-1.4: New USB device found, idVendor=1a40, idProduct=0101
1970-01-01T01:01:16.862+01:00 ls1lstntp01 kernel: usb 1-1.4: New USB device strings: Mfr=0, Product=1, SerialNumber=0
1970-01-01T01:01:16.862+01:00 ls1lstntp01 kernel: usb 1-1.4: Product: USB 2.0 Hub [Safe]
1970-01-01T01:01:16.863+01:00 ls1lstntp01 kernel: hub 1-1.4:1.0: USB hub found
1970-01-01T01:01:16.864+01:00 ls1lstntp01 kernel: hub 1-1.4:1.0: 4 ports detected
1970-01-01T01:01:17.100+01:00 ls1lstntp01 kernel: hub 1-1.4:1.0: hub_port_status failed (err = -32)
1970-01-01T01:01:17.100+01:00 ls1lstntp01 kernel: usb 1-1.4-port4: cannot reset (err = -32)
1970-01-01T01:01:17.100+01:00 ls1lstntp01 kernel: usb 1-1.4-port4: cannot reset (err = -32)
1970-01-01T01:01:17.101+01:00 ls1lstntp01 kernel: usb 1-1.4-port4: cannot reset (err = -32)
1970-01-01T01:01:17.101+01:00 ls1lstntp01 kernel: usb 1-1.4-port4: cannot reset (err = -32)
1970-01-01T01:01:17.101+01:00 ls1lstntp01 kernel: usb 1-1.4-port4: Cannot enable. Maybe the USB cable is bad?

Without it plugged in, then I don’t get any such messages.

I’ve tried using a different USB port on the Pi, but that doesn’t work. And I’ve also tried other USB devices (keyboards, flash drives) in the same ports and they’re OK. Meanwhile I’ve tried it on another Linux box and two Windows boxes and none of them can get it to work properly either.

I know the combo of Pi 3, CentOS 7 armv7l and this dongle work, as I have an identical setup (built from the same image) at another location.

I’m of the opinion that it’s broken, but before I ask for a replacement has anyone got any ideas?

Cheers,

Jamie


#2

have you tried / can you try that specific dongle on your working setup? if just swapping your working unit for this one yields the fault then you’ll know it’s the hardware which has is the culprit?


#3

Unfortunately i can’t test it on its twin, as that’s in another location. However I have managed to dig out an original Model A running Wheezy.

It doesn’t look too good, this is from dmesg:
[ 4.432880] usb 1-1.3.2: new high-speed USB device number 7 using dwc_otg
[ 4.543316] usb 1-1.3.2: New USB device found, idVendor=1a40, idProduct=0101
[ 4.572512] usb 1-1.3.2: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[ 4.602509] usb 1-1.3.2: Product: USB 2.0 Hub
[ 4.633483] hub 1-1.3.2:1.0: USB hub found
[ 4.662722] hub 1-1.3.2:1.0: 4 ports detected
[ 4.972760] usb 1-1.3.2.4: new high-speed USB device number 8 using dwc_otg
[ 5.104676] usb 1-1.3.2.4: New USB device found, idVendor=0bda, idProduct=8152
[ 5.119473] usb 1-1.3.2.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 5.134528] usb 1-1.3.2.4: Product: USB 10/100 LAN
[ 5.146708] usb 1-1.3.2.4: Manufacturer: Realtek
[ 5.158631] usb 1-1.3.2.4: SerialNumber: 00E04C3604E6
[ 13.696427] EXT4-fs (mmcblk0p6): ext4_orphan_cleanup: deleting unreferenced inode 31979
[ 13.696638] EXT4-fs (mmcblk0p6): ext4_orphan_cleanup: deleting unreferenced inode 29766
[ 13.696740] EXT4-fs (mmcblk0p6): ext4_orphan_cleanup: deleting unreferenced inode 22155
[ 13.696819] EXT4-fs (mmcblk0p6): 3 orphan inodes deleted
[ 13.709620] EXT4-fs (mmcblk0p6): recovery complete
[ 15.450271] EXT4-fs (mmcblk0p6): mounted filesystem with ordered data mode. Opts: (null)
[ 15.466071] VFS: Mounted root (ext4 filesystem) on device 179:6.
[ 15.480980] devtmpfs: mounted
[ 15.491998] Freeing init memory: 128K
[ 16.922600] udevd[155]: starting version 175
[ 18.393708] Registered led device: led0
[ 19.234908] cdc_ether: probe of 1-1.3.2.4:2.0 failed with error -71
[ 19.602728] usbcore: registered new interface driver cdc_ether
[ 21.280223] hub 1-1.3.2:1.0: hub_port_status failed (err = -71)
[ 22.048468] hub 1-1.3.2:1.0: hub_port_status failed (err = -71)
[ 22.304497] hub 1-1.3.2:1.0: hub_port_status failed (err = -71)
[ 22.816598] hub 1-1.3.2:1.0: hub_port_status failed (err = -71)
[ 23.584690] hub 1-1.3.2:1.0: hub_port_status failed (err = -71)
[ 24.096617] hub 1-1.3.2:1.0: hub_port_status failed (err = -71)
[ 24.864980] usb 1-1.3.2.4: USB disconnect, device number 8
[ 24.885456] hub 1-1.3.2:1.0: hub_port_status failed (err = -71)
[ 24.900041] hub 1-1.3.2:1.0: connect-debounce failed, port 4 disabled
[ 25.599784] EXT4-fs (mmcblk0p6): re-mounted. Opts: (null)
[ 26.102623] EXT4-fs (mmcblk0p6): re-mounted. Opts: (null)
[ 33.692565] hub 1-1.3.2:1.0: hub_port_status failed (err = -19)
[ 33.727467] hub 1-1.3.2:1.0: hub_port_status failed (err = -19)
[ 33.740759] hub 1-1.3.2:1.0: hub_port_status failed (err = -19)
[ 33.753866] hub 1-1.3.2:1.0: hub_port_status failed (err = -19)

On booting it complains a lot, another example from dmesg:
[ 4.744259] usb 1-1.3.2: new full-speed USB device number 7 using dwc_otg
[ 4.873079] usb 1-1.3.2: not running at top speed; connect to a high speed hub
[ 4.908644] usb 1-1.3.2: New USB device found, idVendor=1a40, idProduct=0101
[ 4.952594] usb 1-1.3.2: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[ 5.002575] usb 1-1.3.2: Product: USB 2.0 Hub [Safe]
[ 5.043626] hub 1-1.3.2:1.0: USB hub found
[ 5.082890] hub 1-1.3.2:1.0: 4 ports detected
[ 5.363872] hub 1-1.3.2:1.0: hub_port_status failed (err = -32)
[ 5.407097] hub 1-1.3.2:1.0: cannot reset port 4 (err = -32)
[ 5.447790] hub 1-1.3.2:1.0: cannot reset port 4 (err = -32)
[ 5.484129] hub 1-1.3.2:1.0: cannot reset port 4 (err = -32)
[ 5.538945] hub 1-1.3.2:1.0: cannot reset port 4 (err = -32)
[ 5.582563] hub 1-1.3.2:1.0: Cannot enable port 4. Maybe the USB cable is bad?
[ 5.622810] hub 1-1.3.2:1.0: cannot disable port 4 (err = -32)
[ 5.652933] hub 1-1.3.2:1.0: cannot reset port 4 (err = -32)
[ 5.682816] hub 1-1.3.2:1.0: cannot reset port 4 (err = -32)
[ 5.712822] hub 1-1.3.2:1.0: cannot reset port 4 (err = -32)
[ 5.739957] hub 1-1.3.2:1.0: cannot reset port 4 (err = -32)
[ 5.766843] hub 1-1.3.2:1.0: cannot reset port 4 (err = -32)
[ 5.792563] hub 1-1.3.2:1.0: Cannot enable port 4. Maybe the USB cable is bad?

Upon booting with the dongle attached there’s all the above complaining and then there’s no eth1. If it’s hot plugged then it may show up briefly before either disappearing or locking up the Pi completely if you try and do something with it.

So I’m now firmly of the opinion that it is broken. Could you point me in the right direction as to how to obtain a replacement please?

Cheers,

Jamie


#4

drop an email to support@pimoroni.com and they’ll sort you out a replacement.