Re: Synaptics driver on HP6100 and 2.5.73

From: Peter Osterlund (petero2@telia.com)
Date: Thu Jul 03 2003 - 17:15:45 EST


Mike Keehan <mike_keehan@yahoo.com> writes:

> The touchpad is recognised OK when the kernel boots,
> and my usb
> connected mouse works fine. But I get the following
> message in
> the syslog when I try to use the mousepad or any of
> the buttons :-
>
> ... kernel: Synaptics driver lost sync at 1st byte
>
> It worked alright in previous kernels before the
> Synaptic driver was
> added.
>
> Relevant /var/log/dmesg content:-
>
> drivers/usb/core/usb.c: registered new driver hid
> drivers/usb/input/hid-core.c: v2.0:USB HID core
> driver
> mice: PS/2 mouse device common for all mice
> synaptics reset failed
> synaptics reset failed
> synaptics reset failed

The logs from your other mail show that the touchpad is still in
relative mode (using 3 byte packets) instead of absolute mode (using 6
byte packets.) I don't know why this happens, but here are some things
to investigate:

* Does the touchpad work with the synaptics XFree driver and a 2.4
  kernel?
* Does the Synaptics aware GPM version work?
  (:pserver:cvs@ar.linux.it:/data/cvs)
* Can you add some printks to the synaptics_reset() function to see
  why it fails?
* Maybe it helps to remove the call to synaptics_reset() in
  query_hardware(). (I know this helped one user that used the user
  space XFree driver with a 2.4 kernel.)

> (**) Option "Device" "/dev/input/mouse1"
> (EE) xf86OpenSerial: Cannot open device
> /dev/input/mouse1
> No such device.
> Synaptics driver unable to open device
> (EE) PreInit failed for input device "Mouse1"
> (II) UnloadModule: "synaptics"
>
> Other device names I tries were /dev/input/mice,
> /dev/event/event0
> and /dev/psaux, but none of them work.

You should use /dev/input/eventX, where X is a number that depends on
your hardware configuration. My config looks like this:

Section "InputDevice"
        Identifier "TouchPad"
        Driver "synaptics"
        Option "Device" "/dev/input/event2"
        Option "Protocol" "event"
        Option "LeftEdge" "1800"
        Option "RightEdge" "5400"
        Option "TopEdge" "4200"
        Option "BottomEdge" "1500"
        Option "FingerLow" "25"
        Option "FingerHigh" "30"
        Option "MaxTapTime" "180"
        Option "MaxTapMove" "220"
        Option "VertScrollDelta" "100"
        Option "HorizScrollDelta" "100"
        Option "EdgeMotionSpeed" "40"
        Option "MinSpeed" "0.08"
        Option "MaxSpeed" "0.10"
        Option "AccelFactor" "0.0010"
        Option "SHMConfig" "on"
        Option "EmulateMidButtonTime" "75"
# Option "UpDownScrolling" "off"
EndSection

-- 
Peter Osterlund - petero2@telia.com
http://w1.894.telia.com/~u89404340
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Jul 07 2003 - 22:00:21 EST