From owner-freebsd-amd64@freebsd.org Sun Oct 2 10:04:15 2016 Return-Path: Delivered-To: freebsd-amd64@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 334C8AD957D for ; Sun, 2 Oct 2016 10:04:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 08F1323B for ; Sun, 2 Oct 2016 10:04:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u92A4Ele058662 for ; Sun, 2 Oct 2016 10:04:14 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-amd64@FreeBSD.org Subject: [Bug 205690] [psm] [patch]: Add support for Elantech trackpads Date: Sun, 02 Oct 2016 10:04:15 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: feature, needs-qa, patch X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: jakob@alvermark.net X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: gonzo@FreeBSD.org X-Bugzilla-Flags: mfc-stable10? mfc-stable11? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Oct 2016 10:04:15 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D205690 --- Comment #77 from Jakob Alvermark --- (In reply to Vladimir Kondratyev from comment #76) > Could you try attached patch - extbuttons.diff? I made extended buttons > support codepath like pre-r306355. Yes, this restores the previous behavior, i.e. the buttons work again. One other thing I would like to change though, setting hw.psm.synaptics.touchpad_off=3D1 disables the touchpad/clickpad as expecte= d, but it also turns on the buttons. This was also the case pre-r306355. I almost exclusively use the trackpoint, so I would like to be able to turn= the touchpad off, but keep the buttons working. > > Even the keyboard starts acting funny, and eventually the trackpoint/to= uchpad stops functioning altogether, with the following messages: > > psmintr: out of sync (0000 !=3D 0080) 845 cmds since last error. > > psmintr: discard a byte (1) > > psmintr: b4 80 00 00 c0 00 > > psmintr: 00 84 18 00 c4 fe > > psmintr: out of sync (0000 !=3D 0080) 0 cmds since last error. > > psmintr: reset the mouse. >=20 > That is bad. You are really lost sync here - received packet is shifted b= y 1 > byte. I cant help you in that case and have no clues. My code works after > 6-bytes has been assembled in one packet. Did it happen before r306355? Never had this problem before. I have been using this hardware for months, tracking HEAD. It seems to work now, with the patch applied and no debug on. I'll keep running it with this patch and see what happens. --=20 You are receiving this mail because: You are on the CC list for the bug.=