[PATCH] frame-buffer: use /dev/fb0 as default device
Ray Strode
halfline at gmail.com
Fri Mar 16 23:39:56 PDT 2012
Thanks!
On Fri, Mar 16, 2012 at 5:45 PM, Daniel Drake <dsd at laptop.org> wrote:
> The /dev/fb symlink doesn't get created with any recent udev version.
> dracut puts it in place "by hand" before starting plymouthd, which is
> why things aren't broken in configurations that use dracut's plymouth
> module.
>
> Update the default device path so that it works out-of-the-box in
> other setups too.
> ---
> src/plugins/renderers/frame-buffer/plugin.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/src/plugins/renderers/frame-buffer/plugin.c b/src/plugins/renderers/frame-buffer/plugin.c
> index d94317b..864a8c3 100644
> --- a/src/plugins/renderers/frame-buffer/plugin.c
> +++ b/src/plugins/renderers/frame-buffer/plugin.c
> @@ -56,7 +56,7 @@
> #include "ply-renderer-plugin.h"
>
> #ifndef PLY_FRAME_BUFFER_DEFAULT_FB_DEVICE_NAME
> -#define PLY_FRAME_BUFFER_DEFAULT_FB_DEVICE_NAME "/dev/fb"
> +#define PLY_FRAME_BUFFER_DEFAULT_FB_DEVICE_NAME "/dev/fb0"
> #endif
>
> struct _ply_renderer_head
> --
> 1.7.7.6
>
> _______________________________________________
> plymouth mailing list
> plymouth at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/plymouth
More information about the plymouth
mailing list