On a Linux system, the physical mouse is usually connected to one of these devices:
/dev/psaux
The PS/2 mouse port.
/dev/input/mice
All USB mice merged together.
/dev/input/mouseN
A specific USB mouse (N is the mouse number starting at zero).
/dev/ttySN
A serial port (N is the serial port number starting at zero; the DOS/Windows
device COM1: is /dev/ttyS0).
For USB mice under NetBSD/OpenBSD, use the device /dev/umsN (N is the mouse
number, starting at zero).
You can create the /dev/mouse symlink with the command:
ln -s /dev/mousedevice /dev/mouse
However, some distributions (such as Ubuntu) are starting to use a volatile /dev
directory??”one that is not saved on disk, but created on-the-fly when the system is
booted. The symbolic link would need to be created every time the system is started.
In this case, your best choice would be to change the device entry in the InputDevice
section of the configuration file. Here is an automatically generated configuration:
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Device" "/dev/mouse"
EndSection
3.8
52 Chapter 3: Basic X.org Configuration
Change the last argument of the Option "Device" entry to the device you wish to use:
Option "Device" "/dev/input/mice"
Almost all mice now use a variation of the PS/2 protocol and can be detected and
managed automatically.
Pages:
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106