Dear experts, I am currently working on a project using the Gadget serial driver, and is having some issues coping with cable removal. I need to stop my data transmission (when the host disconnects) and restart it when the host connects again. I would expect that you can get some sort of event from the Gadget driver when the host is connected/disconnected, but was not able to find any info on that. What I would ultimately like to accomplish: 1. Receive events on cable insertion/removal (Host connect/disconnect). 2. Receive events when the host is ready to receive data (the Port is opened on the host PC). Is it possible to receive such events in user mode from the Gadget stack or the USB sub-system? If not could you provide some advice on possible workaround to solve my problem? Thanks in advance, Best regards, Thomas Soehus -- 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