osdir.com
mailing list archive

Subject: Re: Problem with pcscd and the smart card reader SCR 333 - msg#00121

List: lib.muscle

Date: Prev Next Index Thread: Prev Next Index
Hi Karsten,
I've tried a solution similar to the one you've suggested, in fact I've removed the module scr3xxx through the command:
modprobe -r scr3xxx
in this way the device now is free and I can use the command ifdhandler with success. For the pcscd I've stopped the ifdhandler and openct process and I've tried to start it, but without any result... I've seeked for /etc/CTdevices and similars but I've found nothing :(

----- Original Message ----- From: "Karsten Ohme" <widerstand@xxxxxxxxxxx>
To: "MUSCLE" <muscle@xxxxxxxxxxxxxxxxxxxx>
Sent: Tuesday, May 30, 2006 5:46 PM
Subject: Re: [Muscle] Problem with pcscd and the smart card reader SCR 333


Laura Longo wrote:
Hi,
I have a problem with pcscd (
https://alioth.debian.org/download.php/1565/pcsc-lite-1.3.1.tar.gz)...
I've installed with success the driver of my smart card reader, SCR 333
of SCM Microsystems.
This is the error that occurs when I start the pcscd with the command
pcscd -f:

readerfactory.c:1130:RFInitiailizeReader() Open Port 200000 Failed
(usb:04e6/5113:libusb:003:002)

Is the port already used by another application (libchipcard, ctapi
applications, etc)? Disable the service or start it later
(/etc/init.d/...) (maybe with the help of the ctapi ... see
/etc/CTdevices or so).

Karsten

I've also tried with the software openct,
(http://www.opensc-project.org) and after the installation of the ccid
driver https://alioth.debian.org/download.php/1563/ccid-1.0.1.tar.gz
(that is compliant with my smart card reader), I've tried the command
(where I obtain 002 and 005 from the command lsusb)

ifdhandler -FHddddd ccid /dev/bus/usb/002/005

(where I obtain 002 and 005 from the command lsusb), but this time the
error is:

Error: usb_claiminterface failed: device or resource busy

I've turned off and reboot my pc but without any result, what can I do?

Laura


------------------------------------------------------------------------

_______________________________________________
Muscle mailing list
Muscle@xxxxxxxxxxxxxxxxxxxx
http://lists.drizzle.com/mailman/listinfo/muscle

_______________________________________________
Muscle mailing list
Muscle@xxxxxxxxxxxxxxxxxxxx
http://lists.drizzle.com/mailman/listinfo/muscle



Was this page helpful?
Yes No
Thread at a glance:

Previous Message by Date: click to view message preview

Re: Cryptoflex 16K vs 32K

Karsten Ohme wrote on 05/30/06 08:59 AM: Tommaso Cucinotta wrote: Hi all, anyone on this list knows if the CryptoFlex plugin for MuscleCard (developed for Cryptoflex 16K cards) is supposed to work with a Cryptoflex 32K as well ? Don't know. What about the usual CardeEdge applet? Does the CardEdge applet also work with 16k models? Cryptoflex is not a JavaCard - there is no CardEdge :) ~Iain

Next Message by Date: click to view message preview

RE: SCardCancel in pcsc-lite hangs

I didn't run the program under Windows. After moving SCardREleaseContext() to the same thread which calls SCardEstablishContext(), the program works fine now. Thanks, Wei -----Original Message----- From: muscle-bounces@xxxxxxxxxxxxxxxxxxxx on behalf of Ludovic Rousseau Sent: Tue 5/30/2006 1:53 AM To: MUSCLE Subject: Re: [Muscle] SCardCancel in pcsc-lite hangs On 25/05/06, Wei Hu <Wei.Hu@xxxxxxxxx> wrote: > I wrote a small program to test the card insertion and removal events. It > is linked into libpcsclite.so. I discovered a SCardCancel() hang problem in > libpcsclite when running this program. Attached are simple programs to > reproduce this on Redhat Linux with smartcard daemon pcscd running. I forgot to ask: does your test program works under Windows? Does it work if you remove the call to SCardReleaseContext() as I said in my previous mail? Bye, -- Dr. Ludovic Rousseau _______________________________________________ Muscle mailing list Muscle@xxxxxxxxxxxxxxxxxxxx http://lists.drizzle.com/mailman/listinfo/muscle <<winmail.dat>>_______________________________________________ Muscle mailing list Muscle@xxxxxxxxxxxxxxxxxxxx http://lists.drizzle.com/mailman/listinfo/muscle

Previous Message by Thread: click to view message preview

Re: Problem with pcscd and the smart card reader SCR 333

Laura Longo wrote: > Hi, > I have a problem with pcscd ( > https://alioth.debian.org/download.php/1565/pcsc-lite-1.3.1.tar.gz)... > I've installed with success the driver of my smart card reader, SCR 333 > of SCM Microsystems. > This is the error that occurs when I start the pcscd with the command > pcscd -f: > > readerfactory.c:1130:RFInitiailizeReader() Open Port 200000 Failed > (usb:04e6/5113:libusb:003:002) Is the port already used by another application (libchipcard, ctapi applications, etc)? Disable the service or start it later (/etc/init.d/...) (maybe with the help of the ctapi ... see /etc/CTdevices or so). Karsten > > I've also tried with the software openct, > (http://www.opensc-project.org) and after the installation of the ccid > driver https://alioth.debian.org/download.php/1563/ccid-1.0.1.tar.gz > (that is compliant with my smart card reader), I've tried the command > (where I obtain 002 and 005 from the command lsusb) > > ifdhandler -FHddddd ccid /dev/bus/usb/002/005 > > (where I obtain 002 and 005 from the command lsusb), but this time the > error is: > > Error: usb_claiminterface failed: device or resource busy > > I've turned off and reboot my pc but without any result, what can I do? > > Laura > > > ------------------------------------------------------------------------ > > _______________________________________________ > Muscle mailing list > Muscle@xxxxxxxxxxxxxxxxxxxx > http://lists.drizzle.com/mailman/listinfo/muscle

Next Message by Thread: click to view message preview

cryptlib...

Hi, I'm using the cryptlib to sign files, extracting the certificate from a smart card, but I'm going crazy seeking for the library to use for the smart card... has anyone used the cryptlib library with smart card devices? Laura
Sign up for updates to this mailing list. email:
Loading Comments...
Home | News | Patents | Sitemap | FAQ | advertise

Advertising by