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

Darshaka Pathirana dpat at syn-net.org
Wed Oct 29 01:24:40 UTC 2008


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".

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





More information about the Splashy-devel mailing list