Try to add vendor/product id to serial_cs

Matthew Wilcox matthew at wil.cx
Wed Sep 27 14:48:05 EDT 2006


On Wed, Sep 27, 2006 at 08:38:46PM +0200, Wesley PA4WDH wrote:
> Recently i got a Huawei E620 UMTS/HSDPA pcmcia card, which currently
> doesn't work with the Linux version i use (2.6.16.16).
> Someone else found that with the redmondish software, you could just
> install it as a
> serial port without special drivers. Because of that, i tried to add
> support to the Linux
> kernel, and more specifically, the serial_cs module (because it seems
> to be the most generic serial port module for pcmcia).

This device isn't actually PCMCIA -- it's Cardbus.  So your efforts have
been directed at the wrong driver.  Cardbus is actually PCI in disguise,
which you can verify by typing 'lspci'.

So you'll want to add your IDs to drivers/serial/8250_pci.c; look for
serial_pci_tbl and add something like:

	{ 0x12d1, 0x0035, PCI_ANY_ID, PCI_ANY_ID, 0, 0, pbn_default },

That should get you started.  You sound like you might be able to figure
things out from there by yourself ;-)




More information about the linux-pcmcia mailing list