You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Both blink1-tool and blink1-mini-tool have a hiddata.c. This is an alternate, simpler and, for Linux, a libusb-0.1-based way of talking to USB HID devices. The normal preferred way is to use hidapi.
The hiddata.c in blink1-mini-tool attempts to detach the (Linux) kernel driver if it has claimed it for the device and then reattach it when done. Some Linux kernel configurations can be zealous about what USB devices it decides to own. At you may expect, detach/reattach can be a dangerous thing to do. So it's relegated to blink1-mini-tool, which is sort of a last-ditch attempt to talk to blink(1) on minimal embedded Linux systems like WRT routers.
This should be documented somewhere. I need to figure out where.
The text was updated successfully, but these errors were encountered:
Both
blink1-tool
andblink1-mini-tool
have ahiddata.c
. This is an alternate, simpler and, for Linux, a libusb-0.1-based way of talking to USB HID devices. The normal preferred way is to usehidapi
.The
hiddata.c
inblink1-mini-tool
attempts to detach the (Linux) kernel driver if it has claimed it for the device and then reattach it when done. Some Linux kernel configurations can be zealous about what USB devices it decides to own. At you may expect, detach/reattach can be a dangerous thing to do. So it's relegated toblink1-mini-tool
, which is sort of a last-ditch attempt to talk to blink(1) on minimal embedded Linux systems like WRT routers.This should be documented somewhere. I need to figure out where.
The text was updated successfully, but these errors were encountered: