On Tue, Apr 05, 2005 at 01:28:20PM +0530, [EMAIL PROTECTED] wrote:
> 
> Hi Greg,
> 
> Acm driver is loaded as soon the plug/play agent detects USB device
> connected to the system and it tries to claim. My problem is usbserial
> driver also should get loaded as soon plug/play agents detects the USB
> device, instead of user load them.

> 
> I wanted to know how to make usbserial driver this way?

MODULE_DEVICE_TABLE().  Do you have that in your driver?  Have a pointer
to your driver's code anywhere?

See my old 2001 OLS paper on Linux Hotplug which explains how
MODULE_DEVICE_TABLE() in a kernel driver causes the module to be
automatically loaded when a device is found by the system.

thanks,

greg k-h


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to