Solved: Re: 3d-acceleration not working was: Re: [ltp] How many fps on intel 855GM?

Ingo van Lil linux-thinkpad@linux-thinkpad.org
Wed, 20 Apr 2005 00:16:32 +0200


On 19 Apr 2005, Jan Girlich wrote:

> I added the line to load the synaptics driver.
> 
> thinkpad ~ # grep -i "synaptic" /var/log/Xorg.0.log
> (II) LoadModule: "synaptics"
> (II) Loading /usr/lib/modules/input/synaptics_drv.o
> (II) Module synaptics: vendor="The XFree86 Project"
> 
> So it's loaded correctly, right?

Just adding the line is not enough, you also need an "InputDevice"
section that makes use of that driver. If you want to use both the
touchpad and the trackpoint (and both sets of buttons) you need two
separate "InputDevice" sections and mention them both in the
"ServerLayout":

Section "ServerLayout"
        Identifier     "X.org Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Touchpad" "CorePointer"
        InputDevice    "Trackpoint" "SendCoreEvents"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

[...]

Section "InputDevice"
        Identifier  "Trackpoint"
        Driver      "mouse"
        Option      "Device"   "/dev/input/mouse1"
        Option      "Protocol" "auto"
EndSection

Section "InputDevice"
        Identifier  "Touchpad"
        Driver      "synaptics"
        Option      "Device"          "/dev/input/mouse0"
        Option      "Protocol"        "auto-dev"
        Option      "LeftEdge"        "1700"
        Option      "RightEdge"       "5300"
        Option      "TopEdge"         "1700"
        Option      "BottomEdge"      "4200"
        Option      "FingerLow"       "25"
        Option      "FingerHigh"      "30"
        Option      "MaxTapTime"      "180"
        Option      "MaxTapMove"      "220"
        Option      "VertScrollDelta" "100"
        Option      "MinSpeed"        "0.06"
        Option      "MaxSpeed"        "0.12"
        Option      "AccelFactor"     "0.0010"
        Option      "SHMConfig"       "on"
        Option      "RTCornerButton"  "0"
        Option      "RBCornerButton"  "0"
EndSection


> But I can't figure out how to do the scrolling-stuff.
> Maybe it's WM-dependent?

It's not WM-dependent, it's GUI-toolkit-dependent. It works great in GTK
and QT applications.

        Cheers,
            Ingo