s i s t e m a o p e r a c i o n a l m a g n u x l i n u x | ~/ · documentação · suporte · sobre |
Next
Previous
Contents
6. Dealing with unsupported cards
6.1 Configuring unrecognized cards
Assuming that your card is supported by an existing driver, all
that needs to be done is to add an entry to
Here is an example of how cardmgr will report an unsupported card in
The corresponding entry in
or using the more compact product ID codes:
You can use ``*'' to match strings that don't need to match exactly, like version numbers. When making new config entries, be careful to copy the strings exactly, preserving case and blank spaces. Also be sure that the config entry has the same number of strings as are reported in the log file. Beware that you can specify just about any driver for a card, but if
you're just shooting in the dark, there is not much reason to expect
this to be productive. You may get lucky and find that your card is
supported by an existing driver. However, the most likely outcome is
that the driver won't work, and may have unfortunate side effects
like locking up your system. Unlike most ordinary device drivers,
which probe for an appropriate card, the probe for a PCMCIA device is
done by After editing
If you do set up an entry for a new card, please send me a copy so that I can include it in the standard config file.
6.2 Adding support for an NE2000-compatible ethernet cardBefore you begin: this procedure will only work for simple ethernet cards. Multifunction cards (i.e., ethernet/modem combo cards) have an extra layer of complexity regarding how the two functions are integrated, and generally cannot be supported without obtaining some configuration information from the card vendor. Using the following procedure for a multifunction card will not be productive. First, see if the card is already recognized by If your card is not recognized, follow the instructions in the
Configuring unrecognized cards section to
create a config entry for your card,
and bind the card to the If the
and search the output for your address. Only the even bytes are
defined, so ignore the odd bytes in the dump. Record the hex offset of the
first byte of the address. Now, edit After editing If you can't find your card's hardware address in the hex dump, as a
method of last resort, it is possible to ``hard-wire'' the address when
the
Substitute your own card's hardware address in the appropriate spot, of course. Beware that if you've gotten this far, it is very unlikely that your card is genuinely NE2000 compatible. In fact, I'm not sure if there are any cards that are not handled by one of the first two methods.
6.3 PCMCIA floppy interface cardsThe PCMCIA floppy interface used in the Compaq Aero and a few other laptops is not yet supported by this package. The snag in supporting the Aero floppy is that the Aero seems to use a customized PCMCIA controller to support DMA to the floppy. Without knowing exactly how this is done, there isn't any way to implement support under Linux. If the floppy adapter card is present when an Aero is booted, the Aero BIOS will configure the card, and Linux will identify it as a normal floppy drive. When the Linux PCMCIA drivers are loaded, they will notice that the card is already configured and attached to a Linux driver, and this socket will be left alone. So, the drive can be used if it is present at boot time, but the card is not hot swappable.
Next Previous Contents |