LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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-26-2004, 11:22 AM   #1
coindood
Member
 
Registered: Jan 2004
Distribution: FreeBSD, Slackware
Posts: 121

Rep: Reputation: 15
ps/2 mouse scroll issue kernel 2.6.5


I have searched through google and this forum many times, but have not found a solution to my problem. My issue is that my ps/2 scroll mouse doesn't work in kernel 2.6.5, but does work in kernel 2.4.24. I have the Option "ZAxisMapping" "4 5" line in my XF86Config-4 file, but nothing has worked relating to that. Has anyone had the same issue before?
 
Old 05-27-2004, 08:12 PM   #2
vonst
Member
 
Registered: May 2004
Location: Wash DC Metro Area
Distribution: Slackware 11
Posts: 108

Rep: Reputation: 15
Actually, just the opposite for me. My mouse works great in 2.6.6. (X 4.3.0) My mouse config is below. I don't have the PS/2 mouse, as you can see. I have a $15 CompUSA optical mouse. Regardless, the ZAxisMapping variable works as below. The HOWTO file says something about summing up the number of buttons and picking the right button for -Z and the right button for +Z. I have 2 buttons and a clickable wheel. That makes 5 altogether: 1. left, 2. right. 3. wheel button, 4. wheel up, 5. wheel down.

Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "Buttons" "5"
Option "ZAxisMapping" "4 5"

Aerich the Rocket Scientist
Alexandria, VA
 
Old 05-29-2004, 09:04 AM   #3
coindood
Member
 
Registered: Jan 2004
Distribution: FreeBSD, Slackware
Posts: 121

Original Poster
Rep: Reputation: 15
Thanks for the reply. I already have the line for ZAxisMapping in my config file, but I will look at the differences in the other lines.
 
Old 05-29-2004, 03:12 PM   #4
vonst
Member
 
Registered: May 2004
Location: Wash DC Metro Area
Distribution: Slackware 11
Posts: 108

Rep: Reputation: 15
Here's another question... Yes, you have ZAxisMapping in your config file, BUT! Given the hardware stuff and the way the devices map,

Does "Button 4" and "Button 5" correspond accordingly? (Are you sure you only have 5 buttons?)

Since I'm left handed, I use the xmodmap function to make my mouse lefthanded. In my .xinitrc file, I assigned:

xmodmap -e 'pointer = 3 2 1 4 5' # (instead of 1 2 3 4 5)

If you install this into YOUR xmodmap file, maybe you can play with the 4th and 5th buttons.

Hmm, I looked back at your first post. Do you even HAVE a mouse under X? (Or is it the wheel that's not working?)

Oh, and another question... kind of a stupid one on my part... you're using XF86Config-4. I just noticed that I had it on my system, but I know I'm not using it. There's not a chance that you're presently using ANOTHER XF86Config, is there? You could be modifying that one and X is using another?

Aerich the Rocket Scientist
Alexandria, VA
 
Old 05-30-2004, 10:55 AM   #5
coindood
Member
 
Registered: Jan 2004
Distribution: FreeBSD, Slackware
Posts: 121

Original Poster
Rep: Reputation: 15
Thank you very much for your replies! I looked at the differences between the configurations and found that my config file has the "Emulate3Buttons" line so I commented that out. After rebooting the X server I proceeded to scroll at my heart's content! Thank you very much for the help!
 
  


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
USB scroll mouse doesn't scroll Rhatlinux Linux - Software 10 09-29-2004 07:42 PM
Kernel 2.6.4 Laptop scroll mouse! GodSendDeath Linux - Laptop and Netbook 1 03-12-2004 10:30 PM
Kernel 2.6.4 laptop scroll mouse! GodSendDeath Slackware 2 03-12-2004 02:28 PM
Scroll feature in Logitech Scroll mouse does not work ssmaitra Linux - Hardware 6 11-11-2003 07:43 AM
Kernel Compiling Issue -> USB Mouse Annex Linux - Software 2 03-14-2002 06:09 PM

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

All times are GMT -5. The time now is 01:16 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