LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Setting ps/2 mouse in Debian sarge (https://www.linuxquestions.org/questions/linux-hardware-18/setting-ps-2-mouse-in-debian-sarge-331357/)

bruno buys 06-07-2005 06:48 PM

Setting ps/2 mouse in Debian sarge
 
I can't put a ps/2 mouse to work. Shall I dettach the old serial before? The fact that the keyb is ps/2 also can be a problem? Using debian sarge. Most likely its some silly issue, because a knoppix live cd found it and used it out of the box. I just can't see where is the problem.
X picks the "Configured" mouse, instead of the generic. Also, I have the gpm package installed and running.

Thanks!



This is how my XF86Config-4 reads (the relevant section):

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/ttyS0"
Option "Protocol" "Microsoft"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
Identifier "Generic Mouse"
Driver "mouse"
Option "CorePointer"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "ImPS/2"
Option "Buttons" "3"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection

comprookie2000 06-07-2005 06:58 PM

I would try this;

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "ImPS/2"
Option "Buttons" "3"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
Identifier "Generic Mouse"
Driver "mouse"
Option "CorePointer"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "ImPS/2"
Option "Buttons" "3"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection
also you could run;
#dpkg-reconfigure xserver-xfree86

bruno buys 06-07-2005 09:17 PM

Hi friend. I tried it, but no good.

I was using the manuals available at debian's www, stating that the chain should be:

mouse -> /dev/psaux -> gpm -> /dev/gpmdata = /dev/mouse -> X

with an additional option if you don't want to use the gpm daemon. The problem seems to be that I don't have the device /dev/psaux no matter what I try.

bruno@frank:~$ ls -l /dev/psaux
ls: /dev/psaux: No such file or directory

Booting from kurumin cd (knoppix based distro), both mice work (ps/2 and serial).

Any clues?

comprookie2000 06-08-2005 04:05 AM

as root see what device you do have
Code:

cd /dev
ls /dev/input/mice  or
ls /dev/mouse and to see everything
ls

if nothing "mouse" "mice" shows up the kernel isn't seeing your "mouse"


All times are GMT -5. The time now is 04:39 PM.