linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* elantech touchpad issues
@ 2011-09-06 14:53 Richard Schütz
  2011-09-07  1:46 ` JJ Ding
  2011-09-08  4:18 ` JJ Ding
  0 siblings, 2 replies; 8+ messages in thread
From: Richard Schütz @ 2011-09-06 14:53 UTC (permalink / raw)
  To: linux-input

Hello everybody!

I'm owning a Samsung N145P netbook, that comes along with an elantech 
touchpad:

[    5.949921] elantech: assuming hardware version 2, firmware version 
4.2.22
[    5.985481] elantech: Synaptics capabilities query result 0x09, 0x14, 
0x0b.

It has some annoying issues, which hopefully can be resolved now as 
there is some ongoing development on the driver again. I have already 
tested the current "[PATCH v5 0/8] Input: elantech: add support for 
newer hardware" patchset, but without success.


The device's axis ranges, which are reported to userspace, seem to be 
totally wrong.

(kernel 3.0.4)
[    17.940] (--) ETPS/2 Elantech Touchpad: x-axis range 8 - 1144
[    17.940] (--) ETPS/2 Elantech Touchpad: y-axis range 8 - 760

(kernel 3.0.4 + patchset)
[    16.936] (--) ETPS/2 Elantech Touchpad: x-axis range 0 - 1152
[    16.936] (--) ETPS/2 Elantech Touchpad: y-axis range 0 - 576

I get the following ranges, when I use synclient in monitor mode to look 
which values really are passed to the synaptics driver in X:

(kernel 3.0.4)
x: 0-819
y: 355-760

(kernel 3.0.4 + patchset)
x: 0-819
y: 171-576

Because of this differences the edge/scrolling areas of the touchpad are 
calculated wrong and can't be used by default.


The other issue occurs very often when two fingers are used:

(kernel 3.0.4)
     time     x    y   z f  w  l r u d m     multi  gl gm gr gdx gdy
    7.982  1020 -268 127 2  7  0 0 0 0 0  00000000

(kernel 3.0.4 + patchset)
     time     x    y   z f  w  l r u d m     multi  gl gm gr gdx gdy
    3.118  1020 -444 127 2  7  0 0 0 0 0  00000000

When the fingers are released this strange values are reported. This 
makes two finger scrolling unusable, because it jumps back to the 
beginning everytime.

-- 
Regards,
Richard Schütz
--
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] 8+ messages in thread
* elantech touchpad issues
@ 2011-01-23 14:12 Richard Schütz
  0 siblings, 0 replies; 8+ messages in thread
From: Richard Schütz @ 2011-01-23 14:12 UTC (permalink / raw)
  To: linux-input

I noticed that the elantech driver reports totally wrong axis range 
values to the xf86-input-synaptics driver for the touchpad in my Samsung 
N145 Plus netbook.

kernel output:
elantech: assuming hardware version 2, firmware version 4.2.22
elantech: Synaptics capabilities query result 0x09, 0x14, 0x0b.

As it's detected as hardware version 2 the hardcoded ranges from 
elantech.h are used:
[    16.863] (--) ETPS/2 Elantech Touchpad: x-axis range 8 - 1144
[    16.863] (--) ETPS/2 Elantech Touchpad: y-axis range 8 - 760

But with synclient's monitor mode I discovered that the correct values 
for my touchpad seem to be:
min x: 0
max x: 819
min y: 355
max y: 760
(without ETP_EDGE_FUZZ_V2)

This results in unusuable edge areas by default.

When using more then one finger on the touchpad also sometimes this 
strange thing happens and the cursor jumps:
    time     x    y   z f  w  l r u d m     multi  gl gm gr gdx gdy
155.600  1020 -268  31 2  0  0 0 0 0 0  00000000
155.610  1020 -268   0 0  0  0 0 0 0 0  00000000
(the second line is optional)

I guess this would have no effect (like jumping cursor) with correct 
ranges. Can't they be queried from hardware? I have no clue if these 
ranges I figured out are valid for my netbook only or if there was a 
general change in newer firmware versions. Unfortunately, I own no other 
hardware for figuring this out. I could patch the driver for my personal 
need, but I think this should by handled somehow in the driver 
automatically. If that would not work adequate I would suggest to 
introduce driver parameters to pass the ranges at runtime without the 
need for recompiling.

-- 
Regards,
Richard Schütz
--
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] 8+ messages in thread

end of thread, other threads:[~2011-09-13  1:24 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-06 14:53 elantech touchpad issues Richard Schütz
2011-09-07  1:46 ` JJ Ding
2011-09-08  4:18 ` JJ Ding
2011-09-08 18:17   ` Richard Schütz
2011-09-12  8:42     ` Éric Piel
2011-09-12  9:57       ` Richard Schütz
2011-09-13  1:27       ` JJ Ding
  -- strict thread matches above, loose matches on Subject: below --
2011-01-23 14:12 Richard Schütz

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).