Jacek Kowalski
Jacek Kowalski
One thing left and I'm ready to merge it.
Writing NFC driver in kernel would not help at all as pcscd uses completely different protocol to contact the reader and does not deal with NFC stack at all (instead...
Try to do: ``` ./nfc.py reset ``` first. Also try running this with sudo: ``` sudo ./nfc.py on ``` If that doesn't help, please attach the output of `lsmod` command.
BTW, it looks pretty similar to https://github.com/jacekkow/controlvault2-nfc-enable/issues/18 (only that here timeout occurs after the first control command rather than the first data transfer).
If possible, I'd go with setting device object's `default_timeout` (as documented here: https://github.com/pyusb/pyusb/blob/master/docs/tutorial.rst) few lines up (in `__init__`), rather than having a stray argument to one command. Go ahead with...