LT4000 PCMCIA device driver CardServices undefined problem

mail mail towergeebulk at gmail.com
Mon Aug 29 06:47:16 EDT 2005


Hi, I am using 2.6.11-1.14-FC3 now. 

I add the follwoing lines to /etc/pcmcia/config.
================BEGIN================
device "LT4000_cs"
  class "smartcard" module "LT4000_cs"

card "LT4000 Mako Technologies Smart Card Reader 1"
  manfid 0x0290, 0x0050
    bind "LT4000_cs"

card "LT4000 Mako Technologies Smart Card Reader 2"
  manfid 0xadde, 0x0050
    bind "LT4000_cs"

=================END=================

Then, I have put LT4000_cs.ko into
/lib/modules/2.6.11-1.14_FC3/kernel/drivers/pcmcia/. And try to run
/etc/rc.d/init.d/pcmcia restart.

The following error messages appear:

Starting PCMCIA services: cardmgr[4208]: open_sock(socket 2) failed:
Bad file descriptor
cardmgr[4208]: watching 2 sockets

I am using NEC laptop with two pcmcia plots. One is for network
adaptor, the other is for INFINEER LT4000. The result of "cat
/var/lib/pcmcia/stab" is :
Socket 0: LT4000 Mako Technologies Smart Card Reader 1
0  smartcard  LT4000_cs  0  LT4000  123 0
Socket 1: empty

Also, I have mknod for LT4000 using "mknod /dev/LT4000 c 123 0" and
"chmod 777 /dev/LT4000".

I want to know how to solve the above problem concerning pcmcia restart.

Thanks in advanced.

On 8/29/05, Dominik Brodowski <linux at dominikbrodowski.net> wrote:
> Hi,
> 
> You need to provide a proper PCMCIA id_table to the struct pcmcia_driver (at
> least if you use 2.6.13, which I'd suggest).
> 
>        Dominik
>



More information about the linux-pcmcia mailing list