Hi Karl,
have a look at gprread.c/gpr_init - this function has the reader device name
hardwired into it. At some point I modified the card reader name there but
forgot to update the documentation. If you just rename /dev/smartcard to
/dev/gpr400 you should be fine. BTW: you should also change the device
permissions to 0666 so an ordinary user can access the reader.

Cheers,
Wolf.

"Sigler, Karl" wrote:

> Alright. Now we're getting somewhere! First thanks for both the reply and
> all the work you've done on the driver. The module loads fine and I have the
> device node there:
>
> crw-rw-r-- 1 root  root   123, 0 /dev/smartcard
>
> I think the problem is with how I compiled the TCL stuff. It compiles with
> no problem. I load tclsh. Then:
>
>        %load "./libcard.so.0.9"
>
> no problem.
>
>        %card init
>
> responds with
>
>        card init:no card reader found
>
> This is my first experience with TCL at all, so I'm thinking it's something
> simple I'm missing. If you can think of anything or need any additional info
> let me know. In the meantime I'll hit:
>
> http://dev.scriptics.com/software/tcltk/
>
> and see if I can't educate myself some.
>
> Thanks,
>
> Karl
>
> -----Original Message-----
> From: Wolf Geldmacher [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, October 31, 2000 4:37 PM
> To: [EMAIL PROTECTED]
> Subject: Re: MUSCLE problem of Gemplus GPR400 PCMCIA sample
>
> Hi Karl,
> I'm the original author of that driver and the TCL stuff.
> If you don't get it to work let me know and I'll try to figure out why.
> Sounds that the next step on the list is to create the appropriate device
> node in /dev (major 123 minor 0), though..
> Cheers,
> Wolf.
>
> "Sigler, Karl" wrote:
>
> > Sorry for the dual post. I got an undeliverable before it posted so I
> > resent.
> >
> > Still I won't waste bandwidth with an apology so here's how I got cardmgr
> to
> > see the pcmcia reader:
> >
> > In /etc/pcmcia/config I added the following lines:
> >
> > in the device section:
> >
> > device "gpr400_cs"
> >   class "serial" module "gpr400_cs"
> >
> > Then down with the other serial devices I added:
> >
> > card "GEMPLUS"
> >   version "GEMPLUS", "GPR400", "V1.1", ""
> >   bind "gpr400_cs"
> >
> > And now cardmgr happily beeps on card insertion and insmods just fine on
> its
> > own. Of course I can't get TCL to see it yet, but that's another story.
> I'll
> > let you know when I get that fixed too :)
> >
> > Karl
> >
> > ***************************************************************
> > Linux Smart Card Developers - M.U.S.C.L.E.
> > (Movement for the Use of Smart Cards in a Linux Environment)
> > http://www.linuxnet.com/smartcard/index.html
> > ***************************************************************
>
> ***************************************************************
> Linux Smart Card Developers - M.U.S.C.L.E.
> (Movement for the Use of Smart Cards in a Linux Environment)
> http://www.linuxnet.com/smartcard/index.html
> ***************************************************************
>
> ***************************************************************
> Linux Smart Card Developers - M.U.S.C.L.E.
> (Movement for the Use of Smart Cards in a Linux Environment)
> http://www.linuxnet.com/smartcard/index.html
> ***************************************************************

***************************************************************
Linux Smart Card Developers - M.U.S.C.L.E.
(Movement for the Use of Smart Cards in a Linux Environment)
http://www.linuxnet.com/smartcard/index.html
***************************************************************

Reply via email to