LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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
 
LinkBack Search this Thread
Old 02-20-2007, 10:18 AM   #1
Hnefi
LQ Newbie
 
Registered: Feb 2007
Posts: 6

Rep: Reputation: 0
Getting mousewheel to work?


Hello.

I'm running Slackware 11 with KDE, and most things work rather well. However, my mousewheel doesn't work. It's a first generation USB Microsoft Intellmouse. Do I need special drivers for it or do I just need to tweak some settings? If so, where should I look for said drivers and/or settings?
 
Old 02-20-2007, 10:37 AM   #2
bird603568
Member
 
Registered: Aug 2004
Distribution: Slackware current
Posts: 250

Rep: Reputation: 30
you need this in xorg.conf

Option "ZAxisMapping" "4 5"
 
Old 02-20-2007, 10:40 AM   #3
tronayne
Senior Member
 
Registered: Oct 2003
Location: Michigan
Distribution: Slackware 32- & 64-bit Stable
Posts: 1,826

Rep: Reputation: 359Reputation: 359Reputation: 359Reputation: 359
You should probably have a symbolic link:
Code:
lrwxrwxrwx 1 root root 10 2007-02-20 00:46 /dev/mouse -> /dev/input/mice
And your /etc/X11/xorg.conf will have something like this in it:
Code:
Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "IMPS/2"
        Option      "Device" "/dev/mouse"
        Option      "ZAxisMapping" "4 5 6 7"
EndSection
Shut down X, restart it, and you may have joy today.
 
Old 02-20-2007, 10:58 AM   #4
spaceballs
Member
 
Registered: Jan 2005
Location: Dallas, TX
Distribution: Slackware-current
Posts: 248

Rep: Reputation: 30
It is easy to get the wheel working north and south. I have one of the mouse wheels that can also go left or right if you push the whele one way or the other. How do you get that one to worl?
 
Old 02-20-2007, 02:22 PM   #5
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Posts: 11,388
Blog Entries: 2

Rep: Reputation: 825Reputation: 825Reputation: 825Reputation: 825Reputation: 825Reputation: 825Reputation: 825
run 'xorgsetup' as root
 
Old 02-20-2007, 03:11 PM   #6
bird603568
Member
 
Registered: Aug 2004
Distribution: Slackware current
Posts: 250

Rep: Reputation: 30
Quote:
Originally Posted by H_TeXMeX_H
run 'xorgsetup' as root
unless it has changed xorgsetup/xorgconfig/whatever will not get your scroll wheel working. you have to manually edit xorg.conf and add it
 
Old 02-20-2007, 06:10 PM   #7
spaceballs
Member
 
Registered: Jan 2005
Location: Dallas, TX
Distribution: Slackware-current
Posts: 248

Rep: Reputation: 30
What about side to side scrolling? Is there a YAxisMapping?
 
Old 02-22-2007, 07:12 AM   #8
Hnefi
LQ Newbie
 
Registered: Feb 2007
Posts: 6

Original Poster
Rep: Reputation: 0
Well, adding the ZAxisMapping line didn't work. Any other possibilities?
 
Old 02-22-2007, 08:31 AM   #9
spaceballs
Member
 
Registered: Jan 2005
Location: Dallas, TX
Distribution: Slackware-current
Posts: 248

Rep: Reputation: 30
Try just ZAxisMapping "4 5" That is what I have.
 
Old 02-22-2007, 08:56 AM   #10
raska
Member
 
Registered: Aug 2004
Location: Aguascalientes, AGS. Mexico.
Distribution: Slackware 13.0 kernel 2.6.29.6
Posts: 816

Rep: Reputation: 30
Quote:
Originally Posted by Hnefi
Well, adding the ZAxisMapping line didn't work. Any other possibilities?
You need the IMPS/2 protocol for a 5 button mouse, which is the minimum to have a working scroll wheel. Then you will need the Option "ZAxisMapping" "4 5" line for the scroll to work.

The ExplorerPS/2 protocol is for 7 button mice, which is the one that serves me
 
Old 02-23-2007, 09:01 AM   #11
Hnefi
LQ Newbie
 
Registered: Feb 2007
Posts: 6

Original Poster
Rep: Reputation: 0
Ah, well I didn't have that. I'll try that too.

Thanks for your help.
 
Old 02-23-2007, 02:29 PM   #12
simcox1
Member
 
Registered: Mar 2005
Location: UK
Distribution: Slackware
Posts: 794
Blog Entries: 2

Rep: Reputation: 30
Quote:
Originally Posted by spaceballs
What about side to side scrolling? Is there a YAxisMapping?
I've never worked out how to get horizontal scrolling. There are xorg.conf options for XAxisMapping and YAxisMapping, and you can also specify 4 numbers with ZAxisMapping ie

Option ZAxisMapping 4 5 6 7

The first two numbers correspond to up and down wheel, and the second two to left and right motion. But up to now I haven't got it to work. Using a 2.4 kernel.
 
Old 02-23-2007, 04:27 PM   #13
raska
Member
 
Registered: Aug 2004
Location: Aguascalientes, AGS. Mexico.
Distribution: Slackware 13.0 kernel 2.6.29.6
Posts: 816

Rep: Reputation: 30
Give those extra buttons some use then!
IMWheel allows you to bind keyboard shortcuts into mouse buttons, i.e. I got kompose and kommando in the mouse side buttons pretty neat stuff.

note: I think kompose and kommando only would work under KDE, they won't on XFCE and I don't know for Gnome
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
mousewheel in x drigz Linux - Hardware 4 05-16-2004 04:42 AM
Wheres the mousewheel? Boom Linux - Newbie 6 02-16-2003 07:02 AM
mousewheel MrPolite Linux - General 5 11-03-2002 02:52 PM
MouseWheel? MrPolite Linux - General 1 08-25-2002 10:34 PM
How to get Mousewheel working glock19 Linux - General 4 12-18-2001 09:51 PM


All times are GMT -5. The time now is 09:53 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
Open Source Consulting | Domain Registration