From nobody Wed May 25 14:51:07 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 1D3A41B57E21 for ; Wed, 25 May 2022 14:51:09 +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 4L7Ysl6fmsz3wQm for ; Wed, 25 May 2022 14:51:07 +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 58A451B427 for ; Wed, 25 May 2022 14:51:07 +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 24PEp70O060568 for ; Wed, 25 May 2022 14:51:07 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 24PEp7e3060567 for bugs@FreeBSD.org; Wed, 25 May 2022 14:51:07 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, 25 May 2022 14:51:07 +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: Open X-Bugzilla-Resolution: 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=1653490269; 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=mxcBEKXt6pjDDs42CGmsph4MEMucOKcSrR/RJWIwrBs=; b=cOzE6lmTwfu/LaIIA34QgvKlFqxpV1i/afl4ndRUyyO2Xhb6MQcoANoA49eIlxfuBpPJeh Cb2tOZe3Ydbd4hX7I/y8ZD4teIjE2XCUFtwfboWFaCFx24jHh8B33RcC5HsYg2IQy6SVf7 Y0D751zAlCaFrRenjXeIkqGb4jO5G7bU5VBXQyRXmGvLZ8yYQiB70beCFwKirPHlGe4UR9 wX50j0BV3R9as2PyVExTSTNap1Y6zWLNUpmMxk5wZJ7D4W0qSQUGj9hF+D5OSrUbWP8HKf 4aIjkjqTwu62NAsH05zNweHCbqlSDvlCyWiGNJkYNesTwTuP+Kuvv8hqt3rnjg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1653490269; a=rsa-sha256; cv=none; b=ZN/H3MitsCNT3xk2qzx63Xhmhnh7kGKTMbxxKfYhnA9BxIbV+gQ87g6WgJX6MuWjS68Qxa eXT1Yq08BKxew7Xh2eS3s0WJDC2sMgvcn34GfnX7HCM8ajRIGT55RGkoSLj9VAVC0hs0du Q051KlRw+XyjpNiyNK2f430p+NFdIFJkIOt0G+Y5n6T+D4ZwrP3tixr2/DkgugLiSjXtRq 7ppbIJw40VWrkDWgRlsXSEZQV+IRQic6rzyMKH/cQdMfYrbg20ELRike3Qtqn3QXSCaZ4L yJk1jQbj7BqKWaYPEA/vQ4uTcNhh1j0+iGGbuv8szSrUf4bimXAC6UstxY87/A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D257796 --- Comment #3 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3De26ef41f79902991c772b59927c721aa7= fa5fc64 commit e26ef41f79902991c772b59927c721aa7fa5fc64 Author: Emmanuel Vadot AuthorDate: 2022-05-25 14:48:10 +0000 Commit: Emmanuel Vadot CommitDate: 2022-05-25 14:50:25 +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 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.=