-
Notifications
You must be signed in to change notification settings - Fork 436
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
Problem with ACR122U-A9: Invalid RDR_to_PC_DataBlock frame #570
Comments
Hi,
could you try this:
https://gist.github.com/danieloneill/3be43d5374c80d89ea73
I don't know if the patch was included in libnfc.
Regards,
kix
--
Rodolfo García Peñas (kix)
http://www.kix.es/
"I asked him once how to change the key bindings and Dave said 'You use the Change Configuration command. On Unix it is abbreviated as cc.' Dave Conroy and Lawrence Stewart.
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
…On Thursday, 24 de October de 2019 9:44, apyredev ***@***.***> wrote:
Hello!
I have got a brand new ACR122U-A9, and I'm trying to make it work.
I first had the error caused by usb_set_altinterface, and I removed the lines, recompiled the lib, and the error was gone, just as [#563](#563) says.
Now, I've got a new error: Invalid RDR_to_PC_DataBlock frame
Here is the full output:
NFC device: ACS / ACR122U PICC Interface opened error libnfc.driver.acr122_usb Invalid RDR_to_PC_DataBlock frame error libnfc.driver.acr122_usb Command Code verification failed error libnfc.driver.acr122_usb Command Code verification failed error libnfc.driver.acr122_usb Command Code verification failed error libnfc.driver.acr122_usb Command Code verification failed error libnfc.driver.acr122_usb Command Code verification failed
I'm running a fresh Debian 10 install.
I did everything I could, looked at all issues related to this, however, I could not find the answer.
Is there going to be an update to NFC-Lib to include the new "generation" of readers? I've encountered a lot of people with the same issue.
Thanks for any answer!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, [view it on GitHub](#570?email_source=notifications&email_token=AA66O6ZSDH3XQKQNCDBQAVTQQFG5VA5CNFSM4JEQDVA2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HUA6QVQ), or [unsubscribe](https://github.com/notifications/unsubscribe-auth/AA66O63XCO6FZEM5EM3OYTDQQFG5VANCNFSM4JEQDVAQ).
|
It works! I modified the source, recompiled, and installed. I installed mfoc after that, but the problem is that apt install libnfc5 with mfoc as a dependency. |
@apyredev - can you provide step by step and detailed instructions on how you resolved this? |
Here is what I am getting: i@raspberrypi:~ $ sudo nfc-poll |
Hi there ! I had the exact same issue, so I applied the fix mentionned in the gist above, recomplied and it worked ! I made a fork featuring the fix, if you still have this issue try this and let me know if it fixes it. Here are the build instructions I use, make sure the ACR122U is plugged in before starting: sudo modprobe -r pn533_usb pn533 nfc
sudo vim /etc/modprobe.d/blacklist-libnfc.conf
# (add blacklist lines for nfc, pn533 and pn533_usb)
sudo apt update
sudo apt install git binutils make csh g++ sed gawk autoconf automake autotools-dev libglib2.0-dev liblzma-dev libtool
git clone https://github.com/sam1902/libnfc
cd libnfc
sudo autoreconf -is
sudo ./configure --prefix=/usr --sysconfdir=/etc
sudo make -j $(nproc)
sudo make install
cd /usr/lib
sudo cp -p libnfc.* x86_64-linux-gnu/ Cheers |
I have the same problem. I use nfc-frog application (https://github.com/cuamckuu/nfc-frog.git).
Arch Linux OS Your solution does not help, unfortunately... |
This one worked for me ! I'm on Ubuntu 20.04 and it's all good. Thanks ! |
Finally something that fixes my issues with this reader. Thanks a million! |
Try it on kali 2023.4 and still same issue. All steps are well installed but at the end it's not working. Any clue? |
My problem went away when I refused libnfc and began to use PCSC.dll from Nuget (C# project) |
Hello!
I have got a brand new ACR122U-A9, and I'm trying to make it work.
I first had the error caused by usb_set_altinterface, and I removed the lines, recompiled the lib, and the error was gone, just as #563 says.
Now, I've got a new error: Invalid RDR_to_PC_DataBlock frame
Here is the full output:
NFC device: ACS / ACR122U PICC Interface opened error libnfc.driver.acr122_usb Invalid RDR_to_PC_DataBlock frame error libnfc.driver.acr122_usb Command Code verification failed error libnfc.driver.acr122_usb Command Code verification failed error libnfc.driver.acr122_usb Command Code verification failed error libnfc.driver.acr122_usb Command Code verification failed error libnfc.driver.acr122_usb Command Code verification failed
I'm running a fresh Debian 10 install.
I did everything I could, looked at all issues related to this, however, I could not find the answer.
Is there going to be an update to NFC-Lib to include the new "generation" of readers? I've encountered a lot of people with the same issue.
Thanks for any answer!
The text was updated successfully, but these errors were encountered: