Skip to contentSkip to conversation

Quick note about the elantech driver

DISCUSSION Éric Piel 2 participants 2 messages Jun 16, 2011 HID

lore
Share & tools
lore

Éric Piel

author
#0 lore raw

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

#1 lore raw
Quoted 7 lines · Éric Piel

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.

Signature · 1 line
WBR, wRAR