From nobody Thu Nov 04 06:49:58 2021 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 3E7BC183790B for ; Thu, 4 Nov 2021 06:49:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HlDlq1FM8z3wD1 for ; Thu, 4 Nov 2021 06:49:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 0B5932798E for ; Thu, 4 Nov 2021 06:49:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 1A46nwBl012532 for ; Thu, 4 Nov 2021 06:49:58 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 1A46nwva012531 for bugs@FreeBSD.org; Thu, 4 Nov 2021 06:49:58 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: bugs@FreeBSD.org Subject: [Bug 259230] Touching the touchpad on a frame.work laptop causes reboot or poweroff Date: Thu, 04 Nov 2021 06:49:58 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: kevans@freebsd.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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 List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D259230 Kyle Evans changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |wulf@freebsd.org --- Comment #8 from Kyle Evans --- I had contacted frame.work support after my last comment because I suspecte= d a firmware bug, and I did get a response from them tonight; quoted below. The short version is that we are triggering a firmware bug (the crashing) as it falls back to legacy mode, and the root cause is likely that we're sending = the reset command but can't setup the interrupt because it's an ACPI GPIO inter= rupt that we don't currently support. -- Hi Kyle,=20 I wanted to follow up on the touchpad issue you are seeing in freebsd. I can reproduce the issue, and i suspect that with PS2 emulation enabled freebsd = may be holding the i2c bus to the touchpad low for too long or during startup. = It does not seem to reproduce 100% of the time.=20 I suspect what is happening is the OS is sending the reset command to the touchpad and then not processing interrupts from the touchpad soon enough, causing the EC to fallback to ps2 mouse emulation as it does not detect the i2c-hid interface as being active.=20 I suspect that the freebsd driver may be holding the i2c lines low in this state, causing the EC to fail communication with the touchpad.=20 Unexpectedly this causes the EC to crash, which is what is causing the syst= em to shutdown.=20 I will take a look at exactly what is causing the crash and we can role a f= ix into a future firmware update, as that should not happen! But for now I wou= ld suggest disabling ps2 emulation in the bios.=20 Thanks for the report!=20 -- --=20 You are receiving this mail because: You are the assignee for the bug.=