Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 May 2019 19:54:42 +0300
From:      Nikola =?UTF-8?B?TGXEjWnEhw==?= <nikola.lecic@anthesphoria.net>
To:        freebsd-mobile@freebsd.org, freebsd-current@freebsd.org
Subject:   Elantech touchpad (HID over I2C): any work planned?
Message-ID:  <201905081654.x48Gsoib014349@anthesphoria.net>

next in thread | raw e-mail | index | archive | help
Hi,

After buying a new Asus Zenbook 14 UX410UFR, I was unpleasantly
surprised that its touchpad (Elantech over I2C) isn't supported under
FreeBSD.

I see that this kind of problem was discussed several times in the past:
https://lists.freebsd.org/pipermail/freebsd-current/2018-June/069704.html
https://lists.freebsd.org/pipermail/freebsd-mobile/2017-August/013617.html
https://lists.freebsd.org/pipermail/freebsd-mobile/2016-March/013370.html
https://lists.freebsd.org/pipermail/freebsd-mobile/2016-November/013577.html

OpenBSD's imt(4) driver detects this touchpad, and it works normally.=20
Please find the relevant info below.=20

Can someone tell us if any kind of work on porting imt(4) driver (or
writing FreeBSD's own from scratch) is planned? Or it's better to
return this laptop and buy another one?

OpenBSD dmesg:

May  8 15:23:29 thorium /bsd: dwiic0 at pci0 dev 21 function 0 "Intel 100 S=
eries I2C" rev 0x21: apic 2 int 16
May  8 15:23:29 thorium /bsd: iic0 at dwiic0
May  8 15:23:29 thorium /bsd: dwiic1 at pci0 dev 21 function 1 "Intel 100 S=
eries I2C" rev 0x21: apic 2 int 17
May  8 15:23:29 thorium /bsd: iic1 at dwiic1
May  8 15:23:29 thorium /bsd: ihidev0 at iic1 addr 0x15 (polling), vendor 0=
x4f3 product 0x309c, ELAN1200
May  8 15:23:29 thorium /bsd: ihidev0: 11 report ids
May  8 15:23:29 thorium /bsd: imt0 at ihidev0: clickpad, 5 contacts
May  8 15:23:29 thorium /bsd: wsmouse0 at imt0 mux 0
May  8 15:23:29 thorium /bsd: "Intel 100 Series I2C" rev 0x21 at pci0 dev 2=
1 function 2 not configured
May  8 15:23:29 thorium /bsd: "Intel 100 Series MEI" rev 0x21 at pci0 dev 2=
2 function 0 not configured

Linux Xorg.0.log:

[    22.259] (II) config/udev: Adding input device ELAN1200:00 04F3:309C To=
uchpad (/dev/input/event9)
[    22.259] (**) ELAN1200:00 04F3:309C Touchpad: Applying InputClass "libi=
nput touchpad catchall"
[    22.259] (II) Using input driver 'libinput' for 'ELAN1200:00 04F3:309C =
Touchpad'
[    22.259] (**) ELAN1200:00 04F3:309C Touchpad: always reports core events
[    22.259] (**) Option "Device" "/dev/input/event9"

Linux dmesg:

[   18.700018] input: ELAN1200:00 04F3:309C Touchpad as /devices/pci0000:00=
/0000:00:15.1/i2c_designware.1/i2c-9/i2c-ELAN1200:00/0018:04F3:309C.0001/in=
put/input10
[   18.700101] hid-multitouch 0018:04F3:309C.0001: input,hidraw0: I2C HID v=
1.00 Mouse [ELAN1200:00 04F3:309C] on i2c-ELAN1200:00

--=20
Nikola Le=C4=8Di=C4=87 =3D =D0=9D=D0=B8=D0=BA=D0=BE=D0=BB=D0=B0 =D0=9B=D0=
=B5=D1=87=D0=B8=D1=9B  :  https://www.hse.ru/staff/ndlecic
fingerprint : FEF3 66AF C90E EDC3 D878  7CDC 956D F4AB A377 1C9B
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201905081654.x48Gsoib014349>