Bug#390565: Patch for the graphical installer on PPC boxes
On Sun, Oct 01, 2006 at 10:04:35PM +0200, Attilio Fiandrotti wrote:
> 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.
>
> cheers
>
> Attilio
>
> [1] http://wiki.debian.org/DebianInstaller/GUIToDo
>
> ---------------------------------------------------------------------------------------
> Orange vous informe que cet e-mail a ete controle par l'anti-virus mail.
> Aucun virus connu a ce jour par nos services n'a ete detecte.
>
> Index: rootskel-gtk/src/etc/directfbrc
> ===================================================================
> --- rootskel-gtk/src/etc/directfbrc (revisione 41145)
> +++ rootskel-gtk/src/etc/directfbrc (copia locale)
> @@ -1,3 +1,4 @@
> no-hardware
> screenshot-dir=/var/log
> -#disable-module=linux_input #needed for touchpads to work
> +#disable-module=linux_input
> +#disable-module=radeon
>
>
> 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
> +fi
> +
> +#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
Attilio, your patch seems broken, you probably need :
+if grep -v "PowerBook6,7" /proc/cpuinfo ; then
Thanks for Eddy for finding out this one.
Friendly,
Sven Luther
Reply to: