
used to view and manipulate PnP BIOS devices. However, this setting causes problems on
some laptops and is not turned on by default.
How to set kernel−specific options?
There are a few kernel configuration options that affect the PCMCIA tools. The
configuration script can deduce these from the running kernel (the default and most common
case). Alternatively, if you are compiling for installation on another machine, it can read the
configuration from a kernel source tree, or each option can be set interactively.
The Configure script can also be executed non−interactively, for automatic builds or to quickly
reconfigure after a kernel update. Some additional less−frequently−used options can be only be set from the
command line. Running ``Configure −−help'' lists all available options.
Running ``make all'' followed by ``make install'' will build and then install the kernel modules and
utility programs. Kernel modules are installed under /lib/modules/<version>/pcmcia. The
cardmgr and cardctl programs are installed in /sbin. If cardinfo is built, it is installed in
/usr/bin/X11.
Configuration files will be installed in the /etc/pcmcia directory. If you are installing over an older
version, your old config scripts will be backed up before being replaced. The saved scripts will be given an
*.O extension.
If you don't know what kind of host controller your system uses, you can use the probe utility in the
cardmgr/ subdirectory to determine this. There are two major types: the Databook TCIC−2 type and the
Intel i82365SL−compatible type.
In a few cases, the probe command will be unable to determine your controller type automatically. If you
have a Halikan NBD 486 system, it has a TCIC−2 controller at an unusual location: you'll need to edit
rc.pcmcia to load the tcic module, and also set the PCIC_OPTS parameter to
``tcic_base=0x02c0''.
On some systems using Cirrus controllers, including the NEC Versa M, the BIOS puts the controller in a
special suspended state at system startup time. On these systems, the probe command will fail to find any
known host controller. If this happens, edit rc.pcmcia and set PCIC to i82365, and PCIC_OPTS to
``wakeup=1''.
2.3 Startup options
The PCMCIA startup script recognizes several groups of startup options, set via environment variables.
Multiple options should be separated by spaces and enclosed in quotes. Placement of startup options depends
on the Linux distribution used. They may be placed directly in the startup script, or they may be kept in a
separate option file. See the Notes about specific Linux distributions for specifics. The following variables
can be set:
PCMCIA
This variable specifies whether PCMCIA support should be started up, or not. If it is set to
Linux PCMCIA HOWTO
2.3 Startup options 9
Komentáře k této Příručce