Public bug reported:
I report this strange bug as an "evolution" bug, but it may also be in
xserver-xorg or xserver-xorg-input-evdev bug.
Hard to guess for me.
I use a laptop with a multitouch trackpad and a bluetooth apple mouse
(which is therefore "plugged" after X has started).
For information, this is what Xorg says when the mouse connects by
Bluetooth:
[43.751] (II) config/udev: Adding input device apple’s Mouse
(/dev/input/event12)
[43.751] (**) apple’s Mouse: Applying InputClass "evdev pointer catchall"
[43.751] (II) Using input driver 'evdev' for 'apple’s Mouse'
[43.751] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[43.751] (**) apple’s Mouse: always reports core events
[43.751] (**) evdev: apple’s Mouse: Device: "/dev/input/event12"
[43.751] (--) evdev: apple’s Mouse: Vendor 0x5ac Product 0x30d
[43.751] (--) evdev: apple’s Mouse: Found 3 mouse buttons
[43.751] (--) evdev: apple’s Mouse: Found scroll wheel(s)
[43.751] (--) evdev: apple’s Mouse: Found relative axes
[43.751] (--) evdev: apple’s Mouse: Found x and y relative axes
[43.751] (--) evdev: apple’s Mouse: Found absolute axes
[43.751] (--) evdev: apple’s Mouse: Found absolute multitouch axes
[43.751] (II) evdev: apple’s Mouse: Configuring as mouse
[43.751] (II) evdev: apple’s Mouse: Adding scrollwheel support
[43.751] (**) evdev: apple’s Mouse: YAxisMapping: buttons 4 and 5
[43.751] (**) evdev: apple’s Mouse: EmulateWheelButton: 4,
EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[43.751] (**) Option "config_info"
"udev:/sys/devices/pci:00/:00:1a.7/usb1/1-1/1-1.1/1-1.1.3/1-1.1.3:1.0/bluetooth/hci0/hci0:11/input15/event12"
[43.751] (II) XINPUT: Adding extended input device "apple’s Mouse" (type:
MOUSE, id 13)
[43.751] (II) evdev: apple’s Mouse: initialized for relative axes.
[43.751] (WW) evdev: apple’s Mouse: ignoring absolute axes.
[43.751] (**) apple’s Mouse: (accel) keeping acceleration scheme 1
[43.751] (**) apple’s Mouse: (accel) acceleration profile 0
[43.751] (**) apple’s Mouse: (accel) acceleration factor: 2.000
[43.751] (**) apple’s Mouse: (accel) acceleration threshold: 4
On evolution, issuing xmodmap command affects the way the trackpad
events are received but does not change the way the bluetooth mouse
events are received.
To make things clearer...
- if I issue a
xmodmap -e "pointer = 1 2 3 4 5"
then the wheel events are working as expected with both the trackpad and the
mouse, under all software (including evolution).
- If I issue a
xmodmap -e "pointer = 1 2 3 5 4"
then the wheel events are inverted, as expected, with both the trackpad and the
mouse on all software... but not on evolution.
There, the trackpad generated events are inverted as expected but the
mouse generated events are not. The situation is even more puzzling:
In the left (mailboxes) windows and in the upper right (mail header
lines) windows, the trackpad is inverted but not the external mouse.
In the bottom right window (current mail), the trackpad works fine
(inverted) but the mouse wheel generates no true movement: the lines
just go up and down rapidly so the window "shivers" but does not move
overall. It looks like it gets a pair of events, one up and own down at
each event.
To conclude this test, I borrowed a USB mouse and plugged it in. This
generated the following Xorg log:
[ 4009.282] (II) config/udev: Adding input device Logitech USB Optical Mouse
(/dev/input/event13)
[ 4009.282] (**) Logitech USB Optical Mouse: Applying InputClass "evdev
pointer catchall"
[ 4009.282] (II) Using input driver 'evdev' for 'Logitech USB Optical Mouse'
[ 4009.282] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[ 4009.282] (**) Logitech USB Optical Mouse: always reports core events
[ 4009.282] (**) evdev: Logitech USB Optical Mouse: Device:
"/dev/input/event13"
[ 4009.282] (--) evdev: Logitech USB Optical Mouse: Vendor 0x46d Product 0xc06a
[ 4009.283] (--) evdev: Logitech USB Optical Mouse: Found 3 mouse buttons
[ 4009.283] (--) evdev: Logitech USB Optical Mouse: Found scroll wheel(s)
[ 4009.283] (--) evdev: Logitech USB Optical Mouse: Found relative axes
[ 4009.283] (--) evdev: Logitech USB Optical Mouse: Found x and y relative axes
[ 4009.283] (II) evdev: Logitech USB Optical Mouse: Configuring as mouse
[ 4009.283] (II) evdev: Logitech USB Optical Mouse: Adding scrollwheel support
[ 4009.283] (**) evdev: Logitech USB Optical Mouse: YAxisMapping: buttons 4
and 5
[ 4009.283] (**) evdev: Logitech USB Optical Mouse: EmulateWheelButton: 4,
EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[ 4009.283] (**) Option "config_info"
"udev:/sys/devices/pci:00/:00:1a.7/usb1/1-1/1-1.3/1-1.3:1.0/input/input16/event13"
[ 4009.283] (II) XINPUT: Adding extended input device "Logitech USB Optical
Mouse" (type: MOUSE, id 14)
[ 4009.283] (II) evdev: Logitech USB Optical Mouse: initialized for rela