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 USB discussions getting a bit heated
  • 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 87 replies
  • Subscribers 679 subscribers
  • Views 13479 views
  • Users 0 members are here
Related

USB discussions getting a bit heated

Former Member
Former Member over 13 years ago

On the other forum, discussions of USB and networking problems have been

getting a bit heated recently, with one user, Sulge, banned yesterday by abishur

for a 1-week cooling off period.  Maybe we will see him here soon.

 

http://www.raspberrypi.org/phpBB3/viewtopic.php?f=28&t=12097&start=177

http://www.raspberrypi.org/phpBB3/viewtopic.php?f=24&t=14151

http://www.raspberrypi.org/phpBB3/viewtopic.php?f=28&t=5249

 

Some of the USB issues are being blamed on Linux latency, which

doesn't sound easy to fix.

  • Sign in to reply
  • Cancel
  • johnbeetem
    johnbeetem over 13 years ago

    From what I've read, it seems that the fundamental problem is that the BCM2835 SoC has a bare-bones USB host controller which requres a lot of the ARM processor.  Such a USB host controller works fine in BCM2835 intended applications, such as Roku, but if you try to use the ARM11 as a high-performance GNU/Linux engine talking to dozens of USB devices you will run into limitations.  It also sounds like documentation for the SoC's USB host controller is not available and that the low-level "open source" software suffers from "security through obscure code".  If this is indeed the case, it will be hard to improve things.

     

    Please let me know if my impressions are incorrect.  I would be delighted to hear that open documentation for the USB host controller is available (link?) and that the low-level driver is perfectly understandable and well-documented (link?).

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

    Apparently the documentation for the USB controller isn't even available

    to Broadcom, and they are apparently trying to figure out how it works by

    reading the code for the driver.

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

    One possible problem is an interaction with something in the SD card code that uses a long timeout causing USB packets to be lost https://github.com/raspberrypi/linux/pull/72 but again, those fixes haven't been pulled yet, so even if that's the major fix very few people will be running it.

     

    Either way, the synopsis OTG controller seems to have a lot of problems, but also a lot of users.  There were some rumblings a while back that the mainline kernel folks were looking at writing a better driver. That'll take time though and would likely be written against whatever the then 'current' kernel is, not the already out of date 3.1.x. There's a lot of churn in mainline arm right now with devicetree and such like, so forward or back porting stuff really isn't simple..

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

    they are apparently trying to figure out how it works by

    reading the code for the driver.

    Some people, outside the rpf, looked at doing that to get a working driver into the 3.5 porting effort. They gave up after a while, the code seems to be a steaming pile of.......

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

    John Beetem wrote:

     

    From what I've read, it seems that the fundamental problem is that the BCM2835 SoC has a bare-bones USB host controller which requres a lot of the ARM processor.  Such a USB host controller works fine in BCM2835 intended applications, such as Roku, but if you try to use the ARM11 as a high-performance GNU/Linux engine talking to dozens of USB devices you will run into limitations.  It also sounds like documentation for the SoC's USB host controller is not available and that the low-level "open source" software suffers from "security through obscure code".  If this is indeed the case, it will be hard to improve things.

     

    This is EXACTLY the same conclusion that I have reached.

     

    The Pi is in reality not a general purpose computer.  It's half a computer, with the ARM being used to fill in the hardware gaps that let the SoC be designed at the lowest possible cost.  If you try to use the ARM at the same time for normal computing, you can kiss your SoC's correct functioning goodbye.

     

    It's this that is wreaking havoc when you attach a correctly-working self-powered hub with added devices downstream.  Linux accepts it, because it doesn't realize what the purpose of the ARM is within the BCM2835.  In reality it should say "Sorry Dave, I don't have the CPU headroom for that" and refuse to attach.

     

    Morgaine.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 13 years ago in reply to morgaine

    it should say "Sorry Dave, I don't have the CPU headroom for that" and refuse to attach.

    LOL...  but does sound work well enough for it to sing the song ?

    image

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 13 years ago

    Those threads are terrible image They downplay most of the problems people have encountered and add confusion.

     

    But it's a timebomb waiting to go off...

    I guess user Kernel sums it up pretty nicely http://www.raspberrypi.org/phpBB3/viewtopic.php?f=28&t=12097&start=197

     

     

    Frankly even though the Foundation people are not making profit on Raspi, I think it doesn't make them any less responsible for the quality of the device they designed and have been (indirectly) selling.

     

    Regardless of the cause (software, power, design) of Pi's problems, they are frustrating to deal with and are likely to cause many to lose interest at some point (even children, or perhaps especially them).

     

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

    Thanks ! this is very informatic.

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

    Those threads are terrible image They downplay most of the problems people have encountered and add confusion.

    Thing is, the issues are complex. A lot of the confusion is being caused by people who mostly don't have a grasp of either the hardware or software problems.  Lets face it, with a usb IP block that nobody seems to have much information about, we're all in the dark and what makes it tick may as well be black magic image

     

    Still, at this point the Pi really is a development board - there's lots of development happening and various people working on fixing issues. Unfortunately due to all the hype there's lots of them landing in the hands of people who are used to a device that's been in development for years with budgets in the billions and expect everything to 'just work' instantly, instead they have a device that was designed to a strict budget with all the compromises that entails. This was bound to cause some friction.

     

    I suspect the RPF was very much unprepared for the amount of destructive stress testing a couple of hundred thousand users can do in such a short time with devices that were never thought of during the design.

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

    selsinork wrote:

     

    I suspect the RPF was very much unprepared for the amount of destructive stress testing a couple of hundred thousand users can do in such a short time with devices that were never thought of during the design.

     

    I think everyone would agree that the Foundation was unprepared.  The Pi doesn't work properly even with very common devices and very unambitious setups that work on all other systems tested.

     

    It should be pointed out that this isn't a case of the community being over-demanding, and the complaints aren't coming from people intent on destructive stress testing.  They come from ordinary users who are expecting (shock horror!) that when they attach a common USB device and it is recognized by an available driver, that it should then work.

     

    Morgaine.

    • 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