Issue 217 in libnfc: acr122_usb: touchatag 'Too small reply'

609 views
Skip to first unread message

lib...@googlecode.com

unread,
Jan 9, 2013, 7:31:12 AM1/9/13
to libnfc...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 217 by schma...@gmail.com: acr122_usb: touchatag 'Too small reply'
http://code.google.com/p/libnfc/issues/detail?id=217

Using nfc-list:

info libnfc.config Unable to open file: /etc/nfc/libnfc.conf
debug libnfc.config Unable to open directory: /etc/nfc/devices.d
unkown libnfc.general log_level is set to 3
debug libnfc.general allow_autoscan is set to true
debug libnfc.general allow_intrusive_scan is set to false
debug libnfc.general 0 device(s) defined by user
nfc-list uses libnfc libnfc-1.6.0-rc1-184-gff3d8f7
debug libnfc.general 0 device(s) found using pn53x_usb driver
debug libnfc.driver.acr122_usb device found: Bus 003 Device 002 Name ACS
ACR122
debug libnfc.general 1 device(s) found using acr122_usb driver
debug libnfc.driver.acr122_usb 3 element(s) have been decoded
from "acr122_usb:003:002"
debug libnfc.driver.acr122_usb TX: 62 00 00 00 00 00 00 01 00 00
debug libnfc.driver.acr122_usb RX: 80 13 00 00 00 00 00 00 00 00
3b be 95 00 00 41 03 00 00 00 00 00 00 00 00 00 02 90 00
debug libnfc.driver.acr122_usb ACR122 PICC Operating Parameters
debug libnfc.driver.acr122_usb TX: 6b 05 00 00 00 00 00 00 00 00
ff 00 51 00 00
debug libnfc.driver.acr122_usb RX: 83 00 00 00 00 00 00 40 05 00
debug libnfc.chip.pn53x GetFirmwareVersion
debug libnfc.driver.acr122_usb TX: 6b 07 00 00 00 00 00 00 00 00
ff 00 00 00 02 d4 02
debug libnfc.driver.acr122_usb RX: 83 00 00 00 00 00 00 40 07 00
error libnfc.driver.acr122_usb Too small reply
debug libnfc.general Unable to open "acr122_usb:003:002".
nfc-list: ERROR nfc-list.c:132
nfc-list: Unable to open NFC device: acr122_usb:003:002

Seems like a duplicate of bug #201 but I'm using the latest from git, so it
should be fixed. Using the acr122_pcsc driver works.


lib...@googlecode.com

unread,
Jan 28, 2013, 10:29:09 AM1/28/13
to libnfc...@googlegroups.com

Comment #1 on issue 217 by romu...@libnfc.org: acr122_usb: touchatag 'Too
small reply'
http://code.google.com/p/libnfc/issues/detail?id=217

I cant reproduce this bug myself...

lib...@googlecode.com

unread,
Jan 29, 2013, 6:13:42 PM1/29/13
to libnfc...@googlegroups.com
Updates:
Status: Accepted

Comment #2 on issue 217 by yob...@gmail.com: acr122_usb: touchatag 'Too
small reply'
http://code.google.com/p/libnfc/issues/detail?id=217

Just to add some doc:
* With a ACR122U I've also TX:6b/RX:83 (PCSC Escape) frames but I don't
have any problem.
* With a Touchatag I've TX:6f/RX:80 (PCSC Transmit) frames and I have the
same kind of bug but only once every two tests:

$ nfc-list
nfc-list uses libnfc libnfc-1.7.0-rc2
NFC device: / CCID USB Reader opened
$ nfc-list
nfc-list uses libnfc libnfc-1.7.0-rc2
error libnfc.driver.acr122_usb Too small reply
nfc-list: ERROR: Unable to open NFC device: acr122_usb:002:036
$ nfc-list
nfc-list uses libnfc libnfc-1.7.0-rc2
NFC device: / CCID USB Reader opened
$ nfc-list
nfc-list uses libnfc libnfc-1.7.0-rc2
error libnfc.driver.acr122_usb Too small reply
nfc-list: ERROR: Unable to open NFC device: acr122_usb:002:036
$ nfc-list
nfc-list uses libnfc libnfc-1.7.0-rc2
NFC device: / CCID USB Reader opened

Full trace of a failure:

$ LIBNFC_LOG_LEVEL=3 nfc-list
info libnfc.config Unable to open file: /etc/nfc/libnfc.conf
debug libnfc.general log_level is set to 3
debug libnfc.general allow_autoscan is set to true
debug libnfc.general allow_intrusive_scan is set to false
debug libnfc.general 0 device(s) defined by user
nfc-list uses libnfc libnfc-1.7.0-rc2
debug libnfc.general 0 device(s) found using pn53x_usb driver
debug libnfc.driver.acr122_usb device found: Bus 002 Device 031 Name
Touchatag
debug libnfc.general 1 device(s) found using acr122_usb driver
debug libnfc.driver.acr122_usb 3 element(s) have been decoded
from "acr122_usb:002:031"
debug libnfc.driver.acr122_usb TX: 62 00 00 00 00 00 00 01 00 00
debug libnfc.driver.acr122_usb RX: 80 13 00 00 00 00 00 00 00 00
3b be 96 00 00 41 03 00 00 00 00 00 00 00 00 00 02 90 00
debug libnfc.driver.acr122_usb ACR122 PICC Operating Parameters
debug libnfc.driver.acr122_usb TX: 6f 05 00 00 00 00 00 00 00 00
ff 00 51 00 00
debug libnfc.driver.acr122_usb RX: 80 02 00 00 00 00 00 00 00 00
63 00
debug libnfc.chip.pn53x GetFirmwareVersion
debug libnfc.driver.acr122_usb TX: 6f 07 00 00 00 00 00 00 00 00
ff 00 00 00 02 d4 02
debug libnfc.driver.acr122_usb RX: 80 02 00 00 00 00 00 00 00 00
63 01
debug libnfc.driver.acr122_usb TX: 6f 05 00 00 00 00 00 00 00 00
ff c0 00 00 01
debug libnfc.driver.acr122_usb RX: 80 01 00 00 00 00 00 00 00 00
d5
error libnfc.driver.acr122_usb Too small reply
debug libnfc.general Unable to open "acr122_usb:002:031".
nfc-list: ERROR: Unable to open NFC device: acr122_usb:002:031


lib...@googlecode.com

unread,
Jan 29, 2013, 7:27:41 PM1/29/13
to libnfc...@googlegroups.com
Updates:
Status: Fixed

Comment #3 on issue 217 by yob...@gmail.com: acr122_usb: touchatag 'Too
small reply'
http://code.google.com/p/libnfc/issues/detail?id=217

This issue was closed by revision 5446242094ab.

lib...@googlecode.com

unread,
Jan 29, 2013, 7:28:52 PM1/29/13
to libnfc...@googlegroups.com

Comment #4 on issue 217 by yob...@gmail.com: acr122_usb: touchatag 'Too
small reply'
http://code.google.com/p/libnfc/issues/detail?id=217

This fixed the problem with my touchatag, please confirm with yours.

lib...@googlecode.com

unread,
Feb 5, 2013, 8:53:36 AM2/5/13
to libnfc...@googlegroups.com

Comment #5 on issue 217 by jdth...@gmail.com: acr122_usb: touchatag 'Too
small reply'
http://code.google.com/p/libnfc/issues/detail?id=217

I still get "too small reply" with my Touchatag reader. Verbose logfile
attached.

# nfc-list
nfc-list uses libnfc
NFC device: ACS ACR122U 00 00 / ACR122U103 opened
error libnfc.driver.acr122_usb Too small reply
nfc-list: ERROR: Unable to open NFC device: acr122_usb:001:007

# dpkg -l libnfc4 | grep ^ii
ii libnfc4:amd64 1.7.0~rc4-0ppa1 amd64 Near Field Communication (NFC)
library

# LIBNFC_LOG_LEVEL=3 nfc-list 2> /tmp/too-small-reply.log
nfc-list uses libnfc
NFC device: ACS ACR122U 00 00 / ACR122U103 opened


Attachments:
too-small-reply.log 7.8 KB

lib...@googlecode.com

unread,
Feb 5, 2013, 6:16:48 PM2/5/13
to libnfc...@googlegroups.com
Updates:
Status: New

Comment #6 on issue 217 by yob...@gmail.com: acr122_usb: touchatag 'Too
small reply'
http://code.google.com/p/libnfc/issues/detail?id=217

(No comment was entered for this change.)

lib...@googlecode.com

unread,
Feb 5, 2013, 6:20:09 PM2/5/13
to libnfc...@googlegroups.com

Comment #7 on issue 217 by yob...@gmail.com: acr122_usb: touchatag 'Too
small reply'
http://code.google.com/p/libnfc/issues/detail?id=217

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.
I've re-opened the issue, just in case...


lib...@googlecode.com

unread,
Feb 5, 2013, 6:22:20 PM2/5/13
to libnfc...@googlegroups.com

Comment #8 on issue 217 by yob...@gmail.com: acr122_usb: touchatag 'Too
small reply'
http://code.google.com/p/libnfc/issues/detail?id=217

Romuald, maybe we should do something to prevent people to activate both
drivers simultaneously??

lib...@googlecode.com

unread,
Feb 7, 2013, 6:43:31 AM2/7/13
to libnfc...@googlegroups.com

Comment #9 on issue 217 by yob...@gmail.com: acr122_usb: touchatag 'Too
small reply'
http://code.google.com/p/libnfc/issues/detail?id=217

Issue 224 has been merged into this issue.

lib...@googlecode.com

unread,
Feb 8, 2013, 6:15:22 AM2/8/13
to libnfc...@googlegroups.com

Comment #10 on issue 217 by peter.bu...@gmail.com: acr122_usb:
still the same error (with turning off acr122_pcsc in compile) on nfc-poll:

#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

#dpkg -l libnfc4 | grep ^ii
ii libnfc4:amd64 1.7.0~rc3-1 amd64 Near Field Communication (NFC)
library

#sudo LIBNFC_LOG_LEVEL=3 nfc-poll 2> too-small-replay.log
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)

BUT nfc-list is ok:
#sudo nfc-list
nfc-list uses libnfc libnfc-1.7.0-rc4
NFC device: ACS / ACR122U PICC Interface opened

Attachments:
too-small-replay.log 4.5 KB

lib...@googlecode.com

unread,
Feb 14, 2013, 8:21:50 AM2/14/13
to libnfc...@googlegroups.com

Comment #11 on issue 217 by neomil...@gmail.com: acr122_usb: touchatag 'Too
small reply'
http://code.google.com/p/libnfc/issues/detail?id=217

That's not the same problem...

In short answer:
nfc-poll can not work on ACR122U

In long answer:
ACR122 is a device that have a front MCU that does CCID compliance and a
PN532 as RFID/NFC modem.

With libnfc, we drive directly PN532 by using CCID escape sequence.
When we try to do a nfc-poll, we start polling on PN532 but if front MCU
have no reply within 5 sec, it cancel command and reset PN532. So, nfc-poll
cannot run on ACR122.

As we said, ACR122 is not a good product to use NFC with libnfc...

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

lib...@googlecode.com

unread,
Feb 14, 2013, 9:30:44 AM2/14/13
to libnfc...@googlegroups.com

Comment #12 on issue 217 by romu...@libnfc.org: acr122_usb: touchatag 'Too
small reply'
http://code.google.com/p/libnfc/issues/detail?id=217

Could you confirm this message on nfc-poll comes after around 5 sec ?

lib...@googlecode.com

unread,
Feb 14, 2013, 10:22:17 AM2/14/13
to libnfc...@googlegroups.com

Comment #13 on issue 217 by peter.bu...@gmail.com: acr122_usb:
I can confirm the 5 sec for ACR122U.

lib...@googlecode.com

unread,
Feb 14, 2013, 2:16:25 PM2/14/13
to libnfc...@googlegroups.com
Updates:
Status: Fixed

Comment #14 on issue 217 by romu...@libnfc.org: acr122_usb: touchatag 'Too
small reply'
http://code.google.com/p/libnfc/issues/detail?id=217

Ok, so I'll set this issue to fixed as the first reported issue here is
fixed...

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.

lib...@googlecode.com

unread,
Feb 14, 2013, 3:23:42 PM2/14/13
to libnfc...@googlegroups.com

Comment #15 on issue 217 by jdth...@gmail.com: acr122_usb: touchatag 'Too
small reply'
http://code.google.com/p/libnfc/issues/detail?id=217

> better to stop pcscd or to remove acr122 from libccid detection list to
> avoid any conflict.

Hi. Can you please point me to documentation (if there is any, e.g., in one
of the wikis) about how to change the libccid detection list and/or
deactivate one or another driver?

lib...@googlecode.com

unread,
Feb 15, 2013, 3:30:09 AM2/15/13
to libnfc...@googlegroups.com

Comment #16 on issue 217 by ludovic....@gmail.com: acr122_usb:
> Hi. Can you please point me to documentation (if there is any, e.g., in
> one of the wikis) about how to change the libccid detection list and/or
> deactivate one or another driver?

Changing the libccid list of supported readers is not documented. But is
easy:
1. get the libccid source code
2. edit the file readers/supported_readers.txt
3. remove the line with the VID/PID of the reader you want to disable
4. reinstall the libccid driver, or just the regenerated src/Info.plist

lib...@googlecode.com

unread,
Feb 15, 2013, 3:38:30 AM2/15/13
to libnfc...@googlegroups.com

Comment #17 on issue 217 by jdth...@gmail.com: acr122_usb: touchatag 'Too
small reply'
http://code.google.com/p/libnfc/issues/detail?id=217

easy:

Thanks � added to the libnfc wiki.

lib...@googlecode.com

unread,
Mar 24, 2013, 12:42:41 PM3/24/13
to libnfc...@googlegroups.com

Comment #18 on issue 217 by niall.sm...@gmail.com: acr122_usb:
The "Too small reply" problem for acr122_usb seems to be happening again
with the latest sources:

pi@raspberrypi:~/libnfc$ sudo ./utils/nfc-list
info libnfc.config Unable to open file:
/home/pi/local/packages/libnfc-1.7.0-rc6/etc/nfc/libnfc.conf
debug libnfc.config Unable to open directory:
/home/pi/local/packages/libnfc-1.7.0-rc6/etc/nfc/devices.d
unknown libnfc.general log_level is set to 3
debug libnfc.general allow_autoscan is set to true
debug libnfc.general allow_intrusive_scan is set to false
debug libnfc.general 0 device(s) defined by user
/home/pi/libnfc/utils/.libs/lt-nfc-list uses libnfc
libnfc-1.7.0-rc6-81-g542622a
debug libnfc.driver.acr122_usb device found: Bus 001 Device 006 Name ACS
ACR122
debug libnfc.general 1 device(s) found using acr122_usb driver
debug libnfc.general 0 device(s) found using pn53x_usb driver
debug libnfc.driver.acr122_usb 3 element(s) have been decoded
from "acr122_usb:001:006"
debug libnfc.driver.acr122_usb TX: 62 00 00 00 00 00 00 01 00 00
debug libnfc.driver.acr122_usb RX: 80 02 00 00 00 00 00 00 81 00 3b 00
debug libnfc.driver.acr122_usb ACR122 PICC Operating Parameters
debug libnfc.driver.acr122_usb TX: 6b 00 00 00 05 00 00 00 00 00 ff 00 51
00 00
debug libnfc.driver.acr122_usb RX: 83 02 00 00 00 00 00 00 81 00 63 00
debug libnfc.chip.pn53x GetFirmwareVersion
debug libnfc.driver.acr122_usb TX: 6b 00 00 00 07 00 00 00 00 00 ff 00 00
00 02 d4 02
debug libnfc.driver.acr122_usb RX: 83 02 00 00 00 00 00 00 81 00 63 00
error libnfc.driver.acr122_usb Too small reply
debug libnfc.general Unable to open "acr122_usb:001:006".
lt-nfc-list: ERROR nfc-list.c:128
lt-nfc-list: Unable to open NFC device: acr122_usb:001:006

pi@raspberrypi:~/libnfc$ git rev-parse HEAD
542622a2f55c2c7147b8819f92e13580713bef09

lib...@googlecode.com

unread,
Mar 29, 2013, 9:09:07 AM3/29/13
to libnfc...@googlegroups.com

Comment #19 on issue 217 by alx...@gmail.com: acr122_usb: touchatag 'Too
small reply'
http://code.google.com/p/libnfc/issues/detail?id=217

Same problem with latest git:

# LIBNFC_LOG_LEVEL=3 nfc-list
info libnfc.config Unable to open file: /etc/nfc/libnfc.conf
debug libnfc.config Unable to open directory: /etc/nfc/devices.d
debug libnfc.general log_level is set to 3
debug libnfc.general allow_autoscan is set to true
debug libnfc.general allow_intrusive_scan is set to false
debug libnfc.general 0 device(s) defined by user
nfc-list uses libnfc libnfc-1.7.0-rc6-84-g3eb1ee3
debug libnfc.driver.acr122_usb device found: Bus 003 Device 006 Name
Touchatag
debug libnfc.general 1 device(s) found using acr122_usb driver
debug libnfc.general 0 device(s) found using pn53x_usb driver
debug libnfc.driver.acr122_usb 3 element(s) have been decoded
from "acr122_usb:003:006"
debug libnfc.driver.acr122_usb TX: 62 00 00 00 00 00 00 01 00 00
debug libnfc.driver.acr122_usb RX: 80 13 00 00 00 00 00 00 00 00 3b be 96
00 00 41 03 00 00 00 00 00 00 00 00 00 02 90 00
debug libnfc.driver.acr122_usb ACR122 PICC Operating Parameters
debug libnfc.driver.acr122_usb TX: 6f 00 00 00 05 00 00 00 00 00 ff 00 51
00 00
debug libnfc.driver.acr122_usb RX: 80 00 00 00 00 00 00 40 01 00
debug libnfc.chip.pn53x GetFirmwareVersion
debug libnfc.driver.acr122_usb TX: 6f 00 00 00 07 00 00 00 00 00 ff 00 00
00 02 d4 02
debug libnfc.driver.acr122_usb RX: 80 00 00 00 00 00 00 40 01 00
error libnfc.driver.acr122_usb Wrong reply
debug libnfc.general Unable to open "acr122_usb:003:006".
nfc-list: ERROR: Unable to open NFC device: acr122_usb:003:006


# LIBNFC_LOG_LEVEL=3 nfc-list
info libnfc.config Unable to open file: /etc/nfc/libnfc.conf
debug libnfc.config Unable to open directory: /etc/nfc/devices.d
debug libnfc.general log_level is set to 3
debug libnfc.general allow_autoscan is set to true
debug libnfc.general allow_intrusive_scan is set to false
debug libnfc.general 0 device(s) defined by user
nfc-list uses libnfc libnfc-1.7.0-rc6-84-g3eb1ee3
debug libnfc.driver.acr122_usb device found: Bus 003 Device 007 Name ACS
ACR122
debug libnfc.general 1 device(s) found using acr122_usb driver
debug libnfc.general 0 device(s) found using pn53x_usb driver
debug libnfc.driver.acr122_usb 3 element(s) have been decoded
from "acr122_usb:003:007"
debug libnfc.driver.acr122_usb TX: 62 00 00 00 00 00 00 01 00 00
debug libnfc.driver.acr122_usb RX: 80 02 00 00 00 00 00 00 81 00 3b 00
debug libnfc.driver.acr122_usb ACR122 PICC Operating Parameters
debug libnfc.driver.acr122_usb TX: 6b 00 00 00 05 00 00 00 00 00 ff 00 51
00 00
debug libnfc.driver.acr122_usb RX: 83 02 00 00 00 00 00 00 81 00 63 00
debug libnfc.chip.pn53x GetFirmwareVersion
debug libnfc.driver.acr122_usb TX: 6b 00 00 00 07 00 00 00 00 00 ff 00 00
00 02 d4 02
debug libnfc.driver.acr122_usb RX: 83 02 00 00 00 00 00 02 81 00 63 00
error libnfc.driver.acr122_usb Too small reply
debug libnfc.general Unable to open "acr122_usb:003:007".
nfc-list: ERROR: Unable to open NFC device: acr122_usb:003:007

lib...@googlecode.com

unread,
Mar 30, 2013, 12:56:38 PM3/30/13
to libnfc...@googlegroups.com

Comment #20 on issue 217 by yob...@gmail.com: acr122_usb: touchatag 'Too
small reply'
http://code.google.com/p/libnfc/issues/detail?id=217

Could you all check if latest commit fixed this problem for you?
Thanks!

lib...@googlecode.com

unread,
Apr 13, 2013, 4:19:43 PM4/13/13
to libnfc...@googlegroups.com

Comment #21 on issue 217 by t...@jin.me.uk: acr122_usb: touchatag 'Too
small reply'
http://code.google.com/p/libnfc/issues/detail?id=217

Still not working.

$ LIBNFC_LOG_LEVEL=3 nfc-list
debug libnfc.config key: [allow_autoscan], value: [true]
debug libnfc.config key: [device.connstring], value:
[pn532_uart:/dev/tty.NearFieldBridge-DevB]
debug libnfc.general log_level is set to 3
debug libnfc.general allow_autoscan is set to true
debug libnfc.general allow_intrusive_scan is set to false
debug libnfc.general 1 device(s) defined by user
debug libnfc.general #0 name: "",
connstring: "pn532_uart:/dev/tty.NearFieldBridge-DevB"
nfc-list uses libnfc libnfc-1.7.0-rc7-2-g0841a94
debug libnfc.driver.acr122_usb device found: Bus 250 Device 006 Name ACS
ACR122
debug libnfc.general 1 device(s) found using acr122_usb driver
debug libnfc.general 0 device(s) found using pn53x_usb driver
debug libnfc.driver.pn532_uart Attempt to open:
/dev/tty.NearFieldBridge-DevB at 115200 bauds.
error libnfc.driver.pn532_uart Invalid serial port:
/dev/tty.NearFieldBridge-DevB
debug libnfc.general Unable to
open "pn532_uart:/dev/tty.NearFieldBridge-DevB".
nfc-list: ERROR: Unable to open NFC device:
pn532_uart:/dev/tty.NearFieldBridge-DevB
debug libnfc.driver.acr122_usb 3 element(s) have been decoded
from "acr122_usb:250:006"
debug libnfc.driver.acr122_usb TX: 62 00 00 00 00 00 00 01 00 00
debug libnfc.driver.acr122_usb RX: 80 13 00 00 00 00 00 00 00 00 3b be 95
00 00 41 03 00 00 00 00 00 00 00 00 00 02 90 00
debug libnfc.driver.acr122_usb ACR122 PICC Operating Parameters
debug libnfc.driver.acr122_usb TX: 6b 05 00 00 00 00 00 00 00 00 ff 00 51
00 00
debug libnfc.driver.acr122_usb RX: 83 00 00 00 00 00 00 40 05 00
debug libnfc.chip.pn53x GetFirmwareVersion
debug libnfc.driver.acr122_usb TX: 6b 07 00 00 00 00 00 00 00 00 ff 00 00
00 02 d4 02
debug libnfc.driver.acr122_usb RX: 83 00 00 00 00 00 00 40 07 00
error libnfc.driver.acr122_usb Too small reply
debug libnfc.general Unable to open "acr122_usb:250:006".
nfc-list: ERROR: Unable to open NFC device: acr122_usb:250:006

Is there anything I can do to work out what is wrong?

lib...@googlecode.com

unread,
Jun 13, 2013, 6:48:22 PM6/13/13
to libnfc...@googlegroups.com

Comment #22 on issue 217 by jelmer.t...@gmail.com: acr122_usb:
still same problem here

sudo LIBNFC_LOG_LEVEL=3 ./nfc-list
info libnfc.config Unable to open file: /usr/local/etc/nfc/libnfc.conf
debug libnfc.config Unable to open directory: /usr/local/etc/nfc/devices.d
debug libnfc.general log_level is set to 3
debug libnfc.general allow_autoscan is set to true
debug libnfc.general allow_intrusive_scan is set to false
debug libnfc.general 0 device(s) defined by user
/home/parallels/Workspace/libnfc/libnfc/utils/.libs/lt-nfc-list uses libnfc
libnfc-1.7.0-rc7-16-gf0471eb
debug libnfc.driver.acr122_usb device found: Bus 002 Device 015 Name ACS
ACR122
debug libnfc.general 1 device(s) found using acr122_usb driver
debug libnfc.general 0 device(s) found using pn53x_usb driver
debug libnfc.driver.acr122_usb 3 element(s) have been decoded
from "acr122_usb:002:015"
debug libnfc.driver.acr122_usb TX: 62 00 00 00 00 00 00 01 00 00
debug libnfc.driver.acr122_usb RX: 80 13 00 00 00 00 00 00 00 00 3b be 95
00 00 41 03 00 00 00 00 00 00 00 00 00 02 90 00
debug libnfc.driver.acr122_usb ACR122 PICC Operating Parameters
debug libnfc.driver.acr122_usb TX: 6b 05 00 00 00 00 00 00 00 00 ff 00 51
00 00
debug libnfc.driver.acr122_usb RX: 83 00 00 00 00 00 00 40 05 00
debug libnfc.chip.pn53x GetFirmwareVersion
debug libnfc.driver.acr122_usb TX: 6b 07 00 00 00 00 00 00 00 00 ff 00 00
00 02 d4 02
debug libnfc.driver.acr122_usb RX: 83 00 00 00 00 00 00 40 07 00
error libnfc.driver.acr122_usb Too small reply
debug libnfc.general Unable to open "acr122_usb:002:015".
lt-nfc-list: ERROR: Unable to open NFC device: acr122_usb:002:015

lib...@googlecode.com

unread,
Jun 13, 2013, 7:56:44 PM6/13/13
to libnfc...@googlegroups.com
Updates:
Status: Accepted

Comment #23 on issue 217 by romu...@libnfc.org: acr122_usb: touchatag 'Too
small reply'
http://code.google.com/p/libnfc/issues/detail?id=217

(No comment was entered for this change.)

lib...@googlecode.com

unread,
Jun 14, 2013, 7:05:29 PM6/14/13
to libnfc...@googlegroups.com

Comment #24 on issue 217 by yob...@gmail.com: acr122_usb: touchatag 'Too
small reply'
http://code.google.com/p/libnfc/issues/detail?id=217

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.

lib...@googlecode.com

unread,
Jun 15, 2013, 7:23:55 AM6/15/13
to libnfc...@googlegroups.com

Comment #25 on issue 217 by jelmer.t...@gmail.com: acr122_usb:
That fixed it for me!

note that I have a Touchatag branded reader and a Tikitag branded one. The
tikitag worked all along but the touchatag gave the "too small reply"
error. I presume the tikitag ones have a newer firmware version.

But now all my readers work, thanks.

lib...@googlecode.com

unread,
Jun 15, 2013, 6:26:40 PM6/15/13
to libnfc...@googlegroups.com
Updates:
Status: Fixed

Comment #26 on issue 217 by yob...@gmail.com: acr122_usb: touchatag 'Too
small reply'
http://code.google.com/p/libnfc/issues/detail?id=217

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.
Reply all
Reply to author
Forward
0 new messages