LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   mouse configuration (https://www.linuxquestions.org/questions/linux-general-1/mouse-configuration-16607/)

Rex_chaos 03-19-2002 12:50 PM

mouse configuration
 
First of all, I have to say sorry for this lasting question. Though I have posted this question several times and got some replies. I can't solve the problem. Please help again!

I have RH7.2 installed in my laptop. My laptop have a touchpad
and working fine with RH7.2 . However, I prefer using another external mouse(USB, IntelliMouse).
I wonder if it's ok to have two mice work together. According to the previous replay to the same topic, my current setting in XF86Config-4 is

Section "ServerLayout"
Identifier "XFree86 Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer" #for built-in touchpad
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "USBMice" "SendCoreEvents" #for external mouse
EndSection

.........................

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "PS/2" #for built-in touchpad
Option "Device" "/dev/mouse"
Option "Emulate3Buttons"
EndSection

Section "InputDevice"
Identifier "USBMice"
Driver "mouse"
Option "Protocol" "IMPS/2" #for external mouse
Option "Device" "/dev/mice"
Option "ZAxisMapping" "4 5"
Option "Buttons" "5"
EndSection

Unfortunately, the second mouse(usb one) doesn't work.

Please help!

Thanks in advance!

jrmann1999 03-19-2002 02:49 PM

Change the
Quote:

Option "Device" "/dev/mice"
to
Option "Device" "/dev/input/mice"

Before you do that I'd suggest booting up w/o the mouse, flipping into a console and running:

# tail -f /var/log/syslog

then plugin your mouse and make sure that the system recognizes it, if so then do a :

# cat /dev/input/mice

and move your usb mouse, you should see a whole bunch of characters start flipping into the console, if this is the case your golden w/ the above change to XF86Config-4

J

Rex_chaos 03-19-2002 08:22 PM

Thanks for your help. Can you tell me what w/o means?

Rex_chaos 03-19-2002 09:54 PM

Thanks you so much. The mouse do work now.

According to your instruction, I set the device line to /dev/input/mice. I didn't run tail -f /var/log/syslog because there was no this file(/var/log/syslog). And then, I tried to run
cat /dev/input/mice and failed because of absence of this device(but I saw /dev/input/mice is there!?). Anyway, I restart the linux and what interesting is that the two mice do work together :)

However, it wasn't lasting. I can just use the usb mouse for a while and it stop respoding. Can you tell me why?

Thanks again!

jrmann1999 03-20-2002 07:59 AM

w/o == without

To deduce this issue, you need to find your syslog file. Run this:

# find / -name syslog

and see what comes up, somewhere one of the entries(if there are more than one) will be the log file that pretty much everything goes into. Try tailing that and again, making sure that your usb mouse is in fact detected. I run a Sony Vaio Laptop with dual mice(one glidepoint, one usb) and both work all the time, I'm lucky that mine is a logitech wireless usb mouse that is detected correctly. Another issue might be an invalid driver, imps/2 or ps/2 are the two most common drivers.

Rex_chaos 03-20-2002 08:55 AM

My laptop is Song vaio too. Maybe I am a unfortunate. I have tried so many times and both of my mice are working fine. And once I active some function(e.g. click a button or icon), the usb mouse stop working. Oh my god!!!!!!!!!!!!!!

Rex_chaos 03-25-2002 08:08 AM

It's so weird. I tried to boot from the old 2.4.7-10 kernel without the usb mouse plug in. Then I tried to cat /dev/input/mice, the device not found. So I restart the X and plug the usb mouse again. This time, after cat /dev/input/mice, my usb mouse work fine and never freeze again. Unforunately, I can't solve the problem by doing the same thing under the 2.4.18 kernel.
Can anyone explain it?

Any reply is appreciated!


All times are GMT -5. The time now is 02:38 PM.