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 |
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 |
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. |
oops. quotes around "Protocol"
|
Quote:
|
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! |
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 |
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 |
Moved: Not a LFS specific question so moved. Regards.
|
i've added the ZAxis line. but i stil don't have the scroll functionality for my mouse. any ideas?
|
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. |
All times are GMT -5. The time now is 06:26 AM. |