LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 09-03-2006, 07:49 PM   #1
meinzorn
Member
 
Registered: Jan 2004
Posts: 44

Rep: Reputation: 15
Mouse Problem


When I load KDE my mouse will only move up and down, and it's no matter which direction I move my mouse. It makes random clicks and just acts plain weird. Any idea's?
 
Old 09-03-2006, 08:34 PM   #2
byte weaver
LQ Newbie
 
Registered: Sep 2006
Location: Germany
Distribution: Slackware 10.2
Posts: 27

Rep: Reputation: 15
Do you have a USB or PS/2 mouse? If you have a USB mouse, you might want to use the PS/2 adapter, if one came with it; I noticed that on Linux generally that produces fewer problems.

Also, check the mouse settings in "/etc/X11/xorg.conf".

I had similar problems when installing Slackware 10.2 for the first time. After installing it again, I discovered what the problem was: You (apparently) have to select the right mouse driver for gdm. If you choose "Regular PS/2 mouse" or something, it's apparently the best choice.

For X Windows (and KDE), in /etc/X11/xorg.conf", try selecting the ImPS/2 protocol:

Code:
# ---8<--- lots of comment removed --->8---
Section "InputDevice"
    Identifier     "Mouse1"
    Driver         "mouse"
    Option         "Protocol" "ImPS/2"
    Option         "Device" "/dev/mouse"
    Option         "Buttons" "6"
    Option         "ZAxisMapping" "4 5"
EndSection
 
Old 09-03-2006, 09:30 PM   #3
meinzorn
Member
 
Registered: Jan 2004
Posts: 44

Original Poster
Rep: Reputation: 15
I tried using one of the adapters and it says that it can't find any device.

and I have all my settings the same as that, and it still doesn't work.. like, the mouse moves.. but it does all kinds of whacky stuff:

moving only up and down.
If I click on any of the buttons and hold and move the mouse, it will move only to the right, but it'll move diaganally (spl)
also when I click on the buttons the cursor will move slightly to the right.. a couple of pixels.
it also randomly middle clicks..even if I don't move it or anything



I tried using the protocol microsoft, and it was completly eratic.. It moved but in every direction no pattern or anything.


It's a wireless microsoft mouse, USB
 
Old 09-04-2006, 12:55 AM   #4
lurko
Member
 
Registered: Jun 2006
Location: Ontario, Canada
Distribution: Debian
Posts: 448

Rep: Reputation: 35
I also had this issue, and setting the right protocol (imps/2) was not the solution. I solved this problem on my slack 10.2 install by uncommenting /sbin/modprobe/hid in /etc/rc.d/rc.modules. it's the first item under the heading "### USB Device Support"

if that's not enough, try uncommenting the next line too (usbmouse)

once I compiled a new kernel though, this problem was gone and I re-commented the hid line in rc.modules.

Last edited by lurko; 09-04-2006 at 12:58 AM.
 
Old 09-04-2006, 05:52 PM   #5
meinzorn
Member
 
Registered: Jan 2004
Posts: 44

Original Poster
Rep: Reputation: 15
Will this allow it to work as a USB mouse or will I have to use it as PS/2?
 
Old 09-04-2006, 07:57 PM   #6
lurko
Member
 
Registered: Jun 2006
Location: Ontario, Canada
Distribution: Debian
Posts: 448

Rep: Reputation: 35
my mouse is USB, M$ "comfort optical 3000", should be no need to use a ps/2 converter.

Last edited by lurko; 09-04-2006 at 07:58 PM.
 
Old 06-07-2009, 07:10 AM   #7
fabri_berloco
LQ Newbie
 
Registered: Jun 2009
Posts: 1

Rep: Reputation: 0
Option "CorePointer"

Quote:
Originally Posted by byte weaver View Post
Do you have a USB or PS/2 mouse? If you have a USB mouse, you might want to use the PS/2 adapter, if one came with it; I noticed that on Linux generally that produces fewer problems.

Also, check the mouse settings in "/etc/X11/xorg.conf".

I had similar problems when installing Slackware 10.2 for the first time. After installing it again, I discovered what the problem was: You (apparently) have to select the right mouse driver for gdm. If you choose "Regular PS/2 mouse" or something, it's apparently the best choice.

For X Windows (and KDE), in /etc/X11/xorg.conf", try selecting the ImPS/2 protocol:

Code:
# ---8<--- lots of comment removed --->8---
Section "InputDevice"
    Identifier     "Mouse1"
    Driver         "mouse"
    Option         "Protocol" "ImPS/2"
    Option         "Device" "/dev/mouse"
    Option         "Buttons" "6"
    Option         "ZAxisMapping" "4 5"
EndSection
I removed the line
Options "AlwaysCore" and
added the line
Option "CorePointer"
to Synaptics Touchpad and USB Mouse Sections, and it worked greatly.
I hope it will be useful...
 
Old 06-07-2009, 09:19 PM   #8
kingbeowulf
Member
 
Registered: Oct 2003
Location: WA
Distribution: Slackware64 14.1, Slackware 14.1
Posts: 523

Rep: Reputation: 140Reputation: 140
What does "X -configure" say?

For ages, I've used the following command as root, especially in the newer 2.6.24+ kernels,
Code:
root@gandalf:~# X -configure
and then examined xorg.conf.new in the root directory as a skeleton to tweak. I usually end up with
Code:
Section "InputDevice"
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/input/mice"
    Option         "ZAxisMapping" "4 5 6 7"
EndSection
On some laptops, to allow use of a hotplugged USB mouse in addition to the built in touchpad or button I add a second "Mouse1" section with
Code:
Option         "Protocol" "evdev"
Since 12.0 (either Slackware of SLAMD64) I haven't had issues hot plugging USB mice. It is well worth the effort to see what X will autodetect before just throwing together whatever configuration file you think should work.
 
  


Reply

Tags
adapter, conf, kde, mouse, protocol, ps2, usb, x11, xorg


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
HP wireless k/b and mouse set- mouse problem lubond Linux - Hardware 5 08-14-2006 01:10 PM
mouse/mouse driver problem nadim khemir Mandriva 0 08-07-2004 05:01 AM
Mozilla middle click problem, maybe a mouse problem techrolla Linux - Software 5 04-21-2004 12:40 AM
Mouse problem Mahony Linux - General 3 04-05-2004 04:41 PM
The you have a Mouse Pointer Problem(mouse stick top left)here is the solution. dr4ven Linux - Hardware 0 05-25-2003 05:53 PM


All times are GMT -5. The time now is 11:06 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration