You are not logged in.

#1 2008-12-02 14:21:33

ukognos
Member
Registered: 2008-07-18
Posts: 41

trackpoint scrolling with 3rd mouse button (thinkpad r60, xorg 7.4)

hello

i'm trying to reconfigure my trackpoint to behave like it did before xorg 7.4. (i have been able to scroll with 3rd mouse button).

so i ported my old xorg configs:

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "CorePointer"
        Option      "Device" "/dev/input/mice"
        Option      "Protocol" "ExplorerPS/2"
        Option      "Emulate3Buttons" "on"
        Option      "Emulate3TimeOut" "50"
        Option      "EmulateWheel" "on"
        Option      "EmulateWheelTimeOut" "200"
        Option      "EmulateWheelButton" "2"
        Option      "YAxisMapping" "4 5"
        Option      "XAxisMapping" "6 7"
        Option      "ZAxisMapping" "4 5"
EndSection

to the new hal device management policy file: /etc/hal/fdi/policy/mouse-wheel.fdi

<?xml version="1.0" encoding="utf-8"?>
<deviceinfo version="0.2">
 <device>
  <match key="info.product" contains="TrackPoint">
   <merge key="input.x11_options.Emulate3Buttons" type="string">on</merge>
   <merge key="input.x11_options.Emulate3TimeOut" type="string">50</merge>
   <merge key="input.x11_options.EmulateWheelTimeOut" type="string">200</merge>
   <merge key="input.x11_options.ZAxisMapping" type="string">4 5</merge>
   <merge key="input.x11_options.EmulateWheel" type="string">on</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.XAxisMapping" type="string">6 7</merge>
  </match>
 </device>
</deviceinfo>

but it doesn't work.

i'm also using a custom 10-keymap.fdi file like explained in this artikel: http://wiki.archlinux.org/index.php/Xor … otplugging

so long
ukognos

Offline

#2 2008-12-02 20:46:36

Eboy
Member
From: Finland
Registered: 2008-11-29
Posts: 3

Re: trackpoint scrolling with 3rd mouse button (thinkpad r60, xorg 7.4)

I have got some ideas:

Comment out:  Option      "Emulate3Buttons" "on"

If you can't get it working you may want to try following:

My xorg.conf (I have x31, but it should work also with r60):

Section "InputDevice"
        Identifier      "Configured Mouse"
        Driver          "mouse"
        Option          "CorePointer"
        Option          "Device"               "/dev/input/mice"
        Option          "Protocol"             "ImPS/2"
        Option          "EmulateWheel"          "true"
        Option          "EmulateWheelTimeOut" "200"
        Option          "EmulateWheelButton"    "2"
EndSection

Last edited by Eboy (2008-12-02 20:47:08)

Offline

#3 2008-12-05 13:43:16

TuxStorm
Member
From: Kenosha, WI
Registered: 2008-04-16
Posts: 16
Website

Re: trackpoint scrolling with 3rd mouse button (thinkpad r60, xorg 7.4)

I have a thinkpad z60m and my middle button scrolling has also stopped working. I tried Eboy's snippet, and it wasn't successful  for me.

Still looking...


Follow me on: twitter | plurk | flickr

Offline

#4 2008-12-05 13:52:03

TuxStorm
Member
From: Kenosha, WI
Registered: 2008-04-16
Posts: 16
Website

Re: trackpoint scrolling with 3rd mouse button (thinkpad r60, xorg 7.4)

As found in another thread, adding the following to the bottom of my xorg.conf brought back scrolling.

Section "ServerFlags"
     Option "AutoAddDevices" "False"
   EndSection

Follow me on: twitter | plurk | flickr

Offline

#5 2008-12-05 14:45:55

Iketani
Member
From: United Kingdom
Registered: 2008-08-18
Posts: 10
Website

Re: trackpoint scrolling with 3rd mouse button (thinkpad r60, xorg 7.4)

Same problem here, wheel emulation on x40 does not work, i tried to turn off hotpluging, but it did no effect to me sad since xorg does not rly care about xorg.conf file, then i tried to add fdi rule like written here: http://psung.blogspot.com/2008/09/scrol … nt-in.html  but this also did not help at all, i then had a look to my xorg log files, and find out, that hal is actually initializing all these settings, and there is no reason why it should not work, uless there is some kind of a bug in xf86-input-evdev driver, which i tried to compile from AUR, but again with no luck.

So whoever had this bright idea of putting this crappy version of xorg to stable repo, i can say big THANK YOU for that person mad becouse of this crap i spend allmost whole day trying to make it work, so that i could do my work with my laptop, lost money and time and my laptop still does not run properly (it did work perfectly until the xorg update).


If music be the food of love, then play on!
Mick Fleetwood

Offline

#6 2008-12-05 15:33:24

bgc1954
Member
From: Edmonton, AB, Canada
Registered: 2006-03-14
Posts: 1,160

Re: trackpoint scrolling with 3rd mouse button (thinkpad r60, xorg 7.4)

I sympathize with Iketani, BUT this is Arch Linux and as such is still a bleeding edge distro.  Many times packages are upgraded and a problem or two arises but in the end I have always found Arch stable enough to run on all my and my friend's and family's computers.  Now that that is out of the way, my old t21 thinkpad 3rd button for scrolling also stopped working until I disabled hotplugging like TuxStorm.  My mouse section for xorg.conf is only slightly different but I'll post it anyway.

Section "InputDevice"
        Identifier      "Mouse1"
        Driver          "mouse"
        Option          "Device"               "/dev/input/mice"
        Option          "Protocol"             "IMPS/2"
        Option          "ZAxisMapping"    "4 5 6 7"
        Option          "Emulate3Buttons"
        Option          "EmulateWheel"   "true"
        Option          "EmulateWheelButton"    "2"
EndSection

Time is a great teacher, but unfortunately it kills all its pupils ... - Louis Hector Berlioz

Offline

#7 2008-12-05 21:40:49

resadent
Member
Registered: 2008-05-17
Posts: 35

Re: trackpoint scrolling with 3rd mouse button (thinkpad r60, xorg 7.4)

I have the same problem with my laptop... I tried to disable hotpluging but it doesn't works... I also have the famous error with the keyboard layout...

Offline

#8 2008-12-05 22:32:46

fwojciec
Member
Registered: 2007-05-20
Posts: 1,411

Re: trackpoint scrolling with 3rd mouse button (thinkpad r60, xorg 7.4)

ukognos: I think the fdi file from your first post should work with xf86-input-evdev version 2.1.0.  It's not in the repos yet -- so you will probably need to build youself via ABS (it's as easy as changing the version number and updating the md5sums in the PKGBUILD for the current version).  This version of evdev driver adds support for things like EmulateWheelTimeout and such...  In fact, it is possible that with the 2.1.0 version driver your trackpad will work like it should without any custom fdi files.

Last edited by fwojciec (2008-12-05 22:33:54)

Offline

#9 2008-12-06 00:35:03

ExxonValdeez
Member
Registered: 2008-04-04
Posts: 3

Re: trackpoint scrolling with 3rd mouse button (thinkpad r60, xorg 7.4)

Turning off Xorg hotplugging like bgc1954 worked for me as well. I have yet to try using HAL configuration files.

Offline

#10 2008-12-06 16:13:41

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

Re: trackpoint scrolling with 3rd mouse button (thinkpad r60, xorg 7.4)

I've got this fixed in another thread, http://bbs.archlinux.org/viewtopic.php?id=60179.  Hope it helps.

Offline

#11 2008-12-06 16:51:38

ukognos
Member
Registered: 2008-07-18
Posts: 41

Re: trackpoint scrolling with 3rd mouse button (thinkpad r60, xorg 7.4)

thanks fwojciec and jxy

i've disabled hotplugging for now. i'll enable it again if evdev is upgraded in extra.

Offline

#12 2008-12-26 05:31:09

Proofrific
Member
Registered: 2008-01-05
Posts: 215

Re: trackpoint scrolling with 3rd mouse button (thinkpad r60, xorg 7.4)

I have a Thinkpad T61, and TrackPoint scrolling is working now (I think some people were waiting for evdev upgrades per fwojciec's comment in post #8).

According to pacman, I'm using xorg-server 1.5.3-4 and xf86-input-evdev 2.1.0-1.

I used a combination of ukognos's hal policy file (see post #1) and jxy's hal policy file (see link in post #10).  Here's mine, which is located in /etc/hal/fdi/policy/11-mousewheel.fdi

<?xml version="1.0" encoding="utf-8"?>
<deviceinfo version="0.2">
  <device>
    <match key="info.product" contains="TrackPoint">
      <merge key="input.x11_options.EmulateWheel" type="string">on</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.YAxisMapping" type="string">4 5</merge>
      <merge key="input.x11_options.XAxisMapping" type="string">6 7</merge>
    </match>
  </device>
</deviceinfo>

After adding this file, I restarted hal.  From the following output of `lshal | grep -C 15 TrackPoint`we can see that the policy changes were indeed detected by hal:

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/event11'  (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 = 'on'  (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/event11'  (string)                           
  linux.hotplug_type = 2  (0x2)  (int)                                         
  linux.subsystem = 'input'  (string)                                          
  linux.sysfs_path = '/sys/class/input/input11/event11'  (string)

Offline

Board footer

Powered by FluxBB