tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
wooting: update udev rules
Joshua Trees
2 years ago
519d8cf9
1a14c8d6
+16
-4
2 changed files
expand all
collapse all
unified
split
pkgs
os-specific
linux
wooting-udev-rules
default.nix
wooting.rules
+3
-3
pkgs/os-specific/linux/wooting-udev-rules/default.nix
···
2
3
stdenv.mkDerivation rec {
4
pname = "wooting-udev-rules";
5
-
version = "20210525";
6
7
-
# Source: https://wooting.helpscoutdocs.com/article/68-wootility-configuring-device-access-for-wootility-under-linux-udev-rules
8
src = [ ./wooting.rules ];
9
10
dontUnpack = true;
···
14
'';
15
16
meta = with lib; {
17
-
homepage = "https://wooting.helpscoutdocs.com/article/34-linux-udev-rules";
18
description = "udev rules that give NixOS permission to communicate with Wooting keyboards";
19
platforms = platforms.linux;
20
license = "unknown";
···
2
3
stdenv.mkDerivation rec {
4
pname = "wooting-udev-rules";
5
+
version = "unstable-2023-03-31";
6
7
+
# Source: https://help.wooting.io/en/article/wootility-configuring-device-access-for-wootility-under-linux-udev-rules-r6lb2o/
8
src = [ ./wooting.rules ];
9
10
dontUnpack = true;
···
14
'';
15
16
meta = with lib; {
17
+
homepage = "https://help.wooting.io/en/article/wootility-configuring-device-access-for-wootility-under-linux-udev-rules-r6lb2o/";
18
description = "udev rules that give NixOS permission to communicate with Wooting keyboards";
19
platforms = platforms.linux;
20
license = "unknown";
+13
-1
pkgs/os-specific/linux/wooting-udev-rules/wooting.rules
···
20
SUBSYSTEM=="hidraw", ATTRS{idVendor}=="31e3", ATTRS{idProduct}=="1102", MODE:="0660", GROUP="input"
21
SUBSYSTEM=="usb", ATTRS{idVendor}=="31e3", ATTRS{idProduct}=="1102", MODE:="0660", GROUP="input"
22
23
-
24
# Wooting Two
25
SUBSYSTEM=="hidraw", ATTRS{idVendor}=="31e3", ATTRS{idProduct}=="1200", MODE:="0660", GROUP="input"
26
SUBSYSTEM=="usb", ATTRS{idVendor}=="31e3", ATTRS{idProduct}=="1200", MODE:="0660", GROUP="input"
···
56
57
# Wooting Two HE update mode
58
SUBSYSTEM=="hidraw", ATTRS{idVendor}=="31e3", ATTRS{idProduct}=="122f", MODE:="0660", GROUP="input"
0
0
0
0
0
0
0
0
0
0
0
0
0
59
60
# Wooting 60HE
61
SUBSYSTEM=="hidraw", ATTRS{idVendor}=="31e3", ATTRS{idProduct}=="1300", MODE:="0660", GROUP="input"
···
20
SUBSYSTEM=="hidraw", ATTRS{idVendor}=="31e3", ATTRS{idProduct}=="1102", MODE:="0660", GROUP="input"
21
SUBSYSTEM=="usb", ATTRS{idVendor}=="31e3", ATTRS{idProduct}=="1102", MODE:="0660", GROUP="input"
22
0
23
# Wooting Two
24
SUBSYSTEM=="hidraw", ATTRS{idVendor}=="31e3", ATTRS{idProduct}=="1200", MODE:="0660", GROUP="input"
25
SUBSYSTEM=="usb", ATTRS{idVendor}=="31e3", ATTRS{idProduct}=="1200", MODE:="0660", GROUP="input"
···
55
56
# Wooting Two HE update mode
57
SUBSYSTEM=="hidraw", ATTRS{idVendor}=="31e3", ATTRS{idProduct}=="122f", MODE:="0660", GROUP="input"
58
+
59
+
# Wooting Two HE (ARM)
60
+
SUBSYSTEM=="hidraw", ATTRS{idVendor}=="31e3", ATTRS{idProduct}=="1230", MODE:="0660", GROUP="input"
61
+
SUBSYSTEM=="usb", ATTRS{idVendor}=="31e3", ATTRS{idProduct}=="1230", MODE:="0660", GROUP="input"
62
+
# Wooting Two HE Alt-gamepad mode
63
+
SUBSYSTEM=="hidraw", ATTRS{idVendor}=="31e3", ATTRS{idProduct}=="1231", MODE:="0660", GROUP="input"
64
+
SUBSYSTEM=="usb", ATTRS{idVendor}=="31e3", ATTRS{idProduct}=="1231", MODE:="0660", GROUP="input"
65
+
# Wooting Two HE 2nd Alt-gamepad mode
66
+
SUBSYSTEM=="hidraw", ATTRS{idVendor}=="31e3", ATTRS{idProduct}=="1232", MODE:="0660", GROUP="input"
67
+
SUBSYSTEM=="usb", ATTRS{idVendor}=="31e3", ATTRS{idProduct}=="1232", MODE:="0660", GROUP="input"
68
+
69
+
# Wooting Two HE (ARM) update mode
70
+
SUBSYSTEM=="hidraw", ATTRS{idVendor}=="31e3", ATTRS{idProduct}=="123f", MODE:="0660", GROUP="input"
71
72
# Wooting 60HE
73
SUBSYSTEM=="hidraw", ATTRS{idVendor}=="31e3", ATTRS{idProduct}=="1300", MODE:="0660", GROUP="input"