Skip to content

Commit

Permalink
Add udev rules for hid bootloaders (#4)
Browse files Browse the repository at this point in the history
* Add udev rules for hid bootloaders

* Fix rules to use proper settings

Co-authored-by: Thomas Weißschuh <[email protected]>

* Fix variable names

Co-authored-by: Sergey Vlasov <[email protected]>

Co-authored-by: Thomas Weißschuh <[email protected]>
Co-authored-by: Sergey Vlasov <[email protected]>
  • Loading branch information
3 people authored Aug 17, 2021
1 parent 4430ed5 commit 63cfb2e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions 50-qmk.rules
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,13 @@ SUBSYSTEMS=="usb", ATTRS{idVendor}=="2a03", ATTRS{idProduct}=="0036", ENV{ID_QMK
### Micro
SUBSYSTEMS=="usb", ATTRS{idVendor}=="2a03", ATTRS{idProduct}=="0037", ENV{ID_QMK}="1", ENV{ID_MM_DEVICE_IGNORE}="1"


# hid bootloaders
## QMK HID
SUBSYSTEMS=="usb", ATTRS{idVendor}=="03eb", ATTRS{idProduct}=="2067", ENV{ID_QMK}="1"
## PJRC's HalfKay
SUBSYSTEMS=="usb", ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="0478", ENV{ID_QMK}="1"

SUBSYSTEM=="hidraw", KERNEL=="hidraw*", IMPORT{program}="qmk_id %S%p"

# grant access to *all* hidraw devices
Expand Down

0 comments on commit 63cfb2e

Please sign in to comment.