[ltp] T30 and 2.6 kernel

mukesh agrawal linux-thinkpad@linux-thinkpad.org
Wed, 30 Jul 2003 12:26:32 -0400 (EDT)


On Wed, 30 Jul 2003, J=E9r=F4me wrote:

> Could you tel me what modules are needed finally? And what device should
> be used in XF86config to have the mouse working?
> Moreover, do you have the ACPI working properly? I mean, does the
> /proc/thermal_zone/ directory contains something (0/status)?

To get the touchpad working under 2.6, you need the psmouse and evdev
devices loaded.

Here are the relevant bits from my XF86Config file

Section "ServerLayout"
        Identifier      "T40 Layout"
        Screen          "T40 Screen"
        InputDevice     "Generic Keyboard"
        InputDevice     "trackpoint"
        InputDevice     "touchpad"
EndSection

=2E..

Section "Module"
        Load    "synaptics"
# and whatever other modules you have
EndSection

# This enables the touchpad, with all the whizbang features (scroll mouse
# emulation, palm detection, multi-finger taps, etc.
Section "InputDevice"
        Identifier      "touchpad"
        Driver          "synaptics"
        Option          "AlwaysCore"    "true"
# i think the synaptics driver has an auto-detect mode that you can use
# instead of specifying the device in XF86Config. see the synaptics driver
# documentation for details.
        Option          "Device"        "/dev/input/event0"
#       Option          "Protocol"      "PS/2"
        Option          "LeftEdge"      "1900"
        Option          "RightEdge"     "5400"
        Option          "TopEdge"       "3900"
        Option          "BottomEdge"    "1800"
        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

# This configures the trackpoint. Note: for this to work, you must use the
# pass-through patch for the kernel driver.
# See http://w1.894.telia.com/~u89404340/touchpad/index.html
Section "InputDevice"
        Identifier      "trackpoint"
        Driver          "mouse"
        Option          "Device"                "/dev/input/mouse0"
        Option          "Protocol"              "ImPS/2"
        Option          "CorePointer"
        Option          "AlwaysCore"            "true"
        Option          "ZAxisMapping"          "4 5"
        Option          "Emulate3Buttons"       "true"
        Option          "EmulateWheel"          "true"
        Option          "EmulateWheelButton"    "2"
EndSection


ACPI didn't work at all in test1 (kernel would panic at boot). Sounds like
it is working somewhat in test2?