PNPDUMP(8)
NAME
pnpdump - Dump ISA Plug-And-Play devices resource informa-
tion
SYNOPSIS
pnpdump [ [ devs ] readport ]
DESCRIPTION
pnpdump will scan all the ISA PnP cards, dumping their
resource data to stdout.
The output is in a form that can be used by isapnp, except
that the actual configuration statements are commented
out. See isapnp.conf(5) for details of the format.
By default, pnpdump will reset all the cards into the
inactive state, then ISOLATE each one and allocate it a
handle (Card Select Number). This process will include
trying different readport addresses until a suitable one
is found avoiding conflicts with other hardware.
If a single parameter is provided, this will be used as
the minimum readport address to start scanning. This may
be chosen to avoid an unfortunate conflict.
Resetting the cards may be undesireable, in which case
both additional parameters may be supplied:
Parameters
devs is the number of PnP cards that the BIOS has found,
ISOLATEd and allocated CSNs to in the system. Note
that if this is greater than the actual number of
cards in the system, pnpdump will stop scanning
when it receives a first serial identifier byte of
0xff (this is what happens when there isn't a card
with that CSN).
If this parameter is provided, then pnpdump will
not ISOLATE each card and assign CSNs, however, the
readport provided must be the same as the one the
BIOS used. This could be difficult to determine if
it is not assigned via a BIOS setup screen.
readport is the address of the readport to use for the
Plug-And-Play access. The number base is determined
by the format: a leading 0x implies hex, a leading
0 implies octal, otherwise decimal is assumed.
The address of the readport must be chosen to avoid
any conflicts with existing (non Plug and Play)
hardware, and must be in the range 0x203..0x3ff.
If the readport is specified without devs, then
this is the minimum readport to use when scanning
for a suitable one.
Note that for the two parameter option to work, you must
have a PnP BIOS which has already carried out the ISOLA-
TION process correctly, and you must know what readport
address the BIOS used.
FILES
/sbin/pnpdump
The executable.
/etc/isapnp.conf
The resting place of the editted output.
BUGS
None known about. If you think you have found one, please
send a report to isapnp@roestock.demon.co.uk.
WARNING
This program can reset all your Plug-and-Play devices.
Use at your own risk.
AUTHOR
pnpdump has been written by Peter Fox <fox@roe-
stock.demon.co.uk>, the creator and maintainer of isap-
nptools.
AVAILABILITY
The latest version of the sources may be obtained by ftp
from ftp://ftp.demon.co.uk/pub/unix/linux/utils
Or follow the pointer from my web page at http://www.roe-
stock.demon.co.uk/isapnptools/
REFERENCES
Plug and Play ISA Specification, Version 1.0a, May 5,
1994. Available from ftp://ftp.microsoft.com/devel-
oper/drg/Plug-and-Play/Pnpspecs
SEE ALSO
isapnp(8) isapnp.conf(5)