Does O2Micro Oz776 Smartcard reader support SLE5528 cards?

Posted by Proton on Stack Overflow See other posts from Stack Overflow or by Proton
Published on 2011-02-23T15:42:27Z Indexed on 2011/02/24 7:24 UTC
Read the original article Hit count: 301

Filed under:
|
|

Well, the title seems indicating I'm a lazy guy but it's not the truth... I'm messing with this weird circumstance a whole day.

My laptop is a Dell Latitude D630 which has a Oz776 (usb idVendor == 0x0b97, idProduct == 0x7772) smartcard reader, but I'm not sure if it is functioning well. It can successfully recognize my Gemplus GPK4000 smartcard and my SIM card, but not SLE5528.

This is my pcscd log when insert the GPK4000:

06039271 ifdhandler.c:1043:IFDHPowerICC() action: PowerUp, usb:0b97/7772:libhal:/org/freedesktop/Hal/devices/usb_device_b97_7772_noserial_if0 (lun: 0)
00000100 -> 000000 62 00 00 00 00 00 14 01 00 00
00967744 <- 000000 80 0A 00 00 00 00 14 00 00 00 3B 27 00 80 65 A2 0C 01 01 37
00000048 ATR: 3B 27 00 80 65 A2 0C 01 01 37
00000013 atrhandler.c:102:ATRDecodeAtr() Conv: 01, Y1: 02, K: 07
00000011 atrhandler.c:120:ATRDecodeAtr() TA1: FFFFFFFF, TB1: 00, TC1: FFFFFFFF, TD1:FFFFFFFF
00000011 atrhandler.c:248:ATRDecodeAtr() CurrentProtocol: 1, AvailableProtocols: 1
00000062 eventhandler.c:429:EHStatusHandlerThread() Card inserted into O2 Micro Oz776 00 00
00000014 Card ATR: 3B 27 00 80 65 A2 0C 01 01 37
29016873 eventhandler.c:361:EHStatusHandlerThread() Card Removed From O2 Micro Oz776 00 00

This is the log when insert a SLE5528 card:

99999999 ifdhandler.c:1043:IFDHPowerICC() action: PowerUp, >usb:0b97/7772:libhal:/org/freedesktop/Hal/devices/usb_device_b97_7772_noserial_if0 (lun: 0)
00000048 -> 000000 62 00 00 00 00 00 11 01 00 00

** Then it chokes here, when I remove the card, the log continues **

04741980 <- 000000 80 00 00 00 00 00 11 42 FE 00
00000044 commands.c:225:CmdPowerOn Card absent or mute
00000017 ifdhandler.c:1096:IFDHPowerICC() PowerUp failed
00000082 eventhandler.c:429:EHStatusHandlerThread() Card inserted into O2 Micro Oz776 00 00
00000021 eventhandler.c:443:EHStatusHandlerThread() Error powering up card.
00402818 eventhandler.c:361:EHStatusHandlerThread() Card Removed From O2 Micro Oz776 00 00

I found that SLE5528 is ISO7816 compatible, and it should have ATR, but it just chokes at the PowerUp.

When inserted any PVC card with no chip or AT24C01 card, it would not choke but report immediate PowerUp failure.

When I tried it on Windows(Windows 7, "runas other user", smartcard login), it chokes too while PVC cards and AT24C01 report immediate failure.

© Stack Overflow or respective owner

Related posts about linux

Related posts about smartcard