2015-01-24 13:45 GMT+01:00 Henrik Brautaset Aronsen <[email protected]>: > Ludovic Rousseau wrote: > > 2015-01-20 21:45 GMT+01:00 Henrik Brautaset Aronsen <[email protected]>: > > So I built pcsc-lite [5], and ifdnfc builds nicely against that. But pcscd > doesn't seem to find the reader. testpcsc says: > > Testing SCardIsValidContext : Invalid handle. (don't panic) > Testing SCardListReaders : Cannot find a smart card reader. (don't > panic) > > Any ideas? > > According to your email "Store key on NFC tag that is acceptable to > sc_auth?" [1] to the SmartcardServices-Users list you solved the > problem and your ACS ACR122U reader is available from PC/SC. > > [1] > https://lists.macosforge.org/pipermail/smartcardservices-users/2015-January/000454.html > > > Hi Ludovic. > > I haven't solved the problem, I guess I didn't explain it properly in the > mail you link to. > > I am able build pcsc-lite-1.8.13.tar.bz2 myself, and get ifdnfc to build > against that. But I am unable to get that version of pcsc-lite to connect > to my reader (with testpcsc).
Do not change the PC/SC layer provided by Apple unless you really know what you do. > The stock OSX version of pcsc (with /usr/bin/pcsctest), on the other hand, > connects to the reader just fine. But I am unable to build ifdnfc against > that. > > So I need to: > > * either manage to build ifdnfc against the stock OSX version of pcsc Why do you (think you) need ifdnfc? > * or make my build of pcsc-lite-1.8.13.tar.bz2 connect to my reader. Could > there be that I need to create a reader.conf for ACS ACR122U? Bad idea of Mac OS X. I guess you want to use libnfc. Exact? If yes you should be able to use the acr122_pcsc driver provided by libnfc and use the stock PC/SC layer. Bye -- Dr. Ludovic Rousseau _______________________________________________ Pcsclite-muscle mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pcsclite-muscle
