Hi On Monday, December 5, 2011 5:35:50 AM UTC+1, Pratik wrote: > > Hi, > Does anyone know what role /class/switch plays? > > I get following error in my android kernel 3.0 - > > WARNING: at fs/sysfs/dir.c:455 sysfs_add_one+0x80/0xa0() > sysfs: cannot create duplicate filename '/class/switch' > > the switch class in 2.3 is used in the usb composite gadget driver to send *notifications* to user land about state changes on the usb bus (and present the user with the possibility to connect using mass storage or other means).
Greetings -- unsubscribe: [email protected] website: http://groups.google.com/group/android-porting
