Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 12-14-2003, 11:47 AM   #1
Registered: Nov 2003
Location: Utrecht
Distribution: Debian SID
Posts: 651

Rep: Reputation: 31
Configure a second mouse / trackball wheel

I'm using a usb Logitech trackball in 9.1 which works fine (accept for the wheel, no clue how to get that working) I'd like to use my regular mouse for gaming aswell. In debian this all went very easy (auto) and even the wheel works on the trackball.
The XF86Config file looks a lot different then the one I'm used to in Debain. Not sure how to edit it to get both mice working and perhaps even the wheel to do it's job. Any clues?

Old 12-14-2003, 12:31 PM   #2
Registered: Dec 2003
Location: Ontario, Canada
Distribution: RH 7.3 - 9, Slackware 9.1
Posts: 43

Rep: Reputation: 15
I got my wheel to work by editing /etc/X11/XF86Config and adding this line to the input device mouse pointer section.

Option "ZAxisMapping" "4 5"

Check it never know.
Old 12-15-2003, 01:59 PM   #3
Registered: Nov 2003
Location: Louisville, KY
Distribution: Slackware
Posts: 46

Rep: Reputation: 15
I have both my usb mouse and the built in trackpoint (laptop) working. This took a little digging but basically I have setup 2 input devices in my XF86Config file. The default device is usually pointing to /dev/mouse, which should be a link to /dev/psaux or /dev/input/mice. You will have to figure out where your other input device is actually located and change the directory entry below. You can test this by doing a 'more' on the device file (ie /dev/psaux) and moving the mouse. You should see characters appear.

Section "ServerLayout"
Identifier "XFree86 Configured"
Screen 0 "Screen0" 0 0
InputDevice "ps2mouse" "CorePointer" ####### this is added for the trackpoint
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "AlwaysCore"

Section "InputDevice" ########### this is the trackpoint section
Identifier "ps2mouse"
Driver "mouse"
Option "Device" "/dev/psaux" ### could be /dev/mouse as well, depends on the link
Option "Protocol" "PS/2"
Option "Emulate3Buttons" "on"

Section "InputDevice" ###### second mouse device, usb mouse in this case
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "IMPS/2" ### usb mouse protocol
Option "ZAxisMapping" "4 5" ### for the wheel
Option "Device" "/dev/input/mice" ### direct do the device.


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
Mouse and Trackball at the same time TarFile Slackware 1 04-21-2005 11:15 PM
USB mouse & Trackball dawizman Linux - Laptop and Netbook 1 04-03-2004 08:02 PM
How to configure ps2 wheel mouse ??? buboleck Slackware 6 12-25-2003 03:25 AM
Configure 5button + 2 wheel mouse AMMullan Linux - Hardware 1 09-19-2003 01:18 PM
Trackball Explorer Mouse Penguinomics Linux - Hardware 0 05-11-2003 09:50 PM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:10 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration