You are not logged in.

#1 2013-10-13 20:18:47

arkhon
Member
Registered: 2012-10-05
Posts: 4

[solved] t400 trackpoint

Hey Guys,

i need some help with my trackpoint. I used the wiki guide to set it up but is does not work at all. Not even moving the cursor works. The touchpad works fine.

here is the content of my /etc/X11/xorg.conf.d/20-trackpoint.conf:

Section "InputClass"
	Identifier	"ThinkPad TrackPoint"
	MatchProduct	"TPPS/2 IBM TrackPoint"
	MatchDevicePath	"/dev/input/event*"
	Option		"EmulateWheel"		"true"
	Option		"EmulateWheelButton"	"2"
	Option		"XAxisMapping"		"6 7"
	Option		"YAxisMapping"		"4 5"
EndSection

would appreciate any help.

Last edited by arkhon (2013-10-15 07:36:21)

Offline

#2 2013-10-14 23:47:12

David Batson
Member
Registered: 2011-10-13
Posts: 640

Re: [solved] t400 trackpoint

I no longer use that file on my X220.  This is what I use with Arch XFCE.

I have the following script file set to autostart on bootup (at Applications > Settings > Session and Startup > Application Autostart):

/home/~/Default

#!/bin/sh

xinput list | sed -ne 's/^[^ ][^V].*id=\([0-9]*\).*/\1/p' | while read id
do
        case `xinput list-props $id` in
        *"Middle Button Emulation"*)
                xinput set-int-prop $id "Evdev Wheel Emulation" 8 1
                xinput set-int-prop $id "Evdev Wheel Emulation Button" 8 2
                xinput set-int-prop $id "Evdev Wheel Emulation Timeout" 8 200
                xinput set-int-prop $id "Evdev Wheel Emulation Axes" 8 6 7 4 5
                xinput set-int-prop $id "Evdev Middle Button Emulation" 8 0
                ;;
        esac
done


# disable middle button
xmodmap -e "pointer = default"

EDIT:  You need the following installed for the above.

# pacman -Ss evdev
extra/libevdev 0.4-2
    Wrapper library for evdev devices
extra/xf86-input-evdev 2.8.2-1 (xorg-drivers xorg) [installed]
    X.org evdev input driver

EDIT: Fixed accidental copy/paste into code of /home/~/Default

Last edited by David Batson (2013-10-15 07:55:08)

Offline

#3 2013-10-15 07:35:30

arkhon
Member
Registered: 2012-10-05
Posts: 4

Re: [solved] t400 trackpoint

Thanks!

I just forgot to install evdev. I dont know why i didnt think of that on my own.

It works now as expected.

Offline

Board footer

Powered by FluxBB