From nobody Tue Jan 31 12:33:02 2023 X-Original-To: freebsd-current@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 4P5kwm5yqXz3cP02 for ; Tue, 31 Jan 2023 12:33:12 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from phk.freebsd.dk (phk.freebsd.dk [130.225.244.222]) (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 mx1.freebsd.org (Postfix) with ESMTPS id 4P5kwm3LT9z3HHn for ; Tue, 31 Jan 2023 12:33:11 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Authentication-Results: mx1.freebsd.org; none Received: from critter.freebsd.dk (unknown [192.168.55.3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by phk.freebsd.dk (Postfix) with ESMTPS id E362D8929A; Tue, 31 Jan 2023 12:33:03 +0000 (UTC) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.17.1/8.16.1) with ESMTPS id 30VCX3Uk079925 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Tue, 31 Jan 2023 12:33:03 GMT (envelope-from phk@critter.freebsd.dk) Received: (from phk@localhost) by critter.freebsd.dk (8.17.1/8.16.1/Submit) id 30VCX2qX079924; Tue, 31 Jan 2023 12:33:02 GMT (envelope-from phk) Message-Id: <202301311233.30VCX2qX079924@critter.freebsd.dk> To: Oleksandr Kryvulia cc: freebsd-current@freebsd.org Subject: Re: Could not change brightness anymore with i915kms & acpi_video modules c 202211 In-reply-to: <6a997703-6f13-716d-d38d-1a2b910d52ec@shurik.kiev.ua> From: "Poul-Henning Kamp" References: <6a997703-6f13-716d-d38d-1a2b910d52ec@shurik.kiev.ua> List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <79922.1675168382.1@critter.freebsd.dk> Date: Tue, 31 Jan 2023 12:33:02 +0000 X-Rspamd-Queue-Id: 4P5kwm3LT9z3HHn X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:1835, ipnet:130.225.0.0/16, country:EU] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N -------- Oleksandr Kryvulia writes: > Does backlight(8) works for you? Speaking of backlight(8): On my T14s, I see the following: If I set the light with backlight(8) to something, say 30%, and then change the power-situation, for instance by unplugging the charger, the backlight goes up to 100%. If I then try to set it back to 30% with backlight(8), nothing happens. If I use any other value, for instance 31%, backlight(8) does the job. I guess somewhere some code says "It's always 30%, just return" ? This might be a bit confusing if you have the intensity encoded in some script, which then "sometimes does not work"... -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.