最終更新:2015-10-22 (木) 07:26:35 (3102d)  

usb_driver.id_table
Top / usb_driver.id_table

Pointer to the struct usb_device_id table that contains a list of all of the different kinds of USB devices this driver can accept. If this variable is not set, the probe function callback in the USB driver is never called. If you want your driver always to be called for every USB device in the system, create a entry that sets only the driver_info field:

static struct usb_device_id usb_ids[ ] = {
  {.driver_info = 42},
  { }
};