[Splashy-devel] Bug#503885: splashy fails to detect framebuffer-mode if used with lilo

Luis Mondesi lemsx1 at gmail.com
Mon Nov 3 19:53:13 UTC 2008


On Tue, Oct 28, 2008 at 8:24 PM, Darshaka Pathirana <dpat at syn-net.org> wrote:
> Package: splashy
> Version: 0.3.10-2
> Severity: normal
>
> Hi!
>
> /etc/init.d/splashy tries to detect a valid framebuffer mode by
> looking in "/proc/cmdline" (to start splashy if not started in
> initramfs).
>
> The problem is that lilo has it's own "vga=" line and therefore
> "/proc/cmdline" does neither contain "vga" nor "video".

valid point! I thought nobody really uses lilo anymore...

is there anything that says "i'm using lilo" while the system is
booting? we might need to just check for "splash" on the cmdline file
and try to start splashy ... the worse that can happen is that the
user will get a -2 error (directfb cannot get a framebuffer).

>
> I tried a few thing to get the current framebuffer video mode but
> without success. The only thing coming close to it is "fbset -s".
>
> The code in subject is:
>
>        for x in $(cat /proc/cmdline); do
>            case $x in
>                single)
>                    SINGLE="true"
>                ;;
>                splash)
>                    SPLASH="true"
>                ;;
>                nosplash)
>                    SPLASH="false"
>                ;;
>                vga=*|video=*)
>                    FBMODESET="true"
>                ;;
>            esac
>        done
>        [ "$SPLASH" = "true" -a "$FBMODESET" = "true" ] && ENABLE=1
>
> If more informations is needed please let me know.
>
> Have a nice day and thanks for maintaining,
>  - Darsha
>
> -- System Information:
> Debian Release: lenny/sid
>  APT prefers testing
>  APT policy: (500, 'testing')
> Architecture: i386 (i686)
>
> Kernel: Linux 2.6.23-grml (SMP w/1 CPU core; PREEMPT)
> Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/bash
>
> Versions of packages splashy depends on:
> ii  initramfs-tools         0.91c            tools for generating an initramfs
> ii  libc6                   2.7-5            GNU C Library: Shared libraries
> ii  libdirectfb-1.0-0       1.0.1-11         direct frame buffer graphics - sha
> ii  libgcc1                 1:4.2.2-4        GCC support library
> ii  libglib2.0-0            2.16.3-2         The GLib library of C routines
> ii  libmagic1               4.21-4           File type determination library us
> ii  libsplashy1             0.3.7-1          Library to draw splash screen on b
> ii  lsb-base                3.1-24           Linux Standard Base 3.1 init scrip
> ii  zlib1g                  1:1.2.3.3.dfsg-8 compression library - runtime
>
> splashy recommends no packages.
>
> -- no debconf information
>
>
>
>



-- 
----)(-----
Luis Mondesi
Maestro Debiano

----- START ENCRYPTED BLOCK (Triple-ROT13) ------
Gur Hohagh [Yvahk] qvfgevohgvba oevatf gur fcvevg bs Hohagh gb gur
fbsgjner jbeyq.
----- END ENCRYPTED BLOCK (Triple-ROT13) ------





More information about the Splashy-devel mailing list