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
linux libusb support #309
Comments
The problem as it stood back when I last looked was that |
Oh, looks like there was further movement on prebuild/prebuild#169 and it may be fixed. Looking into it now... |
OK, from my test I think that it does now work. As far as I can tell I followed the flow the files would have gone exactly, except for the http transfers but that wouldnt affect the file contents. Thanks, it would be great to have this fixed :) |
Testing it now and yes it appears both What does libusb give you that hidraw doesn't? (Just curious. There was a big push to move HID stuff to hidraw because of the deficiencies of libusb |
Thats great to hear I am trying to use https://github.com/Lange/node-elgato-stream-deck |
Oh right, that hidraw report size limit! I mean they're not wrong that it's not what HID is for, but still :) |
I can confirm that the 0.7.9 release done works well. |
It has been a while since the problems in #242 were found, so I have had a play to see if libusb is still blocked on the same problems.
With some minimal mods to build HID-libusb.node, it appears to just work for me. Am I missing something in what is really wrong, or does this mean it now works?
The steps followed:
git checkout v0.7.8
npm install
./node_modules/.bin/prebuild -t 8.16.0
cp prebuilds/node-hid-v0.7.8-node-v57-linux-x64.tar.gz ~/.npm/_prebuilds/c457b7-node-hid-v0.7.8-node-v57-linux-x64.tar.gz
to inject into the npm prebuild cachenpm install
and modify node_modules/node-hid/nodehid.js with the followingThe text was updated successfully, but these errors were encountered: