/
Linux hints

Linux hints

In Linux the DeviceAPI looks for HID devices through the hidraw driver.
When attached to a machine, udev typically creates device nodes such as /dev/hidraw*.
The user running the DeviceAPI needs access permissions to these device nodes.
Otherwise communication fails.

One way to do that is to add a udev rules such as
KERNEL=="hidraw*", SUBSYSTEM=="hidraw", MODE="0666"
to gives read and write permissions to all users.

To make the rule only apply to devices with the vendor ID 0x22c9, use
KERNEL=="hidraw*", SUBSYSTEM=="hidraw", MODE="0666", ATTRS{idVendor}=="22c9"

Udev rules are to be put into /etc/udev/rules.d/. See man udev(7) for more info.

See also: USB-HID with Linux

Related content

UnlockDevice
More like this
4. StepOver PadSettings
4. StepOver PadSettings
More like this
Driver Options
More like this
Server (Citrix)
Server (Citrix)
More like this
Server (TCP) for 64 bit applications
Server (TCP) for 64 bit applications
More like this
SetDriverOptions
SetDriverOptions
More like this