marcus905 / libnfc

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

PN533 lost after some DEP tests #233

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

Without reader attached:

$ make check

Plug 2 PN533 strapped together for p2p, then

$ cutter -t /dep_active/ test
=> ok

$ nfc-list
nfc-list uses libnfc libnfc-1.7.0-rc4-6-g11c1a3a
error   libnfc.driver.pn53x_usb Unable to set USB configuration (Connection timed 
out)
error   libnfc.driver.pn53x_usb Unable to set USB configuration (Connection timed 
out)
No NFC device found.

Original issue reported on code.google.com by yob...@gmail.com on 21 Feb 2013 at 5:33

GoogleCodeExporter commented 9 years ago
Note that PN533 has USB descriptors corruption issues but I don't think it's 
related here:
=> I can corrupt them manually with a long command (and check corruption with 
RAM dump), it's not a problem to talk to them later. Issue is only related to 
USB bus reset & enumeration I think.
=> cutter -t /dep_active/ test corrupts indeed the descriptors too but even if 
I restore them at pn53x_usb_close(), it does not solve the issue.

Those counter-examples seem to tell the problem is elsewhere...

Original comment by yob...@gmail.com on 21 Feb 2013 at 5:36