Hi,
I'm trying to write some data on a card but I am getting the following
exception:
*.........
File "/usr/lib64/python2.6/site-packages/smartcard/Session.py", line 97,
in sendCommandAPDU
response, sw1, sw2 = self.cs.connection.transmit( command )
File
"/usr/lib64/python2.6/site-packages/smartcard/CardConnectionDecorator.py",
line 81, in transmit
return self.component.transmit( bytes, protocol )
File "/usr/lib64/python2.6/site-packages/smartcard/CardConnection.py",
line 131, in transmit
data, sw1, sw2 = self.doTransmit( bytes, protocol )
File
"/usr/lib64/python2.6/site-packages/smartcard/pcsc/PCSCCardConnection.py",
line 168, in doTransmit
raise CardConnectionException( 'Failed to transmit with protocol ' +
dictProtocolHeader[pcscprotocolheader] + '. ' +
SCardGetErrorMessage(hresult) )
smartcard.Exceptions.CardConnectionException: 'Smartcard Exception: Failed
to transmit with protocol T0. Transaction failed.!'
*
The card for which I'm getting the error above is recognized as: *Lenovo
Integrated Smart Card Reader 00 00* and it's the internal smart card reader
that comes with Lenovo T420.
However, the same operation works if I use a different (external) reader
such as *SpringCard Prox'N'Roll*.
Anybody, any idea if I'm doing something wrong ?
Thank you.
_______________________________________________
opensc-devel mailing list
[email protected]
http://www.opensc-project.org/mailman/listinfo/opensc-devel