View previous topic :: View next topic |
Author |
Message |
RoelVanDijk n00b
Joined: 15 Dec 2002 Posts: 21
|
Posted: Tue Feb 22, 2005 11:16 am Post subject: USB mouse problems [solved] |
|
|
Hello,
I'm having a few problems getting my usb mouse to work correctly.
Problems:
- The cursor moves to fast. The shortest possible distance I can move the cursor is something like 3 pixels. This is with all acceleration turned off: xset m 1 1.
- The cursor is extremely laggy on heavy cpu loads.
- The scroll wheel doesn't work. (middle mouse button does work)
I don't know if these problems are related.
System info:
xorg 6.8.0-r4
kde 3.3.92
kernel gentoo-dev-sources 2.6.10-gentoo-r7
xorg.conf mouse section:
Code: |
Section "InputDevice"
Identifier "Dell Mouse"
Driver "mouse"
Option "Device" "/dev/usbmouse"
Option "Protocol" "IMPS/2"
Option "ZAxisMapping" "4 5"
EndSection
|
I tried setting the mouse resolution to different values in the xorg.conf but I noticed no difference in the mouse behaviour.
[edit]
If I do 'cat /dev/usbmouse' I get no response from the scrollwheel. All other actions (moving, other buttons) produce data.
[/edit]
[edit2]
I solved all the problems. Most mouse problems where caused by not enabling UHCI in the kernel.
The laggy mouse was caused by not enabling DMA on my disk.
[/edit]
Last edited by RoelVanDijk on Wed Mar 02, 2005 7:31 am; edited 1 time in total |
|
Back to top |
|
|
kiksen Guru
Joined: 24 Jun 2002 Posts: 401 Location: Denmark
|
Posted: Tue Feb 22, 2005 12:34 pm Post subject: |
|
|
what if you change your device to /dev/input/mice? That's what I have and my usb mouse runs perfectly.
/kiksen |
|
Back to top |
|
|
RoelVanDijk n00b
Joined: 15 Dec 2002 Posts: 21
|
Posted: Tue Feb 22, 2005 12:47 pm Post subject: |
|
|
kiksen wrote: | what if you change your device to /dev/input/mice? That's what I have and my usb mouse runs perfectly. |
/dev/usbmouse is a symlink to /dev/input/mice
But thanks for replying |
|
Back to top |
|
|
transient l33t
Joined: 13 Jan 2005 Posts: 759
|
Posted: Tue Feb 22, 2005 1:18 pm Post subject: |
|
|
Specify the number of buttons your mouse has.
Also, do you know who the maker of the mouse is? I know it says Dell, but someone else usually makes the mouse, Logitech etc...
If its a logitech, I can help you out more if the following doesnt work: Code: |
Section "InputDevice"
Identifier "Dell Mouse"
Driver "mouse"
Option "Device" "/dev/usbmouse"
Option "Buttons" "5"
Option "Protocol" "IMPS/2"
Option "ZAxisMapping" "4 5"
EndSection
|
Replace the number of buttons with however many you have, including the mousewheel up and down as buttons.
On my mouse, which has left, right, 2 more left and right buttons, mousewheel down and up, and the mousewheel itself, I have 7 buttons.
You can also try changing the protocol from IMPS/2 to ExplorerPS/2 |
|
Back to top |
|
|
RoelVanDijk n00b
Joined: 15 Dec 2002 Posts: 21
|
Posted: Tue Feb 22, 2005 1:47 pm Post subject: |
|
|
Thanks for you help, but sadly it didn't work.
My mouse has 5 buttons (left, right, middle, scroll up, scroll down). So I put the 5 button option in my mouse input section, but it didn't help.
Changing the protocol from IMPS/2 to ExplorerPS/2 also didn't make a difference.
I don't think the scrollwheel problem has something to do with xorg.conf because the device itself doesn't generate data when I use the scrollwheel. |
|
Back to top |
|
|
RoelVanDijk n00b
Joined: 15 Dec 2002 Posts: 21
|
Posted: Wed Feb 23, 2005 9:08 am Post subject: |
|
|
The problem is even worse then I first thought. When the cpu is busy, like >80%, the mouse not only gets laggy, it also sends click events. When I move it across the screen in KDE in drags windows and presses buttons. And it's not only the mouse, the keyboard has the same problems.
I'm pretty sure that I have configured something wrong in the kernel. Any insight into this problem is appreciated.
[edit]
Ok, it's not the CPU load. It's the disk. Whenever the disk is busy reading or writing something the mouse behaviour becomes erradic.
[/edit] |
|
Back to top |
|
|
lucidthoughts n00b
Joined: 13 Aug 2003 Posts: 25
|
Posted: Thu Feb 24, 2005 10:24 pm Post subject: |
|
|
i am experiencing the exact same type of behavior with xorg 6.8.2 running 2.6.10-r6
with ati-drivers 8.10.19.
the same behavior was happening under xorg 6.8.0 as well though.
standard dell usb wheel mouse.
any help is greatly appreciated! |
|
Back to top |
|
|
transient l33t
Joined: 13 Jan 2005 Posts: 759
|
Posted: Fri Feb 25, 2005 1:23 am Post subject: |
|
|
From looking around mailing lists and whatnot, it seems that Dell mice have issues in general.
To be honest, the easiest way to fix this is to go and buy a new mouse. Even a bog standard mouse would probably be better. |
|
Back to top |
|
|
RoelVanDijk n00b
Joined: 15 Dec 2002 Posts: 21
|
Posted: Fri Feb 25, 2005 8:01 am Post subject: |
|
|
Thanks for the replies.
I figured out the laggy mouse problem. I didn't turned on DMA on my disk..... |
|
Back to top |
|
|
|