Hotplug isapnp patches

Alexander E. Patrakov patrakov at
Thu Sep 23 07:04:31 PDT 2004

Please find attached two conflicting patches against hotplug-2004_09_20.

The "hotplug-2004_09_20-isapnp-1.patch" just fixes an error originally 
reported by Chris Lingard. However, the resulting isapnp.rc file is 
still outdated (Debian has a more up-to-date version based on the same 
approach). It can detect only the following modules:

modules mentioned in /etc/hotplug/isapnp.alias

- total 12 modules

The "hotplug-2004_09_20-isapnp-alt-1.patch" is my own reimlementation of 
the ISAPNP hardware detection script. It is based on the approach by 
Simone Gotti and is unsuitable for Debian because of /usr/bin/od and 
/usr/bin/printf. It is perfectly OK for LFS because, unlike Debian, we 
have /usr mounted when the hotplug initscript runs.

Changes since hotplug-2004_04_01-isapnp-4.patch:

- Rediffed against new upstream version of hotplug
- (untested) Now devices with more than one ISAPNP ID can be properly 

To get the list of detectable modules for your kernel,

cat /lib/modules/`uname -r`/modules.isapnpmap \
	/etc/hotplug/isapnp.aliases | cut -d ' ' -f 1 | sort -u

On Debian system, this is 33 modules total.

There are still many modules missing (e.g. 3c515), but that's the fault 
of module-init-tools: they understand "pnp" and "pnp_card" tables, but 
not "isapnp".

Alexander E. Patrakov
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hotplug-2004_09_20-isapnp-1.patch
Type: text/x-patch
Size: 751 bytes
Desc: not available
URL: <>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hotplug-2004_09_20-isapnp-alt-1.patch
Type: text/x-patch
Size: 6936 bytes
Desc: not available
URL: <>

More information about the patches mailing list