Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'Too small reply' with ACR122U using nfc-poll #224

Closed
GoogleCodeExporter opened this issue Apr 3, 2015 · 12 comments
Closed

'Too small reply' with ACR122U using nfc-poll #224

GoogleCodeExporter opened this issue Apr 3, 2015 · 12 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. just Compiled version 1.7.0-rc2
2. using NFC Reader ACR122U-WB-R from ACS
3. using nfc-poll or self-written programm with poll function

What is the expected output? What do you see instead?
expected: polling of targets
what i see:
NFC reader: ACS / ACR122U PICC Interface opened
NFC device will poll during 30000 ms (20 pollings of 300 ms for 5 modulations)
error   libnfc.driver.acr122_usb    Too small reply
nfc_initiator_poll_target: Input / Output Error


What version of the product are you using? On what operating system?
1.7.0-rc2, LUbuntu 12.10

Original issue reported on code.google.com by peter.bu...@gmail.com on 31 Jan 2013 at 9:16

@GoogleCodeExporter
Copy link
Author

Fixed yesterday :-)

A new RC3 is upcomming...

Original comment by romu...@libnfc.org on 31 Jan 2013 at 3:31

  • Changed state: Fixed

@GoogleCodeExporter
Copy link
Author

still the same error with new RC4 Version:

sudo nfc-poll 
nfc-poll uses libnfc libnfc-1.7.0-rc4
NFC reader: ACS / ACR122U PICC Interface opened
NFC device will poll during 30000 ms (20 pollings of 300 ms for 5 modulations)
error   libnfc.driver.acr122_usb    Too small reply
nfc_initiator_poll_target: Input / Output Error

Original comment by peter.bu...@gmail.com on 7 Feb 2013 at 11:35

@GoogleCodeExporter
Copy link
Author

I merged it with issue 217 which is re-opened.
See my recommendations in the other issue:
Please use only one of the two acr122 drivers, either acr122_usb (preferred) or 
acr122_pcsc.
If you use acr122_usb and have sometimes errors, better to stop pcscd or to 
remove acr122 from libccid detection list to avoid any conflict.

Please report your results and a full log trace if possible in the other issue, 
thanks!

Original comment by yob...@gmail.com on 7 Feb 2013 at 11:42

  • Changed state: Duplicate

@GoogleCodeExporter
Copy link
Author

the other issue was now closed, but my problem is still there. can we re-open 
this issue to get a fix of my problem?

Original comment by peter.bu...@gmail.com on 15 Feb 2013 at 8:19

@GoogleCodeExporter
Copy link
Author

cf comment #14 in issue 217  by romuald:

I think its possible to do some work to enable ACR122 polling in libnfc, but 
that's not a few minutes question...
I think this need to hack polling method to cut polling in 4 seconds long 
passes... Patches are welcome.

Original comment by yob...@gmail.com on 16 Feb 2013 at 1:44

  • Changed state: Accepted
  • Added labels: Priority-Low
  • Removed labels: Priority-Medium

@GoogleCodeExporter
Copy link
Author

Please keep in mind that ACR122U is not a good device to be used with libnfc...

The front MCU prevents libnfc from using whole functions available on PN532 
chip.

Original comment by romu...@libnfc.org on 16 Feb 2013 at 1:48

  • Changed title: 'Too small reply' with ACR122U using nfc-poll
  • Changed state: Feedback

@GoogleCodeExporter
Copy link
Author

hi, i have the same problem here:

StarK shm # nfc-list 
nfc-list uses libnfc libnfc-1.7.0-rc6-55-gdd20946
error   libnfc.driver.acr122_usb    Too small reply
nfc-list: ERROR: Unable to open NFC device: acr122_usb:004:002

and it's make the device make "beeps" while an nfc card is on it.

i use app-misc/acsccid-1.0.4 (from gentoo ~amd64 tree) (so i dont know how to 
remove acr122 from the detection list) , should i remove it totaly ?


Original comment by hisoka2501 on 11 Mar 2013 at 4:25

@GoogleCodeExporter
Copy link
Author

For me, my touchatag reader stopped working with the "Too small reply" since 
git e49eb6c6600448f18f8bdcd0f59da85f04a3aa7f
I also bisected the svn archive, it breaks for me since svn 1328

Original comment by bert...@gmail.com on 26 Apr 2013 at 10:51

@GoogleCodeExporter
Copy link
Author

On closer inspection, the problem with my reader is that it is recognized 
internally in the acr122_usb as an acr122, based on the USB vendor/product id. 
Once I force it to recognize as a touchatag (with a different escaping 
mechanism to communicate with the pn532), the reader works.

Original comment by bert...@gmail.com on 13 May 2013 at 2:15

@GoogleCodeExporter
Copy link
Author

Please check latest commit as a few changes have been made.

With my devices all I get now is at rare occasions a failure at initialization 
and an automatic retry, which gives when opening the device:

error   libnfc.driver.acr122_usb    PN532 didn't reply
error   libnfc.driver.acr122_usb    PN532 init failed, trying again...
NFC reader: ACS / ACR122U PICC Interface opened

This happens very rarely, both for ACR122U and for Touchatag.
What's your experience?
Thanks for your feedback.

Original comment by yob...@gmail.com on 14 Jun 2013 at 11:07

@GoogleCodeExporter
Copy link
Author

The acr122_usb now works for me with current git (as of 2013-6-15), thanks!

Original comment by bert...@gmail.com on 15 Jun 2013 at 11:07

@GoogleCodeExporter
Copy link
Author

Thanks for the feedback.
I will close this bugreport.
Maybe some people will still get problems but anyways the faulty behavior will 
be quite different so better to open a new bugreport if needed.

Original comment by yob...@gmail.com on 15 Jun 2013 at 10:27

  • Changed state: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant