You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like speed is being set as expected and returns to defaults otherwise, but sensitivity stays locked at 200.
Expected behavior
With the above rules, I expect speed to be set to 60 and sensitivity to be set to 128.
Additional context
I'm using a ThinkPad X220 running NixOS unstable, and Wayland. There's a previous bug report here but I'm not sure how relevant it is now: NixOS/nixos-hardware#56
A bit of an update: I uncommented my rules and ran nixos-rebuild switch:
building Nix...
building the system configuration...
these 3 derivations will be built:
/nix/store/62rbzslp455f3awllxclbp1973bwswpq-system-units.drv
/nix/store/f5qciizlrj9sa3ly5ni8c3kkv1awqgf0-etc.drv
/nix/store/q8dmpspjl2273z038gp5kyk1flb90i6z-nixos-system-chortik-24.05pre601756.44d0940ea560.drv
building '/nix/store/62rbzslp455f3awllxclbp1973bwswpq-system-units.drv'...
building '/nix/store/f5qciizlrj9sa3ly5ni8c3kkv1awqgf0-etc.drv'...
building '/nix/store/q8dmpspjl2273z038gp5kyk1flb90i6z-nixos-system-chortik-24.05pre601756.44d0940ea560.drv'...
updating GRUB 2 menu...
stopping the following units: systemd-udevd-control.socket, systemd-udevd-kernel.socket, systemd-udevd.service
activating the configuration...
setting up /etc...
reloading user units for username...
restarting sysinit-reactivation.target
starting the following units: systemd-udevd-control.socket, systemd-udevd-kernel.socket
the following new units were started: trackpoint.service
...and both sensitivity and speed are now set for my trackpoint, without restarting. I wonder if sensitivity is set to 200 at some stage during startup, but after NixOS's udev rule kicks in?
Describe the bug
I've got the following rules in
configuration.nix
:After running
nixos-rebuild switch
, I see the following rule added in/run/current-system/etc/udev/rules.d/99-local.rules
:On reboot, I can see the following values:
If I remove the rules from
configuration.nix
and restart, I've got the following values:It looks like
speed
is being set as expected and returns to defaults otherwise, butsensitivity
stays locked at200
.Expected behavior
With the above rules, I expect
speed
to be set to 60 andsensitivity
to be set to 128.Additional context
I'm using a ThinkPad X220 running NixOS unstable, and Wayland. There's a previous bug report here but I'm not sure how relevant it is now: NixOS/nixos-hardware#56
Notify maintainers
@thillux
@nikstur
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.Add a 👍 reaction to issues you find important.
The text was updated successfully, but these errors were encountered: