Re: GemPC Express Reader (Was: Supp ort for Lenovo Integrated Smart Card Reader)

Martin Preuss <[email protected]> Thu, 12 Feb 2009 21:38:30 +0100
Newsgroups gmane.comp.lib.libchipcard.devel
Message-ID <[email protected]>
Hi,

On Donnerstag, 12. Februar 2009, Joachim Breitner wrote:
[...]
> Now I’m a bit at a loss there: It seems that the protocol is only tried
> to be set when there was an error condition in DriverIFD__ConnectSlot
> (which would be returned from IFDHPowerICC), but in my case, there is no
> error condition returned.
[...]

Just an explanation of that code: I'm using Ludovic's CCID driver for my Kobil 
Kaan Advance. When I insert a German medical card (which is a memory card) 
the reader returns an error when I try to connect the card.

However, when trying multiple protocols (as the described code does) we 
eventually find a protocol which makes the Kobil connect even that kind of 
cards; thus libchipcard can use that reader to read German medical cards 
(which is required by some applications).

Unfortunately I'm no expert when it comes to the CCID driver, so the solution 
described above is the result of trial-and-error. If there is a recommended 
way to achive the same goal I would gladly implement that instead.


Regards
Martin


-- 
"Things are only impossible until they're not"

Martin Preuss - http://www2.aquamaniac.de/
AqBanking - http://www.aqbanking.de/
LibChipcard - http://www.libchipcard.de/

------------------------------------------------------------------------------
_______________________________________________
Libchipcard-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libchipcard-devel