LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 02-18-2004, 03:51 PM   #1
behmjose
Member
 
Registered: Dec 2003
Posts: 55

Rep: Reputation: 15
setting up a ps/2 mouse for x


I was wondering what the device file was for a ps/2 mouse. i set up lfs and loaded xfree86 4.3.0 and i can't seem to figure out how to get my mouse to work. please help me, thanks,

behmjose
 
Old 02-18-2004, 04:44 PM   #2
shanenin
Member
 
Registered: Aug 2003
Location: Rochester, MN, U.S.A
Distribution: Gentoo
Posts: 987

Rep: Reputation: 30
when you run the program xf86config you will choose IMPS/2 . To make your mouse wheel work manually add Option "ZAxisMapping" "4 5" to your /etc/X11/XF86Config file

below is part of my XF86Config file

Code:
#Identifier and driver

    Identifier  "Mouse1"
    Driver      "mouse"
    Option "Protocol"    "IMPS/2"
    Option "Device"      "/dev/mouse"
    Option "ZAxisMapping" "4 5"
I myself did not have the patience to install my X system by hand. I stopped my lfs project after I was able to surf the web using links. Congrats
 
Old 02-18-2004, 04:44 PM   #3
dfowensby
Member
 
Registered: Dec 2003
Location: OceanView Virginia, gem of the Southern Shore
Distribution: MATE 15.04
Posts: 194
Blog Entries: 1

Rep: Reputation: 30
if you have root access, and can bring up /etc/X11/XF86Config with your editor, this is how i have my optical wheelmouse setup (these are the lines that are uncommented/#) in the Core Pointer section:

Identifier "Mouse1"
Driver "mouse"
Option Protocol "IMPS/2" #use PS/2 if you have a ball mouse
Option "ZAxisMapping" "4 5" #enter this only if you do use an optical/IR mouse
Option "Device" "/dev/mouse"

read the comments included on this file, as they can help if you aren't using a common ps/2 ball mouse.
hope this helps.
-O.
 
Old 02-18-2004, 04:48 PM   #4
dfowensby
Member
 
Registered: Dec 2003
Location: OceanView Virginia, gem of the Southern Shore
Distribution: MATE 15.04
Posts: 194
Blog Entries: 1

Rep: Reputation: 30
oops. quotes around "Protocol"
 
Old 02-18-2004, 04:50 PM   #5
shanenin
Member
 
Registered: Aug 2003
Location: Rochester, MN, U.S.A
Distribution: Gentoo
Posts: 987

Rep: Reputation: 30
Quote:
Option "ZAxisMapping" "4 5" #enter this only if you do use an optical/IR mouse
I do not have an optical mouse, but that option is needed to make your scroll wheel work for any mouse. I am not sure what an IR mouse is..
 
Old 02-18-2004, 04:53 PM   #6
dfowensby
Member
 
Registered: Dec 2003
Location: OceanView Virginia, gem of the Southern Shore
Distribution: MATE 15.04
Posts: 194
Blog Entries: 1

Rep: Reputation: 30
my doing two things at atime is messy. what shanenin said is what your file should look like almost to a T. just put in PS/2 (the default config) if you have a non wheel mouse.
luck!
 
Old 02-18-2004, 05:39 PM   #7
behmjose
Member
 
Registered: Dec 2003
Posts: 55

Original Poster
Rep: Reputation: 15
well thanks for all the reply's
i however do not have a /dev/mouse, and i was wondering what it is a symlink to. sorry for not being clear.

thanks,
behmjose
 
Old 02-18-2004, 06:27 PM   #8
behmjose
Member
 
Registered: Dec 2003
Posts: 55

Original Poster
Rep: Reputation: 15
hi again i figed it out
/dev/psaux

thanks for you help though
its a good thing people respond to you in the open source world

thanks agian,
joe
 
Old 02-21-2004, 10:17 PM   #9
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 234Reputation: 234Reputation: 234
Moved: Not a LFS specific question so moved. Regards.
 
Old 02-24-2004, 03:33 AM   #10
abs
Member
 
Registered: Oct 2003
Posts: 203

Rep: Reputation: 30
i've added the ZAxis line. but i stil don't have the scroll functionality for my mouse. any ideas?
 
Old 02-27-2004, 03:40 PM   #11
dfowensby
Member
 
Registered: Dec 2003
Location: OceanView Virginia, gem of the Southern Shore
Distribution: MATE 15.04
Posts: 194
Blog Entries: 1

Rep: Reputation: 30
hmmm. you DID put a space between the 4 and the 5, right?
if so, the only things i can recommend are to go to console, do xff86config, click thru the whole mess, then go to the editor, check xf86.conf and see if it worked, and plug in the right script if not, reboot, and see if the mouse scrolls then. if this doesn't do it, i suggest you see if the thing is a hardware glitch (check it on another box, or switch mice).
if this doesn't work, you can buy a very reasonably priced sledgehammer from toolsRus and have a very satisfying stress-release session....'cause i'm outa ideas.
good luck -O.
 
  


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
setting PS/2 mouse for Fedora manhviet Linux - Newbie 1 10-05-2005 01:07 PM
setting up wireless mouse lil_justice Linux - Hardware 1 08-13-2005 07:55 PM
setting up a serial mouse Blu-star Linux - Software 2 12-30-2003 10:52 AM
mouse setting allan8989 Linux - Hardware 3 04-03-2003 06:25 PM
Setting The mouse.... juagut Linux - General 0 08-29-2001 09:21 AM


All times are GMT -5. The time now is 07:47 PM.

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