From owner-freebsd-mobile@freebsd.org Thu May 9 12:11:38 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 9139D15A7BE0 for ; Thu, 9 May 2019 12:11:38 +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 371988C434 for ; Thu, 9 May 2019 12:11:38 +0000 (UTC) (envelope-from nikola.lecic@anthesphoria.net) Received: from localhost (ppp85-140-168-111.pppoe.mtu-net.ru [85.140.168.111]) (authenticated bits=0) by anthesphoria.net (8.15.2/8.15.2) with ESMTPSA id x49CBYpD041810 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 9 May 2019 12:11:35 GMT (envelope-from nikola.lecic@anthesphoria.net) Message-Id: <201905091211.x49CBYpD041810@anthesphoria.net> X-Authentication-Warning: anthesphoria.net: Host ppp85-140-168-111.pppoe.mtu-net.ru [85.140.168.111] claimed to be localhost Date: Thu, 9 May 2019 15:11:26 +0300 From: Nikola =?UTF-8?B?TGXEjWnEhw==?= To: Marek Zarychta Cc: freebsd-mobile@freebsd.org Subject: Re: Elantech touchpad (HID over I2C): any work planned? In-Reply-To: References: <201905081654.x48Gsoib014349@anthesphoria.net> <201905082029.x48KTTeE020212@anthesphoria.net> 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: 371988C434 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.99 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.99)[-0.992,0]; REPLY(-4.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0] 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: Thu, 09 May 2019 12:11:38 -0000 Actually, I was too optimistic in my reporting. The new driver worked for me just once -- until reboot. After that, I couldn't get the touchpad working again. After usual dmesg lines, any movement on touchpad produces endless repeating of this message: kernel: iichid0: no data received and no effect on cursor. Scroll down for more bad info. On Thu, 9 May 2019 11:55:46 +0200 Marek Zarychta wrote: > There is no breakage in suspend/resume due to introducing this driver. > It just doesn't work after resume. Unfortunately, the driver breaks suspend for me (which works just fine without it). After 'acpiconf -s3' laptop hangs on ttyv1 with quickly blinking mouse cursor and these lines: ... <6>[drm] GPU HANG: ecode 9:1:0xfffffffe, reason: Hang on bcs0, action: reset=20 drmn0: Failed to idle engines, declaring wedged! (This is with /boot/modules/i915kms.ko.) > > 1. I don't have two-finger scrolling and multitouch under X; afaiu > > [XYZT] means that I should have more than just two buttons. Am I > > right? =20 > Vertical scrolling with two fingers works fine. > > 2. Can someone share xorg.conf with maximum achievable > > functionality at the moment? =20 > # cat /etc/X11/xorg.d/mouse.conf > Section "InputClass" > =C2=A0=C2=A0=C2=A0 Identifier "Touchpad" > =C2=A0=C2=A0=C2=A0 Option "Device" "/dev/ims0" > EndSection >=20 > # grep moused /etc/rc.conf >=20 > moused_enable=3D"YES" > moused_flags=3D" -V -a 1.6 -A 1.3 -U 4 -L 1.5" > moused_port=3D"/dev/ims0" > moused_ums0_flags=3D"" Thanks, but for now two-finger scrolling simply doesn't work for me. I'll investigate further when I get responsive touchpad again. > > 3. Is it possible to comment on the phabricator thread without > > @freebsd.org address? I guess my comments would be more useful > > there. =20 > Yes, it's possible. You have to create account on the phabricator > first. I can't create an account; it says: "Email address must be @freebsd.org" (I don't have one). --=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 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~