LinuxQuestions.org
Register a domain and help support LQ
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 03-29-2005, 03:00 AM   #1
pavodive
LQ Newbie
 
Registered: Oct 2004
Distribution: fedora core 3
Posts: 22

Rep: Reputation: 15
Unhappy mouse wheel moves sideways


Hi, I just have read so much about how to make the mouse wheel work that I'm getting crazy.

I have a "DELL by Microsoft" (well, that's what's written on it) mouse with two buttons and a wheel (yeah, that will make for 5 buttons). It's an Intellimouse PS/2 compatible.

My original /etc/X11/xorg.conf file read this in the relevant part:
Code:
Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Protocol" "IMPS/2"
	Option	    "Device" "/dev/input/mice"
	Option	    "ZAxisMapping" "4 5"
	Option	    "Emulate3Buttons" "yes"
EndSection
and after reading posts for half a day I added a Option "Buttons" "5" line just before the ZAxisMapping line, but it didn't help, not only the wheel wouldn't scroll, but also the pointer will move weird (it was like when passing over some parts of the screen the pointer will go at once to the extreme right of the screen).

After that I read another post and changed the /etc/X11/xorg.conf file to this (this is the ONE I have NOW):
Code:
Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Protocol" "ExplorerPS/2"
	Option	    "Device" "/dev/input/mice"
	Option	    "Buttons" "7"
	Option	    "ZAxisMapping" "6 7"
#	Option	    "Emulate3Buttons" "no"
EndSection
I also created the file /etc/X11/xinit/xinitrc.d/mouse.sh:
Code:
#!/bin/sh
# /etc/X11/xinit/xinitrc.d/mouse.sh
# Required for the configuration of a 5-button mouse
xmodmap -e "pointer = 1 2 3 6 7 4 5"
Although (btw, your light on this is highly appreciated) my mouse DOES NOT have 7 buttons, this seems to have solved the "weary" behavior of the pointer, but now the wheel will make the pointer to move sideways!!! instead of up and down

How can I fix it?? I'd appreciate your -very- detailed explanations, besides of begin a I'm also eager to learn!!

G'd day to all!
PavoDive

PS: I'm running FC3 on a DELL, dual boot with Windoze XP
 
Old 03-29-2005, 03:58 AM   #2
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
change the ZAxisMapping "6 7" back to "4 5"

"4 5" is for up/down
 
Old 03-29-2005, 03:59 AM   #3
theYinYeti
Senior Member
 
Registered: Jul 2004
Location: France
Distribution: Arch Linux
Posts: 1,897

Rep: Reputation: 61
Hello,

I take it you configured your mouse properly, as your current configuration seems fine to me (although it actually depends on the exact model).

So, IMHO, something is interfering. I can't begin to imagine how the ZAxis can translate to mouse mouvements, except if this axis gets translated somewhere else, or if the "Buttons" configuration line has side-effects, that I did not know about.

Do you have gpm, or imwheel, or anything mouse-related running? If so, try temporarily disabling them to see. If not... I don't know, maybe an event-grabber tool...

Yves.
 
Old 03-29-2005, 05:21 AM   #4
pavodive
LQ Newbie
 
Registered: Oct 2004
Distribution: fedora core 3
Posts: 22

Original Poster
Rep: Reputation: 15
I changed back to "4 5" as you suggested, but still is moving sideways

I also ended the gpm process, just the same, sideways <--->

I don't know if this may become a hint, but as an interesting thing, it doesn't matter if I roll the wheel forward or backward, the pointer always move to the right.

Any other idea?

Tks.
 
Old 03-30-2005, 12:39 AM   #5
theYinYeti
Senior Member
 
Registered: Jul 2004
Location: France
Distribution: Arch Linux
Posts: 1,897

Rep: Reputation: 61
It looks to me, that you may be using the wrong driver. Did you try other drivers?

Yves.
 
  


Reply


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
X freezes machine. mouse moves, ssh working granth Slackware 3 04-09-2005 10:32 AM
GUI freezes but mouse still moves hollovoid7 Linux - Software 1 09-14-2004 10:29 PM
USB mouse moves up/down no right/left noahsatellite Linux - Hardware 4 09-13-2004 02:41 AM
Speakers make sound when mouse moves r_jensen11 Linux - Hardware 6 07-23-2004 01:57 PM
Can someone help me with a jumpy mouse/touchpad that moves on its own? Kramer Linux - Laptop and Netbook 2 02-20-2004 10:08 PM


All times are GMT -5. The time now is 07:39 AM.

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