From: Simone Gotti <simone.gotti@email.it>
To: linux-hotplug@vger.kernel.org
Subject: Little script for ISAPNP hotplug
Date: Fri, 09 Apr 2004 18:44:54 +0000 [thread overview]
Message-ID: <200404092044.54429.simone.gotti@email.it> (raw)
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
next reply other threads:[~2004-04-09 18:44 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-04-09 18:44 Simone Gotti [this message]
2004-04-10 17:16 ` Little script for ISAPNP hotplug 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200404092044.54429.simone.gotti@email.it \
--to=simone.gotti@email.it \
--cc=linux-hotplug@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).