]> pere.pagekite.me Git - homepage.git/blobdiff - blog/index.rss
Generated.
[homepage.git] / blog / index.rss
index 75f42828ca243b78f151eb6918ad3f371c7bd8f4..1ad6d8a5cef7a301f5e594d75fdc6549405cd725 100644 (file)
@@ -6,6 +6,109 @@
                 <link>http://people.skolelinux.org/pere/blog/</link>
                 <atom:link href="http://people.skolelinux.org/pere/blog/index.rss" rel="self" type="application/rss+xml" />
        
                 <link>http://people.skolelinux.org/pere/blog/</link>
                 <atom:link href="http://people.skolelinux.org/pere/blog/index.rss" rel="self" type="application/rss+xml" />
        
+       <item>
+               <title>Fixing the Linux black screen of death on machines with Intel HD video</title>
+               <link>http://people.skolelinux.org/pere/blog/Fixing_the_Linux_black_screen_of_death_on_machines_with_Intel_HD_video.html</link>
+               <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Fixing_the_Linux_black_screen_of_death_on_machines_with_Intel_HD_video.html</guid>
+                <pubDate>Tue, 11 Jun 2013 11:00:00 +0200</pubDate>
+               <description>&lt;p&gt;When installing RedHat, Fedora, Debian and Ubuntu on some machines,
+the screen just turn black when Linux boot, either during installation
+or on first boot from the hard disk.  I&#39;ve seen it once in a while the
+last few years, but only recently understood the cause.  I&#39;ve seen it
+on HP laptops, and on my latest acquaintance the Packard Bell laptop.
+The reason seem to be in the wiring of some laptops.  The system to
+control the screen background light is inverted, so when Linux try to
+turn the brightness fully on, it end up turning it off instead.  I do
+not know which Linux drivers are affected, but this post is about the
+i915 driver used by the
+&lt;a href=&quot;http://www.linlap.com/packard_bell_easynote_lv&quot;&gt;Packard Bell
+EasyNote LV&lt;/a&gt;, Thinkpad X40 and many other laptops.&lt;/p&gt;
+
+&lt;p&gt;The problem can be worked around two ways.  Either by adding
+i915.invert_brightness=1 as a kernel option, or by adding a file in
+/etc/modprobe.d/ to tell modprobe to add the invert_brightness=1
+option when it load the i915 kernel module.  On Debian and Ubuntu, it
+can be done by running these commands as root:&lt;/p&gt;
+
+&lt;pre&gt;
+echo options i915 invert_brightness=1 | tee /etc/modprobe.d/i915.conf
+update-initramfs -u -k all
+&lt;/pre&gt;
+
+&lt;p&gt;Since March 2012 there is
+&lt;a href=&quot;http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=4dca20efb1a9c2efefc28ad2867e5d6c3f5e1955&quot;&gt;a
+mechanism in the Linux kernel&lt;/a&gt; to tell the i915 driver which
+hardware have this problem, and get the driver to invert the
+brightness setting automatically.  To use it, one need to add a row in
+&lt;a href=&quot;http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/drivers/gpu/drm/i915/intel_display.c&quot;&gt;the
+intel_quirks array&lt;/a&gt; in the driver source
+&lt;tt&gt;drivers/gpu/drm/i915/intel_display.c&lt;/tt&gt; (look for &quot;&lt;tt&gt;static
+struct intel_quirk intel_quirks&lt;/tt&gt;&quot;), specifying the PCI device
+number (vendor number 8086 is assumed) and subdevice vendor and device
+number.&lt;/p&gt;
+
+&lt;p&gt;My Packard Bell EasyNote LV got this output from &lt;tt&gt;lspci
+-vvnn&lt;/tt&gt; for the video card in question:&lt;/p&gt;
+
+&lt;p&gt;&lt;pre&gt;
+00:02.0 VGA compatible controller [0300]: Intel Corporation \
+    3rd Gen Core processor Graphics Controller [8086:0156] \
+    (rev 09) (prog-if 00 [VGA controller])
+ Subsystem: Acer Incorporated [ALI] Device [1025:0688]
+ Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- \
+    ParErr- Stepping- SE RR- FastB2B- DisINTx+
+ Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast &gt;TAbort- \
+    &lt;TAbort- &lt;MAbort-&gt;SERR- &lt;PERR- INTx-
+ Latency: 0
+ Interrupt: pin A routed to IRQ 42
+ Region 0: Memory at c2000000 (64-bit, non-prefetchable) [size=4M]
+ Region 2: Memory at b0000000 (64-bit, prefetchable) [size=256M]
+ Region 4: I/O ports at 4000 [size=64]
+ Expansion ROM at &lt;unassigned&gt; [disabled]
+ Capabilities: &lt;access denied&gt;
+ Kernel driver in use: i915
+&lt;/pre&gt;&lt;/p&gt;
+
+&lt;p&gt;The resulting intel_quirks entry would then look like this:&lt;/p&gt;
+
+&lt;p&gt;&lt;pre&gt;
+struct intel_quirk intel_quirks[] = {
+       ...
+        /* Packard Bell EasyNote LV11HC needs invert brightness quirk */
+       { 0x0156, 0x1025, 0x0688, quirk_invert_brightness },
+       ...
+}
+&lt;/pre&gt;&lt;/p&gt;
+
+&lt;p&gt;According to the kernel module instructions (as seen using
+&lt;tt&gt;modinfo i915&lt;/tt&gt;), information about hardware needing the
+invert_brightness flag should be sent to the
+&lt;a href=&quot;http://lists.freedesktop.org/mailman/listinfo/dri-devel&quot;&gt;dri-devel
+(at) lists.freedesktop.org&lt;/a&gt; mailing list to reach the kernel
+developers.  But my email about the laptop sent 2013-06-03 have not
+yet shown up in
+&lt;a href=&quot;http://lists.freedesktop.org/archives/dri-devel/2013-June/thread.html&quot;&gt;the
+web archive for the mailing list&lt;/a&gt;, so I suspect they do not accept
+emails from non-subscribers.  Because of this, I sent my patch also to
+the Debian bug tracking system instead as
+&lt;a href=&quot;http://bugs.debian.org/710938&quot;&gt;BTS report #710938&lt;/a&gt;, to make
+sure the patch is not lost.&lt;/p&gt;
+
+&lt;p&gt;Unfortunately, it is not enough to fix the kernel to get Laptops
+with this problem working properly with Linux.  If you use Gnome, your
+worries should be over at this point.  But if you use KDE, there is
+something in KDE ignoring the invert_brightness setting and turning on
+the screen during login.  I&#39;ve reported it to Debian as
+&lt;a href=&quot;http://bugs.debian.org/711237&quot;&gt;BTS report #711237&lt;/a&gt;, and
+have no idea yet how to figure out exactly what subsystem is doing
+this.  Perhaps you can help?  Perhaps you know what the Gnome
+developers did to handle this, and this can give a clue to the KDE
+developers?  Or you know where in KDE the screen brightness is changed
+during login?  If so, please update the BTS report (or get in touch if
+you do not know how to update BTS).&lt;/p&gt;
+</description>
+       </item>
+       
        <item>
                <title>Third alpha release of Debian Edu / Skolelinux based on Debian Wheezy</title>
                <link>http://people.skolelinux.org/pere/blog/Third_alpha_release_of_Debian_Edu___Skolelinux_based_on_Debian_Wheezy.html</link>
        <item>
                <title>Third alpha release of Debian Edu / Skolelinux based on Debian Wheezy</title>
                <link>http://people.skolelinux.org/pere/blog/Third_alpha_release_of_Debian_Edu___Skolelinux_based_on_Debian_Wheezy.html</link>
@@ -778,106 +881,5 @@ boot.&lt;/p&gt;
 </description>
        </item>
        
 </description>
        </item>
        
-       <item>
-               <title>Second alpha release of Debian Edu / Skolelinux based on Debian Wheezy</title>
-               <link>http://people.skolelinux.org/pere/blog/Second_alpha_release_of_Debian_Edu___Skolelinux_based_on_Debian_Wheezy.html</link>
-               <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Second_alpha_release_of_Debian_Edu___Skolelinux_based_on_Debian_Wheezy.html</guid>
-                <pubDate>Tue, 14 May 2013 23:30:00 +0200</pubDate>
-               <description>&lt;p&gt;The &lt;a href=&quot;http://www.skolelinux.org/&quot;&gt;Debian Edu / Skolelinux
-project&lt;/a&gt; is making great progress and made its second Wheezy based
-release today.  This is the release announcement:&lt;/p&gt;
-
-&lt;p&gt;&lt;strong&gt;New features for Debian Edu 7.0.0 alpha1 released
-2013-05-14&lt;/strong&gt;&lt;/p&gt;
-
-&lt;p&gt;This is the release notes for for Debian Edu / Skolelinux 7.0.0 edu
-alpha1, based on &lt;a href=&quot;http://www.debian.org&quot;&gt;Debian&lt;/a&gt; with
-codename &quot;Wheezy&quot;.&lt;/p&gt;
-
-&lt;p&gt;&lt;strong&gt;About Debian Edu and Skolelinux&lt;/strong&gt;&lt;/p&gt;
-
-&lt;p&gt;Debian Edu, also known as Skolelinux, is a Linux distribution based
-on Debian providing an out-of-the box environment of a completely
-configured school network. Immediatly after installation a school
-server running all services needed for a school network is set up just
-waiting for users and machines being added via GOsa², a comfortable
-Web-UI. A netbooting environment is prepared using PXE, so after
-initial installation of the main server from CD, DVD or USB stick all
-other machines can be installed via the network.&lt;/p&gt;
-
-&lt;p&gt;This is the first test release based on Wheezy (which currently is
-not released yet). Basically this is an updated and slightly improved
-version compared to the Squeeze release.&lt;/p&gt;
-
-&lt;p&gt;&lt;strong&gt;Software updates&lt;/strong&gt;&lt;/p&gt;
-&lt;ul&gt;
-  &lt;li&gt;Install freemind (0.9.0) by default, and stop installing vym by
-    default.&lt;/li&gt;
-  &lt;li&gt;Install chromium (26.0.1410.43) by default.&lt;/li&gt;
-  &lt;li&gt;Install goplay (0.5-1.1) to make golearn available by default.&lt;/li&gt;
-  &lt;li&gt;Updated support for Japanese input methods, now based on
-    ibus-anthy.&lt;/li&gt;
-&lt;/ul&gt;
-
-&lt;p&gt;&lt;strong&gt;Other changes&lt;/strong&gt;&lt;/p&gt;
-&lt;ul&gt;
-
-  &lt;li&gt;Switched default file system from ext3 to ext4 for speed and
-    reliability improvements.&lt;/li&gt;
-  &lt;li&gt;Got rid of unwanted winbind daemon and PAM setup activated because
-    of &lt;a href=&quot;http://bugs.debian.org/706434&quot;&gt;706434&lt;/a&gt;.&lt;/li&gt;
-  &lt;li&gt;Extended and improved the testsuite tests to detect more possible
-    problems.&lt;/li&gt;
-  &lt;li&gt;Corrected proxy handling to not set http_proxy to a bogus
-    direct:// URL.&lt;/li&gt;
-  &lt;li&gt;Corrected proxy setup for diskless workstations.&lt;/li&gt;
-  &lt;li&gt;Corrected PXE setup to use our updated udebs during installation.&lt;/li&gt;
-  &lt;li&gt;Made installation handling of low entropy level more robust.&lt;/li&gt;
-  &lt;li&gt;Create larger partitions for Roaming workstations and Thin client
-    servers, to make room for all the software installed.&lt;/li&gt;
-  &lt;li&gt;Fix bug in Roaming workstation PAM setup, making it impossible to
-    log in (&lt;a href=&quot;http://bugs.debian.org/706753&quot;&gt;706753&lt;/a&gt;).&lt;/li&gt;
-&lt;/ul&gt;
-
-&lt;p&gt;&lt;strong&gt;Known issues&lt;/strong&gt;&lt;/p&gt;
-&lt;ul&gt;
-
-  &lt;li&gt;IP resolution for the local hostname give useless IPv6 address
-    (&lt;a href=&quot;http://bugs.debian.org/705900&quot;&gt;705900&lt;/a&gt;).  Only install
-    libnss-myhostname on roaming workstations until it is fixed.&lt;/li&gt;
-  &lt;li&gt;DVD images are not yet ready.&lt;/li&gt;
-  &lt;li&gt;No mass import of user account data in GOsa (ldif or csv)
-    available yet (&lt;a href=&quot;http://bugs.debian.org/698840&quot;&gt;698840&lt;/a&gt;).&lt;/li&gt;
-  &lt;li&gt;Missing artwork for the KDE desktop (and probably a few others).&lt;/li&gt;
-  &lt;li&gt;KDE Debian submenu lacks icons.&lt;/li&gt;
-  &lt;li&gt;LXDE menu lacks entry for changing GOsa password
-    (website). Installing gosa-desktop will be an option.&lt;/li&gt;
-  &lt;li&gt;Backup configuration via web interface is impossible due to
-    password submission problem
-    (&lt;a href=&quot;http://bugs.debian.org/700257&quot;&gt;700257&lt;/a&gt;).&lt;/li&gt;
-
-&lt;/ul&gt;
-
-&lt;p&gt;&lt;strong&gt;Where to get it&lt;/strong&gt;&lt;/p&gt;
-
-&lt;p&gt;To download the multiarch netinstall CD release you can use&lt;/p&gt;
-&lt;ul&gt;
-
-  &lt;li&gt;&lt;a href=&quot;ftp://ftp.skolelinux.org/skolelinux-cd/wheezy/debian-edu~7.0+edu0~a1-CD.iso&quot;&gt;ftp://ftp.skolelinux.org/skolelinux-cd/wheezy/debian-edu~7.0+edu0~a1-CD.iso&lt;/a&gt;&lt;/li&gt;
-  &lt;li&gt;&lt;a href=&quot;http://ftp.skolelinux.org/skolelinux-cd/wheezy/debian-edu~7.0+edu0~a1-CD.iso&quot;&gt;http://ftp.skolelinux.org/skolelinux-cd/wheezy/debian-edu~7.0+edu0~a1-CD.iso&lt;/a&gt;&lt;/li&gt;
-  &lt;li&gt;rsync -avzP ftp.skolelinux.org::skolelinux-cd/wheezy/debian-edu~7.0+edu0~a1-CD.iso debian-edu~7.0+edu0~a1-CD.iso&lt;/li&gt;
-
-&lt;/ul&gt;
-
-&lt;p&gt;The MD5SUM of this image is: 685ed76c1aa8e44b12d3fde21faf450b&lt;/p&gt;
-
-&lt;p&gt;The SHA1SUM of this image is: 6c874de157024da13e115bab29c068080a11ec4c&lt;/p&gt;
-
-&lt;p&gt;&lt;strong&gt;How to report bugs&lt;/strong&gt;&lt;/p&gt;
-
-&lt;p&gt;&lt;a href=&quot;http://wiki.debian.org/DebianEdu/HowTo/ReportBugs&quot;&gt;http://wiki.debian.org/DebianEdu/HowTo/ReportBugs&lt;/a&gt;&lt;/p&gt;
-</description>
-       </item>
-       
         </channel>
 </rss>
         </channel>
 </rss>