From owner-freebsd-amd64@freebsd.org Sat Oct 1 19:22:36 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 E39DDA94FFA for ; Sat, 1 Oct 2016 19:22:36 +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 D33909F6 for ; Sat, 1 Oct 2016 19:22:36 +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 u91JMYeE090844 for ; Sat, 1 Oct 2016 19:22:36 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: Sat, 01 Oct 2016 19:22:34 +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: wulf@cicgroup.ru 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: Sat, 01 Oct 2016 19:22:37 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D205690 --- Comment #76 from Vladimir Kondratyev --- (In reply to Jakob Alvermark from comment #74) > I'm 100% sure, but I think it is synaptics. >/boot/loader.conf has: >hw.psm.synaptics_support=3D1 >hw.psm.trackpoint_support=3D1 ------------- > psm0: model Synaptics Touchpad, device ID 0-00, 7 buttons It is certainly Synaptics. Could you try attached patch - extbuttons.diff? I made extended buttons sup= port codepath like pre-r306355. > Even not touching the touchpad, button or trackpoint produces a lot of ps= m0: lost interrupt? That is normal for mobile devices. They do not produce interrupts while inactive to reduce number of driver wakeups and power consumption then. Just ignore "lost interrupt" messages. > Even the keyboard starts acting funny, and eventually the trackpoint/touc= hpad 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. That is bad. You are really lost sync here - received packet is shifted by 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? --=20 You are receiving this mail because: You are on the CC list for the bug.=