Alps Touchpad, XFree86 and DSL


Forum: X and Fluxbox
Topic: Alps Touchpad, XFree86 and DSL
started by: Juanito

Posted by Juanito on Nov. 19 2006,15:34
Although the basic function of my Alps touchpad/stick combo works under DSL, I've been trying to get it working in DSL using XFree86 and the synaptics driver in order to be able to adjust the sensitivity, scrolling, double-click, etc, etc.

The touchpad and synaptics driver work under DSL-N and XFree86 using the evdev module which configures the touchpad under /proc/bus/input/devices as event2. If I try the same setup under DSL, the devices in /dev/input - event0-3 and mouse0-3 - do not appear to be connected to anything. If I try using the device "mice", which is connected to something, the synaptics driver cannot find the touchpad.

Does anybody have an idea of how to configure XFree86/DSL to be able to use the synaptics driver and Alps touchpad/stick combo? Relevant details of /etc/X11/XF86Config-4 and /var/XFree86.0.log are copied below


XF86Config-4
-------------
Section "ServerLayout"
...
InputDevice    "Mouse0" "CorePointer"
#InputDevice    "Mouse1" "SendCoreEvents"
InputDevice    "TouchPad" "AlwaysCore"
#InputDevice    "TouchPad" "CorePointer"
       ...
EndSection

Section "Module"
...
       Load  "synaptics"
EndSection

Section "InputDevice"
Identifier  "Mouse0"
Driver      "mouse"
Option    "Protocol" "PS/2"
Option    "Device" "/dev/psaux"
EndSection

Section "InputDevice"
#           Identifier    "Mouse1"
            Identifier     "TouchPad"
Driver        "synaptics"
# Option        "Device" "/dev/input/event2" [tried this]
            Option        "Device" "/dev/input/mice"
# Option        "Device" "/dev/psaux" [also tried this]
# Option        "Protocol" "auto-dev" [tried this]
Option        "Protocol" "event"
       ...
EndSection

XFree86.0.log
-------------
(**) Option "Protocol" "PS/2"
(**) Mouse0: Protocol: "PS/2"
(**) Option "CorePointer"
(**) Mouse0: Core Pointer
(**) Option "Device" "/dev/psaux"
(**) Mouse0: Emulate3Buttons, Emulate3Timeout: 50
(==) Mouse0: Buttons: 3
(II) Synaptics touchpad driver version 0.14.6 (1406)
(**) Option "Device" "/dev/input/mice"
(**) Option "LeftEdge" "120"
...
(EE) TouchPad no synaptics touchpad detected and no repeater device
(EE) TouchPad Unable to query/initialize Synaptics hardware.
(EE) PreInit failed for input device "TouchPad"
(II) UnloadModule: "synaptics"
...
(II) Mouse0: ps2EnableDataReporting: succeeded

Posted by Juanito on Nov. 24 2006,12:18
Got it, I should have used the protocol "alps".

Ironically, the whole point of doing this was to be able to disable the touchpad and use the pointing stick - if I set Option "TouchpadOff" "1" then both the touchpad and stick are disabled, whereas if I set Option "GuestMouseOff" "1" only the stick is disabled...

In case anybody is interested, the relevent parts of /etc/X11/XF86Config-4 are:

Section "ServerLayout"
...
InputDevice "TouchPad" "CorePointer"
...
EndSection

Section "Module"
...
Load  "synaptics"
EndSection

Section "InputDevice"
Identifier "TouchPad"
Driver "synaptics"
Option "Device" "/dev/psaux"
Option "Protocol" "alps"
Option "SHMConfig" "1"
Option "Emulate3Buttons" "1"
Option "LeftEdge" "120"
Option "RightEdge" "830"
Option "TopEdge" "120"
Option "BottomEdge" "650"
Option "FingerLow" "14"
Option "FingerHigh" "15"
Option "MaxTapTime" "0"
Option "MaxTapMove" "110"
Option "MaxDoubleTapTime" "0"
Option "ClickTime" "0"
Option "FastTaps" "0"
Option "VertEdgeScroll" "0"
Option "HorizEdgeScroll" "0"
Option "VertTwoFingerScroll" "0"
Option "HorizTwoFingerScroll" "0"
Option "EmulateMidButtonTime" "75"
Option "VertScrollDelta" "20"
Option "HorizScrollDelta" "20"
Option "MinSpeed" "0.60"
Option "MaxSpeed" "1.10"
Option "AccelFactor" "0.030"
Option "EdgeMotionMinZ" "30"
Option "EdgeMotionMaxZ" "160"
Option "EdgeMotionMinSpeed" "200"
Option "EdgeMotionMaxSpeed" "200"
Option "EdgeMotionUseAlways" "0"
Option "UpDownScrolling" "0"
Option "TouchpadOff" "2" #1=off, 2=only tapping/scrolling off
Option "GuestMouseOff" "0"
Option "LockedDrags" "0"
Option "RTCornerButton" "0"
Option "RBCornerButton" "0"
Option "LTCornerButton" "0"
Option "LBCornerButton" "0"
Option "TapButton1" "0"
Option "TapButton2" "0"
Option "TapButton3" "0"
Option "CircularScrolling" "0"
Option "CircScrollDelta" "0.1"
Option "CircScrollTrigger" "2"
Option "CircularPad" "0"
Option "PalmDetect" "0"
Option "PalmMinWidth" "10"
Option "PalmMinZ" "200"
Option "CoastingSpeed" "0"
EndSection

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.