trackpoint scrolling button

Solaris, RedHat, FreeBSD and the like
Post Reply
Message
Author
amwus
Freshman Member
Posts: 70
Joined: Mon Feb 05, 2007 11:10 am
Location: Belgium

trackpoint scrolling button

#1 Post by amwus » Sat Dec 08, 2007 1:19 pm

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)
Thinkpad T400

Volker
Junior Member
Junior Member
Posts: 482
Joined: Fri Oct 01, 2004 10:21 am
Location: Dublin, Ireland
Contact:

#2 Post by Volker » Sun Dec 09, 2007 1:15 pm

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

amwus
Freshman Member
Posts: 70
Joined: Mon Feb 05, 2007 11:10 am
Location: Belgium

#3 Post by amwus » Sun Dec 09, 2007 1:37 pm

No... Does not work... Xorg starts well but the scrolling button does not work... Don't know why... Should be working i think...
Thinkpad T400

Volker
Junior Member
Junior Member
Posts: 482
Joined: Fri Oct 01, 2004 10:21 am
Location: Dublin, Ireland
Contact:

#4 Post by Volker » Sun Dec 09, 2007 3:15 pm

Run "xev" and see if the wheel emulation produces button 4/5 events, as it should now. Maybe your application is not well-behaved?

zxxlw
Posts: 4
Joined: Tue Dec 04, 2007 1:27 am
Location: Kawasaki, Japan

#5 Post by zxxlw » Sun Dec 09, 2007 7:37 pm

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

pibach
Sophomore Member
Posts: 164
Joined: Thu Oct 25, 2007 6:07 am
Location: Berlin, Germany

#6 Post by pibach » Sun Dec 09, 2007 7:42 pm

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.

amwus
Freshman Member
Posts: 70
Joined: Mon Feb 05, 2007 11:10 am
Location: Belgium

#7 Post by amwus » Mon Dec 10, 2007 4:08 pm

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...
Thinkpad T400

amwus
Freshman Member
Posts: 70
Joined: Mon Feb 05, 2007 11:10 am
Location: Belgium

#8 Post by amwus » Tue Dec 11, 2007 5:08 am

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...
Thinkpad T400

pibach
Sophomore Member
Posts: 164
Joined: Thu Oct 25, 2007 6:07 am
Location: Berlin, Germany

#9 Post by pibach » Tue Dec 11, 2007 9:51 am

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"

Post Reply
  • Similar Topics
    Replies
    Views
    Last post

Return to “Linux Questions”

Who is online

Users browsing this forum: No registered users and 0 guests