isapnp coldplug, once again
A new, reworked version of ISAPNP hardware detection script is attached as a patch to the hotplug package.
This release is based entirely on Simone Gotti's approach. Simone Gotti's approach is preferred because it provides proper blacklist support. However, it is unsuitable for Debian because this script uses stuff from /usr/bin.
The artificial split into isapnp.rc and isapnp.agent has been removed. Support for 2.4 kernels has been removed.
Two bugs reported against hotplug-isapnp-0.2.1 by Simone Gotti have been fixed:
1) bashism resulting in messages like "[: ==: binary operator expected"
2) wrong behaviour with empty /sys/bus/pnp/devices directory
As usual, this script will work only if the kernel has been compiled with CONFIG_ISAPNP=y and CONFIG_PNPBIOS=y.
Signature · 1 line
Alexander E. Patrakov
Submitted By: Alexander E. Patrakov
Date: 2004-07-01
Initial Package Version: 2004_04_01
Origin: based on hotplug-isapnp-0.2.1 by Simone Gotti Upstream Status: will submit
Description: Includes ISAPNP hardware detection script
etc/hotplug/pnp.distmap +9 -0
@@ -0,0 +1,9 @@ +# isapnp module cardvendor carddevice driver_data vendor function ... +irtty-sir 0xffff 0xffff 0x00000000 0xd041 0x1005 +irtty-sir 0xffff 0xffff 0x00000000 0xd041 0x1105 +floppy 0xffff 0xffff 0x00000000 0xd041 0x0007 +pcspkr 0xffff 0xffff 0x00000000 0xd041 0x0008 +rtc 0xffff 0xffff 0x00000000 0xd041 0x000b +atkbd 0xffff 0xffff 0x00000000 0xd041 0x0303 +psmouse 0xffff 0xffff 0x00000000 0xd041 0x130f +analog 0xffff 0xffff 0x00000000 0xd041 0x2fb0
etc/hotplug/pnp.rc +115 -0
115 lines not on this page · raw message
Quoted 2 lines · Alexander E. Patrakov
A new, reworked version of ISAPNP hardware detection script is attached as a patch to the hotplug package.
I'm experimenting with bootable CDs, working up hardware detection for essentially any kind of system Linux supports. I recently stumbled onto a bug (or perhaps "omission" is more accurate) in the pnp.rc script.
The problem is this: I found a system that uses an ISA pnp network card. The pnp.rc script doesn't load a driver for it because the card's identifier string (something like @@@5e90 -- I made up the numbers, but the beginning @ symbols are included in the card's id string).
The card includes a second, generic identifier string in the form PNP80d6. This generic identifier does resolve to a valid driver module.
I'm putting together a modification of your pnp.rc script that uses the generic identifier if the initial one doesn't turn up a driver. Would you rather do this yourself?
Regards;
Jonathan
Signature · 19 lines
"One of the main reasons the Roman Empire fell was because of the lack of the
numeral '0'. This meant they were unable to terminate their C programs
correctly."
- Anonymous coder
"The French don't even have a word for 'entrepreneur'!"
- George W. Bush
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_idP47&alloc_id808&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-develQuoted 10 lines · Jonathan Lyster
Quoted 2 lines · Alexander E. Patrakov
A new, reworked version of ISAPNP hardware detection script is attached as a patch to the hotplug package.
I'm experimenting with bootable CDs, working up hardware detection for essentially any kind of system Linux supports. I recently stumbled onto a bug (or perhaps "omission" is more accurate) in the pnp.rc script.
Quoted 7 lines
The problem is this: I found a system that uses an ISA pnp network card. The pnp.rc script doesn't load a driver for it because the card's identifier string (something like @@@5e90 -- I made up the numbers, but the beginning @ symbols are included in the card's id string).
The card includes a second, generic identifier string in the form PNP80d6. This generic identifier does resolve to a valid driver module.
Could you please execute the following commands:
cd /tmp
cp -a /sys .
tar zcf sys.tar.gz sys
and mail the resulting sys.tar.gz file to me (off-list)?
Signature · 12 lines
Alexander E. Patrakov ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_idP47&alloc_id808&op=click _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net [email protected] https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel