Skip to content

Commit

Permalink
Framework 16: udev rules for keyboard config
Browse files Browse the repository at this point in the history
Add a udev rule to allow the keyboard modules to be reconfigured.
  • Loading branch information
me-and authored and mergify[bot] committed Sep 29, 2024
1 parent e88d371 commit 25e16f6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions framework/16-inch/common/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@
services.udev.extraRules = ''
# Ethernet expansion card support
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
Expand Down

0 comments on commit 25e16f6

Please sign in to comment.