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 Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • 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
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • 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
Single-Board Computers
  • Products
  • Dev Tools
  • Single-Board Computers
  • More
  • Cancel
Single-Board Computers
Forum USB Ethernet/Hub driver question for my board
  • Blog
  • Forum
  • Documents
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Single-Board Computers to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 4 replies
  • Subscribers 57 subscribers
  • Views 488 views
  • Users 0 members are here
Related

USB Ethernet/Hub driver question for my board

telarium
telarium over 8 years ago

I have a BeagleBone running a buildroot image I made, and I wanted to add the LAN9514 USB 2.0 and ethernet controller chip. I believe the Pi and the Beaglebone-XM incorporate the same hardware.

 

I believe I've correctly connected everything (leaving off the optional eeprom) and I included the SMSC95XX as a module in buildroot for the driver. However, when booting with the new hardware connected, I see these errors:

 

[   10.300000] usb 3-1: device descriptor read/64, error -62

[   10.590000] usb 3-1: device descriptor read/64, error -62

[   11.300000] usb 3-1: device not accepting address 4, error -62

[   11.900000] usb 3-1: device not accepting address 5, error -62

[   11.900000] usb usb3-port1: unable to enumerate USB device

 

Like the Beaglebone-XM, I have the PRTCTL pins connected to the input enable signals on a mosfet in order to control the 5v power to the USB ports. However, the PRTCTL are never being driven high, so no connected USB device can get power.

 

I'm wondering if there's something I'm missing (a device tree entry, maybe?) in order to make this work. It seems to me like the driver should tell the chip to reset to its default eeprom values and drive the pins high, but I think I must have skipped a step in order to bind the device to the driver properly.

 

linux/drivers/net/usb/smsc95xx.c - Elixir - Free Electrons

 

If anyone has any ideas, let me know. Thanks in advance!

  • Sign in to reply
  • Cancel
  • telarium
    telarium over 8 years ago

    Just to follow up on what I've discovered so far...

     

    The problem seems to only occur with the BeagleBone and the LAN9514 are powered on at the same time. If I want for the board to boot to Linux and then connect the 9514 to power, it works.

     

    Something else I tried was unbinding all USB devices in Linux, loading the SMS95xx driver, and then re-binding USB, but it still doesn't get around the problem. The only thing that works is powering them sequentially.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • johnfire
    johnfire over 8 years ago in reply to telarium

    sounds like you are at the limits of whatever you are using for a power supply. get a hub with a higher max amperage or split the devices power wise onto different supplies

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • telarium
    telarium over 8 years ago in reply to johnfire

    Sorry for failing to mention it before, but I did try this as well. The computer and the 9514 are being powered separately for the purposes of my test, and each has about 5 amps of current available. I would think that should be more than enough...

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • johnfire
    johnfire over 8 years ago

    that should be more than enough power. it should be somewhere else then.

    is it a problem to boot up in the order that seems to work?

    you should look at that carefully.

    • 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