Simon Bruder
f31fb7dc5d
If it is plugged in for a longer time (a few minutes are enough), at least on mayushii, the dock hangs and will not respond unless the system is rebooted (re-plugging, restarting the dock and suspending does not work). I couldn’t figure out why this is happening.
22 lines
765 B
Nix
22 lines
765 B
Nix
{
|
|
services.udev.extraRules = /* udevrules */ ''
|
|
# ST-Link
|
|
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="3748", \
|
|
MODE:="0666"
|
|
|
|
# Steam emulated controller
|
|
KERNEL=="uinput", SUBSYSTEM=="misc", TAG+="uaccess", OPTIONS+="static_node=uinput"
|
|
|
|
# Nintendo Switch Pro Controller over USB hidraw
|
|
KERNEL=="hidraw*", ATTRS{idVendor}=="057e", ATTRS{idProduct}=="2009", MODE="0660", GROUP="users", TAG+="uaccess"
|
|
|
|
# Nintendo Switch Pro Controller over bluetooth hidraw
|
|
KERNEL=="hidraw*", KERNELS=="*057E:2009*", MODE="0660", GROUP="users", TAG+="uaccess"
|
|
|
|
# TI-84+ SE
|
|
SUBSYSTEM=="usb", ATTRS{idVendor}=="0451", ATTRS{idProduct}=="e008", MODE="0660", GROUP="users"
|
|
'';
|
|
|
|
boot.kernelModules = [ "uinput" ];
|
|
}
|