From owner-freebsd-mobile@freebsd.org Wed May 8 17:09:20 2019 Return-Path: Delivered-To: freebsd-mobile@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DD457158E153; Wed, 8 May 2019 17:09:19 +0000 (UTC) (envelope-from nikola.lecic@anthesphoria.net) Received: from anthesphoria.net (anthesphoria.net [204.109.61.206]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "anthesphoria.net", Issuer "anthesphoria.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id AC79B85CAE; Wed, 8 May 2019 17:09:18 +0000 (UTC) (envelope-from nikola.lecic@anthesphoria.net) Received: from localhost (ppp85-140-169-89.pppoe.mtu-net.ru [85.140.169.89]) (authenticated bits=0) by anthesphoria.net (8.15.2/8.15.2) with ESMTPSA id x48Gsoib014349 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 8 May 2019 16:54:56 GMT (envelope-from nikola.lecic@anthesphoria.net) Message-Id: <201905081654.x48Gsoib014349@anthesphoria.net> X-Authentication-Warning: anthesphoria.net: Host ppp85-140-169-89.pppoe.mtu-net.ru [85.140.169.89] claimed to be localhost Date: Wed, 8 May 2019 19:54:42 +0300 From: Nikola =?UTF-8?B?TGXEjWnEhw==?= To: freebsd-mobile@freebsd.org, freebsd-current@freebsd.org Subject: Elantech touchpad (HID over I2C): any work planned? X-Mailer: Claws Mail 3.14.1 (GTK+ 2.24.29; amd64-portbld-freebsd11.0) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEXczNDL1dgjPlw8P0am pKSJd3cnHBMACADUdemOAAACVUlEQVQ4jVWUzVbbMBCF4YC7Tk7MA5AmZdtmYs02jiXYGiSR BxCWtj0d0Lx+x8ZxYm18rM93fu5IvlmOC5kzUw6H8f3m+3Hb72dizF09A6t+P6NC5G4GkFNK SgFURK9X4IEzEYXq3Xuvuitw4hhBVZXsO/stGUApAqisNaYn6WMCKw4BrO+X1ub0OYEXjl1X eeO801qfqD4DpBgGgdHa6SYfRiA1qXdJbPpIWjfJXUAIEso7r9vWGf64gAjWDgpTFGZovger 1Cus20uOorg39DWBmAGGLqTawuAEOEof0rfrC7vXaQKYY8wBvN8KLYz6HMFdipgpgzd2t6uc gbNCrGKApygFbzcSDC/lxkRryFLV+ufe6/jnDJ4yhTVi5+x6a7VRZ7AQQBHow5lqK61UZ0sW a8kMGDrv10Yb3ekzOCUkoNiJ670pbrL9GeVzVltp0OlD68+2L1+SsjHGYYRt69tJ0eQc3pMa QdteZk4hRoy+LdwcFEhBBRqGWMi6nCtUARJ/9fbKoPwEFj8CKCZwomhb83sCt3fZBqLG96Sw 9SXUiiAweCfe6tbfXh3qXAFztfEyXne4Pu30FdVuPKPX12DBQVHvrHil6+uL84KYd9br41Hr 5TVYMarqzW2M3jzOQIn/aLcxj0dj5pfzAVnBmz5KUTNQWpZRbbbaH8cUI2gIiWEvDZp5uSfm RCJ5M5sa3QTKhin04Kd8Xzf7CTQsgswIxum6tNUEUmJGlOzSXbl0AK8DeBBjBYQQKqfLsjzu cffag+eE/e8ogFRV17Xewq/8d7n8Dz6Z+zmLbdZWAAAAAElFTkSuQmCC X-Face: pbl6-.[$G'Fi(Ogs2xlXP-V6{3||$Y[LOYs&~GJoikj'cVjcFC[V7du; ; 0~6nO=[Vi2?uU1P q~,=Adj@,T:|"`$AF~il]J.Nz#2pU',Y7.{ B;m/?{#sO^Dvo$rnmY6] MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: AC79B85CAE X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-0.96 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[89.169.140.85.zen.spamhaus.org : 127.0.0.10]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; IP_SCORE(-0.79)[asn: 36236(-3.89), country: US(-0.06)]; MIME_GOOD(-0.10)[text/plain]; HAS_XAW(0.00)[]; TO_DN_NONE(0.00)[]; AUTH_NA(1.00)[]; DMARC_NA(0.00)[anthesphoria.net]; NEURAL_HAM_LONG(-0.98)[-0.985,0]; MIME_TRACE(0.00)[0:+]; MX_GOOD(-0.01)[mail.anthesphoria.net]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-0.16)[-0.163,0]; NEURAL_HAM_MEDIUM(-0.91)[-0.909,0]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:36236, ipnet:204.109.61.0/24, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 May 2019 17:09:20 -0000 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 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~