marcus905 / libnfc

Automatically exported from code.google.com/p/libnfc
GNU Lesser General Public License v3.0
0 stars 0 forks source link

nfc-list fails with PN533 usb device #221

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Build and install libnfc-1.7.0-rc2 from source
2. Insert NXP PN533 usb NFC reader
3. run sudo nfc-list

What is the expected output? What do you see instead?

I expect a list of nearby nfc tags. Instead I get:

nfc-list uses libnfc libnfc-1.7.0-rc2
error   libnfc.driver.pn53x_usb Unable to set USB configuration (Device or 
resource busy)
No NFC device found.

What version of the product are you using? On what operating system?

libnfc-1.7.0-rc2 on Arch Linux x86_64 with kernel 3.6.11

Please provide any additional information below.

dmesg:

[ 3029.399082] pn533 4-2:1.0: NFC: NXP PN533 firmware ver 2.7 now attached
[ 3034.547509] usb 4-2: usbfs: interface 0 claimed by pn533 while 'nfc-list' 
sets config #1

Original issue reported on code.google.com by la...@lrvick.net on 25 Jan 2013 at 6:16

GoogleCodeExporter commented 9 years ago
Well the dmesg is clear enough:
pn533 kernel driver is loaded and should be removed:
modprobe -r pn533

See Troubleshooting section of README 
(https://code.google.com/p/libnfc/source/browse/README)

Original comment by yob...@gmail.com on 28 Jan 2013 at 8:06

GoogleCodeExporter commented 9 years ago
Ah... fail.

Original comment by la...@lrvick.net on 28 Jan 2013 at 11:12

GoogleCodeExporter commented 9 years ago
It's work for me.. :D

Original comment by hadiarra...@gmail.com on 10 May 2014 at 2:18