Linas Zvirblis wrote:
Hugo Vanwoerkom wrote:
This is the problem:
"At times", after a copying and pasting operation, the mouse cursor
disappears and the last item copied appears at the prompt all the
time. In midnight commander, with the gpm option enabled, all lines
are selected all the time when the mouse is moved.
Starting stopping gpm do nothing. I have to reboot for the mouse
cursor to appear again.
Are you running X and gpm at the same time? If they both are configured
to use the same device, conflicts may occur and gpm may stop responding.
If this is the case, you can configure gpm to repeat mouse events and
set /dev/gpmdata as mouse device in X configuration file. Here are mine:
gpm.conf:
device=/dev/input/mice
responsiveness=
repeat_type=raw
type=imps2
append=''
sample_rate=
xorg.conf:
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/gpmdata"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "false"
Option "ZAxisMapping" "4 5"
EndSection
Thanks Linas!
I indeed have both gpm and X pointing to the same device.
Complicating factor: I have 2 monitors with their own keyboards and
mice, both mice are USB with 2 scroll wheels. On one of those monitors I
get textconsoles for using gpm.
My section InputDevice for the gpm mouse is:
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Dev Name" "A4Tech USB Optical Mouse"
Option "Protocol" "evdev"
Option "Device" "/dev/input/mouse0br"
Option "Dev Phys" "usb-0000:00:10.1-1/input0"
Option "ZAxisMapping" "6 7 4 5"
Option "Buttons" "12"
EndSection
I notice something funny: the "Device" and "Dev Phys" options do not
point at the same thing: it should be /dev/input/mouse1br. Who knows why
it works ;-)
I'll try eliminating the "Dev Phys" option and setting the "Device"
option to /dev/gpmdata.
Let you know.
H
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]