Closed Prillan closed 3 years ago
I'd like to get a better understanding for why this is failing before merging the PR. The code does several ioctl
calls both before and after the one that is causing an error. Which Linux distribution and version are you running? With your patch in place, are all other calls succeeding? And the device is then usable?
Of course!
I'm on Ubuntu 20.04.3 LTS. This is the device according to lsusb
:
ID 1050:0407 Yubico.com Yubikey 4 OTP+U2F+CCID
The program/code/library works as expected after the patch has been applied.
Some digging seems to indicate that HIDIOCGRAWUNIQ was added in Linux kernel 5.6 (late 2019), so anything older is expected to have this issue. I'll merge the PR and try to get a release out shortly. Thanks!
Ah!
Thanks a lot for your quick help/review/merge!
Hi!
I just upgraded to 0.9.2 and it looks like it can't find my Yubikey. I've managed to find the offending commit (6bc40d1) with
git bisect
:Any thoughts?
EDIT: Fails here: