<html xmlns="http://www.w3.org/1999/xhtml" xmlns:html="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>CardReaders/SPR532 - OpenSC - Trac</title><style type="text/css"> @import url(trac.css); </style></head><body><div class="wikipage"> <div id="searchable"><h1 id="PinPadAKASPR532andOpenSCmini-howto">PinPad AKA SPR532 and OpenSC mini-howto</h1> <p> To get feedback as early as possible, here's a small tutorial how to get going with SPR532 and pinpad. There are other <a class="wiki" href="PinpadReaders.html" shape="rect">PinpadReaders</a> and other interfaces but the given interface makes use of <a class="ext-link" href="http://www.pcscworkgroup.com/specifications/overview.php" shape="rect"><span class="icon">PC/SC version 2.0 spec</span></a> Part 10. </p> <p> Things you need to try it out: </p> <ul><li>get yourself a SPR532 reader from www.scmmicro.com </li><li>upgrade the firmware to the latest (at least 5.05) version using stuff from here: <a class="ext-link" href="http://www.scmmicro.com/support/pcs_downloads.html?PID=70&s1=6&s2" shape="rect"><span class="icon">http://www.scmmicro.com/support/pcs_downloads.html?PID=70&s1=6&s2</span></a> <ul><li>Note that this upgrade will make your reader's pinpad unusable under Windows if your application only supports the older and broken firmware! </li></ul></li><li>install <a class="ext-link" href="https://alioth.debian.org/projects/pcsclite/" shape="rect"><span class="icon">pcsc-lite</span></a> (version 1.3.3 or later) </li><li>install <a class="ext-link" href="http://pcsclite.alioth.debian.org/ccid.html" shape="rect"><span class="icon">ccid</span></a> driver (version 1.2.1 or later) </li><li>install the latest opensc trunk <ul><li>After installation, make sure you have opensc.conf in the location told by configure and make sure that enable_pinpad is set to 'true' </li></ul></li></ul><p> Notes: </p> <ul><li>the whole topic is hairy - see discussions on muscle and opensc-devel mailinglist: <ul><li><a class="ext-link" href="http://archives.neohapsis.com/archives/dev/muscle/2005-q1/0199.html" shape="rect"><span class="icon">http://archives.neohapsis.com/archives/dev/muscle/2005-q1/0199.html</span></a> </li><li><a class="ext-link" href="http://archives.neohapsis.com/archives/dev/muscle/2005-q1/0221.html" shape="rect"><span class="icon">http://archives.neohapsis.com/archives/dev/muscle/2005-q1/0221.html</span></a> </li><li><a href="http://www.opensc-project.org/pipermail/opensc-devel/2005-March/005709.html" shape="rect">http://www.opensc-project.org/pipermail/opensc-devel/2005-March/005709.html</a> </li></ul></li></ul><p> What you can do: </p> <ol><li>test and provide feedback </li><li>help to argue how things should look like in different places and how we shall solve some issues - see <a class="wiki" href="DesignDiscussion.html" shape="rect">DesignDiscussion</a> </li></ol><p> Known issues: </p> <ol><li>It is known to work with SPR532 under Linux as well as Windows XP (latest firmware and PCSC drivers, at least for pin verification) </li><li>Support for pinpad operations in general might lag behind your needs. Patches most welcome :) </li><li>It should work with many newer pinpad readers that provide the right driver on Windows, but currently only SPR 532 has been tested. If you have a nice reader on windows, try out the latest SCB to see it it works! </li></ol><p> Open questions: </p> <ol><li>SCM seems to also offer a CCID driver for LINUX: <a class="ext-link" href="http://www.scmmicro.com/support/pcs_product_drivers.html" shape="rect"><span class="icon">http://www.scmmicro.com/support/pcs_product_drivers.html</span></a> Has anyone tested it? Does it work? martin: the usual 'binary only' whining applies. Also, there should be no difference from the pcsc v2 part 10 point of view. (I tried SCMs CCID-"driver" on april 3rd 2007 - it's just a link to Ludovics site!!) </li></ol></div> </div><div class="footer"><hr></hr><p><a href="index.html">Back to Index</a></p></div></body></html>