nagyistoce / cardpeek

Automatically exported from code.google.com/p/cardpeek
Other
1 stars 0 forks source link

Can't read card but ATR is found Teo by Xiring reader problem [Cardpeek application-level error] #17

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
**What steps will reproduce the problem?**

1. Click on "Analyzer", select anything (with any card)
2. Insert the card in the SmartCard Reader

**What is the expected output? What do you see instead?**

I've the same problem with the SmartCard reader "Teo by Xiring" as 
subwaybu...@gmail.com
I have the same error all the time with all cards :
"# Cardpeek application-level error"

On Ubuntu with vmware : 
0000 INFO    Adding atr.lua script to menu
0001 INFO    Adding calypso.lua script to menu
0002 INFO    Adding emv.lua script to menu
0003 INFO    Adding e-passport.lua script to menu
0004 INFO    Adding gsm (beta).lua script to menu
0005 INFO    Adding mifare reader.lua script to menu
0006 INFO    Adding moneo.lua script to menu
0007 INFO    Adding vitale_2.lua script to menu
0008 DEBUG   Found directory '/home/XXX/.cardpeek'
0009 DEBUG   Scripts are up to date.
0010 DEBUG   Lua is loaded.
0011 DEBUG   Running configuration script /home/XXX/.cardpeek/config.lua
0012 DEBUG   Found 1 PCSC readers
0013 INFO    Selected 'pcsc://VMware Virtual USB CCID 00 00'
0014 INFO    Running script vitale_2.lua (please wait)
0015 DEBUG   Attempting to connect to 'pcsc://VMware Virtual USB CCID 00 00'
0016 INFO    Reader maximum input length is 261 bytes
0017 INFO    Connection successful, protocol is T=0
0018 INFO    ATR is 10 bytes: 3B75130000XXXXXXXXXX
0019 INFO    ATR is 10 bytes: 3B75130000XXXXXXXXXX
0020 INFO    send: 00A404000BD250000002564954414C45 [3S]
0021 INFO    Recv: 611F  [More bytes available (see SW2)]
0022 INFO    send: 00C000001F [2S]
0023 ERROR   Failed to transmit command to card [Transaction failed.]
0024 INFO    Recv: 6FFF  [Cardpeek application-level error]
0025 INFO    Disconnected reader

On windows : 

0000 INFO    Adding atr.lua script to menu
0001 INFO    Adding calypso.lua script to menu
0002 INFO    Adding e-passport.lua script to menu
0003 INFO    Adding emv.lua script to menu
0004 INFO    Adding gsm (beta).lua script to menu
0005 INFO    Adding mifare reader.lua script to menu
0006 INFO    Adding moneo.lua script to menu
0007 INFO    Adding vitale_2.lua script to menu
0008 DEBUG   Found directory 'C:\Users\XXX\AppData\Roaming/.cardpeek'
0009 DEBUG   Scripts are up to date.
0010 DEBUG   Lua is loaded.
0011 DEBUG   Running configuration script 
C:\Users\XXX\AppData\Roaming/.cardpeek/config.lua
0012 DEBUG   Found 1 PCSC readers
0013 INFO    Selected 'pcsc://SCM Microsystems Inc. SCR35xx USB Smart Card 
Reader 0'
0014 INFO    Running script vitale_2.lua (please wait)
0015 DEBUG   Attempting to connect to 'pcsc://SCM Microsystems Inc. SCR35xx USB 
Smart Card Reader 0'
0016 DEBUG   Could not determinate reader maximum input length
0017 INFO    Connection successful, protocol is T=0
0018 INFO    ATR is 10 bytes: 3B75130000XXXXXXXXXX
0019 INFO    ATR is 10 bytes: 3B75130000XXXXXXXXXX
0020 INFO    send: 00A404000BD250000002564954414C45 [3S]
0021 ERROR   Failed to transmit command to card [Unknown error (0x000006F7)]
0022 INFO    Recv: 6FFF  [Cardpeek application-level error]
0023 INFO    Disconnected reader

On windows I've one step less : I haven't the step 20 and 21 like with linux 
(this is not happening : "0020 INFO    send: 00A404000BD250000002564954414C45 
[3S]
0021 INFO    Recv: 611F  [More bytes available (see SW2)]" )

What I've to do ?

maybe the "teo by xiring smart card reader" is not able to do this ?
(this is the web site of this reader : 
http://teobyxiring.fr/Le_lecteur_de_carte_a_puce_Teo_by_XIRING-Support-technique
.aspx )

**Please provide any additional information below.**
I've tried with only one reader, but two OS (windows and linux)
I can't read any card (but with other software it's work)

Original issue reported on code.google.com by poufic...@gmail.com on 4 Dec 2012 at 5:47

GoogleCodeExporter commented 9 years ago
I've tried with a windows XP SP3 32 bits and it work great ! sorry
Bonne continuation !

Original comment by poufic...@gmail.com on 19 Dec 2012 at 7:35

GoogleCodeExporter commented 9 years ago
OK. I'll close this issue.
I've done some tests on virtual machines myself and QEMU-KVM does not nicely 
deal with USB card readers. VirtualBox does the job however. 

Original comment by L...@gmx.com on 28 Feb 2013 at 11:17