2003-11-30 21:46:18

by Lukas Hejtmanek

[permalink] [raw]
Subject: Synaptics PS/2 driver and 2.6.0-test11

Hello,

I got a notebook with synaptics touch pad.

dmesg:
mice: PS/2 mouse device common for all mice
i8042.c: Detected active multiplexing controller, rev 1.1.
serio: i8042 AUX0 port at 0x60,0x64 irq 12
serio: i8042 AUX1 port at 0x60,0x64 irq 12
serio: i8042 AUX2 port at 0x60,0x64 irq 12
Synaptics Touchpad, model: 1
Firmware: 5.8
180 degree mounted touchpad
Sensor: 18
new absolute packet format
Touchpad has extended capability bits
-> 4 multi-buttons, i.e. besides standard buttons
-> multifinger detection
-> palm detection
input: SynPS/2 Synaptics TouchPad on isa0060/serio4
serio: i8042 AUX3 port at 0x60,0x64 irq 12
input: AT Translated Set 2 keyboard on isa0060/serio0
serio: i8042 KBD port at 0x60,0x64 irq 1

With Xfree I'm using synaptics driver. With 2.6.0-test11 cursor losts sync and
appers at random possition sometimes.
I have in log:
Nov 30 12:32:23 debian kernel: Synaptics driver resynced.
Nov 30 12:33:54 debian kernel: Synaptics driver lost sync at 4th byte
Nov 30 12:33:54 debian kernel: Synaptics driver lost sync at 4th byte
Nov 30 12:33:54 debian kernel: Synaptics driver lost sync at 1st byte
Nov 30 12:33:54 debian kernel: Synaptics driver lost sync at 4th byte
Nov 30 12:33:54 debian kernel: Synaptics driver lost sync at 1st byte
Nov 30 12:33:54 debian last message repeated 2 times
Nov 30 12:33:54 debian kernel: Synaptics driver resynced.
Nov 30 12:34:25 debian kernel: Synaptics driver lost sync at 1st byte


It does not happen with 2.4.22 kernel. Is there something I can try?

--
Luk?? Hejtm?nek


2003-11-30 22:28:18

by Dmitry Torokhov

[permalink] [raw]
Subject: Re: Synaptics PS/2 driver and 2.6.0-test11

On Sunday 30 November 2003 04:46 pm, Lukas Hejtmanek wrote:

> Nov 30 12:32:23 debian kernel: Synaptics driver resynced.
> Nov 30 12:33:54 debian kernel: Synaptics driver lost sync at 4th byte
> Nov 30 12:33:54 debian kernel: Synaptics driver lost sync at 4th byte
> Nov 30 12:33:54 debian kernel: Synaptics driver lost sync at 1st byte
> Nov 30 12:33:54 debian kernel: Synaptics driver lost sync at 4th byte
> Nov 30 12:33:54 debian kernel: Synaptics driver lost sync at 1st byte
> Nov 30 12:33:54 debian last message repeated 2 times
> Nov 30 12:33:54 debian kernel: Synaptics driver resynced.
> Nov 30 12:34:25 debian kernel: Synaptics driver lost sync at 1st byte
>
>
> It does not happen with 2.4.22 kernel. Is there something I can try?

Hi,

Are you using ACPI? Does it work without ACPI? Do you have an application
that periodically polls battery state or temperature? From what I've seen
many laptops spend considerable amount of time in BIOS when checking
battery state...

Dmitry

2003-11-30 22:40:07

by Lukas Hejtmanek

[permalink] [raw]
Subject: Re: Synaptics PS/2 driver and 2.6.0-test11

On Sun, Nov 30, 2003 at 05:28:10PM -0500, Dmitry Torokhov wrote:
> Are you using ACPI? Does it work without ACPI? Do you have an application
> that periodically polls battery state or temperature? From what I've seen
> many laptops spend considerable amount of time in BIOS when checking
> battery state...

I'm using ACPI both in 2.4.22 and 2.6.0. I'm using battery_applet (gnome applet)
for testing battery state.

I will try it. Is acpi=off at boot time enough for that?

--
Luk?? Hejtm?nek

2003-11-30 23:12:03

by Lukas Hejtmanek

[permalink] [raw]
Subject: Re: Synaptics PS/2 driver and 2.6.0-test11

On Sun, Nov 30, 2003 at 06:01:44PM -0500, [email protected] wrote:
> Are you using a recent version of the XFree86 touchpad driver?
> Have you read the documentation that comes with it? The new kernel
> touchpad driver requires a new version of the XFree driver and some
> changes to your XF86Config-4.

I'm using 0.12.1 version of touchpad driver. I think it is recent enough :)

I did not read the documentation, however I'm using auto-dev protocol that is
proposed in README.

--
Luk?? Hejtm?nek

2003-11-30 23:27:00

by Dmitry Torokhov

[permalink] [raw]
Subject: Re: Synaptics PS/2 driver and 2.6.0-test11

On Sunday 30 November 2003 05:39 pm, Lukas Hejtmanek wrote:
> On Sun, Nov 30, 2003 at 05:28:10PM -0500, Dmitry Torokhov wrote:
> > Are you using ACPI? Does it work without ACPI? Do you have an
> > application that periodically polls battery state or temperature?
> > From what I've seen many laptops spend considerable amount of time in
> > BIOS when checking battery state...
>
> I'm using ACPI both in 2.4.22 and 2.6.0. I'm using battery_applet
> (gnome applet) for testing battery state.
>
> I will try it. Is acpi=off at boot time enough for that?

How often does battery_applet poll the battery? Start with polling the
battery less often, let's say every 3 minutes and see if the problem goes
away.

Dmitry

2003-11-30 23:40:35

by Lukas Hejtmanek

[permalink] [raw]
Subject: Re: Synaptics PS/2 driver and 2.6.0-test11

On Sun, Nov 30, 2003 at 06:26:52PM -0500, Dmitry Torokhov wrote:
> How often does battery_applet poll the battery? Start with polling the
> battery less often, let's say every 3 minutes and see if the problem goes
> away.

Well as first approach I killed the battery applet and it looks like working ok.
When I run it again it immediatelly dump message about lost sync.

However why it does not do that with 2.4.22 kernel?

--
Luk?? Hejtm?nek

2003-12-01 03:25:44

by Michal Jaegermann

[permalink] [raw]
Subject: Re: Synaptics PS/2 driver and 2.6.0-test11

On Sun, Nov 30, 2003 at 06:26:52PM -0500, Dmitry Torokhov wrote:
> On Sunday 30 November 2003 05:39 pm, Lukas Hejtmanek wrote:
> > On Sun, Nov 30, 2003 at 05:28:10PM -0500, Dmitry Torokhov wrote:
> >
> > I'm using ACPI both in 2.4.22 and 2.6.0. I'm using battery_applet
> > (gnome applet) for testing battery state.
> >
> > I will try it. Is acpi=off at boot time enough for that?
>
> How often does battery_applet poll the battery?

This particular applet was written by some genius to read a state
from ACPI _every second_. To add insult to injury it rereads a
constant information from ...battery/info on every round instead of
storing it. As you can guess it can sink a substantial amount of
cycles and other resources especially that ACPI in BIOS is also
often on a very heavy side.

> Start with polling the
> battery less often, let's say every 3 minutes

Likely even every 3 seconds will make a difference but maybe not
enough.

Michal