linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Little script for ISAPNP hotplug
@ 2004-04-09 18:44 Simone Gotti
  2004-04-10 17:16 ` Simone Gotti
                   ` (14 more replies)
  0 siblings, 15 replies; 16+ messages in thread
From: Simone Gotti @ 2004-04-09 18:44 UTC (permalink / raw)
  To: linux-hotplug

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
<simone.gotti@email.it>


-------------------------------------------------------
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_id\x1470&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

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2004-04-24  9:15 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-09 18:44 Little script for ISAPNP hotplug Simone Gotti
2004-04-10 17:16 ` Simone Gotti
2004-04-11 17:09 ` Simone Gotti
2004-04-12  2:25 ` Alexander E. Patrakov
2004-04-12  9:57 ` Simone Gotti
2004-04-13 15:47 ` Alexander E. Patrakov
2004-04-13 17:06 ` Simone Gotti
2004-04-18 19:10 ` Simone Gotti
2004-04-22 18:14 ` Simone Gotti
2004-04-22 19:28 ` Marco d'Itri
2004-04-23  9:42 ` Simone Gotti
2004-04-23 16:19 ` Bill Nottingham
2004-04-23 16:23 ` Marco d'Itri
2004-04-23 16:30 ` Bill Nottingham
2004-04-24  9:15 ` Simone Gotti
2004-04-24  9:15 ` Simone Gotti

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).