Laptop with 2 mice
I have an interesting problem. I have an IBM T20 laptop running redhat 8.0. It has one of those little red nubs for a mouse. I also have a logitech USB optical wheel mouse. Sometimes I want to use the nub, and sometimes i want to use the usb mouse. Ideally I would like to be able to use both at the same time (like windoz lets me do).
Right now i have the nub set up as my default mouse. If i want to use the usb mouse, i have to go into the mouse configuration and select it then restart gnome. Is there any way around this? |
add a second mouse to the config file
I use my mouse in the console so mine is like this if gpm is running usr gpm -k first gpm -R -m /dev/psaux -t ps2 -M -m /dev/input/mice -t imps2 that command will get both mice working in the console, I have a nub (or whatever it's called) lol, and a pad that are the first mouse /dev/psaux type ps2, I also have a usb wheel mouse which is /dev/input/mice type imps2 now assuming you will use gpm like I have shown, you need to setup your XF86Config or XF86Config-4 file, whichever one your using. the log file will tell you david@micro:~$ cat /var/log/XF*0.log | grep XF86 (==) Using config file: "/etc/X11/XF86Config" |
now this goes in your file, it is probably at the bottom
Section "ServerLayout" InputDevice "Mouse2" "AlwaysCore" InputDevice "Mouse1" "CorePointer" you may have mouse0 and mouse1 as long as it matches the serverlayout it will be ok now setup each mouse section for the mouse you want |
in the Device section you can use the following settings for the first mouse, the ps2 one.
Section "InputDevice" Identifier "Mouse1" Driver "mouse" Option "Protocol" "MouseSystems" Option "Device" "/dev/gpmdata" Option "Emulate 3 Buttons" EndSection if you have an old version (not likely) it will look like this Protocol "MouseSystems" Device "/dev/gpmdata" |
for the usb mouse use
Section "InputDevice" Identifier "Mouse2" Driver "mouse" Option "Protocol" "IMPS/2" Option "Device" "/dev/input/mice" Option "ZAxisMapping" "4 5" EndSection |
you may need to add
Option "Buttons" "3" for new XFree or Option "Buttons" "5" for old XFree I don't have either one and have no problems this only applies to the wheel mouse |
Thanks alot it works perfectly. :)
|
cool
|
hi
well i have nearly the same issue but i couldn't understand really the posts.. hi all am using RH8.0 .... when i plugged my usb mouse it kudzu detected it automatically and am using it very nicely on mylaptop .. but when i wanted to use the touchpad .. i couldn't .. i thought it was because the usb is still connected .. i unplugged it and the same issue was there ... i restarted and it asked me if i want to keep the configuration of the usb .. i choose to keep it .. ( the usb was not connected this moment) .. then i could use my touch pad again .. ! i had to plug the usb mouse and use it ... my question is .. is there any way that i can use BOTH at the same time? i mean the usb mouse and the laptops touch pad .. and do i need to answer the question of keeping the configuration or not all the time?? if i want to just keep the configuration and use whatever i wanted at the same time .. is it possible? how? i didn't understand what configuration file to edit .. and what exactly i should use thanks in advance:) |
yes you can. I just don't know how to explain it any better. What is it that you need to clarify.
The config file mentioned is /etc/X11/XF86Config-4 |
Both mouse work in Thinkpad T30 with Redhat 8.0
My system is Thinpad T30 and Redhat 8.0 ..
I have same problem... I followed DavidPhillips suggestion.. but I also couldn't find "/dev/gpmdata" .. therefore I tried "dev/gpmctl" .. It doesn't work.. After struglling some time... I figured out.. Here.. I post my XF86Config for others.. ######################################### Section "ServerLayout" Identifier "Anaconda Configured" Screen 0 "Screen0" 0 0 InputDevice "Mouse0" "CorePointer" InputDevice "Mouse1" "AlwaysCore" InputDevice "Keyboard0" "CoreKeyboard" EndSectionSection "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "GlidePointPS/2" Option "Device" "/dev/psaux" Option "ZAxisMapping" "4 5" Option "Emulate3Buttons" "yes" EndSection Section "InputDevice" Identifier "Mouse1" Driver "mouse" Option "Device" "/dev/input/mice" Option "Protocol" "IMPS/2" Option "Emulate3Buttons" "no" Option "ZAxisMapping" "4 5" EndSection |
true, if you do not use the console with your mouse there is no ned to use gpm, just configure both mice using their device name.
|
Does all this apply for SuSe 8.1/KDE on an IBM T20, as well?
How do I get programs to scroll with the wheel? |
this part of the config does it
Option "ZAxisMapping" "4 5" |
hey guys i would be happy to rate you good i got kind of the same problem and i was wondering if i would need to do the exact same or a little diferent. i use a touch pad with my toshiba laptop and i was trying to get my optical wheel usb mouse to work as well. im using slackware 9.0, can anyone help me with this?
|
All times are GMT -5. The time now is 09:31 AM. |