[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#390565: Patch for the graphical installer on PPC boxes

Package: rootskel
Severity: normal
Tags: patch

As it results from the PPC survey [1], the linux_module DirectFB input module should be disabled for all ppc boxes except for MacIntosh model PowerBook6,7. Also, the radeon gfxdriver, a relatively new gfxdriver in DirectFB, showed to be broken partially or totally in many cases, so a safe choice is disabling it by default for Radeon-based boards. The attached patchfile updates directfbrc file in rootskel-gtk and adds a new script to rootskel to take care of directfb specific issues. I won't commit this by myself, but i'll wait for someone to review it and apply.



[1] http://wiki.debian.org/DebianInstaller/GUIToDo
Index: rootskel-gtk/src/etc/directfbrc
--- rootskel-gtk/src/etc/directfbrc     (revisione 41145)
+++ rootskel-gtk/src/etc/directfbrc     (copia locale)
@@ -1,3 +1,4 @@
-#disable-module=linux_input #needed for touchpads to work

Index: rootskel/src/lib/debian-installer-startup.d/S50directfb-linux-powerpc
--- rootskel/src/lib/debian-installer-startup.d/S50directfb-linux-powerpc       (revisione 0)
+++ rootskel/src/lib/debian-installer-startup.d/S50directfb-linux-powerpc       (revisione 0)
@@ -0,0 +1,9 @@
+#disabling radeon DFB module for all radeon-based cards
+if grep "Radeon" /proc/fb; then
+       sed -i "s/^#disable-module=radeon/disable-module=radeon/" /etc/directfbrc
+#disabling linux_input DFB module except for "PowerBook6,7"
+if grep "PowerBook6,7" /proc/cpuinfo ; then
+       sed -i "s/^#disable-module=linux_input/disable-module=linux_input/" /etc/directfbrc
Index: rootskel/src/lib/debian-installer-startup.d/Makefile
--- rootskel/src/lib/debian-installer-startup.d/Makefile        (revisione 41155)
+++ rootskel/src/lib/debian-installer-startup.d/Makefile        (copia locale)
@@ -32,7 +32,8 @@

   ifeq ($(DEB_HOST_ARCH_CPU),powerpc)
     files += \
-       S45keyboard-linux-powerpc
+       S45keyboard-linux-powerpc \
+       S50directfb-linux-powerpc

   ifneq (,$(filter mips mipsel,$(DEB_HOST_ARCH_CPU)))

Reply to: