hello!
no bother. The easy way to get the driver built/installed is the
following...
1. unpack pcmcia-cs source (I'll assume to /usr/src/pcmcia-cs)
1a. optionally build and test it unpatched to make sure you're familiar
with the process and have a working configuration.
2. unpack the gpr400_cs source like so:
- cd /usr/src/pcmcia-cs
- tar -xvzf /path/to/gpr400_cs-0.9.6.tar.gz
This willl effectively 'patch' pcmcia-cs to add the gpr400 drivers
3. rebuild pcmcia-cs as in step 1a
- if you have a built, working pcmcia-cs tree, simply issuing 'make'
will build just the gpr400_cs driver
4. install pcmcia-cs as normal, the gpr400_cs and supporting files will
be installed along with the pcmcia-cs stuff - eg. 'make install'
There are a few files that need to be installed in order for the driver
to work properly. By doing it by hand, you may have missed something.
I suggest you try the above procedure and let me know how it goes.
Try the above on a laptop or x86 system. There are known issues with
ARM/iPaq in version 0.9.6.
In my CVS, I currently have patches that should work with ARM/iPaq.
They are in testing and as soon as I have sign-off, we'll cut version
0.9.7 with ARM/iPaq support.
If I don't hear back from my tester early this coming week, I'll send
you the tarball so you can test it for me.
Subscribe to the MUSCLE ([EMAIL PROTECTED]) mail list and I'll make
an announcement as soon as the new version is available. I'm cc'ing the
MUSCLE list so everyone can benefit from the above info.
-joe
On Sun, 2002-07-21 at 11:57, james tan wrote:
Hi joe, pardon me for bothering you as I found some emails posting of
yours on Gemplus GPR400 PCMCIA driver driver from Linuxnet.com.
I am working on something similar but using kernel 2.4.18 and pcmcia-cs
3.1.34, nevertheless the concepts should be the same. My story goes
like this. I have done the following:
a) downloaded
http://www.innovationsw.com/~jaiger/downloads/smartcard/gpr400_cs-0.9.6.tar.gz
b) compiled gpr400_cs.o and copied it into /lib/modules/2.4.18/misc
c) Edited /etc/config with
device "gpr400_cs"
class "smartcard" module "gpr400_cs"
card "GEMPLUS GPR400 Smart Card Reader"
version "GEMPLUS", "GPR400", "V1.0", ""
bind "gpr400_cs"
card "GEMPLUS GPR400 Smart Card Reader"
version "GEMPLUS", "GPR400", "V1.1", ""
bind "gpr400_cs"
d) Rebooted the laptop, and cardmgr didn't detect the cardreader and
load gpr400_cs
My questions are:
a) My steps are correct as i followed the standard procedure ?
b) Should I update cardmgr and cardctl also ?
Also I have a similar project that requires to install the gpr400
cardreader on a ipaq. I followed the above procedures but
cross-compiled using CC=arm-linux-gcc, rebooting the ipaq shows
cardmgr[123]: socket 0: GEMPLUS GPR400 Smart Card Reader
cardmgr[123]: executing: 'modprobe gpr400_cs'
gpr400_cs: Card Services release does not match!
gpr400_cs: RequestIRQ: Resource in use
cardmgr[123]: get dev info on socket 0 failed: Resource temporarily
unavailable
What issues am I facing, and any solutions.
thanks
________________________________________________________________________
Join the world�s largest e-mail service with MSN Hotmail. Click Here
--
Innovation Software Group, LLC - http://www.innovationsw.com/
Computer Automation Specialists
UNIX, Linux and Java Training
***************************************************************
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
***************************************************************