Datasheet

“main” (Installation and Administration) 2004/6/25 13:29 page 337 #363
i
i
i
i
i
i
i
i
16
Linux on Mobile Devices
Unrecognized Card The message "Unsupported Card in Slot x" in /var/
log/messages indicates that card manager has failed to assign a
driver to the card. The card and driver assignment is done by check-
ing the files /etc/pcmcia/config or /etc/pcmcia/*.conf.
They function as the driver database. This driver database can easily
be extended using existing entries as reference. Use cardctl ident
to find out how the card identifies itself. Refer to the PCMCIA
HOWTO (Section 6) and the manual page of pcmcia for further de-
tails on this procedure. After modifying /etc/pcmcia/config or
/etc/pcmcia/*.conf, reload the driver assignment with the com-
mand rcpcmcia reload.
Driver Not Loaded Wrong assignments of cards and drivers in the driver
database may result in a driver not being loaded. This may happen
if a vendor uses a different chip in an apparently unchanged card.
Alternative drivers may also offer better support for a particular card
than the default assignment. In these cases, precise information about
the card is required. If needed, obtain further help from the Advanced
Support Service or by asking on a mailing list.
A resource conflict may be another reason for a driver not being
loaded. For most PCMCIA cards, it is irrelevant with which IRQ, I/O
port, or memory area they are operated, but there are exceptions. First
test only one card and, if necessary, switch off other system compo-
nents, such as the sound card, IrDA, modem, or printer. The alloca-
tion of system resources can be monitored with the command lsdev
(it is quite normal for several PCI devices share the same IRQ).
One possible solution would be to use a suitable option for the mod-
ule i82365 (see PCMCIA_PCIC_OPTS). Many card driver mod-
ules also have options. Find these using the command modinfo
/lib/modules/<pcmcia
˘
adirectory>/<driver>.o (the com-
plete path is needed to locate the correct driver). Most of the modules
ship with a manual page. rpm -ql pcmcia | grep man lists all
manual pages contained in the pcmcia package. To test the options,
the card drivers can also be unloaded manually. Again, ensure that
the module is using the correct PCMCIA system.
When a solution has been found, a specific resource can be allowed
or forbidden in the file /etc/pcmcia/config.opts. You may even
specify option for card drivers. If, for example, the module pcnet_cs
should be exclusively operated with IRQ 5, the following entry is re-
quired:
module pcnet_cs opts irq_list=5
337SUSE LINUX Enterprise Server