New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trackpoint stops working sporadically on Lenovo X1 Carbon #19022
Comments
You might want to stop using {
services.xserver = {
libinput.enable = true;
synaptics.enable = false;
config = ''
Section "InputClass"
Identifier "Enable libinput for TrackPoint"
MatchIsPointer "on"
Driver "libinput"
Option "ScrollMethod" "button"
Option "ScrollButton" "8"
EndSection
'';
};
} |
Thanks for that! I will try that out and report back tomorrow. Have I missed to read the documentation properly or is the documentation missing something? :) |
So far it is working fine, thanks again! :) Do you have an answer to my question? |
@mikael-andersson I don't know about the documentation. You might want to contribute to improve it. Please also consider contributing to https://github.com/NixOS/nixos-hardware. |
Can we make libinput the default in nixos? |
@DamienCassou Yes, I will be glad to help contributing to the documentation. I just wonder, your suggestion above that seemed to solve my problem, is this applicable for all hardware or is it just because of my hardware, i.e. Lenovo X1 Carbon? I suppose it is more or less what Mic92 asks for as well. |
I am still having problems with this. The problem is that when moving the pointer with the trackpoint, some button clicks seems to be triggered as well. Thus, the trackpoint is going all crazy. It is not often, maybe once a week. The problem usually stops after a few seconds and the trackpoint works as normal again. Any ideas how I can debug this? |
I never experienced that on my T460. |
I have actually not had any problems with this for some weeks now. If the problems pop up again, I create a new issue for it. Thanks. |
@mikael-andersson sometimes trackpoints calibrate. If you apply constant pressure for instance for some time, the hardware could interpret it as its new origin. If you remove the pressure your pointer will jump into one direction until it recalibrate again. This often happens after suspend. |
@Mic92 I actually got the problem again same day as I closed this issue... :( Does it really need to calibrate every now and then? I have not experienced this with e.g. Windows or Ubuntu. If I want it to recalibrate, I would prefer deciding when to do it myself. Would that not be most sensible? I do not think that the problem have appeared right after a suspend. I have not been able to trigger a calibration by applying constant pressure as you describe. |
Just thought Id share that libinput does the middle button scroll by default so {
services.xserver = {
libinput.enable = true;
synaptics.enable = false;
config = ''
Section "InputClass"
Identifier "Enable libinput for TrackPoint"
MatchIsPointer "on"
Driver "libinput"
EndSection
'';
};
} Is sufficient |
Touchpads and trackpoints are generally unstable right now, at least with libinput - I discuss this a bit more at NixOS/nixos-hardware#56 |
Getting similar behavior on X1 (6th gen). NixOS: 18.03.133245.d16a7abceb7 (Impala). Rebooted using the configs suggested by @DamienCassou. Trackpad and pointer now work eventually. Initially they are unresponsive, then after some time one or both work. dmesg output:
|
Does nixos-hardware has this fix? |
Testing again today. Trackpad responds ~30s after load. Pointer is unresponsive until I |
For what it's worth... Upgraded to: 18.09.797.617607e0437 (Jellyfish). Fixed numerous quirks, and bugs on my X1 carbon. Trackpad resolved 👍 |
(triage) @mikael-andersson do you still have the trackpad problem? If so, can you test, if NixOS 18.09 would fix it? |
@baracoder, unfortunately, I am not running NixOS at the moment. I will probably do it again but not until a few months. I will try to report back when I get around to test it. |
Used to happen for me intermittently on 18.03 without a clear cause, now happens more often on 18.09. Almost always either during a The workaround described above sometimes works, but most of the time Model: Thinkpad x270. Not sure if there's something specific to SDDM here. |
Thank you for your contributions. This has been automatically marked as stale because it has had no activity for 180 days. If this is still important to you, we ask that you leave a comment below. Your comment can be as simple as "still important to me". This lets people see that at least one person still cares about this. Someone will have to do this at most twice a year if there is no other activity. Here are suggestions that might help resolve this more quickly:
|
Issue description
When I looked around I found this:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1070207/comments/21
modprobe -rv psmouse && modprobe -v psmouse
, as noted in the comment above, makes it work again.I do have the following set:
hardware.trackpoint.enable = true;
Steps to reproduce
To me it seems like it stops working sporadically. I have not yet been able to identify what could cause this problem.
Technical details
nixos-version
, Ubuntu/Fedora:lsb_release -a
, ...)16.09beta430.c4469ed (Flounder)
nix-env --version
)nix-env (Nix) 1.11.4
nix-instantiate --eval '<nixpkgs>' -A lib.nixpkgsVersion
)"16.09beta430.c4469ed"
The text was updated successfully, but these errors were encountered: