I'm using an angstrom root file system, with my own uImage, compiled
from kernel 2.6.37. I access the console trough serial interface (with
serial to usb convertor.)
I enabled all kernel flags for HID, USB, keboard, etc. But when I
start up my system my USB devices don't seem to be powered up. (eg. my
lasermouse isn't giving any light, also my keyboard isn't working...)
* not when using an external USB hub (powered externally)
* not when connecting a mouse
* not when connecting a keyboard.
I think I'm missing something trivial here... any ideas? (eg. when
hitting the console, and not running X11 or anything, can I use the
mouse? or is there a command needed to power them up?)
It seems I didn't have the flag EHCI set when compiling the kernel.
(DeviceDrivers -> USB support -> EHCI)
now, lsusb gives me:
root@beagleboard:~# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
and in the logs I get:
root@beagleboard:~# dmesg | grep usb
[ 0.064544] usbcore: registered new interface driver usbfs
[ 0.065490] usbcore: registered new interface driver hub
[ 0.066162] usbcore: registered new device driver usb
[ 2.589599] drivers/usb/core/inode.c: creating file 'devices'
[ 2.589904] drivers/usb/core/inode.c: creating file '001'
[ 2.620605] usb usb1: default language 0x0409
[ 2.620697] usb usb1: udev 1, busnum 1, minor = 0
[ 2.620727] usb usb1: New USB device found, idVendor=1d6b,
idProduct=0002
[ 2.627868] usb usb1: New USB device strings: Mfr=3, Product=2,
SerialNumber=1
[ 2.635467] usb usb1: Product: OMAP-EHCI Host Controller
[ 2.641021] usb usb1: Manufacturer: Linux 2.6.37-dirty ehci_hcd
[ 2.647247] usb usb1: SerialNumber: ehci-omap.0
[ 2.654266] usb usb1: usb_probe_device
[ 2.654296] usb usb1: configuration #1 chosen from 1 choice
[ 2.654907] usb usb1: adding 1-0:1.0 (config #1, interface 0)
[ 2.656188] hub 1-0:1.0: usb_probe_interface
[ 2.656219] hub 1-0:1.0: usb_probe_interface - got id
[ 2.667449] drivers/usb/core/inode.c: creating file '001'
[ 3.870117] usbcore: registered new interface driver usbhid
[ 3.876007] usbhid: USB HID core driver
[ 5.778533] usb usb1: bus auto-suspend
[ 66.418426] usb usb1: usb auto-resume
[ 68.777954] usb usb1: bus auto-suspend
[ 828.681610] usb usb1: usb auto-resume
[ 830.777984] usb usb1: bus auto-suspend
but the red light of the mouse isn't on yet... any ideas?
root@beagleboard:~# ls /dev/input/
by-path event0 mice