[Gta04-owner] [PATCH 3.2] twl4030_usb: export status of id pin via sysfs
andreas at kemnade.info
Fri Mar 30 10:51:53 CEST 2012
On Fri, 2012-03-30 at 10:35 +0200, Andreas Kemnade wrote:
> A file in sysfs is created:
> it shows 440k, 200k, 102k, floating or GND.
> If none of the corresponding bits are set, unknown is shown.
just some hints if you test this patch.
The usb system of the 3.2 kernel does not notice when
the ID pin changes to floating. So it will still
output Vbus and won't go back to peripheral mode. The
sysfs file will show the correct value. But the rest of the kernel does
not notice that. The 2.6.32 kernel does not have this problems.
I have reported that problem also earlier.
Now I know a bit more. If you manage to call
omap2430_musb_set_vbus(..., 0), you will go back to b mode.
The Openmoko charger shows 102k
More information about the Gta04-owner