File: INSTALL

package info (click to toggle)
isapnptools 1.16-4.1
  • links: PTS
  • area: main
  • in suites: slink
  • size: 372 kB
  • ctags: 196
  • sloc: ansic: 2,257; yacc: 1,270; sh: 90; makefile: 81
file content (157 lines) | stat: -rw-r--r-- 5,377 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
	ISA PnP utilities Installation
	==============================

        $Id: INSTALL,v 0.5 1998/10/09 22:16:13 fox Exp $

Note that the --config option of pnpdump requires lspci.  This is a
program to dump the PCI resources used, and is suitable for 2.1.x
kernels on. You may obtain it as part of the pciutils package, from
sunsite, or atrey.karlin.mff.cuni.cz.

1) Edit the makefile to suit local conditions.
---------------------------------------------
Note that these will depend on your library versions. The
Makefile as supplied is for libc-5.4.44. If you have a newer
library, then some of the syscalls may already be provided
in the library, so remove the appropriate -D.
For example: If you get an error message such as

pnpdump.c:29: conflicting types for 'nanosleep'
usr/include/time.h:122: previous declaration of 'nanosleep'
make: *** [pnpdump.o] Error 1

then you need to remove the -DNEEDSNANOSLEEP from the PNPFLAGS
line in the Makefile. (This has already been done now, but
a similar comment applies to the other system calls added).

2) As anyone,
------------
make

to make the programs isapnp and pnpdump.

3) As root,
-----------
make install

or if you prefer, just make install.man or install.bin
if you do this, you'll need to copy the isapnp.gone
file to /etc manually.

4) Read the manual pages, particularly isapnp.conf.5.
-----------------------------------------------------

5) Edit the /etc/isapnp.gone file:
----------------------------------
to specify resources that are unavailable. Typically these will be
identifiable by entering the BIOS and writing down the information you
find there.

6) Run pnpdump to generate an isapnp.conf file:
-----------------------------------------------
pnpdump > /etc/isapnp.conf

pnpdump can optionally take up to two command line parameters,
see the manual page for details.

It can also take the option --config which makes it
attempt to produce a preconfigured configuration file,
see the manual page for details. If you got the entries
in /etc/isapnp.gone correct, the output file should
not require editting, and you will be able to skip the
next step, though you may still want to check it.

7) Edit the isapnp.conf file to place the device(s)
---------------------------------------------------
where your driver(s) expect. This is where step 4 would have
been useful.

If you are configuring a sound card read the FAQ section. In
fact, read the appropriate FAQ section anyway.

The purpose of this step is to insert/correct the resource assignments
in the isapnp.conf file so that the ISA PnP devices are all configured
without their resource allocations conflicting with any other devices.

The comments below assume you ran pnpdump without the --config
flag. If you did, then you will need to check the allocations don't
conflict with existing hardware whether or not it was in use at the
time you ran pnpdump.

a) All configuration information is commented out, so uncomment
the lines beginning with '# (' that you want to use.

b) If the resource data specified a range of values, then only
the first will be put in the config entry. This should be editted
to suit.

c) DON'T FORGET to uncomment the (ACT Y) at the end of the logical
device entry if you want the device enabled !

If you have a working Win95 setup, you might like to edit the
resource allocation while running Win95, so you can check the
resource allocation under My Computer -> Properties -> Device
Manager -> etc etc. See README.DOS.

To see what resources are already in use by the kernel, try
the following commands:

dmesg  | grep -i irq
cat /proc/interrupts

If you want to see what has been configured, without the noise
of the comments, grep out the comments etc thus:

cat isapnp.conf | grep -v '^#' | grep '[^ 	]' | less

where there is a tab and a space in the square brackets above.

8) Run isapnp
-------------
on the isapnp.conf file to check it has no errors. I should
sync the disks before you do this one if you have SCSI disks
or IDE disks on an ISA PnP expansion card, in case you reset
them.

9) Do whatever is necessary to initialise the device drivers:
-------------------------------------------------------------
run setserial, or insmod the drivers. Check they work.
Refer to the README, README.modules and README.ide for more details.

10) Edit the system bootup scripts
---------------------------------
to run isapnp and install the drivers etc as above.

11) Problems
------------
If you have any problems, please look at the isapnptools home
page at

http://www.roestock.demon.co.uk/isapnptools/

and read the FAQ available in the distribution, or get the latest at

http://www.roestock.demon.co.uk/isapnptools/isapnpfaq.html

first. This has additional examples to the various READMEs
contained in the distribution, and pointers to other help
available.

See also your Linux distribution's support documentation.

11) How you can help others
---------------------------
If you have an example configuration file, or new hardware
drivers etc, which would be of assistance to others, don't keep
them to youselves, please send them, or pointers to them, to

isapnp@roestock.demon.co.uk

so that I can include them in the FAQ, thanks.

Also, if you have successfully configured a PnP device that is not
listed in the Hardware-HOWTO, please notify the maintainer, as it
requests.

Peter Fox
 9-Oct-98