[ltp] Trackpoint scrolling

Torsten Wolf linux-thinkpad@linux-thinkpad.org
Sun, 14 May 2006 11:22:37 +0200


Hi,

at the moment I'm fiddleing about using the trackpoint for scrolling.
Basically, I have the touchpad, an external usb-mouse and the
trackpoint. Scrolling with the touchpad is no problem, the two keys
behave as expected. The three mouse buttons as well as the scroll wheel
work, too. Yet the trackpoint worries me. All three buttons worked out
of the box, press to select is enabled via a script during the startup
of X (7.0, Debian unstable). I understand the scrolling feature in that
way, that one presses the middle trackpoint button (EmulateWheelButton
-> 2) and simultaneous trackpoint movements are translated into
scrolling. So I edited xorg.conf in the following way:

Section "InputDevice"
	Identifier	"Synaptics Touchpad"
	Driver		"synaptics"
	Option		"SendCoreEvents"	"true"
	Option		"Device" "/dev/psaux"
	Option		"Protocol" "auto-dev"
	Option		"LeftEdge" "1900"
	Option		"RightEdge" "5400"
	Option		"TopEdge" "1900"
	Option		"BottomEdge" "4000"
	Option		"FingerLow" "25"
	Option		"FingerHigh" "30"
	Option		"MaxTapTime" "180"
	Option		"MaxTapMove" "220"
	Option		"VertScrollDelta" "100"
	Option		"MinSpeed" "0.02"
	Option		"MaxSpeed" "0.18"
	Option		"AccelFactor" "0.0010"
	Option		"SHMConfig" "on"
	Option		"CorePointer"
EndSection

Section "InputDevice"
	Identifier	"Trackpoint"
	Driver		"mouse"
	Option		"CorePointer"
	Option		"Device"		"/dev/psaux"
	Option		"Protocol"		"PS/2"
#	Option		"Emulate3Buttons"	"true"
	Option		"EmulateWheel"		"on"
	Option		"EmulateWheelTimeout"	"300"
	Option		"EmulateWheelButton"	"2"
	Option		"ZAxisMapping"		"4 5"
	Option		"YAxisMapping"		"6 7"
EndSection

Section "InputDevice"
	Identifier	"Configured Mouse"
	Driver		"mouse"
	Option		"SendCoreEvents"	"true"
#	Option		"CorePointer"
	Option		"Device"		"/dev/input/mice"
	Option		"Protocol"		"ImPS/2"
	Option		"ZAxisMapping"		"4 5"
	Option		"YAxisMapping"		"6 7"
EndSection

Section "ServerLayout"
	Identifier	"Default Layout"
	Screen		"Default Screen" 0 0
	InputDevice	"Generic Keyboard"
	InputDevice	"Synaptics Touchpad"
	InputDevice	"Trackpoint"
	InputDevice	"Configured Mouse"
EndSection

Alas, using the trackpoint with the middle trackpoint button pressed
does actually nothing. The cursor moves but there is no scrolling, at
least in nedit and firefox. What's wrong with this configuration?

Regards,
Torsten