LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 05-13-2024, 02:01 AM   #1
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,672
Blog Entries: 19

Rep: Reputation: 4490Reputation: 4490Reputation: 4490Reputation: 4490Reputation: 4490Reputation: 4490Reputation: 4490Reputation: 4490Reputation: 4490Reputation: 4490Reputation: 4490
Why does my mouse cursor drift?


I have noticed a tendency of my mouse cursor to gradually drift downwards, often to the point where a movement intended to scroll down text ends up on the panel and takes me to another desktop. It may be of course that I have an unconscious tendency to pull on the mouse, but I have noticed a certain amount of drift even when I am not holding the thing. What causes this?
 
Old 05-13-2024, 02:15 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 22,018

Rep: Reputation: 7342Reputation: 7342Reputation: 7342Reputation: 7342Reputation: 7342Reputation: 7342Reputation: 7342Reputation: 7342Reputation: 7342Reputation: 7342Reputation: 7342
there can be a lot of issues. You can for example try to unplug your mouse (to check if that helps). Sometimes a key is getting stuck (like shift or cursor down or ??) which may have interesting side effects.
 
Old 05-13-2024, 07:10 AM   #3
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,672

Original Poster
Blog Entries: 19

Rep: Reputation: 4490Reputation: 4490Reputation: 4490Reputation: 4490Reputation: 4490Reputation: 4490Reputation: 4490Reputation: 4490Reputation: 4490Reputation: 4490Reputation: 4490
The drift is downward and to the right at an angle of about 45 degrees. If I pick the mouse up and put it down again, the behaviour stops for some time, which suggests to me that it's intrinsic to the mouse and not a keyboard problem. I think the mouse sensor may be picking up dust or something from the desktop.

How do modern mice know where they are? The old-fashioned ones had a rolling ball, and the mouse port could keep a record of its rotation.

Last edited by hazel; 05-13-2024 at 07:13 AM.
 
Old 05-13-2024, 08:04 AM   #4
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 22,018

Rep: Reputation: 7342Reputation: 7342Reputation: 7342Reputation: 7342Reputation: 7342Reputation: 7342Reputation: 7342Reputation: 7342Reputation: 7342Reputation: 7342Reputation: 7342
the ball generated a horizontal and a vertical movement event with two sensors, and the optical mouse will do the same, just the sensor is different. The communication on the wire is exactly the same, but the software is different.
 
Old 05-13-2024, 12:12 PM   #5
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,736

Rep: Reputation: 7973Reputation: 7973Reputation: 7973Reputation: 7973Reputation: 7973Reputation: 7973Reputation: 7973Reputation: 7973Reputation: 7973Reputation: 7973Reputation: 7973
Quote:
Originally Posted by hazel View Post
The drift is downward and to the right at an angle of about 45 degrees. If I pick the mouse up and put it down again, the behaviour stops for some time, which suggests to me that it's intrinsic to the mouse and not a keyboard problem. I think the mouse sensor may be picking up dust or something from the desktop.

How do modern mice know where they are? The old-fashioned ones had a rolling ball, and the mouse port could keep a record of its rotation.
I'd clean/dust the sensor on the mouse. A damp cotton swab (either a little water or alcohol) will do it. Could also be that the lucite got scratched over time if it's an old mouse, and is causing an issue.
 
Old 05-13-2024, 08:16 PM   #6
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,376
Blog Entries: 28

Rep: Reputation: 6163Reputation: 6163Reputation: 6163Reputation: 6163Reputation: 6163Reputation: 6163Reputation: 6163Reputation: 6163Reputation: 6163Reputation: 6163Reputation: 6163
If I could, I would also test with a different, known-good mouse to verify that the issue is, indeed, within the mouse.
 
Old 05-14-2024, 01:13 AM   #7
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,869
Blog Entries: 1

Rep: Reputation: 2076Reputation: 2076Reputation: 2076Reputation: 2076Reputation: 2076Reputation: 2076Reputation: 2076Reputation: 2076Reputation: 2076Reputation: 2076Reputation: 2076
Is your mouse wireless? If yes, suspect need for batteries, poor connection or location of receiver, or other electrical interference, but try putting it down on the floor or on the other end of your desk and not touching it for a while at a test to see if the area you use it in is suspect.
 
Old 05-14-2024, 01:33 AM   #8
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,672

Original Poster
Blog Entries: 19

Rep: Reputation: 4490Reputation: 4490Reputation: 4490Reputation: 4490Reputation: 4490Reputation: 4490Reputation: 4490Reputation: 4490Reputation: 4490Reputation: 4490Reputation: 4490
Quote:
Originally Posted by mrmazda View Post
Is your mouse wireless?
No, it's an old-fashioned usb mouse. Mouse and keyboard came with the computer: they're all from Levovo.

My screen acts as a usb hub and I have the mouse and keyboard plugged into that.
 
Old 05-14-2024, 02:48 AM   #9
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 22,018

Rep: Reputation: 7342Reputation: 7342Reputation: 7342Reputation: 7342Reputation: 7342Reputation: 7342Reputation: 7342Reputation: 7342Reputation: 7342Reputation: 7342Reputation: 7342
just the usual questions: did you try another mouse? did you try another OS? Another usb port? Another user? Another surface?
 
1 members found this post helpful.
Old 05-14-2024, 04:51 AM   #10
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,672

Original Poster
Blog Entries: 19

Rep: Reputation: 4490Reputation: 4490Reputation: 4490Reputation: 4490Reputation: 4490Reputation: 4490Reputation: 4490Reputation: 4490Reputation: 4490Reputation: 4490Reputation: 4490
No, it didn't seem all that important. And some of those options aren't even possible (I don't know if I have another mouse). Anyway, it isn't drifting right now. If it starts up again, I can try some of those things if only for curiosity.
 
Old 05-14-2024, 10:52 AM   #11
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Salix
Posts: 6,147

Rep: Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314
Quote:
Originally Posted by hazel View Post
I don't know if I have another mouse.
The Golden Rule: always have two of everything!

Last edited by DavidMcCann; 05-14-2024 at 10:53 AM.
 
Old 05-15-2024, 01:09 AM   #12
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,672

Original Poster
Blog Entries: 19

Rep: Reputation: 4490Reputation: 4490Reputation: 4490Reputation: 4490Reputation: 4490Reputation: 4490Reputation: 4490Reputation: 4490Reputation: 4490Reputation: 4490Reputation: 4490
It was the mouse. I did eventually find another mouse (Logitech) and plugged it in, and the cursor now doesn't move unless I move it. I think I'll clean the other one before I put it away. Just in case!
 
Old 05-15-2024, 08:28 PM   #13
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,376
Blog Entries: 28

Rep: Reputation: 6163Reputation: 6163Reputation: 6163Reputation: 6163Reputation: 6163Reputation: 6163Reputation: 6163Reputation: 6163Reputation: 6163Reputation: 6163Reputation: 6163
Thanks for telling us the rest of the story!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Why does mouse and cursor movement become erratic when I copy an entire memory stick to another stick? winger9 Linux - General 11 09-12-2021 10:43 AM
Hide mouse cursor/change cursor location? mrjamin Linux - Software 4 09-27-2010 10:09 AM
No mouse pointer (cursor), mouse does work whizz Linux - Hardware 6 04-04-2006 09:00 PM
[Mouse cursor] flicking on animated cursor Creak Debian 1 06-10-2005 02:16 AM
Dell Laptop time drift rockdw Linux - Hardware 0 01-31-2003 06:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 09:45 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration