|
List Info
Thread: Siemens v4.3B
|
|
| Siemens v4.3B |

|
2007-10-28 04:57:07 |
|
| Hello Everybody!
I've a latest version of SCA the 0.2.2 and initialized Siemens 4.3B card (I'm initialized it via windows Siemens application).
When I tried "./opensc-tool -r 0 -a" the result was: [opensc-tool] reader-pcsc.c:255:pcsc_transmit: unable to transmit [opensc-tool] apdu.c:394:do_single_transmit: unable to transmit APDU [opensc-tool] reader-pcsc.c:255:pcsc_transmit: unable to transmit [opensc-tool] apdu.c:394:do_single_transmit: unable to transmit APDU [opensc-tool] card-default.c:66:autodetect_class: APDU transmit failed: Transmit failed [opensc-tool] card-default.c:113:default_init: unable to determine the right class byte [opensc-tool] card.c:202:sc_connect_card: driver 'Default driver for unknown cards' init() failed: Card is invalid or cannot be handled [opensc-tool] card.c:213:sc_connect_card: unable to find driver for inserted card [opensc-tool] card.c:228:sc_connect_card: returning with: Card is invalid or cannot be handled Failed to connect to card: Card is invalid or cannot be handled
Can anybody help me?
Thanks fore your response.
|
| Re: Siemens v4.3B |
  Belgium |
2007-10-29 03:30:52 |
Hi Gabriel,
Your problem seems to be related more to your card reader
than to your
card. Can you give some details about your settings?
OS version, card reader, driver for the card reader, output
of the
pcsctest command, output of the opensc-tool -l command?
Is pcscd running (ps ax | grep pcscd)?
Cheers,
Jean-Pierre
Javorka Gabriel a écrit :
> Hello Everybody!
>
> I've a latest version of SCA the 0.2.2 and initialized
Siemens 4.3B
> card (I'm initialized it via windows Siemens
application).
> When I tried "./opensc-tool -r 0 -a" the
result was:
> [opensc-tool] reader-pcsc.c:255:pcsc_transmit: unable
to transmit
> / //[opensc-tool] apdu.c:394:do_single_transmit: unable
to transmit APDU/
> / //[opensc-tool] reader-pcsc.c:255:pcsc_transmit:
unable to transmit/
> / //[opensc-tool] apdu.c:394:do_single_transmit: unable
to transmit APDU/
> / //[opensc-tool] card-default.c:66:autodetect_class:
APDU transmit
> failed: Transmit failed/
> / //[opensc-tool] card-default.c:113:default_init:
unable to determine
> the right class byte/
> / //[opensc-tool] card.c:202:sc_connect_card: driver
'Default driver
> for unknown cards' init() failed: Card is invalid or
cannot be handled/
> / //[opensc-tool] card.c:213:sc_connect_card: unable to
find driver
> for inserted card/
> / //[opensc-tool] card.c:228:sc_connect_card: returning
with: Card is
> invalid or cannot be handled/
> / //Failed to connect to card: Card is invalid or
cannot be handled/
>
> Can anybody help me?
>
> Thanks fore your response.
_______________________________________________
opensc-user mailing list
opensc-user lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-
user
|
|
| Re: Siemens v4.3B |

|
2007-10-29 13:00:07 |
|
| Hello Jean-Pierre,
thanks for your response. I've a Mac OS X 10.5 (Leopard), but this problem I had with Tiger too. I'm installed the sca binary package with included libusb and pcsc. When I read your mail I compiled the libusb and pcsc from source and install it.
Result of commands:
pcsctest
MUSCLE PC/SC Lite Test Program
Testing SCardEstablishContext : Command successful. Testing SCardGetStatusChange Please insert a working reader : Command successful. Testing SCardListReaders : Command successful. Reader 01: CCID Smart Card Reader 00 00 Enter the reader number : 1
Waiting for card insertion : Command successful. Testing SCardConnect : Command successful. Testing SCardStatus : Command successful. Current Reader Name : CCID Smart Card Reader 00 00 Current Reader State : 34 Current Reader Protocol : 1 Current Reader ATR Size : 21 Current Reader ATR Value : 3B F2 18 00 02 C1 0A 31 FE 58 C8 08 74 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 Testing SCardDisconnect : Command successful. Testing SCardReleaseContext : Command successful.
PC/SC Test Completed Successfully ! Readers known about: Nr. Driver Name 0 pcsc CCID Smart Card Reader 00 00 608 ?? S 0:00.31 /usr/sbin/pcscd -f 636 s001 R+ 0:00.00 grep pcscd
I attached the opensc.conf file too.
Thank you very much.
Have a nice day.
Gabriel.
On 29. 10. 2007, at 9:30, JP Szikora wrote: Hi Gabriel,
Your problem seems to be related more to your card reader than to your card. Can you give some details about your settings? OS version, card reader, driver for the card reader, output of the pcsctest command, output of the opensc-tool -l command? Is pcscd running (ps ax | grep pcscd)?
Cheers,
Jean-Pierre
Javorka Gabriel a écrit :
Hello Everybody!
I've a latest version of SCA the 0.2.2 and initialized Siemens 4.3B card (I'm initialized it via windows Siemens application).
When I tried "./opensc-tool -r 0 -a" the result was:
[opensc-tool] reader-pcsc.c:255:pcsc_transmit: unable to transmit
/ //[opensc-tool] apdu.c:394:do_single_transmit: unable to transmit APDU/
/ //[opensc-tool] reader-pcsc.c:255:pcsc_transmit: unable to transmit/
/ //[opensc-tool] apdu.c:394:do_single_transmit: unable to transmit APDU/
/ //[opensc-tool] card-default.c:66:autodetect_class: APDU transmit failed: Transmit failed/
/ //[opensc-tool] card-default.c:113:default_init: unable to determine the right class byte/
/ //[opensc-tool] card.c:202:sc_connect_card: driver 'Default driver for unknown cards' init() failed: Card is invalid or cannot be handled/
/ //[opensc-tool] card.c:213:sc_connect_card: unable to find driver for inserted card/
/ //[opensc-tool] card.c:228:sc_connect_card: returning with: Card is invalid or cannot be handled/
/ //Failed to connect to card: Card is invalid or cannot be handled/
Can anybody help me?
Thanks fore your response.
|
|
| Re: Siemens v4.3B |
  Belgium |
2007-10-29 15:21:22 |
Gabriel Javorka wrote:
> Hello Jean-Pierre,
>
> thanks for your response.
> I've a Mac OS X 10.5 (Leopard), but this problem I had
with Tiger too.
> I'm installed the sca binary package with included
libusb and pcsc. When
> I read your mail I compiled the libusb and pcsc from
source and install it.
>
> Result of commands:
> *pcsctest*
>
> /MUSCLE PC/SC Lite Test Program
>
> Testing SCardEstablishContext : Command
successful.
> Testing SCardGetStatusChange
> Please insert a working reader : Command
successful.
> Testing SCardListReaders : Command
successful.
> Reader 01: CCID Smart Card Reader 00 00
> Enter the reader number : 1
>
> Waiting for card insertion
> : Command
successful.
> Testing SCardConnect : Command
successful.
> Testing SCardStatus : Command
successful.
> Current Reader Name : CCID Smart Card
Reader 00 00
> Current Reader State : 34
> Current Reader Protocol : 1
> Current Reader ATR Size : 21
> Current Reader ATR Value : 3B F2 18 00 02
C1 0A 31 FE 58 C8
> 08 74 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00
Hi Gabriel,
I found this very same error when I tested the smartcard
support on
Leopard earlier today :-(
There is a problem with pcscd as delivered with Leopard,
because the ATR
value is appended with a lot of 00...
This ATR is important because OpenSC uses this value to
differenciate
the cards.
With this value, the CardOS 4.3B is not recognized anymore.
I modified the SCA's wiki page when I discovered this
problem:
http://www.opensc-project.org/sca/wik
i/WikiStart?action=diff&version=34
Cheers,
Jean-Pierre
> Testing SCardDisconnect : Command
successful.
> Testing SCardReleaseContext : Command
successful.
>
> PC/SC Test Completed Successfully !/
>
>
_______________________________________________
opensc-user mailing list
opensc-user lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-
user
|
|
[1-4]
|
|
|
about | contact Other archives ( Real Estate discussion Medical topics )
|