Skip to content
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

Cursor sporadically starts drifting on Lenovo T460 (Nub / Trackpoint issue) #54453

Open
Radvendii opened this issue Jan 22, 2019 · 7 comments
Open
Labels
2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md

Comments

@Radvendii
Copy link
Contributor

Issue description

Every so often, seemingly without a trigger, the cursor starts drifting in some direction and I just have to let the nub go for a few seconds until it stops. I exclusively use the nub and have in fact disabled the trackpad. This does not happen while using an external mouse.

My friend is running a similar setup also on a T460 and has the same problem.
I've been running NixOS on this computer for several years now and this has been a consistent problem through all the versions. I'm not sure why I haven't posted an issue before now.

This is similar to, but doesn't seem to be the same as the normal recalibration drifting that nubs do, like when I put light constant pressure on the nub and then it stops until I let go and it drifts backwards. This a) takes much longer to stop drifting and b) drifts with a lot more force. I can actively push as hard as I can and the nub will still slide slowly in the opposite direction.

Might be related to #19022, but is presenting with some different symptoms.

relevant configuration.nix contents

  hardware = {
    # middle click scroll
    trackpoint = {
      enable = true;
      emulateWheel = true;
    };
  };
  services.xserver = {
  # disable trackpad
    synaptics.enable = false;
    libinput = {
      # enable trackpoint
      enable = true;
      # middle click scroll
      # scrollMethod = "button";
      # scrollButton = 3;
    };
    inputClassSections = [
    ''
      Identifier "evdev touchpad off"
      MatchIsTouchpad "on"
      MatchDevicePath "/dev/input/event*"
      Driver "evdev"
      Option "Ignore" "true"
    ''
    ];
  };

Technical details

Please run nix-shell -p nix-info --run "nix-info -m" and paste the
results.

  • system: "x86_64-linux"
  • host os: Linux 4.19.15, NixOS, 19.03pre166449.be445a9074f (Koi)
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Nix) 2.2
  • channels(root): "nixos-19.03pre166449.be445a9074f"
  • channels(qolen): "nixos-18.09pre145679.dae9cf6106d"
  • nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos
@dejanr
Copy link

dejanr commented Mar 8, 2019

I can confirm the same behavior with t480, it stoped occuring that often since i disabled nub in bios.

@norpol
Copy link
Contributor

norpol commented Oct 5, 2019

I just stumbled upon this blog posting and I could reduce the drifting issue to a degree where I don't notice it anymore.

@stale
Copy link

stale bot commented Jun 1, 2020

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:

  1. Search for maintainers and people that previously touched the
    related code and @ mention them in a comment.
  2. Ask on the NixOS Discourse. 3. Ask on the #nixos channel on
    irc.freenode.net.

@stale stale bot added the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Jun 1, 2020
@mnajib
Copy link

mnajib commented Apr 10, 2021

still important to me

@stale stale bot removed the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Apr 10, 2021
@robintown
Copy link
Contributor

I am fairly certain that trackpoint drift is normal and inherent to how the pressure sensors calibrate themselves, not a software issue (certainly not specific to NixOS).

From Reddit:

The track point does constantly measure the force applied to it and if it is constant for a certain period the calibration is set to this force. But that means if you apply a constant force in one direction for a longer period, this is now the new normal and if you let go the curser moves in the opposite direction because now the force from your finger is gone. This is reset again after the same amount of time once no force is applied, which then stops the cursor.

@Radvendii
Copy link
Contributor Author

Yeah, this has also not been an issue for me since I switch to a T430. I'm happy to close, though if @mnajib is still having this issue and has reason to believe it's nix-related it should maybe stay open. Does it happen if you run windows / another linux distro on the computer?

@stale
Copy link

stale bot commented Oct 12, 2021

I marked this as stale due to inactivity. → More info

@stale stale bot added the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Oct 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md
Projects
None yet
Development

No branches or pull requests

5 participants