From owner-freebsd-bugs@freebsd.org Sat Jan 20 10:58:11 2018 Return-Path: Delivered-To: freebsd-bugs@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 1B0F9EC9967 for ; Sat, 20 Jan 2018 10:58:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 01B4E73A90 for ; Sat, 20 Jan 2018 10:58:11 +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 mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id EAFC51A9D7 for ; Sat, 20 Jan 2018 10:58:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w0KAwAJm017841 for ; Sat, 20 Jan 2018 10:58:10 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w0KAwAWA017839 for freebsd-bugs@FreeBSD.org; Sat, 20 Jan 2018 10:58:10 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 225338] psm: Elantech touchpad in Gigabyte Aero 15X is recognized but doesn't work Date: Sat, 20 Jan 2018 10:58:10 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: dumbbell@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: 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-bugs@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Jan 2018 10:58:11 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225338 Bug ID: 225338 Summary: psm: Elantech touchpad in Gigabyte Aero 15X is recognized but doesn't work Product: Base System Version: 11.0-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: kern Assignee: freebsd-bugs@FreeBSD.org Reporter: dumbbell@FreeBSD.org The Elantech touchpad in a Gigabyte Aero 15X laptop is recognized properly after setting `hw.psm.elantech_support=3D1` in /boot/loader.conf: kernel: Elantech touchpad hardware v.4 firmware v.0x595f00 kernel: Model information: kernel: MaxX: 3188 kernel: MaxY: 2085 kernel: DpmmX: 31 kernel: DpmmY: 31 kernel: TracesX: 21 kernel: TracesY: 14 kernel: DptraceX: 159 kernel: DptraceY: 160 kernel: SemiMT: 0 kernel: Clickpad: 1 kernel: Trackpoint: 0 kernel: CRC: 1 kernel: Pressure: 1 kernel: psm0: found Elantech Touchpad kernel: psm0: model Elantech Touchpad, device ID 0-00, 3 buttons kernel: psm0: config:00004100, flags:00000008, packet size:6 kernel: psm0: syncmask:04, syncbits:00 However, when I try to use it, the cursor doesn't move and clicks are not reported. The touchpad is reinitialized after each move/touch event because packets are apparently out-of-sync: kernel: psmintr: out of sync (0000 !=3D 0004) 1 cmds since last error. kernel: psmintr: discard a byte (1) kernel: psmintr: out of sync (0000 !=3D 0004) 0 cmds since last error. kernel: psmintr: discard a byte (2) kernel: psmintr: out of sync (0000 !=3D 0004) 0 cmds since last error. kernel: psmintr: reset the mouse. According to the psm(4) source code, the problem is that we check sync even though we should skip it when CRC is supported. --=20 You are receiving this mail because: You are the assignee for the bug.=