X sets "EmulateWheelButton" to incorrect value by default

Bug #295494 reported by David Jaša
6
Affects Status Importance Assigned to Milestone
xserver-xorg-input-evdev (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: xserver-xorg-input-evdev

My Ubuntu Intrepid installation recognizes correctly trackpoint, but sets option "EmulateWheelButton" to non-existing button 2:

(II) config/hal: Adding input device TPPS/2 IBM TrackPoint
(**) TPPS/2 IBM TrackPoint: always reports core events
(**) TPPS/2 IBM TrackPoint: Device: "/dev/input/event10"
(II) TPPS/2 IBM TrackPoint: Found x and y relative axes
(II) TPPS/2 IBM TrackPoint: Found 3 mouse buttons
(II) TPPS/2 IBM TrackPoint: Configuring as mouse
(II) XINPUT: Adding extended input device "TPPS/2 IBM TrackPoint" (type: MOUSE)
(**) TPPS/2 IBM TrackPoint: YAxisMapping: buttons 4 and 5
(**) TPPS/2 IBM TrackPoint: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200

It can be easily corrected by this piece of xml in /etc/hal/fdi/policy/:

<?xml version="1.0" encoding="UTF-8"?>
<deviceinfo version="0.2">
  <device>
    <match key="info.product" string="TPPS/2 IBM TrackPoint">
      <merge key="input.x11_options.EmulateWheel" type="string">true</merge>
      <merge key="input.x11_options.EmulateWheelButton" type="string">2</merge>
      <merge key="input.x11_options.ZAxsisMapping" type="string">4 5</merge>
      <merge key="input.x11_options.Emulate3Buttons" type="string">true</merge>
    </match>
  </device>
</deviceinfo>

And Xorg.0.log then reports:

(II) config/hal: Adding input device TPPS/2 IBM TrackPoint
(**) TPPS/2 IBM TrackPoint: always reports core events
(**) TPPS/2 IBM TrackPoint: Device: "/dev/input/event10"
(II) TPPS/2 IBM TrackPoint: Found x and y relative axes
(II) TPPS/2 IBM TrackPoint: Found 3 mouse buttons
(II) TPPS/2 IBM TrackPoint: Configuring as mouse
(II) XINPUT: Adding extended input device "TPPS/2 IBM TrackPoint" (type: MOUSE)
(**) Option "Emulate3Buttons" "true"
(II) TPPS/2 IBM TrackPoint: Forcing middle mouse button emulation.
(**) Option "EmulateWheel" "true"
(**) Option "EmulateWheelButton" "2"
(**) TPPS/2 IBM TrackPoint: YAxisMapping: buttons 4 and 5
(**) TPPS/2 IBM TrackPoint: EmulateWheelButton: 2, EmulateWheelInertia: 10, EmulateWheelTimeout: 200

Revision history for this message
David Jaša (dejv) wrote :
Revision history for this message
David Jaša (dejv) wrote :

"to non-existing button 2" --> to the non-existing button 4, of course

Revision history for this message
Elias K Gardner (zorkerz) wrote :

Hi thanks for reporting this bug. It appears to be a duplicate of bug#292047. Your report has some new information namely that ubuntu attempts to emulate the mouse wheel but does it for a nonexistent button. Further discussion should occur on the above mentioned bug. Please subscribe to it and add any missing information.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.