From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simone Gotti Date: Fri, 09 Apr 2004 18:44:54 +0000 Subject: Little script for ISAPNP hotplug Message-Id: <200404092044.54429.simone.gotti@email.it> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org Hi to all, I was bored that hotplug wasn't able to load my isapnp device's modules. Like the serial ports, parportpc, joystick port etc... So I've written a little agent that do this work bacause I wasn't able to find a already done script. I've did this script today in 3 hours and by now it can only manage the coldplug (I don't have any hotpluggable isa card but only the motherboard chips). It uses the contents of /proc/bus/pnp/devices bacause in sysfs it give the id in a string form (for example PNP0000) and I'm not able to convert them in the hex form with a bash script (I'm able to do this with a C program like lspnp do). The other things is that this script must parse the contents of modules.isapnpmap because there isn't a program like usbmodules or pcimodules, so it slooow. If someone is interested I'll be happy to do a program like usbmodules. My question is: Is there already a script like this? If not, does someone is interested in it and in the usbmodules like program? Bye! -- Simone Gotti ------------------------------------------------------- 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 Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel