help needed...

Hi All,

our android is up but, the USB Mouse/Keyboard are not working. We have
Rev C3 beagle board. And Mouse & Keyboard are connected to the USB HUB
which is inturn connected to USB host port of the baegle board.

After the android bootup, I took dmesg traces & the same is attched
here. Can anybody please help me find out what has gone wrong in the
logs for USB stuff.

Actually in the logs the hub detection has happneded twice. but there
were no signs of mouse & keyboard detection. there are some uevents,
but i am not sure what are they... becuase i am new to these kernel
So please help me what has gone wrong fot detection of USB mouse &

Please find the dmesg logs for the same:

<5>Linux version 2.6.30-omap1 (shrini@shrini-desktop) (gcc version
4.2.3 (SQL Star ARM Cross Toolchain 2008-beta1)) #1 Mon Aug 24
15:53:14 IST 2009
<4>CPU: ARMv7 Processor [411fc083] revision 3 (ARMv7), cr=10c5387f
<4>CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction
<4>Machine: OMAP3 Beagle Board
<4>Memory policy: ECC disabled, Data cache writeback
<7>On node 0 totalpages: 32768
<7>free_area_init_node: node 0, pgdat c03d147c, node_mem_map c044f000
<7> Normal zone: 256 pages used for memmap
<7> Normal zone: 0 pages reserved
<7> Normal zone: 32512 pages, LIFO batch:7
<6>OMAP3430 ES3.0
<6>SRAM: Mapped pa 0x40200000 to va 0xd7000000 size: 0x100000
<6>Reserving 12582912 bytes SDRAM for VRAM
<4>Built 1 zonelists in Zone order, mobility grouping on. Total
pages: 32512
<5>Kernel command line: console=ttyS2,115200n8 root=/dev/mmcblk0p2 rw
rootdelay=4 mem=128M ip=none init=/init
<6>Clocking rate (Crystal/DPLL/ARM core): 26.0/332/500 MHz
<6>Reprogramming SDRC clock to 332000000 Hz
<6>GPMC revision 5.0
<6>IRQ: Found an INTC at 0xd8200000 (revision 4.0) with 96 interrupts
<6>Total of 96 interrupts on 1 active controller
<6>OMAP34xx GPIO hardware version 2.5
<4>PID hash table entries: 512 (order: 9, 2048 bytes)
<6>OMAP clockevent source: GPTIMER12 at 32768 Hz
<4>Console: colour dummy device 80x30
<6>Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
<6>Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
<6>Memory: 128MB = 128MB total
<5>Memory: 113108KB available (3428K code, 700K data, 124K init, 0K
<6>Calibrating delay loop... 489.46 BogoMIPS (lpj=1912832)
<4>Mount-cache hash table entries: 512
<6>CPU: Testing write buffer coherency: ok
<6>net_namespace: 520 bytes
<6>regulator: core version 0.5
<6>NET: Registered protocol family 16
<6>Found NAND on CS0
<6>Registering NAND on CS0
<6>OMAP DMA hardware revision 4.0
<4>bio: create slab <bio-0> at 0
<6>OMAP DSS rev 2.0
<6>OMAP DISPC rev 3.0
<6>OMAP VENC rev 2
<6>i2c_omap i2c_omap.1: bus 1 rev3.12 at 2600 kHz
<6>twl4030: PIH (irq 7) chaining IRQs 368..375
<6>twl4030: power (irq 373) chaining IRQs 376..383
<6>twl4030: gpio (irq 368) chaining IRQs 384..401
<6>regulator: VMMC1: 1850 <--> 3150 mV normal standby
<6>regulator: VDAC: 1800 mV normal standby
<6>regulator: VUSB1V5: 1500 mV normal standby
<6>regulator: VUSB1V8: 1800 mV normal standby
<6>regulator: VUSB3V1: 3100 mV normal standby
<6>regulator: VPLL2: 1800 mV normal standby
<6>regulator: VSIM: 1800 <--> 3000 mV normal standby
<6>i2c_omap i2c_omap.3: bus 3 rev3.12 at 100 kHz
<5>SCSI subsystem initialized
<7>twl4030_usb twl4030_usb: HW_CONDITIONS 0xc0/192; link 2
<6>twl4030_usb twl4030_usb: Initialized TWL4030 USB module
<6>usbcore: registered new interface driver usbfs
<6>usbcore: registered new interface driver hub
<6>usbcore: registered new device driver usb
<6>musb_hdrc: version 6.0, musb-dma, otg (peripheral+host), debug=0
<7>musb_hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine (X),
bulk split (X), HB-ISO Rx, HB-ISO Tx, SoftConn)
<7>musb_hdrc: MHDRC RTL version 1.400
<7>musb_hdrc: setup fifo_mode 4
<7>musb_hdrc: 28/31 max ep, 16384/16384 memory
<7>musb_hdrc: hw_ep 0shared, max 64
<7>musb_hdrc: hw_ep 1tx, max 512
<7>musb_hdrc: hw_ep 1rx, max 512
<7>musb_hdrc: hw_ep 2tx, max 512
<7>musb_hdrc: hw_ep 2rx, max 512
<7>musb_hdrc: hw_ep 3tx, max 512
<7>musb_hdrc: hw_ep 3rx, max 512
<7>musb_hdrc: hw_ep 4tx, max 512
<7>musb_hdrc: hw_ep 4rx, max 512
<7>musb_hdrc: hw_ep 5tx, max 512
<7>musb_hdrc: hw_ep 5rx, max 512
<7>musb_hdrc: hw_ep 6tx, max 512
<7>musb_hdrc: hw_ep 6rx, max 512
<7>musb_hdrc: hw_ep 7tx, max 512
<7>musb_hdrc: hw_ep 7rx, max 512
<7>musb_hdrc: hw_ep 8tx, max 512
<7>musb_hdrc: hw_ep 8rx, max 512
<7>musb_hdrc: hw_ep 9tx, max 512
<7>musb_hdrc: hw_ep 9rx, max 512
<7>musb_hdrc: hw_ep 10tx, max 256
<7>musb_hdrc: hw_ep 10rx, max 64
<7>musb_hdrc: hw_ep 11tx, max 256
<7>musb_hdrc: hw_ep 11rx, max 64
<7>musb_hdrc: hw_ep 12tx, max 256
<7>musb_hdrc: hw_ep 12rx, max 64
<7>musb_hdrc: hw_ep 13shared, max 4096
<7>musb_hdrc: hw_ep 14shared, max 1024
<7>musb_hdrc: hw_ep 15shared, max 1024
<6>musb_hdrc: USB OTG mode controller at d80ab000 using DMA, IRQ 92
<6>NET: Registered protocol family 2
<6>IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
<6>TCP established hash table entries: 4096 (order: 3, 32768 bytes)
<6>TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
<6>TCP: Hash tables configured (established 4096 bind 4096)
<6>TCP reno registered
<6>NET: Registered protocol family 1
<4>NetWinder Floating Point Emulator V0.97 (double precision)
<7>Switched to high resolution mode on CPU 0
<6>ashmem: initialized
<5>VFS: Disk quotas dquot_6.5.2
<4>Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
<4>yaffs Aug 24 2009 15:36:17 Installing.
<6>msgmni has been set to 221
<6>alg: No test for stdrng (krng)
<6>io scheduler noop registered
<6>io scheduler anticipatory registered (default)
<6>io scheduler deadline registered
<6>io scheduler cfq registered
<6>Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
<6>serial8250.0: ttyS0 at MMIO 0x4806a000 (irq = 72) is a ST16654
<6>serial8250.0: ttyS1 at MMIO 0x4806c000 (irq = 73) is a ST16654
<6>serial8250.0: ttyS2 at MMIO 0x49020000 (irq = 74) is a ST16654
<6>console [ttyS2] enabled
<6>brd: module loaded
<6>loop: module loaded
<6>i2c /dev entries driver
<4>Driver 'sd' needs updating - please use bus_type methods
<6>omap2-nand driver initializing
<6>NAND device: Manufacturer ID: 0x2c, Chip ID: 0xba (Micron NAND
256MiB 1,8V 16-bit)
<5>cmdlinepart partition parsing not available
<5>Creating 5 MTD partitions on "omap2-nand":
<5>0x000000000000-0x000000080000 : "X-Loader"
<5>0x000000080000-0x000000260000 : "U-Boot"
<5>0x000000260000-0x000000280000 : "U-Boot Env"
<5>0x000000280000-0x000000680000 : "Kernel"
<5>0x000000680000-0x000010000000 : "File System"
<5>usbmon: debugfs is not available
<6>ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
<7>ehci_hcd: block sizes: qh 128 qtd 96 itd 160 sitd 96
<7>ehci-omap ehci-omap.0: starting TI EHCI USB Controller
<7>ehci-omap ehci-omap.0: idlest2 = 0x0
<7>ehci-omap ehci-omap.0: idlest2 = 0x0
<7>ehci-omap ehci-omap.0: idlest2 = 0x0
<7>ehci-omap ehci-omap.0: idlest2 = 0x0
<7>ehci-omap ehci-omap.0: idlest2 = 0x0
<7>ehci-omap ehci-omap.0: idlest2 = 0x0
<7>ehci-omap ehci-omap.0: idlest2 = 0x0
<7>ehci-omap ehci-omap.0: idlest2 = 0x0
<7>ehci-omap ehci-omap.0: idlest2 = 0x0
<7>ehci-omap ehci-omap.0: idlest2 = 0x0
<7>ehci-omap ehci-omap.0: idlest2 = 0x0
<7>ehci-omap ehci-omap.0: idlest2 = 0x0
<7>ehci-omap ehci-omap.0: idlest2 = 0x0
<7>ehci-omap ehci-omap.0: idlest2 = 0x0
<7>ehci-omap ehci-omap.0: idlest2 = 0x0
<7>ehci-omap ehci-omap.0: TLL RESET DONE
<7>ehci-omap ehci-omap.0: Entered ULPI PHY MODE: success
<6>ehci-omap ehci-omap.0: OMAP-EHCI Host Controller
<7>drivers/usb/core/inode.c: creating file 'devices'
<7>drivers/usb/core/inode.c: creating file '001'
<6>ehci-omap ehci-omap.0: new USB bus registered, assigned bus number
<7>ehci-omap ehci-omap.0: park 0
<6>ehci-omap ehci-omap.0: irq 77, io mem 0x48064800
<7>ehci-omap ehci-omap.0: reset command 090b02 park=3 ithresh=9
period=1024 Reset HALT
<7>ehci-omap ehci-omap.0: init command 010009 (park)=0 ithresh=1
period=256 RUN
<6>ehci-omap ehci-omap.0: USB 2.0 started, EHCI 1.00
<7>usb usb1: default language 0x0409
<6>usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
<6>usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
<6>usb usb1: Product: OMAP-EHCI Host Controller
<6>usb usb1: Manufacturer: Linux 2.6.30-omap1 ehci_hcd
<6>usb usb1: SerialNumber: ehci-omap.0
<7>usb usb1: uevent
<7>usb usb1: usb_probe_device
<6>usb usb1: configuration #1 chosen from 1 choice
<7>usb usb1: adding 1-0:1.0 (config #1, interface 0)
<7>usb 1-0:1.0: uevent
<7>hub 1-0:1.0: usb_probe_interface
<7>hub 1-0:1.0: usb_probe_interface - got id
<6>hub 1-0:1.0: USB hub found
<6>hub 1-0:1.0: 3 ports detected
<7>hub 1-0:1.0: standalone hub
<7>hub 1-0:1.0: individual port power switching
<7>hub 1-0:1.0: individual port over-current protection
<7>hub 1-0:1.0: power on to power good time: 20ms
<7>hub 1-0:1.0: local power source is good
<7>hub 1-0:1.0: enabling power on all ports
<7>drivers/usb/core/inode.c: creating file '001'
<6>ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
<7>ohci_hcd: block sizes: ed 64 td 64
<6>Initializing USB Mass Storage driver...
<6>usbcore: registered new interface driver usb-storage
<6>USB Mass Storage support registered.
<6>android init
<6>android_usb gadget: Number of LUNs=1
<6>android_usb gadget: android_usb ready
<6>musb_hdrc musb_hdrc: MUSB HDRC host driver
<7>drivers/usb/core/inode.c: creating file '002'
<6>musb_hdrc musb_hdrc: new USB bus registered, assigned bus number 2
<7>usb usb2: default language 0x0409
<6>usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
<6>usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
<6>usb usb2: Product: MUSB HDRC host driver
<6>usb usb2: Manufacturer: Linux 2.6.30-omap1 musb-hcd
<6>usb usb2: SerialNumber: musb_hdrc
<7>usb usb2: uevent
<7>usb usb2: usb_probe_device
<6>usb usb2: configuration #1 chosen from 1 choice
<7>usb usb2: adding 2-0:1.0 (config #1, interface 0)
<7>usb 2-0:1.0: uevent
<7>hub 2-0:1.0: usb_probe_interface
<7>hub 2-0:1.0: usb_probe_interface - got id
<6>hub 2-0:1.0: USB hub found
<6>hub 2-0:1.0: 1 port detected
<7>hub 2-0:1.0: standalone hub
<7>hub 2-0:1.0: individual port power switching
<7>hub 2-0:1.0: no over-current protection
<7>hub 2-0:1.0: power on to power good time: 10ms
<7>hub 2-0:1.0: 100mA bus power budget for each child
<7>hub 2-0:1.0: local power source is good
<7>hub 2-0:1.0: enabling power on all ports
<7>drivers/usb/core/inode.c: creating file '001'
<6>twl4030_rtc twl4030_rtc: rtc core: registered twl4030_rtc as rtc0
<4>twl4030_rtc twl4030_rtc: Power up reset detected.
<6>twl4030_rtc twl4030_rtc: Enabling TWL4030-RTC.
<4>mmci-omap-hs mmci-omap-hs.0: Failed to get debounce clock
<7>hub 1-0:1.0: state 7 ports 3 chg 0000 evt 0000
<7>hub 2-0:1.0: state 7 ports 1 chg 0000 evt 0000
<6>usbcore: registered new interface driver usbhid
<6>usbhid: v2.6:USB HID core driver
<6>logger: created 64K log 'log_main'
<6>logger: created 256K log 'log_events'
<6>logger: created 64K log 'log_radio'
<6>TCP cubic registered
<6>NET: Registered protocol family 17
<6>NET: Registered protocol family 15
<6>RPC: Registered udp transport module.
<6>RPC: Registered tcp transport module.
<3>Power Management for TI OMAP3.
<6>VFP support v0.3: implementor 41 architecture 3 part 30 variant c
rev 1
<4>Console: switching to colour frame buffer device 80x30
<4>omapdss: Could not find exact pixel clock. Requested 23500 kHz, got
24000 kHz
<4>regulator_init_complete: incomplete constraints, leaving VDVI on
<4>regulator_init_complete: incomplete constraints, leaving VDAC on
<6>twl4030_rtc twl4030_rtc: setting system clock to 2000-01-01
00:00:00 UTC (946684800)
<6>Waiting 4sec before mounting root device...
<5>musb_hdrc: peripheral reset irq lost!
<6>android_usb gadget: high speed config #1: android
<6>android_usb gadget: config #1
<6>mmc0: new high speed SD card at address 0002
<6>mmcblk0: mmc0:0002 00000 974 MiB
<6> mmcblk0: p1 p2
<7>hub 1-0:1.0: hub_suspend
<7>usb usb1: bus auto-suspend
<7>ehci-omap ehci-omap.0: suspend root hub
<7>hub 2-0:1.0: hub_suspend
<7>usb usb2: bus auto-suspend
<6>kjournald starting. Commit interval 5 seconds
<4>EXT3-fs warning: mounting unchecked fs, running e2fsck is
<6>EXT3 FS on mmcblk0p2, internal journal
<6>EXT3-fs: mounted filesystem with writeback data mode.
<4>VFS: Mounted root (ext3 filesystem) on device 179:2.
<6>Freeing init memory: 124K
<4>Warning: unable to open an initial console.
<7>usb usb2: uevent
<7>usb 2-0:1.0: uevent
<7>usb usb1: uevent
<7>usb 1-0:1.0: uevent
<3>init: cannot open '/initlogo.rle'
<3>init: cannot find '/system/bin/playmp3', disabling 'bootsound'
<6>warning: `rild' uses 32-bit capabilities (legacy support in use)