Devuan bug report logs - #617
initscripts: brightness init script sets brightness to zero, thus blanking laptop display

version graph

Package: initscripts; Maintainer for initscripts is Devuan Developers <devuan-dev@lists.dyne.org>; Source for initscripts is src:sysvinit.

Reported by: Martin Steigerwald <martin@lichtvoll.de>

Date: Mon, 11 Oct 2021 16:22:02 UTC

Severity: normal

Tags: patch

Found in version 2.96-7+devuan1

Fixed in version 3.06-4devuan3

Done: dak@devuan.org

Full log


🔗 View this message in rfc822 format

X-Loop: owner@bugs.devuan.org
Subject: bug#617: initscripts: brightness init script sets brightness to zero, thus blanking laptop display
Reply-To: Mark Hindley <mark@hindley.org.uk>, 617@bugs.devuan.org
Resent-From: Mark Hindley <mark@hindley.org.uk>
Resent-To: devuan-bugs@lists.dyne.org
Resent-CC: Devuan Developers <devuan-dev@lists.dyne.org>
X-Loop: owner@bugs.devuan.org
Resent-Date: Tue, 12 Oct 2021 10:12:02 +0000
Resent-Message-ID: <handler.617.B617.163403340218028@bugs.devuan.org>
Resent-Sender: owner@bugs.devuan.org
X-Devuan-PR-Message: followup 617
X-Devuan-PR-Package: initscripts
X-Devuan-PR-Keywords: 
References: <163396916488.2227.13166665119512005807.reportbug@om.lichtvoll> <YWRvJJnsD+v5A71P@hindley.org.uk> <3683879.6dGg56flLl@ananda> <163396916488.2227.13166665119512005807.reportbug@om.lichtvoll>
Received: via spool by 617-submit@bugs.devuan.org id=B617.163403340218028
          (code B ref 617); Tue, 12 Oct 2021 10:12:02 +0000
Received: (at 617) by bugs.devuan.org; 12 Oct 2021 10:10:02 +0000
Delivered-To: devuanbugs@dyne.org
Received: from tupac3.dyne.org [195.169.149.119]
	by doc.devuan.org with IMAP (fetchmail-6.4.0.beta4)
	for <debbugs@localhost> (single-drop); Tue, 12 Oct 2021 10:10:02 +0000 (UTC)
Received: from mx.hindley.org.uk (193-36-131-86.cfwn.uk [193.36.131.86])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by vm6.ganeti.dyne.org (Postfix) with ESMTPS id 9B654F60C4C
	for <617@bugs.devuan.org>; Tue, 12 Oct 2021 12:07:54 +0200 (CEST)
Received: from apollo.hindleynet ([192.168.1.3] helo=hindley.org.uk)
	by mx.hindley.org.uk with smtp (Exim 4.84_2)
	(envelope-from <mark@hindley.org.uk>)
	id 1maEhN-0004rA-Hm; Tue, 12 Oct 2021 11:07:53 +0100
Received: (nullmailer pid 4263 invoked by uid 1000);
	Tue, 12 Oct 2021 10:07:53 -0000
Date: Tue, 12 Oct 2021 11:07:53 +0100
From: Mark Hindley <mark@hindley.org.uk>
To: Martin Steigerwald <martin@lichtvoll.de>
Cc: 617@bugs.devuan.org
Message-ID: <YWVeefuljC4B7F0C@hindley.org.uk>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <3683879.6dGg56flLl@ananda>
X-UID: 286
X-Spam-Status: No, score=0.4 required=5.0 tests=RDNS_DYNAMIC,SPF_PASS
	autolearn=disabled version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org
Martin,

Thanks for your analysis. At least that makes sense, even if a clean solution is
not immediately obvious.

Creating and artificial minimum seems rather arbitrary and would a minimum of,
say, 20% of the maximum value even be sane and suitable on all hardware? I don't
have any suitable hardware for real testing, so would have to rely on reports
from you and others.

Getting all DEs to cooperate in unblanking seems a tall order.

I agree the script seems suboptimal in many ways.

Maybe we could support configuring a minimum in /etc/default/brightness?

At least you have a workaround that will avoid the issue for you again. If you
get any other ideas about clean fixes, do say.

Mark

Send a report that this bug log contains spam.


Devuan BTS -- Powered by Debian bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.

Devuan Bugs Owner <owner@bugs.devuan.org>.
Last modified: Sat Nov 23 18:43:21 2024;