OSDN Git Service

Import translated manuals from JM CVS Repository.
[linuxjm/jm.git] / manual / pcmcia-cs / original / man8 / setpnp.8
1 .\" Copyright (C) 1999 David A. Hinds -- dahinds@users.sourceforge.net
2 .\" setpnp.8 1.3 2000/06/12 21:24:49
3 .\"
4 .TH SETPNP 8 "2000/06/12 21:24:49" "pcmcia-cs"
5 .SH NAME
6 setpnp \- modify Plug and Play BIOS device resources
7 .SH SYNOPSIS
8 .B setpnp
9 .RB [ -b ]
10 .I device resource...
11 .br
12 .B setpnp
13 .RB [ -b ]
14 .I device {on|off}
15 .SH DESCRIPTION
16 This utility updates the system resource information for Plug and Play
17 BIOS device nodes.  A device is specified by its two-digit hex node
18 number.  In its first form, a list of resources are given on the
19 command line.  Alternatively, a device can either be simply switched
20 ``on'' (reset to its boot configuration) or ``off'' (all resources
21 disabled).
22 .PP
23 There are four types of resources: ``io'', ``mem'', ``irq'', and
24 ``dma''.  A resource list consists of one or more space-separated
25 pairs of a resource type with one or more values.  Multiple values for
26 one resource type can be separated by commas.  Values can also either
27 be unitary or dash-separated ranges.  For example:
28 .sp
29 .RS
30 .nf
31 setpnp 0d io 0x2f8-0x2ff irq 3
32 setpnp 12 io 0x350-0x35f,0x2f8-0x2ff irq 3 irq 10
33 .RE
34 .fi
35 .sp
36 The order of items of different types is not important, but if more
37 than one item of the same type is present, their relative order is
38 significant.  The Plug and Play BIOS will reject invalid configuration
39 attempts; however,
40 .B setpnp
41 will not attempt to determine why a configuration was rejected.
42 .PP
43 By default, current (dynamic) device configuration information is
44 modified.  With the
45 .B -b
46 option, a device's boot (static) configuration can be updated.  Some
47 devices may only be reconfigured for the following boot.  Be especially
48 careful when modifying your system's boot configuration.  Improper use
49 of this command may disable vital system devices and render your
50 system unbootable. 
51 .SH OPTIONS
52 .TP
53 .B \-b
54 Boot mode: update the device resource information that will be used at
55 next boot (as opposed to current resource info).
56 .TP
57 .SH FILES
58 .TP \w'/proc/bus/pnp/...\ \ \ \ |\|'u
59 /proc/bus/pnp/...
60 The kernel interface for Plug and Play BIOS device services.
61 .SH AUTHORS
62 David Hinds \- dahinds@users.sourceforge.net
63 .SH "SEE ALSO"
64 lspnp(8)