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: Martin Steigerwald <martin@lichtvoll.de>, 617@bugs.devuan.org
Resent-From: Martin Steigerwald <martin@lichtvoll.de>
Resent-To: devuan-bugs@lists.dyne.org
Resent-CC: Devuan Developers <devuan-dev@lists.dyne.org>
X-Loop: owner@bugs.devuan.org
Resent-Date: Thu, 23 Dec 2021 13:50:02 +0000
Resent-Message-ID: <handler.617.B617.164026728820118@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> <16580662.aHbKO4Mz0p@ananda> <YcMQa3/7UVfcb3hX@hindley.org.uk> <163396916488.2227.13166665119512005807.reportbug@om.lichtvoll>
Received: via spool by 617-submit@bugs.devuan.org id=B617.164026728820118
          (code B ref 617); Thu, 23 Dec 2021 13:50:02 +0000
Received: (at 617) by bugs.devuan.org; 23 Dec 2021 13:48:08 +0000
Delivered-To: devuanbugs@dyne.org
Received: from tupac3.dyne.org [195.169.149.119]
	by doc.devuan.org with IMAP (fetchmail-6.4.16)
	for <debbugs@localhost> (single-drop); Thu, 23 Dec 2021 13:48:08 +0000 (UTC)
Received: from mail.lichtvoll.de (luna.lichtvoll.de [194.150.191.11])
	by vm6.ganeti.dyne.org (Postfix) with ESMTP id 98B0FF6047C
	for <617@bugs.devuan.org>; Thu, 23 Dec 2021 14:47:24 +0100 (CET)
Received: from ananda.localnet (unknown [IPv6:2001:a62:1a75:1f00:b5cf:25f3:6fdc:5810])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384)
	(No client certificate requested)
	by mail.lichtvoll.de (Postfix) with ESMTPSA id 065DD334FE9;
	Thu, 23 Dec 2021 14:47:21 +0100 (CET)
From: Martin Steigerwald <martin@lichtvoll.de>
To: Mark Hindley <mark@hindley.org.uk>
Cc: 617@bugs.devuan.org, Jacob Lundberg <jacob@gnifty.net>
Date: Thu, 23 Dec 2021 14:47:19 +0100
Message-ID: <4705134.hTFNdjQnqM@ananda>
In-Reply-To: <YcMQa3/7UVfcb3hX@hindley.org.uk>
MIME-Version: 1.0
Content-Transfer-Encoding: 7Bit
Content-Type: text/plain; charset="us-ascii"
Authentication-Results: mail.lichtvoll.de;
	auth=pass smtp.auth=martin2 smtp.mailfrom=martin@lichtvoll.de
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled
	version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org
Mark,

Mark Hindley - 22.12.21, 12:47:55 CET:
> On Wed, Dec 22, 2021 at 11:19:17AM +0100, Martin Steigerwald wrote:
> > I'd really welcome this after I "bricked" another device due to
> > exactly this bug. I needed to put GRML to an USB stick and boot
> > from there in order to recover.
> 
> How does the attached patch look? Are you able to test?

I tested on a ThinkPad laptop with Intel graphics:

Without patch:

root@somehost:/var/lib/initscripts# cat brightness.intel 
512
root@somehost:/var/lib/initscripts# /etc/init.d/brightness stop
root@somehost:/var/lib/initscripts# cat brightness.intel 
0

With patch:

root@somehost:/var/lib/initscripts# echo 512 > brightness.intel 
root@somehost:/var/lib/initscripts# cat brightness.intel 
512

root@somehost:/var/lib/initscripts# /etc/init.d/brightness stop
root@somehost:/var/lib/initscripts# cat brightness.intel 
512

I think it should work.

Thanks,
-- 
Martin

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: Fri Apr 26 09:16:56 2024;