<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="https://dev1galaxy.org/extern.php?action=feed&amp;tid=3480&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / Backlight control on laptops]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=3480</link>
		<description><![CDATA[The most recent posts in Backlight control on laptops.]]></description>
		<lastBuildDate>Mon, 04 May 2020 20:49:54 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: Backlight control on laptops]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=21437#p21437</link>
			<description><![CDATA[<div class="quotebox"><cite>Micronaut wrote:</cite><blockquote><div><p>It still sounds like there is a config problem at a very deep&#160; level</p></div></blockquote></div><p>It&#039;s just that xbacklight doesn&#039;t work with the modesetting driver. That wouldn&#039;t matter at all if the kernel supported the hardware properly and provided the correct interface for the keyboard backlight controls. If the laptops are very old then this might be due to regressions, or perhaps the kernel just never worked properly with those machines.</p>]]></description>
			<author><![CDATA[dummy@example.com (Head_on_a_Stick)]]></author>
			<pubDate>Mon, 04 May 2020 20:49:54 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=21437#p21437</guid>
		</item>
		<item>
			<title><![CDATA[Re: Backlight control on laptops]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=21435#p21435</link>
			<description><![CDATA[<p>Hrm, both of these laptops are much newer than 2007. They date from 2011-2012 or so. By that standard, they should work with the DDX driver. But they don&#039;t. It still sounds like there is a config problem at a very deep&#160; level. They have not accounted for laptops properly.</p>]]></description>
			<author><![CDATA[dummy@example.com (Micronaut)]]></author>
			<pubDate>Mon, 04 May 2020 19:27:16 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=21435#p21435</guid>
		</item>
		<item>
			<title><![CDATA[Re: Backlight control on laptops]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=21426#p21426</link>
			<description><![CDATA[<p>I use Ceres and i have this line in /etc/rc.local to set the screen brightnes for my laptop</p><div class="codebox"><pre><code>sh -c &quot;echo 466 &gt;/sys/class/backlight/intel_backlight/brightness&quot;</code></pre></div><p>466 is the setting</p><p>To see the screens max brightness I use</p><div class="codebox"><pre><code>cat /sys/class/backlight/intel_backlight/max_brightness</code></pre></div><p>And to see that setting the screen use I use</p><div class="codebox"><pre><code>cat /sys/class/backlight/intel_backlight/actual_brightness</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (Magnus)]]></author>
			<pubDate>Mon, 04 May 2020 17:48:27 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=21426#p21426</guid>
		</item>
		<item>
			<title><![CDATA[Re: Backlight control on laptops]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=21412#p21412</link>
			<description><![CDATA[<div class="quotebox"><cite>Micronaut wrote:</cite><blockquote><div><p>He got the info on how to do this from a &#039;bug report&#039; -- does this mean that the Ascii installer (and therefore the Debian install it was based on) does not recognize certain hardware correctly and installs the wrong X11 drivers?</p></div></blockquote></div><p>Not really, it&#039;s just that the system defaults to the X server&#039;s builtin modesetting DDX driver for Intel cards and that driver doesn&#039;t work with xbacklight. The modesetting driver is reported to be a better option otherwise, see the advice on the xserver-xorg-video-intel package page:</p><div class="quotebox"><blockquote><div><p>The use of this driver is discouraged if your hw is new enough (ca. 2007 and newer). You can try uninstalling this driver and let the server use it&#039;s builtin modesetting driver instead.</p></div></blockquote></div><p><a href="https://packages.debian.org/stretch/xserver-xorg-video-intel" rel="nofollow">https://packages.debian.org/stretch/xse … ideo-intel</a></p><div class="quotebox"><cite>ralph.ronnquist wrote:</cite><blockquote><div><p>I tend to use <span class="bbc">xrandr</span> for changing brighness</p></div></blockquote></div><p>That only changes the brightness at the software level, it works by reducing the available dynamic range for the display and so should only be used as a last resort.</p><div class="quotebox"><cite>man xrandr wrote:</cite><blockquote><div><p>&#160; &#160; &#160; &#160;--brightness brightness<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; Multiply the gamma values on the crtc currently attached to the output to<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; specified floating value. Useful for overly bright or overly dim outputs.<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; However,&#160; this is a software only modification, if your hardware has sup‐<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; port to actually change the brightness, you will probably prefer&#160; to&#160; use<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; xbacklight.</p></div></blockquote></div>]]></description>
			<author><![CDATA[dummy@example.com (Head_on_a_Stick)]]></author>
			<pubDate>Mon, 04 May 2020 11:19:37 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=21412#p21412</guid>
		</item>
		<item>
			<title><![CDATA[Re: Backlight control on laptops]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=21408#p21408</link>
			<description><![CDATA[<p>I can&#039;t really answer your questions, but thought to mention that I tend to use <span class="bbc">xrandr</span> for changing brighness, eg</p><div class="codebox"><pre><code>$ xrandr --output eDP-1 --gamma 1:0.8:0.7 --brightness 0.7</code></pre></div><p> (The simultaneous gamma adjustment suits my display)</p><p>Use <span class="bbc">xrandr</span> without arguments to work out the name(s) of your monitor(s). And of course, <span class="bbc">man xrandr</span> for details.</p>]]></description>
			<author><![CDATA[dummy@example.com (ralph.ronnquist)]]></author>
			<pubDate>Mon, 04 May 2020 02:48:56 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=21408#p21408</guid>
		</item>
		<item>
			<title><![CDATA[Backlight control on laptops]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=21406#p21406</link>
			<description><![CDATA[<p>After installing and using Devuan Ascii on two different (pretty old) laptops, I discovered that I had not quite gotten everything working. The install process had caught nearly everything, like the touchpad, the internal camera, etc. But when I thought to try to adjust the screen brightness, if just did not work. This is not the &#039;power saving&#039; option where the screen is dimmed automatically when the machine is idle. This is the deliberate manual change of screen brightness when using the machine, in a low light situation where you want a less bright screen for example. </p><p>Searching around, I found that something called &#039;xbacklight&#039; had to be installed, and then when it complained &#039;No outputs have backlight property&#039; I set out to solve <em>that</em> problem. The recommended solutions such as adding command options to GRUB did not work until I ran across the page: &#039;<a href="https://shreve.io/posts/fixing-xbacklight" rel="nofollow">https://shreve.io/posts/fixing-xbacklight</a>&#039; which recommends adding a config file inside the X11 directory tree. &#039;/usr/share/X11/xorg.conf.d/10-backlight.conf&#039; Placing the recommended file with the recommended contents in the recommended place finally made the manual backlight/brightness controls work on my laptops.</p><p>Now, here are the questions:<br />He got the info on how to do this from a &#039;bug report&#039; -- does this mean that the Ascii installer (and therefore the Debian install it was based on) does not recognize certain hardware correctly and installs the wrong X11 drivers? Or does this mean that the default system configuration was botched when designing this version of the Debian/Devuan distro, not taking laptops properly into account? In either case, is this fixed, or will it be fixed, in Beowulf -- or will I have to remember to make manual adjustments to my systems when I upgrade?</p>]]></description>
			<author><![CDATA[dummy@example.com (Micronaut)]]></author>
			<pubDate>Mon, 04 May 2020 02:34:38 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=21406#p21406</guid>
		</item>
	</channel>
</rss>
