mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-11-26 21:09:42 +01:00
Framework 16: udev rules for keyboard config
Add a udev rule to allow the keyboard modules to be reconfigured.
This commit is contained in:
parent
e88d37154f
commit
25e16f6c66
1 changed files with 6 additions and 0 deletions
|
@ -19,6 +19,12 @@
|
||||||
services.udev.extraRules = ''
|
services.udev.extraRules = ''
|
||||||
# Ethernet expansion card support
|
# Ethernet expansion card support
|
||||||
ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="0bda", ATTR{idProduct}=="8156", ATTR{power/autosuspend}="20"
|
ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="0bda", ATTR{idProduct}=="8156", ATTR{power/autosuspend}="20"
|
||||||
|
|
||||||
|
# Allow access to the keyboard modules for programming, for example by
|
||||||
|
# visiting https://keyboard.frame.work with a WebHID-compatible browser.
|
||||||
|
#
|
||||||
|
# https://community.frame.work/t/responded-help-configuring-fw16-keyboard-with-via/47176/5
|
||||||
|
KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="32ac", ATTRS{idProduct}=="0012", MODE="0660", GROUP="users", TAG+="uaccess", TAG+="udev-acl"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
# Needed for desktop environments to detect/manage display brightness
|
# Needed for desktop environments to detect/manage display brightness
|
||||||
|
|
Loading…
Reference in a new issue