[debian-edu-commits] r81148 - in branches/wheezy/debian-edu-config: debian sbin

pere at alioth.debian.org pere at alioth.debian.org
Mon Jun 24 17:44:03 UTC 2013


Author: pere
Date: 2013-06-24 17:44:03 +0000 (Mon, 24 Jun 2013)
New Revision: 81148

Modified:
   branches/wheezy/debian-edu-config/debian/changelog
   branches/wheezy/debian-edu-config/sbin/debian-edu-hwsetup
Log:
Updated debian-edu-hwsetup, rewrote PCI device detection system to
use modalias and added quirk for Packard Bell EasyNote LV to avoid
black screen after boot.

Modified: branches/wheezy/debian-edu-config/debian/changelog
===================================================================
--- branches/wheezy/debian-edu-config/debian/changelog	2013-06-24 14:53:05 UTC (rev 81147)
+++ branches/wheezy/debian-edu-config/debian/changelog	2013-06-24 17:44:03 UTC (rev 81148)
@@ -2,6 +2,9 @@
 
   * Add dependency on lsb-release to make sure the lsb_release program
     is available when scripts try to figure out the release code name.
+  * Updated debian-edu-hwsetup, rewrote PCI device detection system to
+    use modalias and added quirk for Packard Bell EasyNote LV to avoid
+    black screen after boot.
 
  -- Petter Reinholdtsen <pere at debian.org>  Mon, 24 Jun 2013 16:51:21 +0200
 

Modified: branches/wheezy/debian-edu-config/sbin/debian-edu-hwsetup
===================================================================
--- branches/wheezy/debian-edu-config/sbin/debian-edu-hwsetup	2013-06-24 14:53:05 UTC (rev 81147)
+++ branches/wheezy/debian-edu-config/sbin/debian-edu-hwsetup	2013-06-24 17:44:03 UTC (rev 81148)
@@ -40,10 +40,15 @@
 }
 
 info "looking for PCI device specific overrides"
-for id in $(lspci -n|awk '{print $3}' | tr a-f A-F) ; do
-    case "$id" in
-	*)
-	    ;;
+for modalias in /sys/bus/pci/devices/*/modalias; do
+    case "$modalias" in
+	# Workaround for BTS report #710938 (Packard Bell EasyNote LV)
+	# See http://www.linlap.com/packard_bell_easynote_lv
+        pci:v00008086d00000156sv00001025sd00000688bc*)
+	    append_if_missing /etc/modprobe.d/i915.conf \
+		"options i915 invert_brightness=1"
+            update-initramfs -u -k all
+            ;;
     esac
 done
 




More information about the debian-edu-commits mailing list