LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-05-2020, 08:32 AM   #1
binkyd
Member
 
Registered: Oct 2016
Distribution: Looking again
Posts: 429

Rep: Reputation: 40
Problems with mice and KB - is it drivers? Where are they?


Having serious mouse and keyboard issues - both are hesitant, as in delays between my finger movement and result on screen.
Makes it really hard to do stuff when you scroll away and nothing happens at first, and then the screen goes by really fast, of course passed where you want. KB can delay, too.

There's an old sticky on LQ about this, but it refers to this directory which does not exist:
/usr/X11R6/lib/X11/doc/README.mouse

which I couldn't find readme anywhere.

The man pages refer to /dev/mouse, but I can't find that either.

Where and what in this system is causing this?

I first thought it was the distro, but this follows me. I seem to remember it having statred to occur on the previous PC also.
 
Old 04-06-2020, 05:15 PM   #2
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,813

Rep: Reputation: 1143Reputation: 1143Reputation: 1143Reputation: 1143Reputation: 1143Reputation: 1143Reputation: 1143Reputation: 1143Reputation: 1143
Can you provide more definitive information about your input devices? How are they connected?

Code:
dmesg|grep input
Code:
xinput list

Last edited by ferrari; 04-06-2020 at 05:17 PM.
 
Old 04-06-2020, 07:51 PM   #3
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,329
Blog Entries: 28

Rep: Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142
Also, if you have the devices available, swap in a known-good mouse and keyboard and also try different USB ports, one change at a time, to rule out hardware issues.
 
Old 04-08-2020, 09:35 AM   #4
binkyd
Member
 
Registered: Oct 2016
Distribution: Looking again
Posts: 429

Original Poster
Rep: Reputation: 40
Code:
dmesg|grep input
gives no result

Code:
xinput list
result:
Code:
$ xinput list
⎡ Virtual core pointer                    	id=2	[master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer              	id=4	[slave  pointer  (2)]
⎜   ↳ Logitech USB Optical Mouse              	id=8	[slave  pointer  (2)]
⎣ Virtual core keyboard                   	id=3	[master keyboard (2)]
    ↳ Virtual core XTEST keyboard             	id=5	[slave  keyboard (3)]
    ↳ Power Button                            	id=6	[slave  keyboard (3)]
    ↳ Power Button                            	id=7	[slave  keyboard (3)]
    ↳   USB Keyboard                          	id=9	[slave  keyboard (3)]
    ↳   USB Keyboard System Control           	id=10	[slave  keyboard (3)]
    ↳   USB Keyboard Consumer Control         	id=11	[slave  keyboard (3)]
    ↳ Dell WMI hotkeys                        	id=12	[slave  keyboard (3)]
(I don't know what this means)

I've tried 3 different mice, the Dell and the Belkin are really bad, the logitech usable. A 2nd KB was also affected. Tried different ports, too.

It gets better after a reboot, and gradually gets worse over several days.
 
Old 04-08-2020, 05:32 PM   #5
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,813

Rep: Reputation: 1143Reputation: 1143Reputation: 1143Reputation: 1143Reputation: 1143Reputation: 1143Reputation: 1143Reputation: 1143Reputation: 1143
---Deleted---

Last edited by ferrari; 04-08-2020 at 05:33 PM. Reason: Wrong thread
 
Old 04-08-2020, 07:47 PM   #6
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,813

Rep: Reputation: 1143Reputation: 1143Reputation: 1143Reputation: 1143Reputation: 1143Reputation: 1143Reputation: 1143Reputation: 1143Reputation: 1143
That's definitely not normal behaviour. Does this problem only occur within a graphical desktop environment? Try the keyboard behaviour outside of the Xorg server environment. If you need specific instructions, let us know your current distro and desktop environment details as well.

Post the output of these please
Code:
cat /etc/os-release
Code:
echo $XDG_CURRENT_DESKTOP
Code:
echo $DESKTOP_SESSION
Code:
lspci -nnk|grep -iA3 VGA

If you have 'inxi' installed, run
Code:
inxi -GSxx
That might help us advise further here.
 
Old 04-08-2020, 07:49 PM   #7
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,813

Rep: Reputation: 1143Reputation: 1143Reputation: 1143Reputation: 1143Reputation: 1143Reputation: 1143Reputation: 1143Reputation: 1143Reputation: 1143
In addition to the above, let's check out current boot parameters
Code:
cat /proc/cmdline
 
Old 04-08-2020, 08:57 PM   #8
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,987

Rep: Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627
"It gets better after a reboot, and gradually gets worse over several days."

Then maybe keep an eye on top for some sort of process use or memory use???
 
Old 04-08-2020, 09:07 PM   #9
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,813

Rep: Reputation: 1143Reputation: 1143Reputation: 1143Reputation: 1143Reputation: 1143Reputation: 1143Reputation: 1143Reputation: 1143Reputation: 1143
Yes, good idea.
 
Old 04-10-2020, 10:39 PM   #10
binkyd
Member
 
Registered: Oct 2016
Distribution: Looking again
Posts: 429

Original Poster
Rep: Reputation: 40
Here ya go:
Code:
binkyd@BigBox:~$ cat /etc/os-release
NAME="Linux Mint"
VERSION="19.3 (Tricia)"
ID=linuxmint
ID_LIKE=ubuntu
PRETTY_NAME="Linux Mint 19.3"
VERSION_ID="19.3"
HOME_URL="https://www.linuxmint.com/"
SUPPORT_URL="https://forums.ubuntu.com/"
BUG_REPORT_URL="http://linuxmint-troubleshooting-guide.readthedocs.io/en/latest/"
PRIVACY_POLICY_URL="https://www.linuxmint.com/"
VERSION_CODENAME=tricia
UBUNTU_CODENAME=bionic

binkyd@BigBox:~$ echo $XDG_CURRENT_DESKTOP
X-Cinnamon

binkyd@BigBox:~$ echo $DESKTOP_SESSION
cinnamon

binkyd@BigBox:~$ lspci -nnk|grep -iA3 VGA
09:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere [Radeon RX 470/480/570/570X/580/580X] [1002:67df] (rev c7)
	Subsystem: Dell Ellesmere [Radeon RX 470/480/570/580] [1028:1701]
	Kernel driver in use: amdgpu
	Kernel modules: amdgpu

binkyd@BigBox:~$ inxi -GSxx
System:
  Host: BigBox Kernel: 5.3.0-46-generic x86_64 bits: 64 compiler: gcc 
  v: 7.5.0 Desktop: Cinnamon 4.4.8 wm: muffin dm: LightDM 
  Distro: Linux Mint 19.3 Tricia base: Ubuntu 18.04 bionic 
Graphics:
  Device-1: AMD Ellesmere [Radeon RX 470/480/570/570X/580/580X] vendor: Dell 
  driver: amdgpu v: kernel bus ID: 09:00.0 chip ID: 1002:67df 
  Display: x11 server: X.Org 1.20.5 driver: amdgpu,ati 
  unloaded: fbdev,modesetting,vesa resolution: 1920x1080~60Hz 
  OpenGL: renderer: AMD Radeon RX 480 Graphics (POLARIS10 DRM 3.33.0 
  5.3.0-46-generic LLVM 9.0.0) 
  v: 4.5 Mesa 19.2.8 direct render: Yes 

binkyd@BigBox:~$ cat /proc/cmdline
BOOT_IMAGE=/boot/vmlinuz-5.3.0-46-generic root=UUID=d6a1f580-c1d3-4750-8d34-973131c424b6 ro quiet splash vt.handoff=1
And I found a very old mouse, definitely not USB 3.0, and it's been fine for the whole day so far.
I moved back to Mint over this - Manjaro had too many updates for me to figure this out.
 
Old 04-11-2020, 12:45 AM   #11
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,813

Rep: Reputation: 1143Reputation: 1143Reputation: 1143Reputation: 1143Reputation: 1143Reputation: 1143Reputation: 1143Reputation: 1143Reputation: 1143
I have seen "erratic, laggy mouse and keyboard" issues reported for those with particular AMD chpisets and using the amdgpu driver. A quick search online will turn up results like this. One such thread was eventually resolved in this post with the OP announcing that they created a custom file /etc/X11/xorg.conf.d/20-amdgpu.conf

with this
Code:
Section "Device"
     Identifier "AMD"
     Driver "amdgpu"
     Option "DRI" "2"
EndSection
thereby forcing DRI 2 (as DRI 3 is usually default). Anyway, might be worth a shot. YMMV.

Last edited by ferrari; 04-11-2020 at 12:46 AM.
 
1 members found this post helpful.
Old 04-11-2020, 06:11 PM   #12
libroabierto
LQ Newbie
 
Registered: Apr 2020
Posts: 2

Rep: Reputation: 0
I have the same problem too. I hope I can get the answer on this topic. I've already seen some possible solutions here. I will try them.
 
Old 04-11-2020, 06:45 PM   #13
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,813

Rep: Reputation: 1143Reputation: 1143Reputation: 1143Reputation: 1143Reputation: 1143Reputation: 1143Reputation: 1143Reputation: 1143Reputation: 1143
@libroabierto: In general it is best to start your own new thread (with descriptive title) for issues like this, as the underlying cause may be completely different. (Especially if your hardware is different.)
 
Old 04-12-2020, 03:25 PM   #14
libroabierto
LQ Newbie
 
Registered: Apr 2020
Posts: 2

Rep: Reputation: 0
Thank you very much, I am going to open my own thread to look for chord solutions
 
Old 04-16-2020, 04:32 PM   #15
binkyd
Member
 
Registered: Oct 2016
Distribution: Looking again
Posts: 429

Original Poster
Rep: Reputation: 40
Possibly solved:
my 10 year (maybe) old mouse is working fine. The KB also has no more issues, in the original port.

All the other mice, 3 wired, 2 wireless, all have glitches, no matter which USB port I use. This old beast works just fine in the not-blue ports.
Beats me exactly why.

Maybe when it fails I'll need to hit a pawn shop for some old mice? lol
 
  


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 do some USB mice claim they're also keyboards? displace Linux - Hardware 8 01-09-2015 05:07 AM
How much do they cost and what do they offer for their price? Nad0xFF Linux - Enterprise 11 04-20-2005 05:14 AM
Nvidia drivers, where do they install and what do they modify? jimdaworm Slackware 3 02-12-2005 11:30 PM
xmodmap for multiple mice? external and laptop mice scrolling back/forward, etc. bleargh Linux - Software 3 12-31-2004 08:48 AM
Mice - how they work? johan the olive Linux - Hardware 3 02-28-2003 04:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:53 PM.

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