View Single Post
Old 12-09-2011, 01:04 PM   #110
hieronymos
Groupie
hieronymos is that somebody.hieronymos is that somebody.hieronymos is that somebody.hieronymos is that somebody.hieronymos is that somebody.hieronymos is that somebody.hieronymos is that somebody.hieronymos is that somebody.hieronymos is that somebody.hieronymos is that somebody.hieronymos is that somebody.
 
Posts: 186
Karma: 45172
Join Date: Nov 2011
Device: Kobo Vox
Good news, bad news.

Good news:

Dmesg from a USB connection:
try_wake_up_udc: udc enter low power mode
mg get the DC mode success!
mg report message again success!
usb wakeup is here
the otgsc is 0x82c0f20, usbsts is 0x80, portsc is 0x1c000004, wakeup_irq is 0x80000000
otg udc vbus rising wakeup
try_wake_up_udc: udc out low power mode
try_wake_up_udc: udc enter low power mode

Which means that something is listening.

Bad news:
I went trough the kernel config again, and the host controller isn't enabled. I tried to compile ehci-hcd.ko from the freescale sources, but consistantly get

ERROR: "usb_suspend" [drivers/usb/host/ehci-hcd.ko] undefined!
ERROR: "usb_resume" [drivers/usb/host/ehci-hcd.ko] undefined!

So seems like there's a reason all the rest is enabled and nothing works :-)
So we can delightfully include USB support on the todo lists for custom kernels!
Maybe there'll be more luck OOTB with the linaro kernel.
We probably also need OTG support, which is compiled statically only.

Very very interesting test: plug a simple 2$ USB hub in a charger (iPhone or wall plug for example). Plus other stuff like a bluetooth dongle and a mouse into the hub. Plug the Vox as well.
Turn it on.
Result: it doesn't boot further than the black and white Kobo logo. This should be where UBoot is.

Last edited by hieronymos; 12-09-2011 at 01:32 PM.
hieronymos is offline   Reply With Quote