kurganme wrote:
Hi everybody, I have a device, an usb smart card reader (I use it succesfully under Windows Linux and MacOS-X), to which I'd like to send some messages. I wrote a simple code in C to send a "request status" message, but it not works. The process hangs writing to the endpoint. I'm sure that the message I send is correct (I take it from the API documentation of the device). I have tried to run the code on different PCs with different usb controllers (Intel, VIA, nVidia)
Are you using OpenCT/OpenSC/PCSC under Linux for this reader? What kind of openct driver are you using?
Maybe one needs to send some initialization sequence to the card reader after open (this is the case of Reiner SCT for example).
--Marcin
signature.asc
Description: OpenPGP digital signature