-
Notifications
You must be signed in to change notification settings - Fork 439
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
error libnfc.driver.acr122_usb Command Code verification failed #666
Comments
Hi!! |
What command do you use? |
Hi @Gnu-Hack , The NFC reader/writer is ACR122U-A9 based on the P/N. I'm porting this package to GNU Guix. I tried both GNU and CMake systems. The package builds in both but as I attempt to run the following command I get this error:
I've tried to blacklist the modules but that didn't help. Also is it normal I hear some sound when the device activates? My guess is it's charging the coil or something like that. |
Hi!!
have you installed the pccd drivers?
what have you blacklisted?
If the device has a red LED, it means that it is not correctly configured
José CardeLL
…-------- Mensaje original --------
El 7 nov. 2022 23:09, Petr Hodina escribió:
Hi ***@***.***(https://github.com/Gnu-Hack) ,
I've encountered similar behaviour.
The NFC reader/writer is ACR122U-A9 based on the P/N.
I'm porting this package to GNU Guix. I tried both GNU and CMake systems. The package builds in both but as I attempt to run the following command I get this error:
# herd status pcscd
...
Stopped:
- pcscd
...
$ lsusb
...
Bus 001 Device 101: ID 072f:2200 Advanced Card Systems, Ltd ACR122U
...
# /gnu/store/f8pq1slc44lldfnnbhfnxq66aivwmav2-libnfc-1.8.0/bin/nfc-list
/gnu/store/f8pq1slc44lldfnnbhfnxq66aivwmav2-libnfc-1.8.0/bin/nfc-list uses libnfc 1.8.0
NFC device: ACS / ACR122U PICC Interface opened
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
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
error libnfc.driver.acr122_usb Command Code verification failed
error libnfc.driver.acr122_usb Command Code verification failed
$ lsmod
Module Size Used by
pn533 45056 0
nfc 122880 1 pn533
...
I've tried to blacklist the modules but that didn't help.
Also is it normal I hear some sound when the device activates? My guess is it's charging the coil or something like that.
After that the tiny noise disappears and the LED on the device is turned on (red/amber).
—
Reply to this email directly, [view it on GitHub](#666 (comment)), or [unsubscribe](https://github.com/notifications/unsubscribe-auth/A4ARHQCBQVE4N3OPGUVQX3TWHF43PANCNFSM5MBCJX6A).
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Here's also the
Here's check for the pccd drivers - none loaded.
Also not compiled into kernel
Do you know which package they are part of? @Gnu-Hack Maybe it's this one |
Install you (Debian)
sudo apt-get install pcscd pcsc-tools
After:
sudo nano /etc/modprobe.d/blacklist-libnfc.conf
And write here:
blacklist nfc
blacklist pn533
blacklist pn533_usb
After do not restart, turn off and on
if the red led has gone off it is good.
then check with the following:
sudo nfc-list -v
nfc-scan-device
nfc-list
pcsc_scan
José CardeLL
…-------- Mensaje original --------
El 7 nov. 2022 23:20, Petr Hodina escribió:
Here's also the dmesg
[143292.130231] usb 1-3.3: new full-speed USB device number 103 using xhci_hcd
[143292.280946] usb 1-3.3: New USB device found, idVendor=072f, idProduct=2200, bcdDevice= 2.14
[143292.280960] usb 1-3.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[143292.280966] usb 1-3.3: Product: ACR122U PICC Interface
[143292.280971] usb 1-3.3: Manufacturer: ACS
[143295.679311] usb 1-3.3: NFC: NXP PN532 firmware ver 1.6 now attached
[143344.473036] pn533_usb 1-3.3:1.0: NFC: NXP PN533 NFC device disconnected
[143344.602653] usb 1-3.3: reset full-speed USB device number 103 using xhci_hcd
[143344.857382] usb 1-3.3: NFC: NXP PN532 firmware ver 1.6 now attached
[143366.956943] usbcore: deregistering interface driver pn533_usb
[143366.957007] pn533_usb 1-3.3:1.0: NFC: NXP PN533 NFC device disconnected
[143370.078518] usb 1-3.3: reset full-speed USB device number 103 using xhci_hcd
I'll check the pccd drivers
—
Reply to this email directly, [view it on GitHub](#666 (comment)), or [unsubscribe](https://github.com/notifications/unsubscribe-auth/A4ARHQECGJWLASJ5WQBVEOLWHF6D7ANCNFSM5MBCJX6A).
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Okay, I'll test it on Debain tomorrow to see if the issue is the device itself or me packaging for GNU Guix. However, these steps I already applied. But it might be the way how Guix is structured that it might need some patch. Nevertheless thanks for the support! |
OK we talk tomorrow
José CardeLL
…-------- Mensaje original --------
El 7 nov. 2022 23:58, Petr Hodina escribió:
Okay, I'll test it on Debain tomorrow to see if the issue is the device itself or me packaging for GNU Guix.
However, these steps I already applied. But it might be the way how Guix is structured that it might need some patch.
Nevertheless thanks for the support!
—
Reply to this email directly, [view it on GitHub](#666 (comment)), or [unsubscribe](https://github.com/notifications/unsubscribe-auth/A4ARHQAKDDPAIK4AZUK56O3WHGCRLANCNFSM5MBCJX6A).
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
hello, have you managed to do it?
José CardeLL
…-------- Mensaje original --------
El 7 nov. 2022 23:58, Petr Hodina escribió:
Okay, I'll test it on Debain tomorrow to see if the issue is the device itself or me packaging for GNU Guix.
However, these steps I already applied. But it might be the way how Guix is structured that it might need some patch.
Nevertheless thanks for the support!
—
Reply to this email directly, [view it on GitHub](#666 (comment)), or [unsubscribe](https://github.com/notifications/unsubscribe-auth/A4ARHQAKDDPAIK4AZUK56O3WHGCRLANCNFSM5MBCJX6A).
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Hi, yes I ran the commands on Fedora. The However I've been able to read the cards using Therefore the NFC reader/writer device is functional. Regarding the LED. It stays Red the whole time. When reading card it turns Green and after it goes back to Red. Here are some logs from GNU Guix.
For some reason the
|
Based on the debug info do you @Gnu-Hack think that the HW reader I have is different inside? I mean it responds differently than what the library expects. My assumption is based on the TX is the byte array that's send over USB for configuration and RX is the respond from the device. |
what is your reader?
José CardeLL
…-------- Mensaje original --------
El 10 nov. 2022 7:56, Petr Hodina escribió:
Based on the debug info do you ***@***.***(https://github.com/Gnu-Hack) think that the HW reader I have is different inside? I mean it responds differently than what the library expects.
My assumption is based on the TX is the byte array that's send over USB for configuration and RX is the respond from the device.
—
Reply to this email directly, [view it on GitHub](#666 (comment)), or [unsubscribe](https://github.com/notifications/unsubscribe-auth/A4ARHQC5A2F44BDX3T54ISLWHSMBLANCNFSM5MBCJX6A).
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Well it enumerates as:
The text on the back of the NFC device says:
|
@Gnu-Hack any thoughts? |
I have the same problem with a new installation of Ubuntu Desktop 22.04.04 But the problem that i have found is in the libnfc6.... follow my guide for another problem...that resolve also this problem |
Hi,
I'm new to Libnfc.
I'd like to use my ACR122U to read (or more) badges and cards, and I installed Kali on a USB stick.
I start it on a pc on boot, and I installed everything, and it seemed to be working.
But everytime I do a nfc list , I got the following error message:
error libnfc.driver.acr122_usb Command Code verification failed
I believe I looked everywhere on the net, and tried a lot of thing, but couldn't find a fix.
Can someone help ?
As I am a newbie, I copy/paste code, so if anything more complicated is requested, please be patient.
The text was updated successfully, but these errors were encountered: