Bug#918966: new(?) backlight brightness script

2019-01-17 Thread Thorsten Glaser
On Sat, 12 Jan 2019, Dmitry Bogatov wrote: > Sure. Your contribution would be welcome. I pushed it to a branch “tg-brightness” in the sysvinit packaging on Salsa. I decided to rework the init script, so it can even work on multiple backlight brightness knobs, and added the Intel one from my

Bug#918966: new(?) backlight brightness script

2019-01-17 Thread Dmitry Bogatov
[2019-01-17 21:13] Thorsten Glaser > On Sat, 12 Jan 2019, Dmitry Bogatov wrote: > > > Sure. Your contribution would be welcome. > > I pushed it to a branch “tg-brightness” in the sysvinit > packaging on Salsa. Next time, wip/ namespace is preferred. It makes it clear, that force-push are to be

Bug#918966: new(?) backlight brightness script

2019-01-14 Thread Thorsten Glaser
On Sun, 13 Jan 2019, Josh Triplett wrote: > This isn't a purely "desktop" feature. In the past, some systems have > booted up with the backlight *off*, making the screen all but invisible, In the current, too: #890326 bye, //mirabilos -- tarent solutions GmbH Rochusstraße 2-4, D-53123 Bonn •

Bug#918966: new(?) backlight brightness script

2019-01-14 Thread Josh Triplett
On Fri, 11 Jan 2019 07:41:27 +0200 Aleksi Suhonen wrote: > After upgrading and rebooting a virtual machine that has only a virtual > serial console, I get this message: > > /etc/init.d/brightness: 36: /etc/init.d/brightness: cannot create > /sys/class/backlight/acpi_video0/brightness:

Bug#918966: new(?) backlight brightness script

2019-01-12 Thread Dmitry Bogatov
[2019-01-11 07:41] Aleksi Suhonen > part text/plain 828 > Package: initscripts > Severity: wishlist > Version: 2.93-3 > > After upgrading and rebooting a virtual machine that has only a virtual > serial console, I get this message: > > /etc/init.d/brightness: 36:

Bug#918966: new(?) backlight brightness script

2019-01-12 Thread Dmitry Bogatov
[2019-01-11 08:40] Thorsten Glaser > On Fri, 11 Jan 2019, Aleksi Suhonen wrote: > > > if [ -d /sys/class/backlight/acpi_video0 ]; then > > readonly SYS_CONTROL=/sys/class/backlight/acpi_video0/brightness > > readonly SYS_MAXIMUM=/sys/class/backlight/acpi_video0/max_brightness > > else

Bug#918966: new(?) backlight brightness script

2019-01-10 Thread Thorsten Glaser
On Fri, 11 Jan 2019, Aleksi Suhonen wrote: > if [ -d /sys/class/backlight/acpi_video0 ]; then > readonly SYS_CONTROL=/sys/class/backlight/acpi_video0/brightness > readonly SYS_MAXIMUM=/sys/class/backlight/acpi_video0/max_brightness > else > readonly SYS_CONTROL=/dev/null >

Bug#918966: new(?) backlight brightness script

2019-01-10 Thread Aleksi Suhonen
Package: initscripts Severity: wishlist Version: 2.93-3 After upgrading and rebooting a virtual machine that has only a virtual serial console, I get this message: /etc/init.d/brightness: 36: /etc/init.d/brightness: cannot create /sys/class/backlight/acpi_video0/brightness: Directory