[Pcsclite-muscle] Authenticate on OSX with NFC

Martin Paljak martin
Thu Feb 5 07:08:20 PST 2015


Hello,

As ACS is known to have different readers with same name and usbid but
varying firmware, YMMV.
On OSX 10.9 with autoconf/automake/libtool/pkg-config from homebrew:

git clone https://code.google.com/p/libnfc/
cd libnfc
autoreconf -iv
./configure --with-drivers=acr122_pcsc
make

And issuing ./utils/nfc-list

Gives me:

$ ./utils/nfc-list
/Users/martin/projects/nfc/libnfc/utils/.libs/nfc-list uses libnfc
libnfc-1.7.1-12-gb978c45
NFC device: ACS ACR 38U-CCID 00 00 / ACR122U102 opened

Or with a mifare 1k tag:
$ ./utils/nfc-list
/Users/martin/projects/nfc/libnfc/utils/.libs/nfc-list uses libnfc
libnfc-1.7.1-12-gb978c45
NFC device: ACS ACR 38U-CCID 00 00 / ACR122U102 opened
1 ISO14443A passive target(s) found:
ISO/IEC 14443A (106 kbps) target:
    ATQA (SENS_RES): 00  04
       UID (NFCID1): e2  68  c9  cd
      SAK (SEL_RES): 08


This much about libnfc.

I would not bet on getting the login working with documentation based
on osx 10.4. It *might* still work though, by some means. But don't
expect something like PAM.


--
Martin
+372 515 6495


On Mon, Jan 26, 2015 at 10:36 PM, Henrik Brautaset Aronsen
<henrik at synth.no> wrote:
> On 26 Jan 2015, at 20:54, Ludovic Rousseau <ludovic.rousseau at gmail.com> wrote:
>>
>> 2015-01-25 17:40 GMT+01:00 Henrik Brautaset Aronsen <henrik at synth.no>:
>>>
>>> $ sudo nfc-list
>>> nfc-list uses libnfc 1.7.0
>>> error   libnfc.driver.acr122_usb        Unable to claim USB interface (Permission denied)
>>> nfc-list: ERROR: Unable to open NFC device: acr122_usb:020:005
>>> error   libnfc.driver.acr122_pcsc       No ACR122 firmware received, Error: 80100016
>>> nfc-list: ERROR: Unable to open NFC device: acr122_pcsc:ACS ACR122U
>>
>> You are using the "acr122_usb" driver.
>> I wrote you should use the "acr122_pcsc" driver.
>>
>> Maybe your should build libnfc with ONLY the acr122_pcsc driver.
>
> OK, here's the result with the tag absent:
>
> $ ./nfc-list
> /Users/henrik/src/nfc/libnfc-1.7.0/utils/.libs/nfc-list uses libnfc 1.7.0
> error   libnfc.driver.acr122_pcsc       No ACR122 firmware received, Error: 80100016
> nfc-list: ERROR: Unable to open NFC device: acr122_pcsc:ACS ACR122U
>
> And with the tag present:
>
> $ ./nfc-list
> /Users/henrik/src/nfc/libnfc-1.7.0/utils/.libs/nfc-list uses libnfc 1.7.0
> nfc_initiator_init: Input / Output Error
>
> Seems like I get the same results.
>
> Henrik
>
>
> _______________________________________________
> Pcsclite-muscle mailing list
> Pcsclite-muscle at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pcsclite-muscle




More information about the pcsclite-muscle mailing list