Topic: MFOC error (nfc_initiator_select_passive_target)

Hello world,

When trying to run mfoc -O [card_dump] it gives me the following error:
nfc_initiator_select_passive_target: Success
nfc-list tells me my reader (ACR122U 203 - PN532 v1.4) is connected.

If I remember correctly this function is called in nfc.c, but I can't figure out what is going wrong.
System I'm using is openSUSE 11.4, mfoc-0.10.2, libnfc-1.4.2, libusb-1.0.8 and pcsc-lite-1.7.4.

-TM

Re: MFOC error (nfc_initiator_select_passive_target)

Ah, you're using an ACR122 device, where all communication runs via pcsc-lite (and the libccid it is using). I've seen similar problems after I upgraded from Ubuntu 10.04 to Ubunto 10.10. It turned out to be caused by the newer libccid in that release. After downgrading to libccid 1.3.11, the communication was reliable again (I haven't figured out what change in libccid caused this). So you might check your libccid version (I don't know what SuSE 11.4 uses).

Btw, there are other issues with ACR122 readers (see this post), but for using as a Mifare reader it works fine with libnfc.

Re: MFOC error (nfc_initiator_select_passive_target)

Even with older versions, I still get the error. NFC-list is working properly, yet MFOC keeps returning this error..

Re: MFOC error (nfc_initiator_select_passive_target)

hey, i got exactly the same problem.. NFC-list works, but MFOC returns error
nfc_initiator_select_passive_target: Success

any solutions yet?

thx very much

Re: MFOC error (nfc_initiator_select_passive_target)

Yes I have found one, yet I believe it was deleted here or didn't press submit.
Go to: http://www.acr122.com/acr122-drivers.php
and download the drivers for this device, install them and all should be working fine.
If you have any questions regarding this solution, please reply.

Sincerely,

TM.

Re: MFOC error (nfc_initiator_select_passive_target)

I have the same problem. Did you solve it?

Thanks

7 (edited by post_ex0dus 2012-04-01 10:00:07)

Re: MFOC error (nfc_initiator_select_passive_target)

IT WORKED! thank you SO much!

8 (edited by post_ex0dus 2012-04-03 20:55:06)

Re: MFOC error (nfc_initiator_select_passive_target)

hey again! i'm still stuck trying to read or write my mifare card using mfoc
i opened another thread explaining my problem. looking forward to some suggestions smile
thx

Re: MFOC error (nfc_initiator_select_passive_target)

Hi,
I have similar problem
I do all excactly as on this site:
backtrack-linux.org/wiki/index.php/RFID_Cooking_with_Mifare_Classic
but result of:
mfoc -P 500 -O dump

is:

nfc_initiator_select_passive_target: Success

what should I do?
help please