linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Quick note about the elantech driver
@ 2011-06-16 14:43 Éric Piel
  2011-06-16 19:40 ` Andrey Rahmatullin
  0 siblings, 1 reply; 2+ messages in thread
From: Éric Piel @ 2011-06-16 14:43 UTC (permalink / raw)
  To: linux-input

Hello,

I've just found out that there is a patch written by Elantech themselves 
for getting more versions of their touchpads working with the latest 
kernels:
https://launchpadlibrarian.net/71387234/01elantech_2.6.38.patch

So if anyone has problem with a new elantech touchpad she/he can try 
this patch :-)

I'll try to have a look at it and see how to put the same functionality 
in a more elegant (and acceptable) way. But for now I have only very 
little free time, so it might take time. If anyone was beating me at it, 
it would be with pleasure ;-)

See you,
Eric

PS: In case someone is interested, I've also noticed the source of some 
kind of X driver there: 
http://people.freedesktop.org/~whot/patches/etd7-ps2-drv_1.4-1Free1.tar.gz

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

* Re: Quick note about the elantech driver
  2011-06-16 14:43 Quick note about the elantech driver Éric Piel
@ 2011-06-16 19:40 ` Andrey Rahmatullin
  0 siblings, 0 replies; 2+ messages in thread
From: Andrey Rahmatullin @ 2011-06-16 19:40 UTC (permalink / raw)
  To: Éric Piel; +Cc: linux-input

[-- Attachment #1: Type: text/plain, Size: 3138 bytes --]

On Thu, Jun 16, 2011 at 04:43:14PM +0200, Éric Piel wrote:
> I've just found out that there is a patch written by Elantech
> themselves for getting more versions of their touchpads working with
> the latest kernels:
> https://launchpadlibrarian.net/71387234/01elantech_2.6.38.patch
> 
> So if anyone has problem with a new elantech touchpad she/he can try
> this patch :-)
I've tested this on 2.6.39.1 (applies cleanly) with ASUS K53E and it
works.
On the module load I get this:

[   62.958694] 2.6.2X-Elan-touchpad-2011-04-12
[   63.365850] elantech.c: PSMOUSE_CMD_RESET_BAT  param[0]=aa param[1]=0 param[2]=0
[   63.415274] elantech.c: Elantech version query result 0x45, 0x0f, 0x01.
[   63.440436] param[0] = 45 param[1] = f param[2] = 1 
[   63.441287] elantech.c: assuming hardware version 9, firmware version 0x45.0x0f.0x01
[   63.477535] val = 0x0f 
[   63.504554] input: ETPS/2 Elantech ETF1059 Click-Pad as /devices/platform/i8042/serio4/input/input10

In the X log:

[    63.247] (II) config/udev: Adding input device ETPS/2 Elantech ETF1059 Click-Pad (/dev/input/event10)
[    63.247] (**) ETPS/2 Elantech ETF1059 Click-Pad: Applying InputClass "evdev pointer catchall"
[    63.247] (**) ETPS/2 Elantech ETF1059 Click-Pad: Applying InputClass "evdev touchpad catchall"
[    63.247] (**) ETPS/2 Elantech ETF1059 Click-Pad: Applying InputClass "touchpad catchall"
[    63.247] (II) Using input driver 'synaptics' for 'ETPS/2 Elantech ETF1059 Click-Pad'
[    63.247] (II) Loading /usr/lib/xorg/modules/input/synaptics_drv.so
[    63.247] (**) ETPS/2 Elantech ETF1059 Click-Pad: always reports core events
[    63.247] (**) Option "Device" "/dev/input/event10"
[    63.295] (--) ETPS/2 Elantech ETF1059 Click-Pad: x-axis range 0 - 2508
[    63.295] (--) ETPS/2 Elantech ETF1059 Click-Pad: y-axis range 0 - 1320
[    63.295] (--) ETPS/2 Elantech ETF1059 Click-Pad: pressure range 0 - 255
[    63.295] (--) ETPS/2 Elantech ETF1059 Click-Pad: finger width range 0 - 16
[    63.295] (--) ETPS/2 Elantech ETF1059 Click-Pad: buttons: left right middle double triple scroll-buttons
[    63.331] (--) ETPS/2 Elantech ETF1059 Click-Pad: touchpad found
[    63.331] (**) ETPS/2 Elantech ETF1059 Click-Pad: always reports core events
[    63.347] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio4/input/input10/event10"
[    63.347] (II) XINPUT: Adding extended input device "ETPS/2 Elantech ETF1059 Click-Pad" (type: TOUCHPAD)
[    63.347] (**) ETPS/2 Elantech ETF1059 Click-Pad: (accel) MinSpeed is now constant deceleration 2.5
[    63.347] (**) ETPS/2 Elantech ETF1059 Click-Pad: MaxSpeed is now 1.75
[    63.347] (**) ETPS/2 Elantech ETF1059 Click-Pad: AccelFactor is now 0.071
[    63.347] (**) ETPS/2 Elantech ETF1059 Click-Pad: (accel) keeping acceleration scheme 1
[    63.347] (**) ETPS/2 Elantech ETF1059 Click-Pad: (accel) acceleration profile 1
[    63.347] (**) ETPS/2 Elantech ETF1059 Click-Pad: (accel) acceleration factor: 2.000
[    63.347] (**) ETPS/2 Elantech ETF1059 Click-Pad: (accel) acceleration threshold: 4

Multitouch now works.


-- 
WBR, wRAR

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

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

end of thread, other threads:[~2011-06-16 20:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-16 14:43 Quick note about the elantech driver Éric Piel
2011-06-16 19:40 ` Andrey Rahmatullin

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