Menu

#315 patch for pcsc-lite > 1.4.4

open
nobody
Internals (36)
5
2012-11-29
2009-09-22
No

This patch add detection of pcsc-lite version and change the handle convertion functions accordingly.

This patch should close bug 2353129 https://sourceforge.net/tracker/index.php?func=detail&aid=2353129&group_id=24366&atid=381347

See the discussion on the mailing list https://sourceforge.net/mailarchive/message.php?msg_name=baabf6440909180434q25ae0c94i4688022449e0ab53%40mail.gmail.com

Discussion

  • Ludovic Rousseau

     
  • Nobody/Anonymous

    I would like to confirm that this patch solved my problem using rdesktop in combination with pcscd (v1.5.3). Before applying this patch, the card-reader I was using (BE-ID middleware) was closing with errors like "0: Unknown card type" and "e1d00200: Error loading card data". In the rdesktop smart-card debugging output I noticed the following lines:

    SCARD: SCardBeginTransaction(hcard: 0x00003f0f [0x00003f0f])
    SCARD: -> Failure: Invalid handle. (0x80100003)
    SCARD: SCardStatus(hcard: 0x00003f0f [0x00003f0f], reader len: 0 bytes, atr len: 64 bytes)
    SCARD: -> Failure: Invalid handle. (0x80100003)
    SCARD: SCardDisconnect(context: 0x0103ec4d, hcard: 0x00003f0f, disposition: 0x00000000)
    SCARD: -> Failure: Invalid handle. (0x80100003)

    After applying this patch, my problem is solved and the card-reader works perfectly with rdesktop.

    Thanks!

    Best Regards,

    Ruben de Smet
    Kangaroot Linux Solutions