You are not logged in.

#1 2008-12-03 17:15:30

jxy
Member
Registered: 2008-12-03
Posts: 133

[solved] unable to configure mouse in xorg-server 1.5

I used to have

Section "InputDevice"
    Identifier     "TrackPoint"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/input/mice"
    Option         "EmulateWheel" "on"
    Option         "EmulateWheelTimeOut" "200"
    Option         "EmulateWheelButton" "2"
    Option         "XAxisMapping" "6 7"
    Option         "YAxisMapping" "4 5"
    Option         "ZAxisMapping" "4 5"
EndSection

and the mouse wheel emulation works great until upgrading to xorg-server 1.5.3-2

Following the wiki page and some googling, I got my keyboard and synaptics touch pad work as before by adding some xml files but the mouse/trackpoint can't be configured.

I have /etc/hal/fdi/policy/11-mousewheel.fdi as

<?xml version="1.0" encoding="ISO-8859-1"?>
<deviceinfo version="0.2">
  <device>
    <match key="info.capabilities" contains="input.mouse">
      <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.EmulateWheelTimeout" type="string">200</merge>
      <merge key="input.x11_options.XAxisMapping" type="string">6 7</merge>
      <merge key="input.x11_options.YAxisMapping" type="string">4 5</merge>
    </match>
  </device>
</deviceinfo>

and lshal shows

udi = '/org/freedesktop/Hal/devices/platform_i8042_i8042_AUX_port_Synaptics_pass_through_logicaldev_input'
  info.capabilities = {'input', 'input.mouse'} (string list)
  info.category = 'input'  (string)
  info.parent = '/org/freedesktop/Hal/devices/platform_i8042_i8042_AUX_port_Synaptics_pass_through'  (string)
  info.product = 'TPPS/2 IBM TrackPoint'  (string)
  info.subsystem = 'input'  (string)
  info.udi = '/org/freedesktop/Hal/devices/platform_i8042_i8042_AUX_port_Synaptics_pass_through_logicaldev_input'  (string)
  input.device = '/dev/input/event10'  (string)
  input.originating_device = '/org/freedesktop/Hal/devices/platform_i8042_i8042_AUX_port_Synaptics_pass_through'  (string)
  input.product = 'TPPS/2 IBM TrackPoint'  (string)
  input.x11_driver = 'evdev'  (string)
  input.x11_options.EmulateWheel = 'true'  (string)
  input.x11_options.EmulateWheelButton = '2'  (string)
  input.x11_options.EmulateWheelTimeout = '200'  (string)
  input.x11_options.XAxisMapping = '6 7'  (string)
  input.x11_options.YAxisMapping = '4 5'  (string)
  linux.device_file = '/dev/input/event10'  (string)
  linux.hotplug_type = 2  (0x2)  (int)
  linux.subsystem = 'input'  (string)
  linux.sysfs_path = '/sys/class/input/input10/event10'  (string)

So, I'm confident that hal has recognized my x11_options.  But /var/log/Xorg.0.log doesn't show any thing about the configure options.  Only the following entries are relevant to the track point.

(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 mouse buttons
(II) TPPS/2 IBM TrackPoint: Configuring as mouse
(II) XINPUT: Adding extended input device "TPPS/2 IBM TrackPoint" (type: MOUSE)

with no signs of those options I set.  I believe if you set it right, those options should be displayed in /var/log/Xorg.0.log as it does for my touch pad and keyboard.

So, is there something I did wrong?

Last edited by jxy (2008-12-03 20:25:18)

Offline

#2 2008-12-03 20:14:24

jxy
Member
Registered: 2008-12-03
Posts: 133

Re: [solved] unable to configure mouse in xorg-server 1.5

Ok, I replaced xf86-input-evdev-2.0.7-1 with xf86-input-evdev-git in AUR and everything comes back to normal.  Xorg now sees my track point configuration correctly.

(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 3 mouse buttons
(II) TPPS/2 IBM TrackPoint: Found x and y relative axes
(II) TPPS/2 IBM TrackPoint: Configuring as mouse
(**) Option "EmulateWheel" "true"
(**) Option "EmulateWheelButton" "2"
(**) Option "EmulateWheelTimeout" "200"
(**) Option "YAxisMapping" "4 5"
(**) TPPS/2 IBM TrackPoint: YAxisMapping: buttons 4 and 5
(**) Option "XAxisMapping" "6 7"
(**) TPPS/2 IBM TrackPoint: XAxisMapping: buttons 6 and 7
(**) TPPS/2 IBM TrackPoint: EmulateWheelButton: 2, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
(II) XINPUT: Adding extended input device "TPPS/2 IBM TrackPoint" (type: MOUSE)

Offline

#3 2008-12-06 15:10:43

enrique
Member
Registered: 2005-10-25
Posts: 95
Website

Re: [solved] unable to configure mouse in xorg-server 1.5

Great info!, I also upgraded to xf86-input-evdev-git and now my Logitech Marble FX's emulated scroll wheel works again.


Kind regards, enrique

Offline

#4 2008-12-06 16:09:53

jxy
Member
Registered: 2008-12-03
Posts: 133

Re: [solved] unable to configure mouse in xorg-server 1.5

The package in testing, xf86-input-evdev-2.1.0-1, also works.

Offline

#5 2009-03-05 00:39:14

Echo
Member
From: Ohio, United States
Registered: 2006-05-16
Posts: 239

Re: [solved] unable to configure mouse in xorg-server 1.5

jxy wrote:

I have /etc/hal/fdi/policy/11-mousewheel.fdi as

<?xml version="1.0" encoding="ISO-8859-1"?>
<deviceinfo version="0.2">
  <device>
    <match key="info.capabilities" contains="input.mouse">
      <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.EmulateWheelTimeout" type="string">200</merge>
      <merge key="input.x11_options.XAxisMapping" type="string">6 7</merge>
      <merge key="input.x11_options.YAxisMapping" type="string">4 5</merge>
    </match>
  </device>
</deviceinfo>

I used the above code for a Kensington Orbit mouse and it worked fine for enabling scrolling w/the trackball. The only thing you need to do differently is replace the EmulateWheelButton with a "3" versus a 2 for implementation w/the Right Click button on the Orbit.

Offline

Board footer

Powered by FluxBB