usb 3711 reader not found

Asked by Jules Jenson

When I run tagtool.py I get a USBerror. could not set config1.device or resource busy
If i enter a python shell and try to import nfc I get the error no module named nfc.

Any ideas on what is going on?

I am running ubuntu 12.04LTS 32 bit.

I know that the reader is good as it works with SCM SDK demo programs.

Thanks

Jules

Question information

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

Most likely your SCL3711 is claimed by the pn533 kernel driver that comes with the nfc subsystem since Ubuntu 12.04. You can verify with "lsmod | grep pn533". Use "modprobe -r pn533" to get the reader for use with nfcpy, you can make that choice persistent with a "blacklist pn533" entry in /etc/modprobe.d/blacklist.conf.

To be able to do "import nfc" you'll need to run off the directory on top of "nfc/...", i.e. your branch directory. Source code in the examples sections does programatically insert the path to nfc/ into the python module search path (look for the line before "import nfc" to see how that's done). You can also set the PYTHON_PATH environment variable if you're not intending to work with multiple branches.

Revision history for this message
Jules Jenson (julesjenson-8) said :
#2

Thanks, that has got me started.