|
Mouse configuration in Debian PS/2 mouse Configuration in DebianIn the case of a PS/2-connector mouse on an ATX motherboard, the signal flow should be:
mouse -> /dev/psaux -> gpm -> /dev/gpmdata = /dev/mouse -> X
Here, a symlink
This signal flow allows the keyboard and mouse to be unplugged and reinitialized by restarting
The protocol of the signal flow between
I will demonstrate the configuration examples using a Logitech 3-button (traditional Unix-style mouse) PS/2 mouse as an example in the following.
If you are one of the unfortunate whose graphics card is not supported by the new X4 and need to use the old X3 (some ATI 64 bit cards), configure /etc/X11/XF86Config instead of /etc/X11/XF86Config-4 in the following examples while installing X3 packages. USB mouse Configuration in DebianMake sure you have all required kernel functions activated through kernel compile time configuration or modules:
Here, lower case names are module names.
If you're not using devfs, create a device node
# cd /dev
# mkdir input
# mknod input/mice c 13 63
For typical scroll USB mice, configuration combinations should be:
/etc/gpm.conf | /etc/X11/XF86Config-4
----------------------------------------------------------------------------
device=/dev/input/mice Section "InputDevice"
responsiveness= Identifier "Generic Mouse"
repeat_type=raw Driver "mouse"
type=autops2 Option "SendCoreEvents" "true"
append="" Option "Device" "/dev/input/mice"
sample_rate= Option "Protocol" "IMPS/2"
Option "Buttons" "5"
Option "ZAxisMapping" "4 5"
EndSection
Touchpad Configuration in DebianAlthough the touchpad on a laptop computer emulates a 2-button PS/2 mouse as the default behavior, the device=/dev/psaux
responsiveness=
repeat_type=ms3
type=autops2
append="-M -m /dev/input/mice -t autops2"
sample_rate=
|