Skip to contentSkip to conversation

multiple instance support

DISCUSSION SUDHARSAN 2 participants 3 messages Apr 20, 2004 – Apr 21, 2004

lore
Share & tools
lore

SUDHARSAN

author
#0 lore raw

hi ,
I want to support multiple instances of the device
in my module.The module is working fine with single instance of the device.I had a script in /etc/hotplug/usb directory with handlers for add and remove events.But its called only for the insertion of the first instance of the device.how to proceed for further device instances???.I am using 2.4.20-8 of the kernel,hotplug version 1.7

Thanks for help in advance..
Regards
sudhar

________________________________________________________________________
Yahoo! India Matrimony: Find your partner online. http://yahoo.shaadi.com/india-matrimony/

-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

#1 lore raw
Quoted 3 lines · SUDHARSAN

hi ,
I want to support multiple instances of the device
in my module.

What module?
What kind of device?
What kind of bus is the device on?

This is a driver specific issue, and not a hotplug issue, I suggest posting a copy of your driver to the proper mailing list asking for help there (netdev, linux-usb-devel, lkml, etc.)

Good luck,

greg k-h

-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

author
#2 lore raw
In reply to SUDHARSAN
Quoted 9 lines
Quoted 2 lines

hi ,
I want to support multiple instances of the

device

Quoted 1 line

in my module.

What module?
What kind of device?
What kind of bus is the device on?

Quoted 5 lines

This is a driver specific issue, and not a hotplug issue, I suggest
posting a copy of your driver to the proper mailing list asking for help
there (netdev, linux-usb-devel, lkml, etc.)

The device is attached to the USB bus. i just wanted to know whether the hotplug agent
will call the script in /etc/hotplug/usb/ with $ACTION as add/remove for every instance of the device arrival.For me it calls script for the first instance and not for further instances.

________________________________________________________________________
Yahoo! India Matrimony: Find your partner online. http://yahoo.shaadi.com/india-matrimony/

-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel