Kashif Rajput wrote: > > I have linux-2.4.2 installed. When i load my driver > and plug in a USB mouse to see if the probe function > is called. Instead i get an error:- > > usb_control/bulk_msg:Timeout > usb_control/bulk_msg:Timeout > > The probe function of my driver isn't being called. > The code of the probe function is as below:- > > static void *sample_probe(struct usb_device* udev, > unsigned int ifnum,const struct usb_device_id* > id_table) <snip> The usb subsystem registers the usb_driver() device, from the MODULE_DEVICE_TABLE(), and only calls relevant probe() routines, not all of them.
You need to set up the right configuration (eg a matching device vendor and product ID). Brad _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
