Comment 11 for bug 894828

Revision history for this message
Philippe Langlais (philang) wrote :

I tested USB HOST + USB mouse on Snowball (v5) with Linus v3.2-rc5 mainline kernel, the status:
the behavior is slightly different than with the Igloo kernel v3.1 but the result is the same, the USB mouse doesn't work.
The device is correctly detected and mounted on /dev/input/event2 but no data is received.
I use the evtest tool to dump input events, but I see nothing on event2, I try with an old STE Linaro kernel (2.6.38) in
the same condition (same board & rootfs) and that works.
I tried also with a v3.1 Igloo kernel with same musb driver as mainline (I revert only STE USB internal patches) and I get the same behavior as v3.2-rc5.
Sure there is a regression in USB driver since MUSB mainline changes introduced by v3.1 kernel.

I attach the u8500_defconfig patch I use to activate USB necessary drivers.
I attach a second patch to fix a regression introduced by MUSB mainline change where MUSB supports OTG only mode,
but this patch can't be applied for Snowball because hardware don't support OTG and only host mode is necessary
to have an USB mouse for Android, but this patch normally has to be applied for HREF boards (CONFIG_USB_MUSB_OTG,CONFIG_USB_MUSB_PERIPHERAL & CONFIG_USB_MUSB_HOST don't exist anymore).

In all cases to fix 3.1 and higher Igloo Kernel, a STE USB specialist has to rework MUSB STE part due to mainline changes.