Hello all, I want to write a usb driver for our usb controller. I aim to use it as "device-side" driver, so if I well understood as a "gadget driver". Is "gadget driver" really what I need? I have dug into the code, and I really don't understand how the probe() function is called? Because I read in the documentation that the probe function "is called by the usb caore when it thinks it has a struct usb_interface that this driver can handle". (Linux Device Driver 3rd edition) However, the only way to tell the system that the usb port is "attached" is to receive an interrupt. So the "attached" interrupt ISR needs to tell the system that something is attached to the system. But what is the generic core function to do this? Am I entirely wrong? Thanks in advance for your help. -- 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