Hi all,
I am using the /g_file_storage/gadget driver. I was wondering if it is
possible to detect if a cable (and USB host) is connected to the USB
device port.
Looks like the driver prints the following message to dmesg when the
host is connected:
g_file_storage gadget: full speed config #1
But there is no message when it is disconnected. So how can I check the
current status of the connection. Is there some status file in sysfs I
can look at?
Any other possibility?
Thanks, Ondrej
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html