LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-05-2005, 06:45 PM   #1
eclipse75
LQ Newbie
 
Registered: Mar 2005
Location: Western Hemisphere
Distribution: Slackware 10.1
Posts: 11

Rep: Reputation: 0
Question PS/2 Mouse


I only know about the mapping "4 5" command for scrolling. Since that is for usb mouses it doesn't work for mine. What is the command I add to xorg.conf for PS/2 mouse scrolling?
 
Old 06-05-2005, 06:51 PM   #2
kencaz
Senior Member
 
Registered: Mar 2005
Location: Las Vegas, NV
Distribution: Mandriva Slackware FreeBSD
Posts: 1,468

Rep: Reputation: 48
Here is the input section of my xorg.conf for my ps/2 type scroll mouse. If it may be of some help.

Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "ExplorerPS/2"
Option "Device" "/dev/mouse"
Option "ZAxisMapping" "6 7"
EndSection

KC
 
Old 06-05-2005, 08:47 PM   #3
nadroj
Senior Member
 
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539

Rep: Reputation: 60
the ZAxisMapping isnt just for usb mice. it has nothing to do with what type of connection it uses. it is used to assign the Z Axis/vertical buttons to specific buttons on your mouse. the "4 5" correlate to the up/down buttons that you want to use. you could have right click be your up scroll wheel if so desired...
in order to find out which 2 buttons map up with your scroll wheel, will probably require trial and error i would think.
post the mouse section of your xorg.conf... what mouse are you using? how many buttons does it have?
 
Old 06-05-2005, 10:12 PM   #4
eclipse75
LQ Newbie
 
Registered: Mar 2005
Location: Western Hemisphere
Distribution: Slackware 10.1
Posts: 11

Original Poster
Rep: Reputation: 0
Thumbs down Thanks, but still isn't budging.

Section "InputDevice"

Identifier "Mouse1"
Driver "mouse"

Option "Protocol" "PS/2"

Option "Device" "/dev/mouse"

Option "Emulate3Buttons"

Option "ZAxisMapping" "6 7"

EndSection


Their is the mouse section of my "xorg.conf". I've tried fooling around with the ZAxisMapping. All I have gotten every time was when I scroll my cursor moves up or down my screen half way. I do appreciate everybodys help.
 
Old 06-05-2005, 10:17 PM   #5
nadroj
Senior Member
 
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539

Rep: Reputation: 60
as from my initial response.. how many buttons do you have? and what mouse!?

here is the mouse section for my xorg.conf
Code:
Section "InputDevice"

# Identifier and driver

    Identifier "Mouse1"
    Driver "mouse"
    Option "Protocol"    "ExplorerPS/2"
    Option "Device"      "/dev/input/mice"
    Option "Buttons" "8"
    Option "ZAxisMapping" "4 5"
try commenting out (put a # at beginning of line) the emulate3buttons option. or try chaning the device to /dev/input/mice or /dev/psaux

try changing the protocol to ExplorerPS/2, or specifying the number of buttons you have...

Last edited by nadroj; 06-05-2005 at 10:20 PM.
 
Old 06-06-2005, 02:51 AM   #6
eclipse75
LQ Newbie
 
Registered: Mar 2005
Location: Western Hemisphere
Distribution: Slackware 10.1
Posts: 11

Original Poster
Rep: Reputation: 0
Talking Forgot, heh

Its an IBM mouse. Has the scroll button, and three others.
 
Old 06-06-2005, 02:57 AM   #7
eclipse75
LQ Newbie
 
Registered: Mar 2005
Location: Western Hemisphere
Distribution: Slackware 10.1
Posts: 11

Original Poster
Rep: Reputation: 0
Thanks!

Switching it to ExplorerPS/2 worked. Thanks for everything man.
 
Old 06-06-2005, 12:44 PM   #8
Matty-J
Member
 
Registered: Jun 2004
Distribution: SuSE 9.3, Debian Sarge
Posts: 65

Rep: Reputation: 15
When you change something in the conf files, do you have to restart for them to work, or should everything work right away?

Thanks,
Matt
 
Old 06-06-2005, 12:45 PM   #9
nadroj
Senior Member
 
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539

Rep: Reputation: 60
youll need to restart it. the Xserver reads the file when it first starts up, so you have to shut it down and have it start again for it ti reread its configuration.
to restart the x server you can press CTRL + ALT + BACKSPACE

Last edited by nadroj; 06-06-2005 at 12:47 PM.
 
  


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
Belkin KDM & MS scoll mouse solution (jumping mouse) otchie1 Linux - Hardware 2 03-02-2006 02:16 PM
(STRANGE) Mouse get's crazy when holding a key and moving mouse(Update to 2.6.10) the-copy Linux - Hardware 2 02-08-2005 01:07 PM
strange mouse behaviour with logitech pilot mouse in debian 3.0r2 g-string 3 Debian 0 11-12-2004 07:27 AM
new nvidia driver & mouse problems - odd errors produced, no mouse detected. UrbanSlayer Debian 4 07-03-2004 09:13 PM
The you have a Mouse Pointer Problem(mouse stick top left)here is the solution. dr4ven Linux - Hardware 0 05-25-2003 06:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:05 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration