Page 1 of 1

trackpoint scrolling button

Posted: Sat Dec 08, 2007 1:19 pm
by amwus
Hi all !

Since i'm on Fedora 7, i have never succeeded in using the middle trackpoint button. I tried to include the right options in my xorg.conf but i don't know where to put them... It craches my xorg or it simply does not work !

I have to admit that it was easier on a debian system ;)

Here is my xorg... If someone knows how to get it working, please tell me ;) !
Thanks very much.

Code: Select all

# Xorg configuration created by livna-config-display

Section "ServerLayout"
	Identifier     "Default Layout"
	Screen      0  "Screen0" 0 0
	InputDevice    "Keyboard0" "CoreKeyboard"
	InputDevice    "Synaptics" "CorePointer"
EndSection

Section "Files"
	ModulePath   "/usr/lib/xorg/modules"
EndSection

Section "ServerFlags"
	Option	    "AIGLX" "on"
EndSection

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "kbd"
	Option	    "XkbModel" "pc105"
	Option	    "XkbLayout" "be"
EndSection

Section "InputDevice"
	Identifier  "Synaptics"
	Driver      "synaptics"
	Option	    "Device" "/dev/input/mice"
	Option	    "Protocol" "auto-dev"
	Option	    "Emulate3Buttons" "yes"
EndSection

Section "Device"
	Identifier  "Videocard0"
	Driver      "radeon"
	Option      "DynamicClocks" "on"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Videocard0"
	DefaultDepth     24
	SubSection "Display"
		Viewport   0 0
		Depth     24
	EndSubSection
EndSection

Section "Extensions"
	Option	    "Composite" "Enable"
EndSection
8)

Posted: Sun Dec 09, 2007 1:15 pm
by Volker
Try this:

Code: Select all

Section "ServerLayout"
   Identifier     "Default Layout"
   Screen      0  "Screen0" 0 0
   InputDevice    "Keyboard0" "CoreKeyboard"
   InputDevice    "Synaptics" "CorePointer"
EndSection

Section "Files"
   ModulePath   "/usr/lib/xorg/modules"
EndSection

Section "ServerFlags"
   Option       "AIGLX" "on"
EndSection

Section "InputDevice"
   Identifier  "Keyboard0"
   Driver      "kbd"
   Option       "XkbModel" "pc105"
   Option       "XkbLayout" "be"
EndSection

Section "InputDevice"
   Identifier  "Synaptics"
   Driver      "synaptics"
   Option       "Device" "/dev/input/mice"
   Option      "Protocol"            "ExplorerPS/2"
   Option      "Emulate3Buttons"     "off"
   Option      "EmulateWheel"        "on"
   Option      "EmulateWheelTimeOut" "200"
   Option      "EmulateWheelButton"  "2"
   Option      "YAxisMapping"        "4 5"
   Option      "XAxisMapping"        "6 7"
   Option      "ZAxisMapping"        "4 5"
EndSection

Section "Device"
   Identifier  "Videocard0"
   Driver      "radeon"
   Option      "DynamicClocks" "on"
EndSection

Section "Screen"
   Identifier "Screen0"
   Device     "Videocard0"
   DefaultDepth     24
   SubSection "Display"
      Viewport   0 0
      Depth     24
   EndSubSection
EndSection

Section "Extensions"
   Option       "Composite" "Enable"
EndSection

Posted: Sun Dec 09, 2007 1:37 pm
by amwus
No... Does not work... Xorg starts well but the scrolling button does not work... Don't know why... Should be working i think...

Posted: Sun Dec 09, 2007 3:15 pm
by Volker
Run "xev" and see if the wheel emulation produces button 4/5 events, as it should now. Maybe your application is not well-behaved?

Posted: Sun Dec 09, 2007 7:37 pm
by zxxlw
In my X60(bought in Oct) , I tried many times but failed until I finally found a very simple way to make the scrolling button (middle button ) work.

Here is my solution.

just add the following two lines into the xorg.conf in the mouse section.

Option "EmulateWheel" "on"
Option "EmulateWheelButton" "2"

Nothing else needs to be added. else the X will not start

Posted: Sun Dec 09, 2007 7:42 pm
by pibach
zxxlw, this works but the above solution is more complete as it will get you as well horizontal scrollling plus middleclick if you release within the timeout.

Posted: Mon Dec 10, 2007 4:08 pm
by amwus
well, this is definitely not working ! I tried with xev, it seems to find the central button, but with the good options in xorg, it does'nt nothing... Very strange... I don't understand...

It worked when i was using ubuntu, so why isn't it working with Fedora....

Strange problem...

Posted: Tue Dec 11, 2007 5:08 am
by amwus
I made it ! It finally works ! Here is my input device section :

Code: Select all

Section "InputDevice"
	 Identifier  "Synaptics"
   	 Driver      "mouse"
	 Option      "CorePointer"
	 Option      "Device" "/dev/input/mice"
	 Option      "Protocol"            "ExplorerPS/2"
	 Option      "ZAxisMapping" "4 5"
	 Option      "Emulate3Buttons" "true"
	 Option      "EmulateWheel" "on"
	 Option      "EmulateWheelButton" "2"
EndSection
But it seems now that the touchpad scrolling does not work anymore ! But it's not a big problem for me...

Posted: Tue Dec 11, 2007 9:51 am
by pibach
You need to additionally map the buttons to emulate the wheel, as it has been posted abovel:

Option "YAxisMapping" "4 5"
Option "XAxisMapping" "6 7"