Closed nkakouros closed 3 years ago
The text between []
should be the reader interface name.
Can you run the command:
lsusb -d 08E6:8141 -v > dump.bin
And attach the dump.bin
file.
Thank you for your reply! Here is the dump.txt file (.bin
is not supported github says).
Some more info that may or may not be relevant.
edit:
Please apply the pcsc-lite patch, rebuild pcsc-lite and try again. patch.txt
You do not need to reinstall pcsc-lite. Just run the pcscd from the newly build sources. see https://pcsclite.apdu.fr/#support for pcscd arguments.
I tried it and it works! Thank you so much for the fix!
The problem TypeError: 'tuple' object does not support item assignment
is also fixed?
Yes, both pySim-read
and pySim-prog
worked without issues.
Your system information
Please describe your issue in as much detail as possible:
I am trying to use pySim to read a card with the Gemalto IDBrdige K3000 device. I know pysim is another project, but python fails at two pyscard modules. When I run pysim, it fails at this:
If I print the readerstatelist as it is passed to the
SCardGetStatusChange
function, I get:where the
@
character prints as a square with a question mark.I then edit the
/usr/lib/python3.9/site-packages/smartcard/scard/scard.py
file and replace this unicode character:Then, execution proceeds and fails a few lines down:
I then convert the tuples into lists:
It does not fail, but nothing happens, the code does not return from the
waitforcard
method.I have also tried uninstalling version 1.4.34 of the ccid driver and install it again from the master branch of its git repo, but it didn't change anything.
Steps for reproducing this issue:
./pySim-read.py -p 0