linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: T440s Synaptics clickpad: lost sync / KBC bad data
@ 2014-01-20 17:50 Vadim Fint
  0 siblings, 0 replies; 7+ messages in thread
From: Vadim Fint @ 2014-01-20 17:50 UTC (permalink / raw)
  To: linux-input

Hello!

I was having exactly the same issues with brand new T440s from Lenovo. psmouse 
get lost sync every time I did a physical click on clickpad.

But for me that was HW issue: after disassembling notebook I saw touchpad 
cable was not snapped into touchpad at all. Because latch (with cable) moves 
2-3mm each click -- what was bad contact during that.

To deal with that issue I did removed only internal battery pack and locked a 
cable on touchpad with a screwdriver :) (15-20 minutes for whole operation)

Dont know what Windows internaly do with synaptics protocol, but there was no 
issues in Windows at all (but in recovery mode clickpad was not working at 
all).

Anyway, no problems in Gentoo with 3.12-3-pf kernel for me now! And no more 
that weird “out of sync” messages from psmouse at all.

Hope this helps!!

> Hello everyone,
> 
> I hope I'm at the right address here with my problems. If not, please do
> point me in the correct direction.
> 
> I have a Lenovo Thinkpad T440s with a Synaptics clickpad and an IBM
> trackpoint in it:
> 
> input: PS/2 Synaptics TouchPad as
> /devices/platform/i8042/serio1/input/input120 psmouse serio1: synaptics:
> Touchpad model: 1, fw: 8.1, id: 0x1e2b1, caps: 0xd001a3/0x940300/0x127c00,
> board id: 2668, fw id: 1293989 psmouse serio1: synaptics: serio: Synaptics
> pass-through port at isa0060/serio1/input0 input: SynPS/2 Synaptics
> TouchPad as /devices/platform/i8042/serio1/input/input123 psmouse serio34:
> alps: Unknown ALPS touchpad: E7=10 00 64, EC=10 00 64 psmouse serio34:
> trackpoint: IBM TrackPoint firmware: 0x0e, buttons: 3/3 input: TPPS/2 IBM
> TrackPoint as /devices/platform/i8042/serio1/serio34/input/input124
> 
> The problem is that the trackpoint behaves incredibly erratic, sometimes
> working correctly for minutes at a time, sometimes just jumping around and
> many times just hanging. I need to remove and re-insert the psmouse module
> to solve that. Alongside this behaviour, my kernel log also is getting
> spammed with messages like:
> 
> psmouse serio1: TouchPad at isa0060/serio1/input0 lost sync at byte 1
> psmouse serio1: TouchPad at isa0060/serio1/input0 lost sync at byte 1
> psmouse serio1: TouchPad at isa0060/serio1/input0 lost sync at byte 1
> psmouse serio1: TouchPad at isa0060/serio1/input0 - driver resynced.
> and psmouse serio1: bad data from KBC - timeout
> 
> What I've tried:
> - Tried the kernel options i8042.nomux=1 and i8042.reset=1
> - Disable acpi by passing acpi=off to the kernel
> - Disabled CPU frequency scaling
> - Trying other protocols, e.g. by doing modprobe psmouse proto=imps or
> proto=bare - Switching from vanilla 3.12 kernel to both the latest&greatest
> kernel from Linus' Git and an antique 3.1.0 kernel - Turning on
> i8042.debug. To my untrained eye, it looks like bytes of PS/2 data are just
> disappearing when the 'lost sync' messages kick in. I can give an example
> of that if needed.
> 
> Strangely, the symptoms have been getting worse in the 10 days I've had this
> machine: from the first few days with no trouble to today with the mouse
> crapping out almost once every ten seconds or so. I would say it's a DOA
> and claim my warranty, if not frustratingly the machine works perfectly
> fine in Windows 8, with no touchpad trouble at all.
> 
> I'm willing to try things on this machine, run patches or take any hint in
> what I can change to get this working; if it helps I can even poke an
> oscilloscope at the PS2 lines. Not having a working touchpad or touchpoint
> is getting a bit frustrating...
> 
> Cheers,
> Jeroen

--
Regards,
Vadim Fint,
Moscow, Ru.
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 7+ messages in thread
* Re: T440s Synaptics clickpad: lost sync / KBC bad data
@ 2014-01-17 15:24 Jan Bessai
  0 siblings, 0 replies; 7+ messages in thread
From: Jan Bessai @ 2014-01-17 15:24 UTC (permalink / raw)
  To: linux-input

Hi all,

I'm having the same issue with a Lenovo T440p. The "lost sync" messages
occur if packets sent by the touchpad don't respect the bitmasks
specified in [1]. Adding some more debug output to the driver reveals,
that packages are garbled in a fairly random pattern, so just using the
less enforcing "SYN_NEWABS_RELAXED" bitmask
(drivers/input/mouse/synaptics.c:1165 , in accordance to manual section
6.1 last bullet point) does not help. Neither does cutting the packet
rate in halve or deactivating all wireless devices (=> not an
interference problem). As far as I can see, sleep flags are never set by
the driver, thus no luck with that either.
Interestingly my BIOS offers a switch to deactivate the touchpad and
just use the trackpoint. This however doesn't work either. As soon as I
trigger some (especially multi touch) activity, the touchpad comes back
and causes trouble. I believe the switch triggers pass-through mode
described in manual [1] section 5.3 and:

> A spontaneous reset of the TouchPad, due to internal sanity checks,
> ESD, or some other problem, will take the device out of transparent
> Pass-Through mode

Disabling the touchpad caused trouble for the Windows driver [2], too:
> <16.3.15.2>
> - (New) Fixed an issue where touchpad was still enabled after having
>   been disabled by BIOS.

I was able to reproduce the bug in the Windows 8 Professional installer,
the Debian 7.1 installer, the live CD version of the Ubuntu 14.04
(Trusty Tahr) daily build (14.01.2014, kernel 3.13.x) and my installed
Gentoo system (kernel 3.12.7). I'm not sure, but I think the touchpad
was acting a bit jumpy (but no where as bad) in the pre-installed
version of Windows 7 Professional as well.

For now I'm using the Bios switch to disable the touchpad in combination
with the psmouse module parameter "proto=exps". This allows me to just
use the trackpoint with a primitive ps2 mouse driver and leave the
touchpad disabled (at least if I'm careful enough not to accidentally
rest my palm on it). Being not careful enough however still causes it to
wake up and to inject timeout and bad parity errors, triggering the
cursor to jump around, click aimlessly and finally to hang. As soon as I
can afford to be without the laptop for a few days, I'll ask Lenovo to
replace the touchpad. I don't want to lose my warranty, otherwise I'd
open the notebook [3] and check if perhaps the cables are not in place
or broken. I'll also report back here, if there is anything new.

Greetings,
 Jan

[1]: Synaptics PS/2 TouchPad Interfacing Guide.
http://www.synaptics.com/sites/default/files/511-000275-01_RevB.pdf
[2]: Synaptics ThinkPad UltraNav Driver.
http://download.lenovo.com/ibmdl/pub/pc/pccbbs/mobiles/gggx45ww.txt
[3]: Video training for Lenovo T440p servicing.
http://lenovoservicetraining.com/content/CourseWarePublic/22088/player.html

^ permalink raw reply	[flat|nested] 7+ messages in thread
* T440s Synaptics clickpad: lost sync / KBC bad data
@ 2013-12-15 14:37 J. Domburg
  2013-12-21 21:59 ` Heinz Wiesinger
  2014-01-06 10:25 ` J. Domburg
  0 siblings, 2 replies; 7+ messages in thread
From: J. Domburg @ 2013-12-15 14:37 UTC (permalink / raw)
  To: linux-input

Hello everyone,

I hope I'm at the right address here with my problems. If not, please do 
point me in the correct direction.

I have a Lenovo Thinkpad T440s with a Synaptics clickpad and an IBM 
trackpoint in it:

input: PS/2 Synaptics TouchPad as /devices/platform/i8042/serio1/input/input120
psmouse serio1: synaptics: Touchpad model: 1, fw: 8.1, id: 0x1e2b1, caps: 0xd001a3/0x940300/0x127c00, board id: 2668, fw id: 1293989
psmouse serio1: synaptics: serio: Synaptics pass-through port at isa0060/serio1/input0
input: SynPS/2 Synaptics TouchPad as /devices/platform/i8042/serio1/input/input123
psmouse serio34: alps: Unknown ALPS touchpad: E7=10 00 64, EC=10 00 64
psmouse serio34: trackpoint: IBM TrackPoint firmware: 0x0e, 
buttons: 3/3 input: TPPS/2 IBM TrackPoint as /devices/platform/i8042/serio1/serio34/input/input124

The problem is that the trackpoint behaves incredibly erratic, sometimes 
working correctly for minutes at a time, sometimes just jumping around and 
many times just hanging. I need to remove and re-insert the psmouse module 
to solve that. Alongside this behaviour, my kernel log also is getting 
spammed with messages like:

psmouse serio1: TouchPad at isa0060/serio1/input0 lost sync at byte 1
psmouse serio1: TouchPad at isa0060/serio1/input0 lost sync at byte 1
psmouse serio1: TouchPad at isa0060/serio1/input0 lost sync at byte 1
psmouse serio1: TouchPad at isa0060/serio1/input0 - driver resynced.
and 
psmouse serio1: bad data from KBC - timeout

What I've tried:
- Tried the kernel options i8042.nomux=1 and i8042.reset=1
- Disable acpi by passing acpi=off to the kernel
- Disabled CPU frequency scaling
- Trying other protocols, e.g. by doing modprobe psmouse proto=imps or 
proto=bare
- Switching from vanilla 3.12 kernel to both the latest&greatest kernel 
from Linus' Git and an antique 3.1.0 kernel
- Turning on i8042.debug. To my untrained eye, it looks like bytes of PS/2 
data are just disappearing when the 'lost sync' messages kick in. I can 
give an example of that if needed.

Strangely, the symptoms have been getting worse in the 10 days I've had 
this machine: from the first few days with no trouble to today with the 
mouse crapping out almost once every ten seconds or so. I would say it's a 
DOA and claim my warranty, if not frustratingly the machine works 
perfectly fine in Windows 8, with no touchpad trouble at all.

I'm willing to try things on this machine, run patches or take any hint in 
what I can change to get this working; if it helps I can even poke an 
oscilloscope at the PS2 lines. Not having a working touchpad or 
touchpoint is getting a bit frustrating...

Cheers,
Jeroen




^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2014-01-20 17:49 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-20 17:50 T440s Synaptics clickpad: lost sync / KBC bad data Vadim Fint
  -- strict thread matches above, loose matches on Subject: below --
2014-01-17 15:24 Jan Bessai
2013-12-15 14:37 J. Domburg
2013-12-21 21:59 ` Heinz Wiesinger
2013-12-21 23:17   ` J. Domburg
2013-12-23  8:00     ` Heinz Wiesinger
2014-01-06 10:25 ` J. Domburg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).