LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 04-16-2014, 04:34 PM   #1
jcolebaker
LQ Newbie
 
Registered: Apr 2014
Posts: 1

Rep: Reputation: Disabled
No USB devices - Beagleboard xM and Yocto Linux


Hello,

I've used the Yocto project to build a simple linux for my Beagleboard xM (Rev C). I used the "beagleboard" machine setting and a "core-image-basic" recipe. I don't need a GUI or any dev tools, just support for the onboard network hardware plus additional USB-Ethernet adaptors.

The build works OK, and I managed to set up my micro SD card and get it to boot. I see lots of messages about loading drivers during boot, and I can log in to Linux.

However, the USB devices don't seem to be working. The built-in USB-Ethernet gadget isn't there, and when I plug in a USB stick nothing happens - nothing in /dev/ and no messages in the system log.

I don't know whether this is something I missed in the build, or some configuration I need to do. I also don't know whether it is specific to the Beagle or a general problem. Unfortunately I am new to Kernel builds and device drivers.

Here's what I've checked:

The boot-up messages indicate that the USB drivers are loaded, e.g.:

<snip>
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
...
usbcore: registered new interface driver smsc75xx
usbcore: registered new interface driver smsc95xx
...etc

(I think smsc95xx is the USB-Ethernet chip on the Beagleboard xM).

ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci-omap: OMAP-EHCI Host Controller driver
ehci-omap 48064800.ehci: EHCI Host Controller
ehci-omap 48064800.ehci: new USB bus registered, assigned bus number 1
ehci-omap 48064800.ehci: irq 93, io mem 0x48064800
ehci-omap 48064800.ehci: USB 2.0 started, EHCI 1.00
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 3 ports detected
usbcore: registered new interface driver usb-storage
musb-hdrc musb-hdrc.0.auto: musb_init_controller failed with status -6
mousedev: PS/2 mouse device common for all mice
...Etc

There's a modprobe error which occurs a couple of times:

udevd[71]: starting version 175
modprobe: chdir(3.10.11-yocto-standard): No such file or directory

I also saw errors from the ethernet subsystem (?), along the lines of "eth0: device not found" and "usb0: device not found". This occurred during boot and also when I used "ifup eth0". I'm actually seeing a different error now: "ifconfig: SIOCGIFFLAGS: No such device". In either case, I think it's because something to do with the actual USB hardware is missing or not configured.

"lsmod" shows no modules loaded, i.e.:

root@beagleboard:~# lsmod
Module Size Used by
root@beagleboard:~#

Does this mean that the various device drivers, etc, above are built in to the kernel?

Any suggestions for how to diagnose / fix this problem? Anybody else have experience with the BeagleBoard xM or similar?

It may be a configuration file I need to edit, or a service I need to start... I'm a bit lost.

Thanks!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Failed to activate core devices. Disk full? horten Linux - Desktop 3 06-21-2012 09:52 AM
Question about configuring USB in Linux for BeagleBoard rikard_olsson73 Linux - Newbie 1 04-02-2010 07:59 PM
Help get my Network Devices to Activate fedoracjd Linux - Networking 5 05-01-2007 10:57 PM
Help get my Network Devices to Activate fedoracjd Linux - Newbie 8 01-07-2007 04:19 AM
switching between/activate network devices snow_bound Mandriva 3 06-04-2005 12:48 AM


All times are GMT -5. The time now is 09:40 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration