Note: forwarded message attached.
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online
--- Begin Message ---Hi, I wrote the followings before.- I have always the message after plugging my device - into port Feb 15 19:15:27 localhost /etc/hotplug/usb.agent: ... no drivers for USB product 123/2/0 - Why? - in my driver probe function, I have the right vendor and product ids, namely subsystem has already reached to my driver, how can I instruct the usb.agent that related driver is mine. - I notice to the /var/log/messages file to watch the sequences - I also notice to the etc/hotplug/usb.usermap, unfortunately, there is no entry - As a related question, how can CONFIG_HOTPLUG help me? Alan Stern wrote: > Do you use the MODULE_DEVICE_TABLE macro in your >driver? Do you fill in the id_table field of your >struct usb_driver? If those are set up right you won't >have to instruct usb.agent about anything. I do the followings in my driver. struct file_operations my_fops = { owner: THIS_MODULE, open: my_open, release : my_release, read: my_read, write: my_write, }; // my driver is responsible for the table entry devices static struct usb_device_id my_table [] = { { USB_DEVICE(VENDOR_ID, PRODUCT_ID) }, { } }; MODULE_DEVICE_TABLE (usb, my_table); // register the usb driver to usb subsystem with the // following object static struct usb_driver my_usb_driver= { name: "(my device)", probe: my_probe, disconnect: my_disconnect, driver_list: { NULL,NULL }, fops: &my_fops, minor: MINOR_BASE, id_table: my_table, }; why usbcore(or which) doesn't export my kernel module information to the modules.usbmap? what may the problem be? Thanks a lot for your answers __________________________________ Do you Yahoo!? Yahoo! Finance: Get your refund fast by filing online. http://taxes.yahoo.com/filing.html ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users
--- End Message ---