sample USB Driver / Probe not getting called

Abhijit Pawar apawar.linux at gmail.com
Mon Oct 17 05:35:45 EDT 2011


Hi All,
Is there any way to call a sample USB driver whenever a USB device is 
attached to the system irrespective of the class and type of the device?

To do this, LDD3, chap 13 mention that for USB device table, we only 
need to add the driver_info entry as 42.

However if I do this, my probe is never getting called.

Now, I give the vendor and product id of this Mouse to the device_id 
table and load my driver again. Still the probe is not getting called.

Is it that USB core is getting the proper driver for this mouse before 
my driver entry in the list?

Am I missing something?

Regards,
Abhijit Pawar



More information about the Kernelnewbies mailing list