LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 12-14-2003, 10:47 AM   #1
powadha
Member
 
Registered: Nov 2003
Location: Zwolle
Distribution: Arch
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?

Regards
 
Old 12-14-2003, 11:31 AM   #2
slackhappy
Member
 
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 out...you never know.
 
Old 12-15-2003, 12:59 PM   #3
cozye
Member
 
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"
EndSection

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"
EndSection

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.
EndSection
 
  


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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