ACR122U ubuntu 10.04. usb.USBError: could not claim interface 0: Device or resource busy
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nfcpy |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
I have ACR122u working under ubuntu 10.04
for example I do:
[04:09:15] /home/elulamp/
PC/SC device scanner
V 1.4.16 (c) 2001-2009, Ludovic Rousseau <email address hidden>
Compiled with PC/SC lite version: 1.5.3
Scanning present readers...
0: ACS ACR122U 00 00
Tue Dec 27 04:09:27 2011
Reader 0: ACS ACR122U 00 00
Card state: Card inserted,
ATR: 3B 8F 80 01 80 4F 0C A0 00 00 03 06 03 FF 40 00 00 00 00 D4
ATR: 3B 8F 80 01 80 4F 0C A0 00 00 03 06 03 FF 40 00 00 00 00 D4
+ TS = 3B --> Direct Convention
+ T0 = 8F, Y(1): 1000, K: 15 (historical bytes)
TD(1) = 80 --> Y(i+1) = 1000, Protocol T = 0
-----
TD(2) = 01 --> Y(i+1) = 0000, Protocol T = 1
-----
+ Historical bytes: 80 4F 0C A0 00 00 03 06 03 FF 40 00 00 00 00
Category indicator byte: 80 (compact TLV data object)
Tag: 4, len: F (initial access data)
Initial access data: 0C A0 00 00 03 06 03 FF 40 00 00 00 00
+ TCK = D4 (correct checksum)
Possibly identified card (using /home/elulamp/
3B 8F 80 01 80 4F 0C A0 00 00 03 06 03 FF 40 00 00 00 00 D4
3B 8F 80 01 80 4F 0C A0 00 00 03 06 03 .. .. 00 00 00 00 ..
RFID - ISO 14443 Type A Part 3 (as per PCSC std part3)
Now I will try to use nfcpy:
[04:03:46] /home/elulamp/
Python 2.6.7 (r267:88850, Dec 27 2011, 02:24:28)
[GCC 4.4.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import nfc
>>> c = nfc.Contactless
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "nfc/clf.py", line 42, in __init__
self.dev = dev.connect(path)
File "nfc/dev/
return driver.init(dev)
File "nfc/dev/
bus = acr122_usb(usb_dev)
File "nfc/dev/
self.
usb.USBError: could not claim interface 0: Device or resource busy
and if I do now pcsc_scan again I get this
PC/SC device scanner
V 1.4.16 (c) 2001-2009, Ludovic Rousseau <email address hidden>
Compiled with PC/SC lite version: 1.5.3
Scanning present readers...
0: ACS ACR122U 00 00
Tue Dec 27 04:07:54 2011
Reader 0: ACS ACR122U 00 00
Card state: Status unavailable,
It seems nfcpy "blocks" somehow my acr122
Oh and acr122 firmware is ACR122U207