kwhite
Posts: 4
Joined: Tue May 01, 2012 3:10 am

Re: powered USB hub suggestions?

Tue May 01, 2012 4:42 am


I've been having trouble getting powered USB hubs to work with my Pi and the debian6-19-04-2012 distribution. The first USB hub I tried was a "CyberPower High-Speed 7-Port USB Hub" and I saw a lot of error messages in dmesg:

smsc95xx 1-1.1:1.0: eth0: Failed to read register index 0x00000114
smsc95xx 1-1.1:1.0: eth0: Failed to write register index 0x00000114
smsc95xx 1-1.1:1.0: eth0: Failed to read register index 0x00000114
smsc95xx 1-1.1:1.0: eth0: Failed to read register index 0x00000118
smsc95xx 1-1.1:1.0: eth0: Failed to read register index 0x00000114
smsc95xx 1-1.1:1.0: eth0: Failed to write register index 0x00000114
smsc95xx 1-1.1:1.0: eth0: Failed to read register index 0x00000114
...

The main symptoms are that that my network interface became very unstable and the Pi ran very slowly. The hub was definitely powered and the wireless USB interface for my keyboard and mouse was connected to the USB hub and seemed to work correctly.

I tried a second powered USB hub, the "Plugable USB 2.0 10 Port Hub" and it had slightly different symptoms. The output from dmesg showed many messages like this:

usb 1-1.3.7.2: reset full speed USB device number 11 using dwc_otg
usb 1-1.3.7.2: reset full speed USB device number 11 using dwc_otg...

and the keyboard acted erratically (key repeats, etc.). Again, connecting the wireless dongle directly to the Pi seemed to solve the problems. These are the two top-rated hub models on Amazon, and I have found both models to be reliable on other computers.

Has anyone else seen similar problems? Is there a USB hub model that seems to work well with the Pi?

Thanks,

Ken White

rmm200
Posts: 259
Joined: Sat Mar 03, 2012 10:25 pm

Re: powered USB hub suggestions?

Tue May 01, 2012 4:50 am

I would ask first how are you powering your Pi, and did you try a different Pi power supply?

I am getting the feeling that a lot of observed problems are due to the Pi's own power supply. Make sure you have at least 700MA available, and a good quality power cord.

User avatar
jbeale
Posts: 3516
Joined: Tue Nov 22, 2011 11:51 pm
Contact: Website

Re: powered USB hub suggestions?

Tue May 01, 2012 4:54 am

key repeats and network dropouts are both listed as symptoms of low voltage at the Pi. Maybe there is a different problem in your case, but just to rule out low voltage, can you check the voltage between TP1 and TP2 on the Pi while it is running? Ideally, while it is showing the problems? Here's how:

http://elinux.org/R-Pi_Trouble.....r_problems

felixfurtak
Posts: 47
Joined: Wed Nov 16, 2011 10:41 am

Re: powered USB hub suggestions?

Tue May 01, 2012 5:32 am

I have had the same problem. My power configuration is as follows.

1) R-Pi powered from a separate 5V 700mA supply

2) Powered hub, powered from a 5V 3000mA supply

the R-Pi is powered separately with no high drain usb devices attached

configuration 1 - causes network (eth0) to fail !

R-Pi: usbport1 = empty, usbport2 = hub

Hub: usbport1 = keyboard, all other ports empty

configuration 2 - works fine

R-Pi: usbport1 = keyboard, usbport2=hub

Hub: all ports empty

This is confusing. I have been careful to ensure adequate power supplies for both the R-Pi and the hub, and have tested voltages, both of which are fine (5.0 to 5.15V typically).

It seems that when the keyboard is running through the hub it causes errors, but if it's directly plugged into the Pi then it doesn't. This behavoiour is slightly counter to a power problem, since configuration 2 would normally put a greater load on the Pi.

So to me it is indicative of a hub problem of some kind.

My hub is a generic 'Laser' powered hub, chipset unknown.

Felix

Distribution used Arch.

User avatar
jbeale
Posts: 3516
Joined: Tue Nov 22, 2011 11:51 pm
Contact: Website

Re: powered USB hub suggestions?

Tue May 01, 2012 5:42 am

Looks like we can rule out power problems in this case. Certainly sounds like a USB problem of some sort, maybe Dom can make some suggestions?

kwhite
Posts: 4
Joined: Tue May 01, 2012 3:10 am

Re: powered USB hub suggestions?

Tue May 01, 2012 5:49 am

Thanks for the suggestions.   With no hub I'm reading 4.79 or 4.80 Volts between TP1 and TP2.   With the "Plugable" hub (powered) it reads 4.84 Volts.

I'm powering it from a USB wall charger from Monoprice (product id 8856) that is supposed to be able to output up to 2.1A on any port.

I am also confused as to why the keyboard is more reliable when its wireless dongle is drawing power directly from the Pi  instead of through a powered hub.

felixfurtak
Posts: 47
Joined: Wed Nov 16, 2011 10:41 am

Re: powered USB hub suggestions?

Tue May 01, 2012 9:21 am

Another update. I switched to a different powered hub. This time a Targus one.

lsusb info is as follows:-

05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB

With this hub I also see similar behaviour. This time, a wireless USB dongle (Edimax EW-7811Un) will work only when directly connected to the R-Pi. If it is connected through the hub, the kernel will fail to boot.

Again, it looks like there is an incompatibility with the hub. It is not a power problem as far as I can tell. Voltages all look good on hub and R-Pi.

User avatar
fulburncams
Posts: 70
Joined: Wed Nov 30, 2011 8:29 pm

Re: powered USB hub suggestions?

Tue May 01, 2012 11:02 am

Felix

What drivers did you install for the Edimax wlan chip.  I am keen to use wlan chips without USB powered hub.  What does the 'lsusb' output when you have the edimax plugged directly in ?

Many thanks

Steve

felixfurtak
Posts: 47
Joined: Wed Nov 16, 2011 10:41 am

Re: powered USB hub suggestions?

Tue May 01, 2012 11:19 am

Hi Steve,

I just managed to get the Edimax EW-7811Un wireless dongle working (on Debian at least, no luck with Arch so far). I have to say it was a bit of a mission since it needs a couple of extra files. More info about how to do it here:-

http://www.element14.com/commu.....2?tstart=0

and here:

http://www.raspberrypi.org/for.....ic-working

For info, the lsusb output is

7392:7811 Edimax Technology Co., Ltd EW-7811Un 802.11n Wireless Adapter [Realtek RTL8188CUS]

I also got the TP-Link TL-WN722N working with a lot less effort, since the Atheros chipset that it uses is supported by the kernel.

More info here:

http://elinux.org/RPi_Verified.....i_Adapters

and here:

http://linuxwireless.org/en/us.....evices/USB

and here:

http://linux-wless.passys.nl/

User avatar
fulburncams
Posts: 70
Joined: Wed Nov 30, 2011 8:29 pm

Re: powered USB hub suggestions?

Tue May 01, 2012 11:39 am

Hi Felix

Yes i was trying to get the 722N going but hit problem with power supply, it turns out it takes nearly 130-140 mA which is very near the polyfuse limit so i tried to use a belkin powered USB hubr which does allow me to configure the adapter so i can use iwlist,  scan etc and see networks but I am still missing something as I cant seem to connect to the AP.  I have followed the setup instructions and have edited interfaces files and setup wpa.conf,  but there is still something not quite working.  Also when I try and power up the raspi the startup script gets stuck with lines :

Waiting for /dev to be fully populated... cfg80211: Calling CRDA to update world regulatory domain

usb 1-1.2.4: ath9k_htc: Transfreed FW : htc_9271.fw, size:51272

then stops, cheers steve

felixfurtak
Posts: 47
Joined: Wed Nov 16, 2011 10:41 am

Re: powered USB hub suggestions?

Tue May 01, 2012 12:06 pm

Hi Steve,

Yes, I forgot to mention that the 722N doesn't seem to run directly off the Pi, just as you describe. It runs fine through a powered hub though.

Confusingly, the Edimax has the opposite behaviour - it runs directly from the Pi with no apparent problems, but doesn't run reliably through my powered hub.

Think this is a hub problem so hopefully it can be fixed in a later firmware/kernel release..

User avatar
fulburncams
Posts: 70
Joined: Wed Nov 30, 2011 8:29 pm

Re: powered USB hub suggestions?

Tue May 01, 2012 1:21 pm

Felix

Dis you have to add anything to your wpa.conf file or indeed the interfaces files other

than what the guidance on the adapter page described ?  Do you have any issues when powering on ?

Cheers

Steve

felixfurtak
Posts: 47
Joined: Wed Nov 16, 2011 10:41 am

Re: powered USB hub suggestions?

Tue May 01, 2012 10:34 pm

Hi Steve,

I have to admit my home wireless is fairly lax and I tend to run un-encrypted (with MAC filtering).

So no, I haven't tried to get WPA working on either wi-fi dongle. I think the process is fairly well documented though, and I suspect that once you have the dongle running, the wpa issue is not likely to be hardware specific.

If you want to verify connection try turning wpa encryption off momentarily on your router and try this.

ifconfig wlan0 up

iwconfig wlan0 essid <ESSID>

dhcpcd wlan0

User avatar
jbeale
Posts: 3516
Joined: Tue Nov 22, 2011 11:51 pm
Contact: Website

Re: powered USB hub suggestions?

Tue May 01, 2012 11:25 pm

felixfurtak said:


Hi Steve,

Yes, I forgot to mention that the 722N doesn't seem to run directly off the Pi, just as you describe. It runs fine through a powered hub though.


This is interesting, it is the first example I've seen of success with a WiFi adaptor working through a hub. Most seem to work only directly on the Pi.

Just wanted to point out that it looks like there is a still-unresolved software issue with the USB driver on the Pi, see for example the last post on each of these pages:

https://github.com/raspberrypi/firmware/issues/9

http://www.raspberrypi.org/for.....acket-loss

powerstrip
Posts: 1
Joined: Fri May 04, 2012 10:02 am

Re: powered USB hub suggestions?

Fri May 04, 2012 11:06 am

USB charger is the best charger to ur stuff..like phones,tabs and laptops.I am having one usb charger.

kwhite
Posts: 4
Joined: Tue May 01, 2012 3:10 am

Re: powered USB hub suggestions?

Sun May 06, 2012 5:53 pm

The TP-Link WN722N also seems to be working for me from a powered USB hub.   But only if I do not connect my keyboard.  Connecting my keyboard (Logitech wireless "unifying" receiver) causes a lot of error messages from the kernel like this:

May 6 18:26:52 raspberrypi kernel: INFO:: periodic_channel_available: Total channels: 8, Periodic: 5, Non-periodic: 3
May 6 18:26:52 raspberrypi kernel:
May 6 18:26:52 raspberrypi kernel: INFO:: schedule_periodic: No host channel available for periodic transfer.
May 6 18:26:52 raspberrypi kernel:
May 6 18:26:52 raspberrypi kernel: ERROR::dwc_otg_hcd_urb_enqueue:487: DWC OTG HCD URB Enqueue failed adding QTD. Error status -4008
May 6 18:26:52 raspberrypi kernel:
May 6 18:26:52 raspberrypi kernel: INFO:: periodic_channel_available: Total channels: 8, Periodic: 5, Non-periodic: 3
May 6 18:26:52 raspberrypi kernel:
May 6 18:26:52 raspberrypi kernel: INFO:: schedule_periodic: No host channel available for periodic transfer.
May 6 18:26:52 raspberrypi kernel:
May 6 18:26:52 raspberrypi kernel: ERROR::dwc_otg_hcd_urb_enqueue:487: DWC OTG HCD URB Enqueue failed adding QTD. Error status -4008May 6 18:26:52 raspberrypi kernel: May 6 18:26:53 raspberrypi kernel: usb 1-1.2.1.3: reset full speed USB device number 7 using dwc_otg My kernel is a build with current sources from May 5. My USB hub (D-Link DUB-H7 H/W Ver. B1) shows up as: Bus 001 Device 004: ID 05e3:0610 Genesys Logic, Inc.       

Clair
Posts: 20
Joined: Mon Jan 02, 2012 11:01 am
Contact: Website

Re: powered USB hub suggestions?

Sun May 13, 2012 9:37 am

I got a Belkin USB Plus Hub -- 4 ports - white and sucky blue, but it works just fine.

theunit
Posts: 31
Joined: Fri May 11, 2012 7:52 am

Re: powered USB hub suggestions?

Mon May 14, 2012 9:43 am

Some people have suggested that some hubs may still draw power from the Pi, activating the polyfuses, even when the hub's external power supply is connected.

Something suggested, which I am going to try, is to find an old spare USB lead to go from your pi to the hub and cut the +5V wire. That way, it is impossible for the hub to draw any power from the Pi.

However, I have also read about firmware issues with the USB/ethernet and I do wonder if things will start to work better once these have been fixed.

User avatar
4dc5
Posts: 1
Joined: Sat May 19, 2012 4:20 pm
Contact: Website

Re: powered USB hub suggestions?

Sat May 19, 2012 4:28 pm

theunit wrote:Something suggested, which I am going to try, is to find an old spare USB lead to go from your pi to the hub and cut the +5V wire. That way, it is impossible for the hub to draw any power from the Pi.
I tried this, but it didn't work.

aatti
Posts: 3
Joined: Fri Jan 13, 2012 9:02 am
Location: Brasov
Contact: Website

Re: powered USB hub suggestions?

Thu May 31, 2012 8:54 pm

Hi all,

I'm facing a similar problem related to wireless receiver of a K400 Logitech kbd.

usb 1-1.3: reset full speed USB device number 4 using dwc_otg
usb 1-1.3: reset full speed USB device number 4 using dwc_otg
usb 1-1.3: USB disconnect, device number 4

Voltages are looking good and the Pi was running stable during the last couple of hours so I've disconnected the dongle now...

The power supply is a Nokia AC10E charger - reading 4.92 V on the Pi.

Any idea is welcomed,
Thx,

PS. All this on a Slackware 13.37
Linux raspi 3.1.9+ #63 Wed May 16 14:42:21 BST 2012 armv6l ARMv6-compatible processor rev 7 (v6l) BCM2708 GNU/Linux

User avatar
mookiedog
Posts: 19
Joined: Sun Jun 17, 2012 3:04 pm
Location: Los Gatos Mtns, California
Contact: Website

Re: powered USB hub suggestions?

Sat Jun 30, 2012 9:06 pm

I get the exact same errors as you, below. I am using a Patriot Wireless N adaptor which works perfectly unless I plug in the Logitec "unifying" remote. Then, I get those errors and the wireless quits. If I remove the wireless dongle, the keyboard starts working (although I do get sticky keys!). If I remove the unifying dongle, then the wireless works. But not both at once. I have tried two different powered USB hubs.

Has anyone got a solution for this?
kwhite wrote:The TP-Link WN722N also seems to be working for me from a powered USB hub.   But only if I do not connect my keyboard.  Connecting my keyboard (Logitech wireless "unifying" receiver) causes a lot of error messages from the kernel like this:

May 6 18:26:52 raspberrypi kernel: INFO:: periodic_channel_available: Total channels: 8, Periodic: 5, Non-periodic: 3
May 6 18:26:52 raspberrypi kernel:
May 6 18:26:52 raspberrypi kernel: INFO:: schedule_periodic: No host channel available for periodic transfer.
May 6 18:26:52 raspberrypi kernel:
May 6 18:26:52 raspberrypi kernel: ERROR::dwc_otg_hcd_urb_enqueue:487: DWC OTG HCD URB Enqueue failed adding QTD. Error status -4008
May 6 18:26:52 raspberrypi kernel:
May 6 18:26:52 raspberrypi kernel: INFO:: periodic_channel_available: Total channels: 8, Periodic: 5, Non-periodic: 3
May 6 18:26:52 raspberrypi kernel:
May 6 18:26:52 raspberrypi kernel: INFO:: schedule_periodic: No host channel available for periodic transfer.
May 6 18:26:52 raspberrypi kernel:
May 6 18:26:52 raspberrypi kernel: ERROR::dwc_otg_hcd_urb_enqueue:487: DWC OTG HCD URB Enqueue failed adding QTD. Error status -4008May 6 18:26:52 raspberrypi kernel: May 6 18:26:53 raspberrypi kernel: usb 1-1.2.1.3: reset full speed USB device number 7 using dwc_otg My kernel is a build with current sources from May 5. My USB hub (D-Link DUB-H7 H/W Ver. B1) shows up as: Bus 001 Device 004: ID 05e3:0610 Genesys Logic, Inc.       

DePingus
Posts: 3
Joined: Tue Aug 21, 2012 2:04 am

Re: powered USB hub suggestions?

Tue Aug 21, 2012 2:12 am

BUMP! Where is the solution for this???

Sticky keys with Microsoft Desktop 3000 and Logitech K400 wireless keyboards. I also had problems with my HP Media Center remote only registering about half the button presses in RaspBMC. I am NOT using a USB Wifi dongle. Tried with Raspbian, Arch, and RaspBMC. Tried powering with a no name charger, my Samsung phone charger and cable, a USB powered hub, the KB dongle on the hub + RPi on the chargers. NOTHING FIXES MY STICKY KEYS! :evil:

User avatar
freedomotic
Posts: 154
Joined: Sat Apr 21, 2012 3:59 pm
Location: Italy
Contact: Website

Re: powered USB hub suggestions?

Tue Oct 30, 2012 3:35 pm

Hi to all
I'm searching a good powered usb hub. A friend proposed this: http://www.conceptronic.net/product.php?id=15&linkid=16
Have you any experience with it? Other suggestions based on real testing?
Thanks
Freedomotic Open IoT Framework
http://freedomotic.com

Return to “Troubleshooting”