Prev | Current Page 143 | Next

Chris Tyler

"X Power Tools"

The X server mouse configuration may need to be changed if you are using
these daemons.
GPM Under Linux
The General Purpose Mouse (GPM) daemon on Linux automatically detects the
mode of current VT; when it is in a graphic mode, it stops processing mouse events.
When the VT returns to text mode, GPM resumes processing.
For serial, PS/2, and USB mice, this works well. A few very old mice use a separate
adapter, either on a standalone ISA/PCI card or built into the video card. The kernel
drivers for these bus mice cannot be opened by more than one program at a time, so
if GPM is in use, the X server won??™t be able to get input from the mouse.
GPM provides a solution: for these types of mice, it can repeat all of the mouse data
on a different device interface whenever the VT is in graphic mode. This permits the
X server to get the mouse input without opening the mouse device a second time.
To use GPM in this mode, configure the X server to use the mouse device /dev/
gpmdata in the pointer InputDevice section:
4.10
84 Chapter 4: Advanced X.org Configuration
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Device" "/dev/gpmdata"
EndSection
You must ensure that the gpm command is invoked with the -R (repeat) option:
$ gpm -R
If GPM is started at boot time by your system??™s init scripts, you may be able to add
this option by editing a configuration file.


Pages:
131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155