Windows + ACR122U = Couldn't find any usable nfc reader.

Asked by OB

I'm getting the below error...

No handlers could be found for logger "nfc.clf"
Traceback (most recent call last):
  File "helloworld.py", line 66, in <module>
    main()
  File "helloworld.py", line 34, in main
    clf = nfc.ContactlessFrontend()
  File "C:\Python26\Lib\nfc\clf.py", line 58, in __init__
    raise LookupError("couldn't find any usable nfc reader")
LookupError: couldn't find any usable nfc reader

I have set the paths to all the libs properly.
I have all needed dependent libs installed.
I am on Windows XP. I cannot run this in Linux :( As we have other windows depended programs and don't want to double up on the boxes.

My NFC reader is the ACR122U. Copy and paste the HTML into a file to view .

<<START>>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<html><head><title>USB Devices List</title></head>
<body>
 <h3>USB Devices List</h3>
<br><h4>Created by using <a href="http://www.nirsoft.net/" target="newwin">USBDeview</a></h4><p><table border="1" cellpadding="5"><tr bgcolor="E0E0E0">
<th>Device Name
<th>Description
<th>Device Type
<th>Connected
<th>Safe To Unplug
<th>Disabled
<th>USB Hub
<th>Drive Letter
<th>Serial Number
<th>Created Date
<th>Last Plug/Unplug Date
<th>VendorID
<th>ProductID
<th>Firmware Revision
<th>USB Class
<th>USB SubClass
<th>USB Protocol
<th>Hub / Port
<th>Computer Name
<th>Vendor Name
<th>Product Name
<th>ParentId Prefix
<th>Service Name
<th>Service Description
<th>Driver Filename
<th>Device Class
<th>Device Mfg
<th>Power
<th>USB Version
<th>Driver Description
<th>Driver Version
<th>Instance ID
<tr><td bgcolor=#FFFFF0 nowrap>ACR122U PICC Interface<td bgcolor=#FFFEF0 nowrap>ACR122 Smart Card Reader<td bgcolor=#FFFDF0 nowrap>Smart Card<td bgcolor=#FFFCF0 nowrap>Yes<td bgcolor=#FFFBF0 nowrap>Yes<td bgcolor=#FFFAF0 nowrap>No<td bgcolor=#FFF9F0 nowrap>No<td bgcolor=#FFF8F0 nowrap>&nbsp;<td bgcolor=#FFF7F0 nowrap>&nbsp;<td bgcolor=#FFF6F0 nowrap>12/8/2012 11:43:26 AM<td bgcolor=#FFF5F0 nowrap>12/8/2012 11:43:30 AM<td bgcolor=#FFF4F0 nowrap>072f<td bgcolor=#FFF3F0 nowrap>2200<td bgcolor=#FFF2F0 nowrap>2.07<td bgcolor=#FFF1F0 nowrap>0b<td bgcolor=#FFF0F0 nowrap>00<td bgcolor=#FEF0F0 nowrap>00<td bgcolor=#FDF0F1 nowrap>Hub 2, Port 2<td bgcolor=#FCF0F2 nowrap>&nbsp;<td bgcolor=#FBF0F3 nowrap>&nbsp;<td bgcolor=#FAF0F4 nowrap>&nbsp;<td bgcolor=#F9F0F5 nowrap>&nbsp;<td bgcolor=#F8F0F6 nowrap>ACR122U<td bgcolor=#F7F0F7 nowrap>ACR122 Smart Card Reader<td bgcolor=#F6F0F8 nowrap>acr122.sys<td bgcolor=#F5F0F9 nowrap>SmartCardReader<td bgcolor=#F4F0FA nowrap>ACS<td bgcolor=#F3F0FB nowrap>200 mA<td bgcolor=#F2F0FC nowrap>1.10<td bgcolor=#F1F0FD nowrap>ACR122 Smart Card Reader<td bgcolor=#F0F0FE nowrap>1.1.6.3<td bgcolor=#F0F0FF nowrap>USB\Vid_072f&amp;Pid_2200\5&amp;2f9c33b4&amp;0&amp;2
</table>

</body></html>
<<END>>

Question information

Language:
English Edit question
Status:
Answered
For:
nfcpy Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Stephen Tiedemann (stephen-tiedemann) said :
#1

I do see from the HTML that the reader is used by an acr122.sys driver, but to work with nfcpy it must be accessible through libusb. Have you installed libusb for Windows as described in an FAQ at https://answers.launchpad.net/nfcpy/+faqs?

Revision history for this message
OB (y-cosey-n) said :
#2

Setup the device with LibUSB.
Still not working.
I'm using the newest versions of pyUSB - under python 2.7.

Either way I got it working in Linux and will likely work with it on that setup.

Can you help with this problem?

Provide an answer of your own, or ask OB for more information if necessary.

To post a message you must log in.