Skip to content

Commit

Permalink
Fix udev rule subsystem
Browse files Browse the repository at this point in the history
Both rules were present in my system, but the hidraw version is
the one needed for web-hid. This matches what other projects
have documented
  • Loading branch information
nickswalker authored Feb 28, 2024
1 parent 5023c8f commit 6a13c5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ We have tested this code under Ubuntu 22.04. Note that WebHID is only [supported
Using (Ubuntu) Linux, in order to get access from user space, add the following, using the USB Vendor ID returned from `lsusb` to a udev rules file (e.g. `/etc/udev/rules/50-3d-mouse.rules`):

```
SUBSYSTEM=="usb", ATTRS{idVendor}=="046d", MODE:="0666", GROUP="input"
SUBSYSTEM=="hidraw", ATTRS{idVendor}=="046d", MODE:="0666", GROUP="input"
```

And run `sudo udevadm control --reload-rules && sudo udevadm trigger`
Expand Down

0 comments on commit 6a13c5e

Please sign in to comment.