You are not logged in.

#1 2010-05-26 19:22:06

Barghest
Member
From: Hanau/Germany
Registered: 2008-01-03
Posts: 563

scrolling with trackpad

Hi, I know there are several threads about this issue but they're mostly related to hal. Since hal will be deprecated soon(?), I'd like to use another method mentioned in the thinkwiki.

The udev rule mentioned in the artcile doesn't work at all. I created the file with the correct input, restarted the system but there was no scrolling.

The I tried xinput. When I use the appropriate commands I receive the error message

X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  141 (XInputExtension)
  Minor opcode of failed request:  57 ()
  Serial number of failed request:  16
  Current serial number in output stream:  17

The strange thing: Scrolling works afterwards so I'm not sure if I can ignore the mesage and enter these commands to my rc.local (or is there a better place?)

Offline

#2 2010-05-29 11:12:23

Barghest
Member
From: Hanau/Germany
Registered: 2008-01-03
Posts: 563

Re: scrolling with trackpad

Hmpf,

the hal method mentioned in the wiki also doesn't work

$ lshal|grep input.product
  input.product = 'Lid Switch'  (string)
  input.product = 'Macintosh mouse button emulation'  (string)
  input.product = 'Sleep Button'  (string)
  input.product = 'Video Bus'  (string)
  input.product = 'Power Button'  (string)
  input.product = 'ThinkPad Extra Buttons'  (string)
  input.product = 'TPPS/2 IBM TrackPoint'  (string)
  input.product = 'AT Translated Set 2 keyboard'  (string)
  input.product = 'HDA Intel Headphone'  (string)
  input.product = 'HDA Intel Headphone'  (string)
$ cat /etc/hal/fdi/policy/10-trackpoint.fdi 
<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.YAxisMapping" type="string">4 5</merge>
 <merge key="input.x11_options.Emulate3Buttons" type="string">true</merge>
 <merge key="input.x11_options.EmulateWheelTimeout" type="string">200</merge>
</match>

<merge key="input.x11_options.XAxisMapping" type="string">6 7</merge>

So, any ideas about the error message as well as about getting scrolling to work?

Offline

#3 2010-05-29 11:39:51

xduugu
Member
Registered: 2008-10-16
Posts: 292

Re: scrolling with trackpad

This is what I use (needs xserver >= 1.8):

$ cat /etc/X11/xorg.conf.d/11-thinkpad-trackpoint.conf 
Section "InputClass"
  Identifier     "Wheel Emulation"
  MatchIsPointer "on"
  MatchProduct   "TPPS/2 IBM TrackPoint"
  Option         "EmulateWheel"           "on"
  Option         "EmulateWheelButton"     "2"
  Option         "XAxisMapping"           "6 7"
  Option         "YAxisMapping"           "4 5"
  Option         "ZAxisMapping"           "4 5"
EndSection

Offline

#4 2010-05-29 14:19:55

Barghest
Member
From: Hanau/Germany
Registered: 2008-01-03
Posts: 563

Re: scrolling with trackpad

Hi xduugu,

yes, I've found this in the wiki, too but I don't have xserver>=1.8

I thought I wait for it until it leaves [testing] so I need a solution for the meantime.

Offline

#5 2010-05-30 10:29:31

Barghest
Member
From: Hanau/Germany
Registered: 2008-01-03
Posts: 563

Re: scrolling with trackpad

Ok, it seems that the problem is the "timeout"

<merge key="input.x11_options.EmulateWheelTimeout" type="string">200</merge>

Removing this line enables scrolling and it's this line for the xinput part that causes the error message.

xinput set-int-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation Timeout" 8 200

Strange, that this occurs on both methods.

Offline

#6 2010-06-01 07:17:35

Barghest
Member
From: Hanau/Germany
Registered: 2008-01-03
Posts: 563

Re: scrolling with trackpad

Before I put a [solved] in front of the topic: where can I file a bug report for this issue?

Offline

Board footer

Powered by FluxBB