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: [devuan-dev] 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: Tue, 12 Oct 2021 15:02:01 +0000
Resent-Message-ID: <handler.617.B617.163405080218208@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> <1706830.h0UYPgaZyk@ananda> <87mtneijg6.fsf@quark> <163396916488.2227.13166665119512005807.reportbug@om.lichtvoll>
Received: via spool by 617-submit@bugs.devuan.org id=B617.163405080218208
          (code B ref 617); Tue, 12 Oct 2021 15:02:01 +0000
Received: (at 617) by bugs.devuan.org; 12 Oct 2021 15:00: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 15:00:02 +0000 (UTC)
Received: from mail.lichtvoll.de (luna.lichtvoll.de [194.150.191.11])
	(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 260A4F6049E
	for <617@bugs.devuan.org>; Tue, 12 Oct 2021 16:52:37 +0200 (CEST)
Received: from ananda.localnet (unknown [IPv6:2001:a62:1a8c:8a00:923c:5184:5e90:f2ad])
	(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)
	(No client certificate requested)
	by mail.lichtvoll.de (Postfix) with ESMTPSA id C87E12D9DB9;
	Tue, 12 Oct 2021 16:52:35 +0200 (CEST)
From: Martin Steigerwald <martin@lichtvoll.de>
To: 617@bugs.devuan.org, devuan developers internal list <devuan-dev@lists.dyne.org>, Olaf Meeuwissen <paddy-hack@member.fsf.org>
Cc: Mark Hindley <mark@hindley.org.uk>
Date: Tue, 12 Oct 2021 16:52:32 +0200
Message-ID: <16702327.tzGfrCyYoL@ananda>
In-Reply-To: <87mtneijg6.fsf@quark>
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="UTF-8"
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
Olaf Meeuwissen - 12.10.21, 13:14:17 CEST:
> Hi,
> 
> Martin Steigerwald writes:
> > Dear Mark.
> > 
> > Mark Hindley - 11.10.21, 19:06:44 CEST:
> >> The brightness initscript seems to save
> >> /sys/class/backlight/intel_backlight/brightness to
> >> /var/lib/initscripts/brightness when it is stopped.
> >> 
> >> On your system, what does the
> >> /sys/class/backlight/intel_backlight/brightness contain?
> > 
> > I can check tomorrow again. However… after I wrote "512" to the
> > "/var/lib/initscripts/brightness" file, brightness is set correctly
> > after reboot. So I am not sure I can reproduce the original
> > condition after the update anymore.
> > 
> > So or so, I think it would be good to ensure a minimum brightness
> > level, as a completely blank display can only be fixed with a live
> > Linux, SSH access or some other out of band management access.
> 
> Does this mean that even switching to the console (Ctrl-Alt-F1, etc)
> doesn't give you a screen where can see what you're doing?

Yes. I tried via Ctrl-Alt-F1 on the laptop and via SSH with "chvt 1". 
Nothing.

Ciao,
-- 
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 19 02:11:44 2024;