View Revisions: Issue #385

Summary 0000385: ACS ACR122U init failed: device or resource busy
Revision 2014-07-02 19:24 by rijkr
Description $ tail -f /var/log/syslog
Jun 14 10:17:48 raspberrypi pcscd: ccid_usb.c:575:OpenUSBByName() Can't claim interface 001/008: Device or resource busy
Jun 14 10:17:49 raspberrypi pcscd: ifdhandler.c:118:IFDHCreateChannelByName() failed
Jun 14 10:17:49 raspberrypi pcscd: readerfactory.c:972:RFInitializeReader() Open Port 0x200000 Failed (usb:072f/2200:libudev:0:/dev/bus/usb/001/008)
Jun 14 10:17:49 raspberrypi pcscd: readerfactory.c:279:RFAddReader() ACS ACR122U init failed.

$ uname -a
Linux raspberrypi 3.12.22+ 0000691 PREEMPT Wed Jun 18 18:29:58 BST 2014 armv6l GNU/Linux

Older Raspberry Pi worked fine:
Linux pi-demo 3.6.11+ 0000538 PREEMPT Fri Aug 30 20:42:08 BST 2013 armv6l GNU/Linux

SOLUTION: https://wiki.archlinux.org/index.php/Touchatag_RFID_Reader : "When the ACR122U plug in, kernel(>3.5) will automatic load the pn533 driver. With the pn533 driver, pcscd will report "Can't claim interface" error. Use below command to disable pn533 and nfc driver in kernel." ...

$ sudo vi /etc/modprobe.d/blacklist.conf
# ... and make sure that the file contains the following 2 lines:
install nfc /bin/false
install pn533 /bin/false

Also see: http://www.libnfc.org/community/topic/1241/raspberry-pi-acr122-unable-to-claim-usb-interface-device-busy/
(also pointing at blacklisting pn533 and nfc drivers, did not try this solution though, since the above one works fine)


Revision 2014-07-02 19:20 by rijkr
Description $ tail -f /var/log/syslog
Jun 14 10:17:48 raspberrypi pcscd: ccid_usb.c:575:OpenUSBByName() Can't claim interface 001/008: Device or resource busy
Jun 14 10:17:49 raspberrypi pcscd: ifdhandler.c:118:IFDHCreateChannelByName() failed
Jun 14 10:17:49 raspberrypi pcscd: readerfactory.c:972:RFInitializeReader() Open Port 0x200000 Failed (usb:072f/2200:libudev:0:/dev/bus/usb/001/008)
Jun 14 10:17:49 raspberrypi pcscd: readerfactory.c:279:RFAddReader() ACS ACR122U init failed.

$ uname -a
Linux raspberrypi 3.12.22+ 0000691 PREEMPT Wed Jun 18 18:29:58 BST 2014 armv6l GNU/Linux

See: http://www.libnfc.org/community/topic/1241/raspberry-pi-acr122-unable-to-claim-usb-interface-device-busy/

Older Raspberry Pi worked fine:
Linux pi-demo 3.6.11+ 0000538 PREEMPT Fri Aug 30 20:42:08 BST 2013 armv6l GNU/Linux

SOLUTION: https://wiki.archlinux.org/index.php/Touchatag_RFID_Reader : "When the ACR122U plug in, kernel(>3.5) will automatic load the pn533 driver. With the pn533 driver, pcscd will report "Can't claim interface" error. Use below command to disable pn533 and nfc driver in kernel." ...

$ sudo vi /etc/modprobe.d/blacklist.conf
# ... and make sure that the file contains the following 2 lines:
install nfc /bin/false
install pn533 /bin/false

Revision 2014-07-02 19:19 by rijkr
Description $ tail -f /var/log/syslog
Jun 14 10:17:48 raspberrypi pcscd: ccid_usb.c:575:OpenUSBByName() Can't claim interface 001/008: Device or resource busy
Jun 14 10:17:49 raspberrypi pcscd: ifdhandler.c:118:IFDHCreateChannelByName() failed
Jun 14 10:17:49 raspberrypi pcscd: readerfactory.c:972:RFInitializeReader() Open Port 0x200000 Failed (usb:072f/2200:libudev:0:/dev/bus/usb/001/008)
Jun 14 10:17:49 raspberrypi pcscd: readerfactory.c:279:RFAddReader() ACS ACR122U init failed.

$ uname -a
Linux raspberrypi 3.12.22+ 0000691 PREEMPT Wed Jun 18 18:29:58 BST 2014 armv6l GNU/Linux

See: http://www.libnfc.org/community/topic/1241/raspberry-pi-acr122-unable-to-claim-usb-interface-device-busy/

Older Raspberry Pi worked fine:
Linux pi-demo 3.6.11+ 0000538 PREEMPT Fri Aug 30 20:42:08 BST 2013 armv6l GNU/Linux

SOLUTION: https://wiki.archlinux.org/index.php/Touchatag_RFID_Reader : "When the ACR122U plug in, kernel(>3.5) will automatic load the pn533 driver. With the pn533 driver, pcscd will report "Can't claim interface" error. use below command to disable pn533 and nfc driver in kernel." So:

$ sudo vi /etc/modprobe.d/blacklist.conf
# ... and make sure that the file contains the following 2 lines:
install nfc /bin/false
install pn533 /bin/false

Revision 2014-06-26 09:31 by rijkr
Description $ tail -f /var/log/syslog
Jun 14 10:17:48 raspberrypi pcscd: ccid_usb.c:575:OpenUSBByName() Can't claim interface 001/008: Device or resource busy
Jun 14 10:17:49 raspberrypi pcscd: ifdhandler.c:118:IFDHCreateChannelByName() failed
Jun 14 10:17:49 raspberrypi pcscd: readerfactory.c:972:RFInitializeReader() Open Port 0x200000 Failed (usb:072f/2200:libudev:0:/dev/bus/usb/001/008)
Jun 14 10:17:49 raspberrypi pcscd: readerfactory.c:279:RFAddReader() ACS ACR122U init failed.

$ uname -a
Linux raspberrypi 3.12.20+ 0000687 PREEMPT Fri May 30 16:39:11 BST 2014 armv6l GNU/Linux

See: http://www.libnfc.org/community/topic/1241/raspberry-pi-acr122-unable-to-claim-usb-interface-device-busy/

Older Raspberry Pi worked fine:
Linux pi-demo 3.6.11+ 0000538 PREEMPT Fri Aug 30 20:42:08 BST 2013 armv6l GNU/Linux

FIXED with new update:
Linux raspberrypi 3.12.22+ 0000691 PREEMPT Wed Jun 18 18:29:58 BST 2014 armv6l GNU/Linux
Revision 2014-06-14 11:56 by rijkr
Description $ tail -f /var/log/syslog
Jun 14 10:17:48 raspberrypi pcscd: ccid_usb.c:575:OpenUSBByName() Can't claim interface 001/008: Device or resource busy
Jun 14 10:17:49 raspberrypi pcscd: ifdhandler.c:118:IFDHCreateChannelByName() failed
Jun 14 10:17:49 raspberrypi pcscd: readerfactory.c:972:RFInitializeReader() Open Port 0x200000 Failed (usb:072f/2200:libudev:0:/dev/bus/usb/001/008)
Jun 14 10:17:49 raspberrypi pcscd: readerfactory.c:279:RFAddReader() ACS ACR122U init failed.

$ uname -a
Linux raspberrypi 3.12.20+ 0000687 PREEMPT Fri May 30 16:39:11 BST 2014 armv6l GNU/Linux

See: http://www.libnfc.org/community/topic/1241/raspberry-pi-acr122-unable-to-claim-usb-interface-device-busy/

Older Raspberry Pi worked fine:
Linux pi-demo 3.6.11+ 0000538 PREEMPT Fri Aug 30 20:42:08 BST 2013 armv6l GNU/Linux
Revision 2014-06-14 11:37 by rijkr
Description $ tail -f /var/log/syslog
Jun 14 10:17:48 raspberrypi pcscd: ccid_usb.c:575:OpenUSBByName() Can't claim interface 001/008: Device or resource busy
Jun 14 10:17:49 raspberrypi pcscd: ifdhandler.c:118:IFDHCreateChannelByName() failed
Jun 14 10:17:49 raspberrypi pcscd: readerfactory.c:972:RFInitializeReader() Open Port 0x200000 Failed (usb:072f/2200:libudev:0:/dev/bus/usb/001/008)
Jun 14 10:17:49 raspberrypi pcscd: readerfactory.c:279:RFAddReader() ACS ACR122U init failed.

$ uname -a
Linux raspberrypi 3.12.20+ 0000687 PREEMPT Fri May 30 16:39:11 BST 2014 armv6l GNU/Linux

See: http://www.libnfc.org/community/topic/1241/raspberry-pi-acr122-unable-to-claim-usb-interface-device-busy/

Revision 2014-06-14 11:35 by rijkr
Description http://www.libnfc.org/community/topic/1241/raspberry-pi-acr122-unable-to-claim-usb-interface-device-busy/

$ uname -a
Linux raspberrypi 3.12.20+ 0000687 PREEMPT Fri May 30 16:39:11 BST 2014 armv6l GNU/Linux

$ tail -f /var/log/syslog
Jun 14 10:17:48 raspberrypi pcscd: ccid_usb.c:575:OpenUSBByName() Can't claim interface 001/008: Device or resource busy
Jun 14 10:17:49 raspberrypi pcscd: ifdhandler.c:118:IFDHCreateChannelByName() failed
Jun 14 10:17:49 raspberrypi pcscd: readerfactory.c:972:RFInitializeReader() Open Port 0x200000 Failed (usb:072f/2200:libudev:0:/dev/bus/usb/001/008)
Jun 14 10:17:49 raspberrypi pcscd: readerfactory.c:279:RFAddReader() ACS ACR122U init failed.