I want to use my ACR122U contact-less smart card reader in Ubuntu 14 smarty. So I installed my required packages and drivers.
Finally when I want to use the reader I receive the following error:
rc@rc-System-Product-Name:~/Desktop/itsme$ sudo nfc-list
[sudo] password for rc:
nfc-list uses libnfc 1.7.0
error libnfc.driver.acr122_usb Unable to claim USB interface (Device or resource busy)
nfc-list: ERROR: Unable to open NFC device: acr122_usb:001:020
rc@rc-System-Product-Name:~/Desktop/itsme$
rc@rc-System-Product-Name:~/Desktop/itsme$ sudo mfoc -O output.txt
error libnfc.driver.acr122_usb Unable to claim USB interface (Device or resource busy)
No NFC device found.
rc@rc-System-Product-Name:~/Desktop/itsme$
It seems that my reader is in use with a kernel tool. I searched a lot. there are a lot of people that had the same issue already, but I couldn't find my answer among them.
Does anybody has any idea how I can resolve this problem? (By reclaiming the device, for example)
Works for me.
A quick-and-dirty solution:
If you have kernel version > 3.5,
nfs-list
andpcscd
will report this error due to the automatic load ofpn533
driver.To read the
pcscd
dameon output you can run it using:pcscd -f -d
uname -a
Blacklist
pn533
andnfc
drivers (references: Arch Linux wiki Touchatag RFID Reader, nfc-tools forum):Add the following lines:
Disable kernel modules:
Restart the
pcscd
daemon:sudo service pcscd restart
Here you can fine a small program to test your ACR122U reader and a more detailed guide.