[ltp] Re: Touchpad not working (T41p), please help me
Mike Lamb
linux-thinkpad@linux-thinkpad.org
Fri, 16 Apr 2004 11:19:33 -0500
> So what magic is required to get synaptics driver to work under the 2.6.x
> kernel? Im pretty tired of bad ultranav support ,,how do i get my clik on
> the plate function to work under gentoo?
I have a Gentoo on a T30 and this is what I did to get my Ultranav USB mouse
and up and running. This got all the Ultrav stuff working (stick, 3 stick
buttons, tap on the pad, 2 pad buttons) and also allows the mouse to be
plugged in or out at any time.
I did not emerge x11-misc/synaptics as I found that synaptics_drv.o was
already present in /usr/X11R6/lib/modules/input. From inspecting the
ebuilds, it looks like this file gets automatically downloaded and installed
from http://w1.894.telia.com/~u89404340/touchpad/files/ when x11-base is
emerged. The binary is exactly the same. I did not have to explicitly add
this module into my XF86Config file for XFree to load it.
I also emerged the hotplug stuff.
Relevant kernel config:
CONFIG_INPUT_MOUSEDEV=y
CONFIG_INPUT_MOUSEDEV_PSAUX=y
CONFIG_INPUT_EVDEV=m
CONFIG_INPUT_MOUSE=y
CONFIG_MOUSE_PS2=m
CONFIG_USB=m
CONFIG_USB_DEVICEFS=y
CONFIG_USB_EHCI_HCD=m
CONFIG_USB_OHCI_HCD=m
CONFIG_USB_UHCI_HCD=m
CONFIG_USB_HID=m
CONFIG_USB_HIDINPUT=y
kernel boot options:
Ever since linux-2.6.2 I have had to use i8042.nomux, otherwise XFree86
doesn't recognize the ultranav properly. This wasn't necessary for 2.6.[01].
(I would be delighted if someone could enlighten me!)
/etc/modules.autoload.d/kernel-2.6:
usbcore
hid
uhci_hcd
ohci_hcd
ehci_hcd
evdev
psmouse
Relevant XF86Config:
Section "ServerLayout"
Identifier "XFree86 Configured"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "TrackPoint" "CorePointer"
InputDevice "Mouse0" "SendCoreEvents"
EndSection
Section "InputDevice"
Identifier "TrackPoint"
Driver "synaptics"
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.03"
Option "MaxSpeed" "0.18"
#Option "AccelFactor" "0.0010"
Option "AccelFactor" "0.0020"
Option "SHMConfig" "on"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
EndSection
This is just what worked for me. YMMV. Good luck!
Mike