X-Loop: [email protected] Subject: bug#617: initscripts: brightness init script sets brightness to zero, thus blanking laptop display Reply-To: Martin Steigerwald <[email protected]>, [email protected] Resent-From: Martin Steigerwald <[email protected]> Resent-To: [email protected] Resent-CC: [email protected], Devuan Developers <[email protected]> X-Loop: [email protected] Resent-Date: Mon, 11 Oct 2021 16:22:02 +0000 Resent-Message-ID: <[email protected]> Resent-Sender: [email protected] X-Devuan-PR-Message: report 617 X-Devuan-PR-Package: initscripts X-Devuan-PR-Keywords: Received: via spool by [email protected] id=B.163396920515658 (code B); Mon, 11 Oct 2021 16:22:02 +0000 Received: (at submit) by bugs.devuan.org; 11 Oct 2021 16:20:05 +0000 Delivered-To: [email protected] 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); Mon, 11 Oct 2021 16:20:05 +0000 (UTC) Received: from om.lichtvoll (ppp-188-174-144-99.dynamic.mnet-online.de [188.174.144.99]) by vm6.ganeti.dyne.org (Postfix) with ESMTP id 2F7C5F60474 for <[email protected]>; Mon, 11 Oct 2021 18:19:25 +0200 (CEST) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Martin Steigerwald <[email protected]> To: Devuan Bug Tracking System <[email protected]> Message-ID: <[email protected]> Date: Mon, 11 Oct 2021 18:19:24 +0200 X-Spam-Status: No, score=3.9 required=5.0 tests=KHOP_DYNAMIC,RCVD_IN_PBL, RDNS_DYNAMIC autolearn=disabled version=3.4.2 X-Spam-Level: *** X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org Package: initscripts Version: 2.96-7+devuan1 Severity: normal X-Debbugs-Cc: [email protected] Just updated Devuan Ceres today and found the display being blanked during the boot process. I was able to recover over SSH using % brightnessctl Device 'intel_backlight' of class 'backlight': Current brightness: 0 (0%) Max brightness: 512 % brightnessctl set 100% Updated device 'intel_backlight': Device 'intel_backlight' of class 'backlight': Current brightness: 512 (100%) Max brightness: 512 Yet running '/etc/init.d/brightness start' blanked the display again. This is due to: % cat /var/lib/initscripts/brightness.intel 0 I have no idea how this value got into this file. The display was certainly not at 0% brightness as I rebooted after the update. Expected result: Never ever blank the display on boot even in case '/var/lib/initscripts/brightness.intel' contains the value zero. Just don't. Expected result 2: Safe the right value to '/var/lib/initscripts/brightness.intel'. Zero is definitly not it. If I run: % echo 512 > /var/lib/initscripts/brightness.intel % /etc/init.d/brightness start After sending this bug report I will reboot and see whether it will remember this value. Otherwise I will 'chattr +i' this file for now. This is on a ThinkPax X260 with Intel on board graphics from Intel(R) Core(TM) i7-6600U CPU @ 2.60GHz CPU. Thanks, Martin -- System Information: Distributor ID: Devuan Description: Devuan GNU/Linux 4 (daedalus/ceres) Release: 5 Codename: daedalus/ceres Architecture: x86_64 Kernel: Linux 5.14.0-2-amd64 (SMP w/4 CPU threads) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /bin/dash Init: runit (via /run/runit.stopit) LSM: AppArmor: enabled Versions of packages initscripts depends on: ii lsb-base 11.1.0 ii sysv-rc 2.96-7+devuan1 Versions of packages initscripts recommends: ii e2fsprogs 1.46.4-1 ii psmisc 23.4-2 initscripts suggests no packages. -- no debconf information
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 X-Loop: [email protected] From: "Devuan bug Tracking System" <[email protected]> To: Martin Steigerwald <[email protected]> Subject: bug#617: Acknowledgement (initscripts: brightness init script sets brightness to zero, thus blanking laptop display) Message-ID: <[email protected]> References: <[email protected]> X-Devuan-PR-Message: ack 617 X-Devuan-PR-Package: initscripts Reply-To: [email protected] Date: Mon, 11 Oct 2021 16:22:06 +0000 Thank you for filing a new bug report with Devuan. You can follow progress on this bug here: 617: https://bugs.devuan.org/cgi/= bugreport.cgi?bug=3D617. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. As you requested using X-Debbugs-CC, your message was also forwarded to [email protected] (after having been given a bug report number, if it did not have one). Your message has been sent to the package maintainer(s): Devuan Developers <[email protected]> If you wish to submit further information on this problem, please send it to [email protected]. Please do not send mail to [email protected] unless you wish to report a problem with the Bug-tracking system. --=20 617: https://bugs.devuan.org/cgi/bugreport.cgi?bug=3D617 Devuan Bug Tracking System Contact [email protected] with problems
X-Loop: [email protected] Subject: bug#617: initscripts: brightness init script sets brightness to zero, thus blanking laptop display Reply-To: Mark Hindley <[email protected]>, [email protected] Resent-From: Mark Hindley <[email protected]> Resent-To: [email protected] Resent-CC: Devuan Developers <[email protected]> X-Loop: [email protected] Resent-Date: Mon, 11 Oct 2021 17:12:01 +0000 Resent-Message-ID: <[email protected]> Resent-Sender: [email protected] X-Devuan-PR-Message: followup 617 X-Devuan-PR-Package: initscripts X-Devuan-PR-Keywords: References: <[email protected]> <[email protected]> Received: via spool by [email protected] id=B617.163397220223042 (code B ref 617); Mon, 11 Oct 2021 17:12:01 +0000 Received: (at 617) by bugs.devuan.org; 11 Oct 2021 17:10:02 +0000 Delivered-To: [email protected] 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); Mon, 11 Oct 2021 17: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 C6926F604F4 for <[email protected]>; Mon, 11 Oct 2021 19:06:46 +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 <[email protected]>) id 1mZylB-00089P-Ar; Mon, 11 Oct 2021 18:06:45 +0100 Received: (nullmailer pid 13722 invoked by uid 1000); Mon, 11 Oct 2021 17:06:44 -0000 Date: Mon, 11 Oct 2021 18:06:44 +0100 From: Mark Hindley <[email protected]> To: Martin Steigerwald <[email protected]>, [email protected] Message-ID: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <[email protected]> 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 this. 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? Mark
X-Loop: [email protected] Subject: bug#617: initscripts: brightness init script sets brightness to zero, thus blanking laptop display Reply-To: Martin Steigerwald <[email protected]>, [email protected] Resent-From: Martin Steigerwald <[email protected]> Resent-To: [email protected] Resent-CC: Devuan Developers <[email protected]> X-Loop: [email protected] Resent-Date: Mon, 11 Oct 2021 20:22:02 +0000 Resent-Message-ID: <[email protected]> Resent-Sender: [email protected] X-Devuan-PR-Message: followup 617 X-Devuan-PR-Package: initscripts X-Devuan-PR-Keywords: References: <[email protected]> <[email protected]> <[email protected]> Received: via spool by [email protected] id=B617.16339836026556 (code B ref 617); Mon, 11 Oct 2021 20:22:02 +0000 Received: (at 617) by bugs.devuan.org; 11 Oct 2021 20:20:02 +0000 Delivered-To: [email protected] 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); Mon, 11 Oct 2021 20:20: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 E3AFAF60B59 for <[email protected]>; Mon, 11 Oct 2021 22:19:25 +0200 (CEST) Received: from ananda.localnet (unknown [IPv6:2001:a62:1a6a:2e00:8e0e:5869:1952:2dcb]) (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 C92E62D9297; Mon, 11 Oct 2021 22:19:23 +0200 (CEST) From: Martin Steigerwald <[email protected]> To: [email protected], Mark Hindley <[email protected]> Date: Mon, 11 Oct 2021 22:19:22 +0200 Message-ID: <1706830.h0UYPgaZyk@ananda> In-Reply-To: <[email protected]> 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 [email protected] 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 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. >=20 > On your system, what does the > /sys/class/backlight/intel_backlight/brightness contain? I can check tomorrow again. However=E2=80=A6 after I wrote "512" to the "/var/lib/initscripts/brightness" file, brightness is set correctly after=20 reboot. So I am not sure I can reproduce the original condition after=20 the update anymore. So or so, I think it would be good to ensure a minimum brightness level,=20 as a completely blank display can only be fixed with a live Linux, SSH=20 access or some other out of band management access. Best, =2D-=20 Martin
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 X-Loop: [email protected] From: "Devuan bug Tracking System" <[email protected]> To: Martin Steigerwald <[email protected]> Subject: bug#617: Info received (bug#617: initscripts: brightness init script sets brightness to zero, thus blanking laptop display) Message-ID: <[email protected]> References: <1706830.h0UYPgaZyk@ananda> X-Devuan-PR-Message: ack-info 617 X-Devuan-PR-Package: initscripts Reply-To: [email protected] Date: Mon, 11 Oct 2021 20:22:05 +0000 Thank you for the additional information you have supplied regarding this bug report. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): Devuan Developers <[email protected]> If you wish to submit further information on this problem, please send it to [email protected]. Please do not send mail to [email protected] unless you wish to report a problem with the Bug-tracking system. --=20 617: https://bugs.devuan.org/cgi/bugreport.cgi?bug=3D617 Devuan Bug Tracking System Contact [email protected] with problems
X-Loop: [email protected] Subject: bug#617: initscripts: brightness init script sets brightness to zero, thus blanking laptop display Reply-To: Martin Steigerwald <[email protected]>, [email protected] Resent-From: Martin Steigerwald <[email protected]> Resent-To: [email protected] Resent-CC: Devuan Developers <[email protected]> X-Loop: [email protected] Resent-Date: Tue, 12 Oct 2021 07:42:01 +0000 Resent-Message-ID: <[email protected]> Resent-Sender: [email protected] X-Devuan-PR-Message: followup 617 X-Devuan-PR-Package: initscripts X-Devuan-PR-Keywords: References: <[email protected]> <[email protected]> <[email protected]> Received: via spool by [email protected] id=B617.16340244036698 (code B ref 617); Tue, 12 Oct 2021 07:42:01 +0000 Received: (at 617) by bugs.devuan.org; 12 Oct 2021 07:40:03 +0000 Delivered-To: [email protected] 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 07:40:03 +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 AFA48F60A50 for <[email protected]>; Tue, 12 Oct 2021 09:36:34 +0200 (CEST) Received: from ananda.localnet (unknown [IPv6:2001:a62:1a8c:8a00:4426:352e:804d:598]) (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 F2DC02D995E; Tue, 12 Oct 2021 09:36:29 +0200 (CEST) From: Martin Steigerwald <[email protected]> To: [email protected], Mark Hindley <[email protected]> Date: Tue, 12 Oct 2021 09:36:24 +0200 Message-ID: <3683879.6dGg56flLl@ananda> In-Reply-To: <[email protected]> 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 [email protected] 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 Dear Mark. Mark Hindley - 11.10.21, 19:06:44 CEST: > Thanks for this. >=20 > The brightness initscript seems to save > /sys/class/backlight/intel_backlight/brightness to > /var/lib/initscripts/brightness when it is stopped. >=20 > On your system, what does the > /sys/class/backlight/intel_backlight/brightness contain? I think I know what happened. After booting the laptop I get: % cat /sys/class/backlight/intel_backlight/brightness 512 However after KDE Plasma blanked the screen due to inactivity I got: % cat /sys/class/backlight/intel_backlight/brightness 0 Now when I shutdown the system regularly using the GUI, Plasma would=20 raise the brightness again as I move the mouse pointer. However, when I=20 reboot from SSH as I did yesterday after the update, it won't. The script takes writes zero into its state file and that it is. Due to that I think the whole assumption that it is a sane idea to=20 restore the backlight state to what has been set at the time of=20 rebooting is fundamentally broken. Actually it was one of the reasons why I switched from systemd to runit.=20 Cause at one point Systemd in Debian was configured to do something=20 similar and it causes some of my machines to boot up with blank and at a=20 later at least very dark display. Of course you may argue not to reboot a desktop machine via SSH. But why=20 wouldn't I do so for my music player laptop? I do not have a good idea on how to fix this issue at the moment. A work- around would be to ensure a minimum brightness of at least 10% or 20%.=20 Another idea would be to tell the desktop environment to unblank the=20 screen before logging off or ask the desktop environment developers to do=20 so in all cases. Or you'd just use say 80% of brightness as a default=20 value and put a file into /etc to let the user manually configure it. The best solution would be to somehow grab the *intended* brightness=20 value during operation and not ever take the one during inactivity where=20 the screen is blanked. But also this depends on the desktop environment.=20 So=E2=80=A6 it is likely to become messy and complex. My personal work-around for now will likely be to disable the stop=20 operation of that script. Best, =2D-=20 Martin
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 X-Loop: [email protected] From: "Devuan bug Tracking System" <[email protected]> To: Martin Steigerwald <[email protected]> Subject: bug#617: Info received (bug#617: initscripts: brightness init script sets brightness to zero, thus blanking laptop display) Message-ID: <[email protected]> References: <3683879.6dGg56flLl@ananda> X-Devuan-PR-Message: ack-info 617 X-Devuan-PR-Package: initscripts Reply-To: [email protected] Date: Tue, 12 Oct 2021 07:42:03 +0000 Thank you for the additional information you have supplied regarding this bug report. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): Devuan Developers <[email protected]> If you wish to submit further information on this problem, please send it to [email protected]. Please do not send mail to [email protected] unless you wish to report a problem with the Bug-tracking system. --=20 617: https://bugs.devuan.org/cgi/bugreport.cgi?bug=3D617 Devuan Bug Tracking System Contact [email protected] with problems
X-Loop: [email protected] Subject: bug#617: initscripts: brightness init script sets brightness to zero, thus blanking laptop display Reply-To: Mark Hindley <[email protected]>, [email protected] Resent-From: Mark Hindley <[email protected]> Resent-To: [email protected] Resent-CC: Devuan Developers <[email protected]> X-Loop: [email protected] Resent-Date: Tue, 12 Oct 2021 10:12:02 +0000 Resent-Message-ID: <[email protected]> Resent-Sender: [email protected] X-Devuan-PR-Message: followup 617 X-Devuan-PR-Package: initscripts X-Devuan-PR-Keywords: References: <[email protected]> <[email protected]> <3683879.6dGg56flLl@ananda> <[email protected]> Received: via spool by [email protected] 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: [email protected] 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 <[email protected]>; 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 <[email protected]>) 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 <[email protected]> To: Martin Steigerwald <[email protected]> Cc: [email protected] Message-ID: <[email protected]> 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
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 X-Loop: [email protected] From: "Devuan bug Tracking System" <[email protected]> To: Mark Hindley <[email protected]> Subject: bug#617: Info received (bug#617: initscripts: brightness init script sets brightness to zero, thus blanking laptop display) Message-ID: <[email protected]> References: <[email protected]> X-Devuan-PR-Message: ack-info 617 X-Devuan-PR-Package: initscripts Reply-To: [email protected] Date: Tue, 12 Oct 2021 10:12:04 +0000 Thank you for the additional information you have supplied regarding this bug report. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): Devuan Developers <[email protected]> If you wish to submit further information on this problem, please send it to [email protected]. Please do not send mail to [email protected] unless you wish to report a problem with the Bug-tracking system. --=20 617: https://bugs.devuan.org/cgi/bugreport.cgi?bug=3D617 Devuan Bug Tracking System Contact [email protected] with problems
X-Loop: [email protected] Subject: bug#617: [devuan-dev] bug#617: initscripts: brightness init script sets brightness to zero, thus blanking laptop display Reply-To: Olaf Meeuwissen <[email protected]>, [email protected] Resent-From: Olaf Meeuwissen <[email protected]> Resent-To: [email protected] Resent-CC: Devuan Developers <[email protected]> X-Loop: [email protected] Resent-Date: Tue, 12 Oct 2021 11:22:01 +0000 Resent-Message-ID: <[email protected]> Resent-Sender: [email protected] X-Devuan-PR-Message: followup 617 X-Devuan-PR-Package: initscripts X-Devuan-PR-Keywords: References: <[email protected]> <[email protected]> <1706830.h0UYPgaZyk@ananda> <[email protected]> Received: via spool by [email protected] id=B617.163403760228562 (code B ref 617); Tue, 12 Oct 2021 11:22:01 +0000 Received: (at 617) by bugs.devuan.org; 12 Oct 2021 11:20:02 +0000 Delivered-To: [email protected] 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 11:20:02 +0000 (UTC) Received: from mo-sw.mose-mail.jp (mo-sw1801-0.mose-mail.jp [202.238.237.3]) (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 A01B3F60B59 for <[email protected]>; Tue, 12 Oct 2021 13:14:23 +0200 (CEST) Received: by mo-sw.mose-mail.jp (mose-mo-sw1801) id 19CBEJE2024467; Tue, 12 Oct 2021 20:14:19 +0900 Received: from quark (localhost [127.0.0.1]) by mbox.mose-mail.jp (mose-mbox1800) id 19CBEHg6004416 for <[email protected]>; Tue, 12 Oct 2021 20:14:18 +0900 Received: from olaf (uid 1000) (envelope-from [email protected]) id 2ac6a5 by quark (DragonFly Mail Agent v0.11); Tue, 12 Oct 2021 20:14:17 +0900 User-agent: mu4e 1.0; emacs 26.1 From: Olaf Meeuwissen <[email protected]> To: Martin Steigerwald <[email protected]>, [email protected], devuan developers internal list <[email protected]> Cc: Mark Hindley <[email protected]> In-reply-to: <1706830.h0UYPgaZyk@ananda> Date: Tue, 12 Oct 2021 20:14:17 +0900 Message-ID: <87mtneijg6.fsf@quark> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-2022-jp X-Spam-Status: No, score=0.2 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, SPF_HELO_PASS,SPF_PASS,UNPARSEABLE_RELAY autolearn=disabled version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org 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? Just wondering, -- Olaf Meeuwissen, LPIC-2 FSF Associate Member since 2004-01-27 GnuPG key: F84A2DD9/B3C0 2F47 EA19 64F4 9F13 F43E B8A4 A88A F84A 2DD9 Support Free Software https://my.fsf.org/donate Join the Free Software Foundation https://my.fsf.org/join
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 X-Loop: [email protected] From: "Devuan bug Tracking System" <[email protected]> To: Olaf Meeuwissen <[email protected]> Subject: bug#617: Info received ([devuan-dev] bug#617: initscripts: brightness init script sets brightness to zero, thus blanking laptop display) Message-ID: <[email protected]> References: <87mtneijg6.fsf@quark> X-Devuan-PR-Message: ack-info 617 X-Devuan-PR-Package: initscripts Reply-To: [email protected] Date: Tue, 12 Oct 2021 11:22:04 +0000 Thank you for the additional information you have supplied regarding this bug report. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): Devuan Developers <[email protected]> If you wish to submit further information on this problem, please send it to [email protected]. Please do not send mail to [email protected] unless you wish to report a problem with the Bug-tracking system. --=20 617: https://bugs.devuan.org/cgi/bugreport.cgi?bug=3D617 Devuan Bug Tracking System Contact [email protected] with problems
X-Loop: [email protected] Subject: bug#617: [devuan-dev] bug#617: initscripts: brightness init script sets brightness to zero, thus blanking laptop display Reply-To: Martin Steigerwald <[email protected]>, [email protected] Resent-From: Martin Steigerwald <[email protected]> Resent-To: [email protected] Resent-CC: Devuan Developers <[email protected]> X-Loop: [email protected] Resent-Date: Tue, 12 Oct 2021 15:02:01 +0000 Resent-Message-ID: <[email protected]> Resent-Sender: [email protected] X-Devuan-PR-Message: followup 617 X-Devuan-PR-Package: initscripts X-Devuan-PR-Keywords: References: <[email protected]> <1706830.h0UYPgaZyk@ananda> <87mtneijg6.fsf@quark> <[email protected]> Received: via spool by [email protected] 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: [email protected] 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 <[email protected]>; 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 <[email protected]> To: [email protected], devuan developers internal list <[email protected]>, Olaf Meeuwissen <[email protected]> Cc: Mark Hindley <[email protected]> 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 [email protected] 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, >=20 > Martin Steigerwald writes: > > Dear Mark. > >=20 > > 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. > >>=20 > >> On your system, what does the > >> /sys/class/backlight/intel_backlight/brightness contain? > >=20 > > I can check tomorrow again. However=E2=80=A6 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. > >=20 > > 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. >=20 > 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".=20 Nothing. Ciao, =2D-=20 Martin
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 X-Loop: [email protected] From: "Devuan bug Tracking System" <[email protected]> To: Martin Steigerwald <[email protected]> Subject: bug#617: Info received ([devuan-dev] bug#617: initscripts: brightness init script sets brightness to zero, thus blanking laptop display) Message-ID: <[email protected]> References: <16702327.tzGfrCyYoL@ananda> X-Devuan-PR-Message: ack-info 617 X-Devuan-PR-Package: initscripts Reply-To: [email protected] Date: Tue, 12 Oct 2021 15:02:04 +0000 Thank you for the additional information you have supplied regarding this bug report. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): Devuan Developers <[email protected]> If you wish to submit further information on this problem, please send it to [email protected]. Please do not send mail to [email protected] unless you wish to report a problem with the Bug-tracking system. --=20 617: https://bugs.devuan.org/cgi/bugreport.cgi?bug=3D617 Devuan Bug Tracking System Contact [email protected] with problems
X-Loop: [email protected] Subject: bug#617: [devuan-dev] bug#617: initscripts: brightness init script sets brightness to zero, thus blanking laptop display Reply-To: Jacob Lundberg <[email protected]>, [email protected] Resent-From: Jacob Lundberg <[email protected]> Resent-To: [email protected] Resent-CC: Devuan Developers <[email protected]> X-Loop: [email protected] Resent-Date: Tue, 12 Oct 2021 17:22:01 +0000 Resent-Message-ID: <[email protected]> Resent-Sender: [email protected] X-Devuan-PR-Message: followup 617 X-Devuan-PR-Package: initscripts X-Devuan-PR-Keywords: References: <[email protected]> <[email protected]> <3683879.6dGg56flLl@ananda> <[email protected]> <[email protected]> <[email protected]> Received: via spool by [email protected] id=B617.163405920229254 (code B ref 617); Tue, 12 Oct 2021 17:22:01 +0000 Received: (at 617) by bugs.devuan.org; 12 Oct 2021 17:20:02 +0000 Delivered-To: [email protected] 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 17:20:02 +0000 (UTC) Received: from asandir.lunixsys.com (asandir.lunixsys.com [173.255.213.159]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by vm6.ganeti.dyne.org (Postfix) with ESMTPS id 44E46F60860 for <[email protected]>; Tue, 12 Oct 2021 19:19:53 +0200 (CEST) Received: by asandir.lunixsys.com (Postfix, from userid 1000) id 848614B3D7; Tue, 12 Oct 2021 10:19:50 -0700 (PDT) Date: Tue, 12 Oct 2021 10:19:50 -0700 From: Jacob Lundberg <[email protected]> To: Mark Hindley <[email protected]>, [email protected], devuan developers internal list <[email protected]> Message-ID: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <[email protected]> User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Status: No, score=-0.0 required=5.0 tests=SPF_PASS autolearn=disabled version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org On Tue, Oct 12, 2021 at 11:07:53AM +0100, Mark Hindley wrote: > 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. Why not just refuse to *update* to 0 at shutdown. It seems like 0 is a special case the user is fairly unlikely to have set it to themself (but if they do want 0 they are probably technical enough to update the setting file on their own). -Jacob
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 X-Loop: [email protected] From: "Devuan bug Tracking System" <[email protected]> To: Jacob Lundberg <[email protected]> Subject: bug#617: Info received ([devuan-dev] bug#617: initscripts: brightness init script sets brightness to zero, thus blanking laptop display) Message-ID: <[email protected]> References: <[email protected]> X-Devuan-PR-Message: ack-info 617 X-Devuan-PR-Package: initscripts Reply-To: [email protected] Date: Tue, 12 Oct 2021 17:22:03 +0000 Thank you for the additional information you have supplied regarding this bug report. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): Devuan Developers <[email protected]> If you wish to submit further information on this problem, please send it to [email protected]. Please do not send mail to [email protected] unless you wish to report a problem with the Bug-tracking system. --=20 617: https://bugs.devuan.org/cgi/bugreport.cgi?bug=3D617 Devuan Bug Tracking System Contact [email protected] with problems
X-Loop: [email protected] Subject: bug#617: [devuan-dev] bug#617: bug#617: initscripts: brightness init script sets brightness to zero, thus blanking laptop display Reply-To: Martin Steigerwald <[email protected]>, [email protected] Resent-From: Martin Steigerwald <[email protected]> Resent-To: [email protected] Resent-CC: Devuan Developers <[email protected]> X-Loop: [email protected] Resent-Date: Wed, 22 Dec 2021 10:20:02 +0000 Resent-Message-ID: <[email protected]> Resent-Sender: [email protected] X-Devuan-PR-Message: followup 617 X-Devuan-PR-Package: initscripts X-Devuan-PR-Keywords: References: <[email protected]> <[email protected]> <[email protected]> Received: via spool by [email protected] id=B617.16401683741856 (code B ref 617); Wed, 22 Dec 2021 10:20:02 +0000 Received: (at 617) by bugs.devuan.org; 22 Dec 2021 10:19:34 +0000 Delivered-To: [email protected] Received: from tupac3.dyne.org [195.169.149.119] by doc.devuan.org with IMAP (fetchmail-6.4.16) for <debbugs@localhost> (single-drop); Wed, 22 Dec 2021 10:19:34 +0000 (UTC) Received: from mail.lichtvoll.de (luna.lichtvoll.de [194.150.191.11]) by vm6.ganeti.dyne.org (Postfix) with ESMTP id C36F7F604B5 for <[email protected]>; Wed, 22 Dec 2021 11:19:21 +0100 (CET) Received: from ananda.localnet (unknown [IPv6:2001:a62:1a49:200:90e6:8e2f:a039:7b5e]) (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 2E85A333E60; Wed, 22 Dec 2021 11:19:20 +0100 (CET) From: Martin Steigerwald <[email protected]> To: Mark Hindley <[email protected]>, [email protected], devuan developers internal list <[email protected]> Cc: Jacob Lundberg <[email protected]> Date: Wed, 22 Dec 2021 11:19:17 +0100 Message-ID: <16580662.aHbKO4Mz0p@ananda> In-Reply-To: <[email protected]> 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 [email protected] 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 Dear Mark, dear Jacob Jacob Lundberg - 12.10.21, 19:19:50 CET: > On Tue, Oct 12, 2021 at 11:07:53AM +0100, Mark Hindley wrote: > > 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. > > Why not just refuse to *update* to 0 at shutdown. It seems like 0 is > a special case the user is fairly unlikely to have set it to themself > (but if they do want 0 they are probably technical enough to update > the setting file on their own). I think that would be a good idea. 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. Have a relaxing, quiet and peaceful time, a merry Christmas! Best, -- Martin
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 X-Loop: [email protected] From: "Devuan bug Tracking System" <[email protected]> To: Martin Steigerwald <[email protected]> Subject: bug#617: Info received ([devuan-dev] bug#617: bug#617: initscripts: brightness init script sets brightness to zero, thus blanking laptop display) Message-ID: <[email protected]> References: <16580662.aHbKO4Mz0p@ananda> X-Devuan-PR-Message: ack-info 617 X-Devuan-PR-Package: initscripts Reply-To: [email protected] Date: Wed, 22 Dec 2021 10:20:05 +0000 Thank you for the additional information you have supplied regarding this bug report. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): Devuan Developers <[email protected]> If you wish to submit further information on this problem, please send it to [email protected]. Please do not send mail to [email protected] unless you wish to report a problem with the Bug-tracking system. --=20 617: https://bugs.devuan.org/cgi/bugreport.cgi?bug=3D617 Devuan Bug Tracking System Contact [email protected] with problems
X-Loop: [email protected] Subject: bug#617: initscripts: brightness init script sets brightness to zero, thus blanking laptop display Reply-To: Mark Hindley <[email protected]>, [email protected] Resent-From: Mark Hindley <[email protected]> Resent-To: [email protected] Resent-CC: Devuan Developers <[email protected]> X-Loop: [email protected] Resent-Date: Wed, 22 Dec 2021 11:50:01 +0000 Resent-Message-ID: <[email protected]> Resent-Sender: [email protected] X-Devuan-PR-Message: followup 617 X-Devuan-PR-Package: initscripts X-Devuan-PR-Keywords: References: <[email protected]> <[email protected]> <16580662.aHbKO4Mz0p@ananda> <[email protected]> Received: via spool by [email protected] id=B617.164017369211037 (code B ref 617); Wed, 22 Dec 2021 11:50:01 +0000 Received: (at 617) by bugs.devuan.org; 22 Dec 2021 11:48:12 +0000 Delivered-To: [email protected] Received: from tupac3.dyne.org [195.169.149.119] by doc.devuan.org with IMAP (fetchmail-6.4.16) for <debbugs@localhost> (single-drop); Wed, 22 Dec 2021 11:48:11 +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 75B26F608B2 for <[email protected]>; Wed, 22 Dec 2021 12:48:02 +0100 (CET) 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 <[email protected]>) id 1n0067-0006DI-PR; Wed, 22 Dec 2021 11:47:56 +0000 Received: (nullmailer pid 28704 invoked by uid 1000); Wed, 22 Dec 2021 11:47:55 -0000 Date: Wed, 22 Dec 2021 11:47:55 +0000 From: Mark Hindley <[email protected]> To: Martin Steigerwald <[email protected]> Cc: [email protected], Jacob Lundberg <[email protected]> Message-ID: <YcMQa3/[email protected]> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="meERfjFuLIGHDu0h" Content-Disposition: inline In-Reply-To: <16580662.aHbKO4Mz0p@ananda> 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 --meERfjFuLIGHDu0h Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Martin, 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? Thanks. Mark --meERfjFuLIGHDu0h Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="0001-brightness-initscript-don-t-save-value-of-0-when-sto.patch" From 0bbb9d27a673826a2fa2611c62913107a7809f88 Mon Sep 17 00:00:00 2001 From: Mark Hindley <[email protected]> Date: Wed, 22 Dec 2021 11:42:29 +0000 Subject: [PATCH] brightness initscript: don't save value of 0 when stopping (Closes: #617). Fix for Devuan #617. Some DEs switch off the backlight when idle. If the box is rebooted remotely in this state, 0 is copied to /var/lib/initscripts/brightness which causes a blank display on reboot. --- debian/src/initscripts/etc/init.d/brightness | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/debian/src/initscripts/etc/init.d/brightness b/debian/src/initscripts/etc/init.d/brightness index 2b4921f7..c1a5f1fd 100755 --- a/debian/src/initscripts/etc/init.d/brightness +++ b/debian/src/initscripts/etc/init.d/brightness @@ -67,6 +67,10 @@ do_stop() { local label=$1 knob=$2 max=$3 file=$SAVEFILE_PREFIX${1:+.$1} test -e "$knob" || return 0 + # If the backlight is off, don't save to avoid blank display after + # reboot. See Devuan #617. + test "$(cat $knob)" -eq 0 && return 0 + test x"$VERBOSE" = x"no" || \ log_action_begin_msg Saving $label brightness level cat "$knob" >"$file" -- 2.20.1 --meERfjFuLIGHDu0h--
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 X-Loop: [email protected] From: "Devuan bug Tracking System" <[email protected]> To: Mark Hindley <[email protected]> Subject: bug#617: Info received (bug#617: initscripts: brightness init script sets brightness to zero, thus blanking laptop display) Message-ID: <[email protected]> References: <YcMQa3/[email protected]> X-Devuan-PR-Message: ack-info 617 X-Devuan-PR-Package: initscripts Reply-To: [email protected] Date: Wed, 22 Dec 2021 11:50:04 +0000 Thank you for the additional information you have supplied regarding this bug report. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): Devuan Developers <[email protected]> If you wish to submit further information on this problem, please send it to [email protected]. Please do not send mail to [email protected] unless you wish to report a problem with the Bug-tracking system. --=20 617: https://bugs.devuan.org/cgi/bugreport.cgi?bug=3D617 Devuan Bug Tracking System Contact [email protected] with problems
X-Loop: [email protected] Subject: bug#617: initscripts: brightness init script sets brightness to zero, thus blanking laptop display Reply-To: Martin Steigerwald <[email protected]>, [email protected] Resent-From: Martin Steigerwald <[email protected]> Resent-To: [email protected] Resent-CC: Devuan Developers <[email protected]> X-Loop: [email protected] Resent-Date: Wed, 22 Dec 2021 15:44:02 +0000 Resent-Message-ID: <[email protected]> Resent-Sender: [email protected] X-Devuan-PR-Message: followup 617 X-Devuan-PR-Package: initscripts X-Devuan-PR-Keywords: References: <[email protected]> <16580662.aHbKO4Mz0p@ananda> <YcMQa3/[email protected]> <[email protected]> Received: via spool by [email protected] id=B617.16401878212577 (code B ref 617); Wed, 22 Dec 2021 15:44:02 +0000 Received: (at 617) by bugs.devuan.org; 22 Dec 2021 15:43:41 +0000 Delivered-To: [email protected] Received: from tupac3.dyne.org [195.169.149.119] by doc.devuan.org with IMAP (fetchmail-6.4.16) for <debbugs@localhost> (single-drop); Wed, 22 Dec 2021 15:43:41 +0000 (UTC) Received: from mail.lichtvoll.de (luna.lichtvoll.de [194.150.191.11]) by vm6.ganeti.dyne.org (Postfix) with ESMTP id 9C4D8F608B2 for <[email protected]>; Wed, 22 Dec 2021 16:42:58 +0100 (CET) Received: from ananda.localnet (unknown [IPv6:2001:a62:1a4f:cc00:78e4:475f:a5f2:95c3]) (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 A8A9A3341EF; Wed, 22 Dec 2021 16:42:56 +0100 (CET) From: Martin Steigerwald <[email protected]> To: Mark Hindley <[email protected]> Cc: [email protected], Jacob Lundberg <[email protected]> Date: Wed, 22 Dec 2021 16:42:54 +0100 Message-ID: <5898639.G1yRvuxQDs@ananda> In-Reply-To: <YcMQa3/[email protected]> 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 [email protected] 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 Hi 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? The patch looks good to me. I think I am able to test it on one machine. May take some time though. Best, -- Martin
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 X-Loop: [email protected] From: "Devuan bug Tracking System" <[email protected]> To: Martin Steigerwald <[email protected]> Subject: bug#617: Info received (bug#617: initscripts: brightness init script sets brightness to zero, thus blanking laptop display) Message-ID: <[email protected]> References: <5898639.G1yRvuxQDs@ananda> X-Devuan-PR-Message: ack-info 617 X-Devuan-PR-Package: initscripts Reply-To: [email protected] Date: Wed, 22 Dec 2021 15:44:05 +0000 Thank you for the additional information you have supplied regarding this bug report. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): Devuan Developers <[email protected]> If you wish to submit further information on this problem, please send it to [email protected]. Please do not send mail to [email protected] unless you wish to report a problem with the Bug-tracking system. --=20 617: https://bugs.devuan.org/cgi/bugreport.cgi?bug=3D617 Devuan Bug Tracking System Contact [email protected] with problems
X-Loop: [email protected] Subject: bug#617: initscripts: brightness init script sets brightness to zero, thus blanking laptop display Reply-To: Martin Steigerwald <[email protected]>, [email protected] Resent-From: Martin Steigerwald <[email protected]> Resent-To: [email protected] Resent-CC: Devuan Developers <[email protected]> X-Loop: [email protected] Resent-Date: Thu, 23 Dec 2021 13:50:02 +0000 Resent-Message-ID: <[email protected]> Resent-Sender: [email protected] X-Devuan-PR-Message: followup 617 X-Devuan-PR-Package: initscripts X-Devuan-PR-Keywords: References: <[email protected]> <16580662.aHbKO4Mz0p@ananda> <YcMQa3/[email protected]> <[email protected]> Received: via spool by [email protected] 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: [email protected] 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 <[email protected]>; 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 <[email protected]> To: Mark Hindley <[email protected]> Cc: [email protected], Jacob Lundberg <[email protected]> Date: Thu, 23 Dec 2021 14:47:19 +0100 Message-ID: <4705134.hTFNdjQnqM@ananda> In-Reply-To: <YcMQa3/[email protected]> 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 [email protected] 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
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 X-Loop: [email protected] From: "Devuan bug Tracking System" <[email protected]> To: Martin Steigerwald <[email protected]> Subject: bug#617: Info received (bug#617: initscripts: brightness init script sets brightness to zero, thus blanking laptop display) Message-ID: <[email protected]> References: <4705134.hTFNdjQnqM@ananda> X-Devuan-PR-Message: ack-info 617 X-Devuan-PR-Package: initscripts Reply-To: [email protected] Date: Thu, 23 Dec 2021 13:50:05 +0000 Thank you for the additional information you have supplied regarding this bug report. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): Devuan Developers <[email protected]> If you wish to submit further information on this problem, please send it to [email protected]. Please do not send mail to [email protected] unless you wish to report a problem with the Bug-tracking system. --=20 617: https://bugs.devuan.org/cgi/bugreport.cgi?bug=3D617 Devuan Bug Tracking System Contact [email protected] with problems
X-Loop: [email protected] Subject: bug#617: initscripts: brightness init script sets brightness to zero, thus blanking laptop display Reply-To: Mark Hindley <[email protected]>, [email protected] Resent-From: Mark Hindley <[email protected]> Resent-To: [email protected] Resent-CC: Devuan Developers <[email protected]> X-Loop: [email protected] Resent-Date: Mon, 27 Dec 2021 11:22:01 +0000 Resent-Message-ID: <[email protected]> Resent-Sender: [email protected] X-Devuan-PR-Message: followup 617 X-Devuan-PR-Package: initscripts X-Devuan-PR-Keywords: References: <[email protected]> <16580662.aHbKO4Mz0p@ananda> <YcMQa3/[email protected]> <4705134.hTFNdjQnqM@ananda> <[email protected]> Received: via spool by [email protected] id=B617.16406040667049 (code B ref 617); Mon, 27 Dec 2021 11:22:01 +0000 Received: (at 617) by bugs.devuan.org; 27 Dec 2021 11:21:06 +0000 Delivered-To: [email protected] Received: from tupac3.dyne.org [195.169.149.119] by doc.devuan.org with IMAP (fetchmail-6.4.16) for <debbugs@localhost> (single-drop); Mon, 27 Dec 2021 11:21:06 +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 mail.dyne.org (Postfix) with ESMTPS id E1112662004 for <[email protected]>; Mon, 27 Dec 2021 12:20:09 +0100 (CET) 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 <[email protected]>) id 1n1QG9-00010Y-NN; Sun, 26 Dec 2021 09:56:09 +0000 Received: (nullmailer pid 28208 invoked by uid 1000); Sun, 26 Dec 2021 09:56:08 -0000 Date: Sun, 26 Dec 2021 09:56:07 +0000 From: Mark Hindley <[email protected]> To: Martin Steigerwald <[email protected]> Cc: [email protected], Jacob Lundberg <[email protected]> Message-ID: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4705134.hTFNdjQnqM@ananda> X-Spam-Status: No, score=0.4 required=5.0 tests=RCVD_IN_DNSWL_BLOCKED, RDNS_DYNAMIC,SPF_PASS autolearn=disabled version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mail.dyne.org Martin, On Thu, Dec 23, 2021 at 02:47:19PM +0100, Martin Steigerwald wrote: > I think it should work. Thanks. I will build a new version over the next few days. Mark
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 X-Loop: [email protected] From: "Devuan bug Tracking System" <[email protected]> To: Mark Hindley <[email protected]> Subject: bug#617: Info received (bug#617: initscripts: brightness init script sets brightness to zero, thus blanking laptop display) Message-ID: <[email protected]> References: <[email protected]> X-Devuan-PR-Message: ack-info 617 X-Devuan-PR-Package: initscripts Reply-To: [email protected] Date: Mon, 27 Dec 2021 11:22:04 +0000 Thank you for the additional information you have supplied regarding this bug report. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): Devuan Developers <[email protected]> If you wish to submit further information on this problem, please send it to [email protected]. Please do not send mail to [email protected] unless you wish to report a problem with the Bug-tracking system. --=20 617: https://bugs.devuan.org/cgi/bugreport.cgi?bug=3D617 Devuan Bug Tracking System Contact [email protected] with problems
X-Loop: [email protected] Subject: bug#617: initscripts: brightness init script sets brightness to zero, thus blanking laptop display Reply-To: Mark Hindley <[email protected]>, [email protected] Resent-From: Mark Hindley <[email protected]> Resent-To: [email protected] Resent-CC: Devuan Developers <[email protected]> X-Loop: [email protected] Resent-Date: Thu, 13 Apr 2023 13:08:02 +0000 Resent-Message-ID: <[email protected]> Resent-Sender: [email protected] X-Devuan-PR-Message: followup 617 X-Devuan-PR-Package: initscripts X-Devuan-PR-Keywords: References: <[email protected]> <16580662.aHbKO4Mz0p@ananda> <YcMQa3/[email protected]> <4705134.hTFNdjQnqM@ananda> <[email protected]> <[email protected]> <[email protected]> X-Devuan-PR-Source: sysvinit Received: via spool by [email protected] id=B617.16813912541549 (code B ref 617); Thu, 13 Apr 2023 13:08:02 +0000 Received: (at 617) by bugs.devuan.org; 13 Apr 2023 13:07:34 +0000 Delivered-To: [email protected] Received: from email.devuan.org [2a01:4f8:140:32a1::58c6:6473] by doc.devuan.org with IMAP (fetchmail-6.4.16) for <debbugs@localhost> (single-drop); Thu, 13 Apr 2023 13:07:34 +0000 (UTC) Received: from email.devuan.org by email.devuan.org with LMTP id srrqNEr+N2QDBwAAmSBk0A (envelope-from <[email protected]>) for <[email protected]>; Thu, 13 Apr 2023 13:06:18 +0000 Received: by email.devuan.org (Postfix, from userid 109) id C23A05A02; Thu, 13 Apr 2023 13:06:18 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on email.devuan.org X-Spam-Level: X-Spam-Status: No, score=0.4 required=5.0 tests=RDNS_DYNAMIC,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=193.36.131.86; helo=mx.hindley.org.uk; [email protected]; receiver=<UNKNOWN> Received: from mx.hindley.org.uk (193-36-131-86.cfwn.uk [193.36.131.86]) by email.devuan.org (Postfix) with ESMTPS id 5DB39801 for <[email protected]>; Thu, 13 Apr 2023 13:06:18 +0000 (UTC) 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 <[email protected]>) id 1pmweS-00036y-FB; Thu, 13 Apr 2023 14:06:12 +0100 Received: (nullmailer pid 32622 invoked by uid 1000); Thu, 13 Apr 2023 13:06:11 -0000 Date: Thu, 13 Apr 2023 14:06:11 +0100 From: Mark Hindley <[email protected]> To: [email protected] Cc: Martin Steigerwald <[email protected]>, Jacob Lundberg <[email protected]> Message-ID: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <[email protected]> Control: tags -1 pending patch Martin, On Sun, Dec 26, 2021 at 09:56:07AM +0000, Mark Hindley wrote: > Martin, > > On Thu, Dec 23, 2021 at 02:47:19PM +0100, Martin Steigerwald wrote: > > I think it should work. > > Thanks. I will build a new version over the next few days. My apologies, this completely slipped my mind. I have merged it for the next upload. Mark
Received: (at 617) by bugs.devuan.org; 13 Apr 2023 13:07:34 +0000 Return-Path: <[email protected]> Delivered-To: [email protected] Received: from email.devuan.org [2a01:4f8:140:32a1::58c6:6473] by doc.devuan.org with IMAP (fetchmail-6.4.16) for <debbugs@localhost> (single-drop); Thu, 13 Apr 2023 13:07:34 +0000 (UTC) Received: from email.devuan.org by email.devuan.org with LMTP id srrqNEr+N2QDBwAAmSBk0A (envelope-from <[email protected]>) for <[email protected]>; Thu, 13 Apr 2023 13:06:18 +0000 Received: by email.devuan.org (Postfix, from userid 109) id C23A05A02; Thu, 13 Apr 2023 13:06:18 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on email.devuan.org X-Spam-Level: X-Spam-Status: No, score=0.4 required=5.0 tests=RDNS_DYNAMIC,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=193.36.131.86; helo=mx.hindley.org.uk; [email protected]; receiver=<UNKNOWN> Received: from mx.hindley.org.uk (193-36-131-86.cfwn.uk [193.36.131.86]) by email.devuan.org (Postfix) with ESMTPS id 5DB39801 for <[email protected]>; Thu, 13 Apr 2023 13:06:18 +0000 (UTC) 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 <[email protected]>) id 1pmweS-00036y-FB; Thu, 13 Apr 2023 14:06:12 +0100 Received: (nullmailer pid 32622 invoked by uid 1000); Thu, 13 Apr 2023 13:06:11 -0000 Date: Thu, 13 Apr 2023 14:06:11 +0100 From: Mark Hindley <[email protected]> To: [email protected] Cc: Martin Steigerwald <[email protected]>, Jacob Lundberg <[email protected]> Subject: Re: bug#617: initscripts: brightness init script sets brightness to zero, thus blanking laptop display Message-ID: <[email protected]> References: <[email protected]> <16580662.aHbKO4Mz0p@ananda> <YcMQa3/[email protected]> <4705134.hTFNdjQnqM@ananda> <[email protected]> <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <[email protected]> X-Debbugs-No-Ack: No Thanks Control: tags -1 pending patch Martin, On Sun, Dec 26, 2021 at 09:56:07AM +0000, Mark Hindley wrote: > Martin, > > On Thu, Dec 23, 2021 at 02:47:19PM +0100, Martin Steigerwald wrote: > > I think it should work. > > Thanks. I will build a new version over the next few days. My apologies, this completely slipped my mind. I have merged it for the next upload. Mark
MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) X-Loop: [email protected] From: "Devuan bug Tracking System" <[email protected]> To: [email protected] Subject: bug#617: marked as done (initscripts: brightness init script sets brightness to zero, thus blanking laptop display) Message-ID: <[email protected]> References: <[email protected]> <[email protected]> X-Devuan-PR-Message: closed 617 X-Devuan-PR-Package: initscripts X-Devuan-PR-Keywords: patch X-Devuan-PR-Source: sysvinit Reply-To: [email protected] Date: Mon, 17 Apr 2023 10:24:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1681727042-10792-0" This is a multi-part message in MIME format... ------------=_1681727042-10792-0 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your message dated Mon, 17 Apr 2023 10:21:13 +0000 with message-id <[email protected]> and subject line #617: fixed in src:sysvinit version 3.06-4devuan3 has caused the Devuan bug report #617, regarding initscripts: brightness init script sets brightness to zero, thus= blanking laptop display to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) --=20 617: https://bugs.devuan.org/cgi/bugreport.cgi?bug=3D617 Devuan Bug Tracking System Contact [email protected] with problems ------------=_1681727042-10792-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by bugs.devuan.org; 11 Oct 2021 16:20:05 +0000 Return-Path: <[email protected]> Delivered-To: [email protected] 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); Mon, 11 Oct 2021 16:20:05 +0000 (UTC) Received: from om.lichtvoll (ppp-188-174-144-99.dynamic.mnet-online.de [188.174.144.99]) by vm6.ganeti.dyne.org (Postfix) with ESMTP id 2F7C5F60474 for <[email protected]>; Mon, 11 Oct 2021 18:19:25 +0200 (CEST) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Martin Steigerwald <[email protected]> To: Devuan Bug Tracking System <[email protected]> Subject: initscripts: brightness init script sets brightness to zero, thus blanking laptop display Message-ID: <[email protected]> Date: Mon, 11 Oct 2021 18:19:24 +0200 X-Spam-Status: No, score=3.9 required=5.0 tests=KHOP_DYNAMIC,RCVD_IN_PBL, RDNS_DYNAMIC autolearn=disabled version=3.4.2 X-Spam-Level: *** X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org Package: initscripts Version: 2.96-7+devuan1 Severity: normal X-Debbugs-Cc: [email protected] Just updated Devuan Ceres today and found the display being blanked during the boot process. I was able to recover over SSH using % brightnessctl Device 'intel_backlight' of class 'backlight': Current brightness: 0 (0%) Max brightness: 512 % brightnessctl set 100% Updated device 'intel_backlight': Device 'intel_backlight' of class 'backlight': Current brightness: 512 (100%) Max brightness: 512 Yet running '/etc/init.d/brightness start' blanked the display again. This is due to: % cat /var/lib/initscripts/brightness.intel 0 I have no idea how this value got into this file. The display was certainly not at 0% brightness as I rebooted after the update. Expected result: Never ever blank the display on boot even in case '/var/lib/initscripts/brightness.intel' contains the value zero. Just don't. Expected result 2: Safe the right value to '/var/lib/initscripts/brightness.intel'. Zero is definitly not it. If I run: % echo 512 > /var/lib/initscripts/brightness.intel % /etc/init.d/brightness start After sending this bug report I will reboot and see whether it will remember this value. Otherwise I will 'chattr +i' this file for now. This is on a ThinkPax X260 with Intel on board graphics from Intel(R) Core(TM) i7-6600U CPU @ 2.60GHz CPU. Thanks, Martin -- System Information: Distributor ID: Devuan Description: Devuan GNU/Linux 4 (daedalus/ceres) Release: 5 Codename: daedalus/ceres Architecture: x86_64 Kernel: Linux 5.14.0-2-amd64 (SMP w/4 CPU threads) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /bin/dash Init: runit (via /run/runit.stopit) LSM: AppArmor: enabled Versions of packages initscripts depends on: ii lsb-base 11.1.0 ii sysv-rc 2.96-7+devuan1 Versions of packages initscripts recommends: ii e2fsprogs 1.46.4-1 ii psmisc 23.4-2 initscripts suggests no packages. -- no debconf information ------------=_1681727042-10792-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 617-done) by bugs.devuan.org; 17 Apr 2023 10:22:39 +0000 Return-Path: <[email protected]> Delivered-To: [email protected] Received: from email.devuan.org [2a01:4f8:140:32a1::58c6:6473] by doc.devuan.org with IMAP (fetchmail-6.4.16) for <debbugs@localhost> (single-drop); Mon, 17 Apr 2023 10:22:39 +0000 (UTC) Received: from email.devuan.org by email.devuan.org with LMTP id K/URO6AdPWQZUgAAmSBk0A (envelope-from <[email protected]>) for <[email protected]>; Mon, 17 Apr 2023 10:21:20 +0000 Received: by email.devuan.org (Postfix, from userid 109) id D80E0AFF; Mon, 17 Apr 2023 10:21:20 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on email.devuan.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham autolearn_force=no version=3.4.6 Received: from mail.devuan.dev (mail.devuan.dev [54.36.142.182]) by email.devuan.org (Postfix) with ESMTP id 0014A66E for <[email protected]>; Mon, 17 Apr 2023 10:21:14 +0000 (UTC) Received: from dak.localnet.devuan.org (dak.localnet.devuan.org [192.168.97.90]) by mail.devuan.dev (Postfix) with SMTP id 1A28A400A09 for <[email protected]>; Mon, 17 Apr 2023 10:21:14 +0000 (UTC) Received: (nullmailer pid 19619 invoked by uid 107); Mon, 17 Apr 2023 10:21:13 -0000 From: [email protected] To: [email protected] Subject: #617: fixed in src:sysvinit version 3.06-4devuan3 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit Date: Mon, 17 Apr 2023 10:21:13 +0000 Message-Id: <[email protected]> Version: 3.06-4devuan3 Source package sysvinit (3.06-4devuan3) added to Devuan suite unstable. This closes bug report 617. Thanks DAK managing the Devuan archive -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 1.8 Date: Mon, 17 Apr 2023 10:59:34 +0100 Source: sysvinit Architecture: source Version: 3.06-4devuan3 Distribution: unstable Urgency: medium Maintainer: Devuan Developers <[email protected]> Changed-By: Mark Hindley <[email protected]> Closes: 617 Changes: sysvinit (3.06-4devuan3) unstable; urgency=medium . * brightness initscript: don't save value of 0 when stopping (Closes: #617). Checksums-Sha1: f91bac2caac34718b879f266ee583a3b5ab76f60 2008 sysvinit_3.06-4devuan3.dsc ccb9ab39513f07db02c9f292ae3e5d14d38ed4dd 135856 sysvinit_3.06-4devuan3.debian.tar.xz 1953ee8f7e0d6b75f925d29257c3f66fd648b1e2 5446 sysvinit_3.06-4devuan3_source.buildinfo Checksums-Sha256: 5d70b322d5e1865a20d926c81bc8ac8ee8df229c68c0585552d6b090856fd1bd 2008 sysvinit_3.06-4devuan3.dsc da30a29185db600cc85ce50b756fd181aea18889c70d4f2258e112ec398ec7ea 135856 sysvinit_3.06-4devuan3.debian.tar.xz a3f158f5294124b4ef38fe279659910253ad26d8523c23b25ea3d6998a78147f 5446 sysvinit_3.06-4devuan3_source.buildinfo Files: 1442d1b067dd85e06b9945b17de88c63 2008 admin required sysvinit_3.06-4devuan3.dsc be0b36355bf802c32b969cb897666a3f 135856 admin required sysvinit_3.06-4devuan3.debian.tar.xz 9b7c709e5f4f92a8362c3b9cf6bcb4fc 5446 admin required sysvinit_3.06-4devuan3_source.buildinfo -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEcuPLdzMV36LkZHQ9lFMhJFQZIvsFAmQ9Gx8ACgkQlFMhJFQZ Ivswcgf9GeJ1n3P2jXo/9wfKx2V1meSE/fqWcSTEC5O4wU8tXbwZAeioc1ot+JOl Xvr43figZIWuIq5vlabJrlNZJj6vNnDFutelmQqqDIsR74YKLRKWOvGppDoj7Qr2 X3jmqx8dfLUERYTqSM+OB5WndYYbh9McdSYOi1J6bPA7rjvGrMhKUucX6k0lpZe2 HcWIKBNTV0JkHNb45YhiFWeBHl3p2Tqclf+ENDmcI7yiSVtkJnZjmmImy0Ojim9E mA2f8alMs/r/6EV3lWc5Tko13294dSJStPmxu8MOePGQ5OsYGWDOnRy0s1NFvJdQ FyItJJq5W9KwppGzxuLwqM+ozkkm6A== =u96r -----END PGP SIGNATURE----- ------------=_1681727042-10792-0--
MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) X-Loop: [email protected] From: "Devuan bug Tracking System" <[email protected]> To: Martin Steigerwald <[email protected]> Subject: bug#617 closed by [email protected] (#617: fixed in src:sysvinit version 3.06-4devuan3) Message-ID: <[email protected]> References: <[email protected]> <[email protected]> X-Devuan-PR-Message: they-closed 617 X-Devuan-PR-Package: initscripts X-Devuan-PR-Keywords: patch X-Devuan-PR-Source: sysvinit Reply-To: [email protected] Date: Mon, 17 Apr 2023 10:24:07 +0000 Content-Type: multipart/mixed; boundary="----------=_1681727047-10792-1" This is a multi-part message in MIME format... ------------=_1681727047-10792-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" This is an automatic notification regarding your bug report which was filed against the initscripts package: #617: initscripts: brightness init script sets brightness to zero, thus bla= nking laptop display It has been closed by [email protected]. Their explanation is attached below along with your original report. If this explanation is unsatisfactory and you have not received a better one in a separate message then please contact [email protected] by replying to this email. --=20 617: https://bugs.devuan.org/cgi/bugreport.cgi?bug=3D617 Devuan Bug Tracking System Contact [email protected] with problems ------------=_1681727047-10792-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 617-done) by bugs.devuan.org; 17 Apr 2023 10:22:39 +0000 Return-Path: <[email protected]> Delivered-To: [email protected] Received: from email.devuan.org [2a01:4f8:140:32a1::58c6:6473] by doc.devuan.org with IMAP (fetchmail-6.4.16) for <debbugs@localhost> (single-drop); Mon, 17 Apr 2023 10:22:39 +0000 (UTC) Received: from email.devuan.org by email.devuan.org with LMTP id K/URO6AdPWQZUgAAmSBk0A (envelope-from <[email protected]>) for <[email protected]>; Mon, 17 Apr 2023 10:21:20 +0000 Received: by email.devuan.org (Postfix, from userid 109) id D80E0AFF; Mon, 17 Apr 2023 10:21:20 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on email.devuan.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham autolearn_force=no version=3.4.6 Received: from mail.devuan.dev (mail.devuan.dev [54.36.142.182]) by email.devuan.org (Postfix) with ESMTP id 0014A66E for <[email protected]>; Mon, 17 Apr 2023 10:21:14 +0000 (UTC) Received: from dak.localnet.devuan.org (dak.localnet.devuan.org [192.168.97.90]) by mail.devuan.dev (Postfix) with SMTP id 1A28A400A09 for <[email protected]>; Mon, 17 Apr 2023 10:21:14 +0000 (UTC) Received: (nullmailer pid 19619 invoked by uid 107); Mon, 17 Apr 2023 10:21:13 -0000 From: [email protected] To: [email protected] Subject: #617: fixed in src:sysvinit version 3.06-4devuan3 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit Date: Mon, 17 Apr 2023 10:21:13 +0000 Message-Id: <[email protected]> Version: 3.06-4devuan3 Source package sysvinit (3.06-4devuan3) added to Devuan suite unstable. This closes bug report 617. Thanks DAK managing the Devuan archive -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 1.8 Date: Mon, 17 Apr 2023 10:59:34 +0100 Source: sysvinit Architecture: source Version: 3.06-4devuan3 Distribution: unstable Urgency: medium Maintainer: Devuan Developers <[email protected]> Changed-By: Mark Hindley <[email protected]> Closes: 617 Changes: sysvinit (3.06-4devuan3) unstable; urgency=medium . * brightness initscript: don't save value of 0 when stopping (Closes: #617). Checksums-Sha1: f91bac2caac34718b879f266ee583a3b5ab76f60 2008 sysvinit_3.06-4devuan3.dsc ccb9ab39513f07db02c9f292ae3e5d14d38ed4dd 135856 sysvinit_3.06-4devuan3.debian.tar.xz 1953ee8f7e0d6b75f925d29257c3f66fd648b1e2 5446 sysvinit_3.06-4devuan3_source.buildinfo Checksums-Sha256: 5d70b322d5e1865a20d926c81bc8ac8ee8df229c68c0585552d6b090856fd1bd 2008 sysvinit_3.06-4devuan3.dsc da30a29185db600cc85ce50b756fd181aea18889c70d4f2258e112ec398ec7ea 135856 sysvinit_3.06-4devuan3.debian.tar.xz a3f158f5294124b4ef38fe279659910253ad26d8523c23b25ea3d6998a78147f 5446 sysvinit_3.06-4devuan3_source.buildinfo Files: 1442d1b067dd85e06b9945b17de88c63 2008 admin required sysvinit_3.06-4devuan3.dsc be0b36355bf802c32b969cb897666a3f 135856 admin required sysvinit_3.06-4devuan3.debian.tar.xz 9b7c709e5f4f92a8362c3b9cf6bcb4fc 5446 admin required sysvinit_3.06-4devuan3_source.buildinfo -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEcuPLdzMV36LkZHQ9lFMhJFQZIvsFAmQ9Gx8ACgkQlFMhJFQZ Ivswcgf9GeJ1n3P2jXo/9wfKx2V1meSE/fqWcSTEC5O4wU8tXbwZAeioc1ot+JOl Xvr43figZIWuIq5vlabJrlNZJj6vNnDFutelmQqqDIsR74YKLRKWOvGppDoj7Qr2 X3jmqx8dfLUERYTqSM+OB5WndYYbh9McdSYOi1J6bPA7rjvGrMhKUucX6k0lpZe2 HcWIKBNTV0JkHNb45YhiFWeBHl3p2Tqclf+ENDmcI7yiSVtkJnZjmmImy0Ojim9E mA2f8alMs/r/6EV3lWc5Tko13294dSJStPmxu8MOePGQ5OsYGWDOnRy0s1NFvJdQ FyItJJq5W9KwppGzxuLwqM+ozkkm6A== =u96r -----END PGP SIGNATURE----- ------------=_1681727047-10792-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by bugs.devuan.org; 11 Oct 2021 16:20:05 +0000 Return-Path: <[email protected]> Delivered-To: [email protected] 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); Mon, 11 Oct 2021 16:20:05 +0000 (UTC) Received: from om.lichtvoll (ppp-188-174-144-99.dynamic.mnet-online.de [188.174.144.99]) by vm6.ganeti.dyne.org (Postfix) with ESMTP id 2F7C5F60474 for <[email protected]>; Mon, 11 Oct 2021 18:19:25 +0200 (CEST) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Martin Steigerwald <[email protected]> To: Devuan Bug Tracking System <[email protected]> Subject: initscripts: brightness init script sets brightness to zero, thus blanking laptop display Message-ID: <[email protected]> Date: Mon, 11 Oct 2021 18:19:24 +0200 X-Spam-Status: No, score=3.9 required=5.0 tests=KHOP_DYNAMIC,RCVD_IN_PBL, RDNS_DYNAMIC autolearn=disabled version=3.4.2 X-Spam-Level: *** X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org Package: initscripts Version: 2.96-7+devuan1 Severity: normal X-Debbugs-Cc: [email protected] Just updated Devuan Ceres today and found the display being blanked during the boot process. I was able to recover over SSH using % brightnessctl Device 'intel_backlight' of class 'backlight': Current brightness: 0 (0%) Max brightness: 512 % brightnessctl set 100% Updated device 'intel_backlight': Device 'intel_backlight' of class 'backlight': Current brightness: 512 (100%) Max brightness: 512 Yet running '/etc/init.d/brightness start' blanked the display again. This is due to: % cat /var/lib/initscripts/brightness.intel 0 I have no idea how this value got into this file. The display was certainly not at 0% brightness as I rebooted after the update. Expected result: Never ever blank the display on boot even in case '/var/lib/initscripts/brightness.intel' contains the value zero. Just don't. Expected result 2: Safe the right value to '/var/lib/initscripts/brightness.intel'. Zero is definitly not it. If I run: % echo 512 > /var/lib/initscripts/brightness.intel % /etc/init.d/brightness start After sending this bug report I will reboot and see whether it will remember this value. Otherwise I will 'chattr +i' this file for now. This is on a ThinkPax X260 with Intel on board graphics from Intel(R) Core(TM) i7-6600U CPU @ 2.60GHz CPU. Thanks, Martin -- System Information: Distributor ID: Devuan Description: Devuan GNU/Linux 4 (daedalus/ceres) Release: 5 Codename: daedalus/ceres Architecture: x86_64 Kernel: Linux 5.14.0-2-amd64 (SMP w/4 CPU threads) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /bin/dash Init: runit (via /run/runit.stopit) LSM: AppArmor: enabled Versions of packages initscripts depends on: ii lsb-base 11.1.0 ii sysv-rc 2.96-7+devuan1 Versions of packages initscripts recommends: ii e2fsprogs 1.46.4-1 ii psmisc 23.4-2 initscripts suggests no packages. -- no debconf information ------------=_1681727047-10792-1--
Devuan BTS -- Powered by Debian bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.
Devuan Bugs Owner <[email protected]>.
Last modified:
Sun, 1 Dec 2024 00:39:02 UTC