element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Raspberry Pi
  • Products
  • More
Raspberry Pi
Raspberry Pi Forum Self-powered hub + RF mouse + network = Fail
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Raspberry Pi to participate - click to join for free!
Featured Articles
Announcing Pi
Technical Specifications
Raspberry Pi FAQs
Win a Pi
Raspberry Pi Wishlist
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 30 replies
  • Subscribers 678 subscribers
  • Views 4527 views
  • Users 0 members are here
Related

Self-powered hub + RF mouse + network = Fail

morgaine
morgaine over 13 years ago

Over the last several days, I've been doing a lot of testing of Pi with self-powered USB hubs.  Of the 3 hubs I possess, one is not Pi-compatible so I won't refer to it any further here.  The other two are nominally Pi-compatible and USB-compliant (they don't supply power upstream through the A-B lead), and the Pi boots fine with either of them connected, even when its power comes from one of their ports.  They are well-known and moderately expensive 4 and 7-port Belkin hubs, powered with hefty 2.5A and 3.8A mains adapters respectively:

 

  • Belkin TetraHub Hi-Speed USB 2.0 (4-Port) Hub F5U231
  • Belkin USB 2.0 Plus (7 Port) Hub F5U307

 

The testing had a single goal, to get the Pi to work correctly with 2 common USB devices attached to the self-powered hub, a mouse and a keyboard, while at the same time being connected to my local wired network.  The definition of "work correctly" for these tests was "A. Not lose any USB events" and "B. Operate normally over the local LAN without RTT anomalies nor packet loss".  Nobody could call this requirement ambitious --- it's the minimum one could demand of a networked computer today, or even less than minimum since the tests involved no thumb drive for backup for example.  (Such expansion is the reason for the hub.)

 

Soon after receiving my Pi I reported here about the substantial USB event/data loss I was seeing, which made the Pi barely usable for me.  (No USB hubs were connected at the time).  I found a wired mouse and keyboard that worked with only occasional dropouts so the Pi became more or less operational, but I had no time to pursue the USB loss issue further, until now.  "More or less operational" means I wasn't cursing too frequently, despite the losses.

 

Tethered keyboards aren't too bad for me because the keyboard rarely moves around, but I find tethered mice a poor human interface as the wire just gets in the way.  Therefore my main focus was to find an RF mouse that works with the Pi in the above configuration, and I planned to check out RF keyboards only later.  I have 6 RF mice of 4 different types:

 

  • Logitech MX-1000
  • Logitech MK320 Desktop combo (mouse only)
  • Logitech EX110 Desktop combo (mouse only)
  • Sandstrom SMWLL11

 

I won't list my wired keyboards nor wired mice for the simple reason that they all work "mostly OK" both when plugged into the Pi's on-board USB sockets and also when plugged into the self-powered hubs --- they're a combination of Logitech, Dell, and unbranded others.  "Mostly OK" means that there is an occasional USB event lost, but other than that, they fall into my "more or less operational" category.  (Not really satisfactory, but then, this is the Pi ...)

 

To avoid this post getting too long, I'm going to summarize my results ruthlessly, because despite a little variation, they all fall into the same ballpark:

 

  • If any of the above RF mice is plugged into either of the above self-powered hubs, then USB event/data loss increases from minimal to massive, USB response often disappears altogether for 5-10 seconds at a time (both mouse and keyboard), network ping RTT changes from a nominal 0.5 ms to thousands of times longer (1-13 seconds),  Ethernet controller read and write failures appear repeatedly in /var/log/messages, and all higher-level network activity such as ssh or NFS ceases or fails.
  • Replacing the RF mouse by a wired one usually ends the problem and returns the system to normal (but not perfect) operation.  Sometimes, unplugging the RF mouse is not enough and the hub needs to be unplugged from the Pi and replugged, which almost always ends the problem as long as no RF mouse is connected.  A couple of times I also had to reboot to recover.

 

This difference between RF and wired mice is so striking and so unambiguous that I'll just leave it at that.

 

From my experience, the Pi is not usable with RF mice attached to self-powered hubs, if my hubs are representative.

 

These tests were carried out with Raspbian updated to the latest packages and RPF firmware.

 

Morgaine.

  • Sign in to reply
  • Cancel
Parents
  • Former Member
    Former Member over 13 years ago

    Morgaine,

     

    I am curious on one point. The first "powered" hub I purchased was actually the Belkin 7-Port Powered Hub Model F5U307.

     

    If I understood your earlier posts correctly, this device worked with RPi for you.

    Sadly not for me.

    I rather had my doubts if the supplied PSU is really capable of supplying 5V at 3.5 ... 3.8 amp as claimed.

    I asked one hardware expert friend to test the real capability of the Belkin PSU, but dont have the results just yet.

     

    I also reported back to Farnell that their advertised Raspberry Pi "Powered" 7-Port USB Hub "Dynamode" USB-H70-1A-2.0

    does not work for me with RPi. They committed to look at the issue, which is promising.

     

    I feel very dubious whether investing in yet another "powered" hub will result in a success. The cost as such is not the main problem.

    You seem to have analysed very extensively this USB issue. Is this a totally lost cause with RPi or is there reliable confirmation which

    "powered" USB HUBS _really_ do work successfully with RPi ?

     

    I am very keen on RPi, so the USB Hub issues have been quite disappointing.

     

    Best Regards Colum

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • johnbeetem
    johnbeetem over 13 years ago in reply to Former Member

    Colum Gaynor wrote:

     

    You seem to have analysed very extensively this USB issue. Is this a totally lost cause with RPi or is there reliable confirmation which "powered" USB HUBS _really_ do work successfully with RPi ?

    There is a list of USB hub successes at the RasPi Wiki: http://elinux.org/RPi_VerifiedPeripherals#Powered_USB_Hubs.

     

    Even if the powered hub is OK, there are lots of other things that can go wrong, such as an iffy Micro USB cable.  There's a lot of useful information at the RasPi Troubleshooting Wiki http://elinux.org/R-Pi_Troubleshooting and the RasPi Hardware Wiki http://elinux.org/RPi_Hardware#Power_Supply_Problems.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 13 years ago in reply to johnbeetem

    Thank you. I have seen the list you offerred but iving in Finland, I have experienced difficulties to source some of the recommended items.

    I did locate one 10-port recommended device made by DigiLink (UA0096) from Amazon Germany, but before ordering it, I'd be more confident

    to hear someone confirm whether it really works. Both of the 'failed' USB hubs _do_ work with my Laptop PC (Ubuntu 12.04).

     

    Best regards Colum

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • Former Member
    Former Member over 13 years ago in reply to johnbeetem

    Thank you. I have seen the list you offerred but iving in Finland, I have experienced difficulties to source some of the recommended items.

    I did locate one 10-port recommended device made by DigiLink (UA0096) from Amazon Germany, but before ordering it, I'd be more confident

    to hear someone confirm whether it really works. Both of the 'failed' USB hubs _do_ work with my Laptop PC (Ubuntu 12.04).

     

    Best regards Colum

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Children
  • johnbeetem
    johnbeetem over 13 years ago in reply to Former Member

    Colum Gaynor wrote:

     

    Thank you. I have seen the list you offerred but iving in Finland, I have experienced difficulties to source some of the recommended items.

    To expand on my previous comment, I do suggest trying the steps in the RasPi Troubleshooting guide since there are lots of things that can cause RasPi to fail besides an incompatible USB hub.  Common problems include an iffy Micro USB cable or bad SD card or bad OS image on the SD card.  If you have a voltmeter, check TP1-TP2.  It should be 5V +/- 5%, preferably at least 4.8V.

     

    What are the LEDs doing?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 13 years ago in reply to johnbeetem

    Thanks John... Away from base at the moment but when I return I shall investigate your tips and report back! Thanks for valuable ideas.

    -Colum

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube