hello, thanks for your reply.

Can you give me your installation steps ?
Here are some of my steps.

1. make libLT4000.so and LT4000_cs.o(the difference of the two file is
that the former using in user space and the latter using in kernel
space, right? I am not sure) from the driver source code
2. cp libLT4000.so to /usr/local/pcsc/driver
3. cp LT4000_cs.o /lib/modules/2.4.20-8/kernel/drivers/pcmcia/
4. add the following to /etc/pcmcia/config
  device "LT4000_cs"
     class "smartcard" module "LT4000_cs"
  card "LT4000 Mako Technologies Smart Card Reader"
     manfid 0x0290, 0x0050
       bind "LT4000_cs"
5. /etc/rc.d/init.d/pcmcia restart
6. cat /var/lib/pccard/stab
   .....
   Socket 1: LT4000 Make Technologies Smart Card Reader
   1   smartcard LT4000_cs  0 LT4000 123 0
here I have a problem, that is, how to determine the major number of
LT4000. I can't find it in any source code, so strange.
>From the above, I believe that the driver has been installed on my linux box.

Now try to connect pcsc-lite with this driver

7. vi /etc/reader.conf
FRIENDLYNAME "INFINEER LT4000"
DEVICENAME /dev/LT4000
LIBPATH /usr/local/pcsc/drivers/libLT4000.so
CHANNELID 0x000001
8. mknod /dev/LT4000 c 123 0
  chmod 0666 /dev/LT4000
9. run "/usr/local/pcsc/sbin/pcscd -f -d stdout -c /etc/reader.conf"

IS THERE ANY PROBLEM WITH MY STOPS?

thanks.


On 4/27/05, Ludovic Rousseau <[EMAIL PROTECTED]> wrote:
> Le Wednesday 27 April 2005 � 01:31:34, mail mail a �crit:
> > hello,
> 
> Hi,
> 
> > I have successed install USB driver + pcsc lite under RH 9(kernel
> > 2.4). Now I want to try to install PCMCIA driver, but I can't handle.
> >
> > I use Infineer LT4000(PCMCIA). Here is some info output by "lspci -v"
> > 00:03.0 CardBus bridge: Texas Instruments PCI1420
> > 00:03.1 CardBus bridge: Texas Instruments PCI1420
> >
> > I plug LT4000 on slot 1 and copy libLT4000.so into
> > /usr/local/pcsc/drivers dir and /etc/reader.conf has the following
> > content:
> >
> > FRIENDLYNAME "INFINEER LT4000"
> > DEVICENAME /dev/ttyS0
> > LIBPATH /usr/local/pcsc/drivers/libLT4000.so
> > CHANNELID 0x000001
> >
> > When I run "cat /var/lib/pcmcia/stab", the input is :
> > Socket 0:CardBus hotplug device
> > Socket 1:LT4000 Mako Technologies Smart Card Reader
> >
> > But when I run "/usr/local/pcsc/sbin/pcscd -f -d stdout", the input is :
> > ......
> > readerfactory.c:897:RFBindFunctions Loading IFD Handler 2.0
> > Unable to open : No such file or directory
> > readerfactory.c:1090:RFInitializeReader Open Port 1 Failed (/dev/ttyS0)
> > ......
> >
> > I wonder what file I miss and what port I should use in /etc/reader.conf.
> 
> If the driver does not use the DEVICENAME port information you can use
> /dev/null
> 
> Bye,
> 
> --
> Dr. Ludovic Rousseau                        [EMAIL PROTECTED]
> -- Normaliser Unix c'est comme pasteuriser le camembert, L.R. --
>

_______________________________________________
Muscle mailing list
[email protected]
http://lists.drizzle.com/mailman/listinfo/muscle

Reply via email to