l aergia.r: reinit usb after docking
This commit is contained in:
parent
9b9e64fb6b
commit
4aff1a4985
@ -99,4 +99,8 @@
|
|||||||
|
|
||||||
# firefox touchscreen support
|
# firefox touchscreen support
|
||||||
environment.sessionVariables.MOZ_USE_XINPUT2 = "1";
|
environment.sessionVariables.MOZ_USE_XINPUT2 = "1";
|
||||||
|
# reinit usb after docking station connect
|
||||||
|
services.udev.extraRules = ''
|
||||||
|
SUBSYSTEM=="drm", ACTION=="change", RUN+="${pkgs.dash}/bin/dash -c 'echo 0 > /sys/bus/usb/devices/usb9/authorized; echo 1 > /sys/bus/usb/devices/usb9/authorized'"
|
||||||
|
'';
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user