Am Freitag, den 16.03.2007, 09:36 -0500 schrieb Douglas E. Engert:
> Are you using the reader that can only  do 255 bytes?
> 
>     card.c:399:sc_read_binary: called; 256 bytes at index 0
> 
>     reader-openct.c:339:openct_reader_transmit: unable to transmit
> 
> 
> Can you run the command that is listed in the new opensc.conf:
> 
>          # This sets the maximum send and receive sizes.
>          # Some reader drivers have limitations, so you need
>          # to set these values. For usb devices check the
>          # properties with lsusb -vv for dwMaxIFSD
> 
> (Although I tried this on my GemPC Twin, and it says 254
>   but works with the 256.)
> 

Yes these are SCM readers which are limited (as i learned yesterday)
lsusb -vv |grep dwMaxIFSD
dwMaxIFSD             252


> Can you try adding
> max_send_size = 255;
> max_recv_size = 255;
> to the reader openct section in opensc.conf?
> 
> Then try 252, and 248 if 255 does not work.

After setting this to 248 the cards work again. With 252 it still gives
the error.

Best regards,
Simon

> 
-- 
Simon Eisenmann

[ mailto:[EMAIL PROTECTED] ]

[ struktur AG | Kronenstraße 22a | D-70173 Stuttgart ]
[ T. +49.711.896656.68 | F.+49.711.89665610 ]
[ http://www.struktur.de | mailto:[EMAIL PROTECTED] ]

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Reply via email to