[Gta04-owner] Detecting USB cable insert

Radek Polak psonek2 at seznam.cz
Mon Nov 21 16:01:32 CET 2011


On Monday 21 November 2011 15:50:46 Dr. H. Nikolaus Schaller wrote:

> Am 21.11.2011 um 14:22 schrieb Radek Polak:
> > Hi,
> > on GTA02 there were comming messages on netlink when USB connector was
> > plugged
> 
> This one: http://en.wikipedia.org/wiki/Netlink ?

Yes.

> The status can be polled through /sys. One is the twl4030_bci
> (battery charger). The other should be the "musb" (Mentor USB) driver which
> controls the USB/OTG part.
> If we implement some new notification schemes we should look what
> Kernel 3.2, Nokia N900, OpenPandora and other TI OMAP based devices
> are doing.

Sure, i will do it now using poll. It can be changed if needed later.

Regards

Radek


More information about the Gta04-owner mailing list