I'm working on a project with a the Freescale Dragonball i.MX1 with the
last metrowerks linux BSP.
I've installed the usb driver that create a Removable Disk on a Windows

The question is:

How can the MX1 know if the USB cable is connected with the PC? There
is an IOCTL to read the status of connected/disconnected?

thanks a lot!