I've tried differents values for "partial", "253" is the highest that worked. with 254 I would get the same error. Why does this happen? My guess is that there is a bug somewhere in the libraries or the reader driver, and that it is not allowing for the two status bytes. pc/sc has this bad habit of appending the status bytes to the data rather than treating them separately. *************************************************************** Linux Smart Card Developers - M.U.S.C.L.E. (Movement for the Use of Smart Cards in a Linux Environment) http://www.linuxnet.com/smartcard/index.html ***************************************************************