From nobody Wed Jun 01 07:13:15 2022 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 5F7D01B48637 for ; Wed, 1 Jun 2022 07:13:16 +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 4LCgND1QD7z3KJC for ; Wed, 1 Jun 2022 07:13:16 +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 CA7E51BD9B for ; Wed, 1 Jun 2022 07:13:15 +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 2517DFmQ005133 for ; Wed, 1 Jun 2022 07:13:15 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 2517DFKs005132 for bugs@FreeBSD.org; Wed, 1 Jun 2022 07:13:15 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 257796] backlight(8) gets confused on power change Date: Wed, 01 Jun 2022 07:13:15 +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-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: 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 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1654067596; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=YEaF4Qyfrm0u7HNekQmZd2H14szFQKGW/HQp/Hjmdj0=; b=Lg1Rym8VQnjNDIuTwgzuttXKdZ9HJTFamswD6NxNOjxv9t2olMpRqHTIwClcT8GBCIA/Kj F8lpWCYp+MRqDrf6SNk7qAuS3PLcRsnjcLfZD6HvkqF0XStyOD/OYE9RL3Z+jFq3bqAVf5 ZRXhNaVg0pffSIHPGE4j5Gi6IejdBAQqKffzVQlXcAeOsy9863PMVzsgGJLibQ+n32yq4v 4T4OrpImVTCH8QsQMnn3lMae3UsN6DPKBgrqCYTTSwQ3mfmjuz7Kd5RAQ74/9ZEROsG4FX Kz5yvBoC/QErgXdaaorw86oWhzfulf50RloMehryzrf4tPK+xt5u8xTOCGgqWQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1654067596; a=rsa-sha256; cv=none; b=pmcsnMBcgwjTb7rPlBjnOj/3udeFmZnzjFRqR6MjaU4t+lp3fNd8IbaBxyZwVdksv4AO55 sWuyed7FfhUHFWT9LTRjJri2wHOQ3Zcnxfc9hh8yxP53jS9gQ6TK+ol9QPNdAp7zyMwpPO TzcgWvXONCJdAoOCYAENOzWVw9su0p+xSyYuI3ZLsIfopwJZsJ7GFRYq7AJ6fguNRq1rPy ajnfSGuHGdoIacGGoguTdo+oLzeWXWR0+LzsA52UDs/EP//Q8YN1wi5PPdmBaqq4v43yWi mqMaoRqRet1VGhE+EH9DOTYL9YO/aNF3rkJLv5xWjOuIGbJlVFgCZEDQ5mtujw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D257796 --- Comment #5 from commit-hook@FreeBSD.org --- A commit in branch stable/13 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3Db203d3de6b1a7ab38f0a1e3d944a1c488= 7e31a9b commit b203d3de6b1a7ab38f0a1e3d944a1c4887e31a9b Author: Emmanuel Vadot AuthorDate: 2022-05-25 14:48:10 +0000 Commit: Emmanuel Vadot CommitDate: 2022-06-01 07:12:18 +0000 backlight: Update cached value when getting the brightness External events can cause the backlight level to change (AC adapter plug/unplug for example) so cache the value there too. PR: 257796 Sponsored by: Beckhoff Automation GmbH & Co. KG MFC after: 1 week (cherry picked from commit e26ef41f79902991c772b59927c721aa7fa5fc64) sys/dev/backlight/backlight.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) --=20 You are receiving this mail because: You are the assignee for the bug.=