When i run the pcscd (with the GPR400 in the /etc/reader.conf) my hard disk
make some noise.
With all my readers, there are not problem. Have you got an idea?
Jointly, my install procedure :

On a slackware 8.1
Download pcsc-lite-1.1.1.tar.gz on http://www.linuxnet.com
tar xvzf pcsc-lite-1.1.1.tar.gz
cd pcsc-lite-1.1.1
./configure --enable-usb --enable-daemon --enable-debug --enable-syslog
--enable-threadsafe --prefix=/usr/local/pcsc --sysconfdir=/etc --enable-runp
id=/var/run/pcscd.pid
make
As root :
make install
edit /etc/ld.so.conf  and add /usr/local/pcsc/lib
ldconfig
mkdir /dev/pcsc
mkdir /usr/local/pcsc/drivers

++ Drivers GPR400
1) Intall of the module for the pcmcia card:
Download pcmcia-cs source code
tar xvzf pcmcia-cs-3.1.34.tar.gz
Download the module source code for the GPR400 card on
http://www.linuxnet.com
Do as read in the README of gpr400_cs-0.9.6.tar.gz
i.e :
cd pcmcia-cs-3.1.34
tar xvzf gpr400_cs-0.9.6.tar.gz
make config
make all

As root :
make install
mknod /dev/gpr400 c 123 0
chmod 0666 /dev/gpr400

2) Install of the PCSC driver for the GPR400 : ifd-gpr400-0.3.tar.gz
as root
cd /dev/pcsc
ln -s 2 ../gpr400

cd /usr/local/pcsc/drivers
tar xvzf ifd-gpr400-0.3.tar.gz
Modify le Makefile
add at the beginning to the CFLAGS -I/usr/local/pcsc/include au debut
Comment in the file pcscdefines.h :
/*
     typedef unsigned long      DWORD;
     typedef unsigned long*     PDWORD;
     typedef unsigned char      UCHAR;
     typedef unsigned char*     PUCHAR;
     typedef char*              LPSTR;
     typedef long               RESPONSECODE;
*/
add the file ifdhandler.h  found in an old pcsc-lite version (1.0.1 for me)
in the directory /usr/local/pcsc/include

make

Add to /etc/reader.conf  the next entry :
FRIENDLYNAME      "Gemplus GPR400 Reader"
DEVICENAME        GPR400
LIBPATH           /usr/local/pcsc/drivers/ifd-gpr400-0.3/libgpr400_ifd.so
CHANNELID         2


Where is the problem ? It compile fine and it work. But the noise is very
unpleasant.
On pcsc-lite 1.0.1 with an old pcmcia-cs version, I did not have this
problem.

Best regards,

Damien SAUVERON
Laboratoire Bordelais de Recherche en Informatique
Universit� Bordeaux 1



***************************************************************
Unix Smart Card Developers - M.U.S.C.L.E.
(Movement for the Use of Smart Cards in a Linux Environment)
http://www.linuxnet.com/
To unsubscribe send an email to [EMAIL PROTECTED] with
unsubscribe sclinux
***************************************************************

Reply via email to