I am running 2.6.18 on a gumstix (GS) board and am having problems
receiving hotplug notifications when a USB connection is established.
The host side appears to be working normally.  However, the gadget
side - the GS side - does not seem to be working.

I have written a simple hotplug script that is intended to be run
whenever a USB connection is established with the GS gadget.

I confirmed that the  /proc/sys/kernel/hotplug file contains
"/sbin/hotplug" and placed the script in /sbin/hotplug. The script
looks something like:

if [ "$1" = "usb" ]
then
        if [ "$ACTION" = "add" ]
        then
                # Do some things ....
        fi
fi
...

Trouble is that the gadget-side kernel never calls the script when the
USB connection is established.   Again, everything appears to work
fine on the host side.  The problem is with the gadget side.

Do I need to explicitly register for certain types of notifications?
Or is there some other administrative step that is required in order
to receive the hotplug notifications?

Would greatly appreciate a couple of pointers here.

Thanks,
Todd

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Linux-usb-users@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to