LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Password
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.

Notices


Reply
  Search this Thread
Old 07-15-2017, 02:30 PM   #1
celinnia
LQ Newbie
 
Registered: Jul 2017
Posts: 2

Rep: Reputation: Disabled
Errors when using a LAN9514 USB hub/ethernet controller


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'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 from the LAN9514 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.

http://elixir.free-electrons.com/lin...usb/smsc95xx.c

If anyone has any ideas, let me know. Thanks in advance!
 
Old 07-16-2017, 10:59 AM   #2
Laserbeak
Member
 
Registered: Jan 2017
Location: Manhattan, NYC NY
Distribution: Mac OS X, iOS, Solaris
Posts: 508

Rep: Reputation: 143Reputation: 143
It sounds like you've done a lot of work to try to get it to work, but a USB Ethernet hub is a fairly exotic piece of hardware. I wouldn't be surprised that a Linux distribution wouldn't support it.

Maybe you can scour the Internet for a better driver...

Why exactly do you need such a thing, don't you have a regular Ethernet port you can attach a switch/hub to? (I'm sure you have a very good reason, I'm just wondering what it is)

Last edited by Laserbeak; 07-16-2017 at 11:03 AM.
 
Old 07-16-2017, 11:29 AM   #3
celinnia
LQ Newbie
 
Registered: Jul 2017
Posts: 2

Original Poster
Rep: Reputation: Disabled
It's a product for retail, so the hub needs to integrated onto the PCB. I'm using the same kernel as the Beaglebone-XM which does have the same driver, so I don't see why it wouldn't work...
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
USB HUB: Intel Rate Matching Hub issues nagi Linux - Hardware 0 01-04-2012 06:44 AM
Setting USB Network Controller (SR9600 USB To Fast Ethernet Adapter) on FC10 katrok Linux - Hardware 1 06-26-2009 08:31 PM
ethernet via USB hub on SuSE 9.0 Pro Geoff_Mac Linux - Laptop and Netbook 1 05-05-2004 04:05 PM
USB Redhat 7.1 hub.c errors artistry Linux - Software 0 09-01-2001 02:25 PM
Redhat 7.1 USB errors (hub.c) artistry Linux - Newbie 0 09-01-2001 02:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer

All times are GMT -5. The time now is 11:19 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration