-
Notifications
You must be signed in to change notification settings - Fork 129
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Detect Reader #116
Comments
@lottafederico by any chance, did you find out anything? |
I have exactly the same issue, but with pi 3. Did you manage to find a solution to this? |
I found out that it is likely a ACR122U reader firmware issue. I was able to find some references such as this and verified from the pcscd logs that it was unable to enumerate the device unless a complete power reset (i.e. replug of RPi power or the ACR122U itself) was done. I also experimented running pcscd on the foreground (with verbose logging) and issuing USB reset to the device - the results were odd, the ACR122U was functioning after about 20% of all resets. |
For our topology we finally found a solution, as it is not an option to unplug the usb physically.
And at package.json we start this way:
It's working like a charm! |
I'm using the ACR122u with a raspberry pi, the library works like a charm but when I reboot the Pi and the application start (automatically with Pm2) it doesn't detect the reader. The only way is to unplug and plug the reader again. I was using uhubctl library to phisically turn on/on the usb ports simulating the unplug but the Pi Zero doesn't support this feature. I've tried to use the node-pcsclite library and call pcsc.close() but doesn't work. The pi actually detect the reader (test done with lsusb). Any suggest? Thanks
The text was updated successfully, but these errors were encountered: