<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Dear list,<br>  As am not sure it is a bug or not.<br><br>00000165 eventhandler.c:266:EHStatusHandlerThread() powerState: POWER_STATE_POWERED<br>00000151 Card ATR: 3B 97 95 80 1F 43 80 31 E0 73 FE 21 1B 38 <br>00000194 ifdhandler.c:1770:IFDHICCPresence() usb:0bda/0169:libudev:0:/dev/bus/usb/001/008 (lun: 0)<br>00000232 -> 000000 65 00 00 00 00 00 06 00 00 00 <br>00000492 <- 000000 81 00 00 00 00 00 06 00 80 00 <br>00000149 ifdhandler.c:1891:IFDHICCPresence() Card present<br>00000220 ifdhandler.c:291:IFDHPolling() usb:0bda/0169:libudev:0:/dev/bus/usb/001/008 (lun: 0) 5000 ms<br><br>the card is a SIM card. and its ATR like this.<br><br>3B 97 95 80 1F 43 80 31 E0 73 FE 21 1B 38 <br><br>when pcsc-lite goes into PPS process.<br><br>Like this<br><br>00000111 winscard.c:235:SCardConnect() Attempting Connect to Generic USB2.0-CRW [Smart Card Reader Interface] (20070818000000000) 00 00 using protocol: 3<br>00000018 readerfactory.c:745:RFReaderInfo() RefReader() count was: 1<br>00000011 winscard.c:330:SCardConnect() powerState: POWER_STATE_INUSE<br>00000099 prothandler.c:87:PHSetProtocol() Attempting PTS to T=0<br>00000014 ifdhandler.c:668:IFDHSetProtocolParameters() protocol T=0, usb:0bda/0169:libudev:0:/dev/bus/usb/001/008 (lun: 0)<br>00000016 ifdhandler.c:792:IFDHSetProtocolParameters() Set speed to 117187 bauds<br>00000010 towitoko/atr.c:329:ATR_GetDefaultProtocol() default protocol: T=0<br>00000012 PPS: Sending request: FF 10 95 7A <br>00000022 -> 000000 6F 04 00 00 00 00 07 00 00 00 FF 10 95 7A <br>01005154 <- 000000 80 00 00 00 00 00 07 40 FE 00 <br>00000145 commands.c:1413:CCID_Receive Card absent or mute<br>00000012 ifdhandler.c:895:IFDHSetProtocolParameters() PPS_Exchange Failed<br>00000011 prothandler.c:103:PHSetProtocol() PTS failed (605), using T=0<br>00000014 winscard.c:490:SCardConnect() UnrefReader() count was: 2<br><br>somehow the card has some problem it will not send "FF 10 95 7A" back to the reader.<br>So, pcscd did not trigger "power save feature"  IE:  it did not power down the card/reader.<br><br>the reader i used <br><br> Generic USB2.0-CRW [Smart Card Reader Interface]<br><br>So my question is, is it a bug for pcscd/libccid or it is design.<br><br><br><br>Thank you and have an nice day.<br> BL.<br><br><br><br><br><br><br>                                    </div></body>
</html>