All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jon Smirl <jonsmirl@gmail.com>
To: Arnd Bergmann <arnd@arndb.de>
Cc: Michal Januszewski <spock@gentoo.org>,
	linux-kernel@vger.kernel.org,
	linux-fbdev-devel@lists.sourceforge.net
Subject: Re: [announce 7/7] fbsplash - documentation
Date: Tue, 8 Mar 2005 01:12:40 -0500	[thread overview]
Message-ID: <9e47339105030722127c697df@mail.gmail.com> (raw)
In-Reply-To: <200503080418.08804.arnd@arndb.de>

On Tue, 8 Mar 2005 04:18:07 +0100, Arnd Bergmann <arnd@arndb.de> wrote:
> On Dinsdag 08 März 2005 03:17, Michal Januszewski wrote:
> 
> > +It's possible to set path to the splash helper by writing it to
> > +/proc/sys/kernel/fbsplash.
> 
> It should probably just use its own hotplug agent instead of calling
> the helper directly.

Framebuffer is already generating hotplug add/remove messages. 

HOTPLUG_TIME='Mon Feb 28 02:15:25 EST 2005'
PHYSDEVPATH=/devices/pci0000:00/0000:00:01.0/0000:01:00.0
SUBSYSTEM=graphics
HOTPLUG_ARGS=
DEVPATH=/class/graphics/fb0
HOTPLUG_TYPE=graphics
ACTION=add
PHYSDEVDRIVER=radeonfb
DEBUG=yes
PHYSDEVBUS=pci
SEQNUM=537

This event can be caught in early userspace. The helper app will need
to live on initramfs/initrd and be small. Statically link it to klibc.

You can use the modular fb patch that has been recently posted (just
about to go in -mm) to make hotplug fbdev debugging much simpler.

Alternatively you might want to look at how request_firmware works.
You could easily load the picture as if it were firmware. I'm looking
at modifying request_firmware to be more general right now.

A direct call to call_usermodehelper() requires you to build a path
and app name into the driver.

-- 
Jon Smirl
jonsmirl@gmail.com


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id\x14396&op=click

WARNING: multiple messages have this Message-ID (diff)
From: Jon Smirl <jonsmirl@gmail.com>
To: Arnd Bergmann <arnd@arndb.de>
Cc: Michal Januszewski <spock@gentoo.org>,
	linux-kernel@vger.kernel.org,
	linux-fbdev-devel@lists.sourceforge.net
Subject: Re: [announce 7/7] fbsplash - documentation
Date: Tue, 8 Mar 2005 01:12:40 -0500	[thread overview]
Message-ID: <9e47339105030722127c697df@mail.gmail.com> (raw)
In-Reply-To: <200503080418.08804.arnd@arndb.de>

On Tue, 8 Mar 2005 04:18:07 +0100, Arnd Bergmann <arnd@arndb.de> wrote:
> On Dinsdag 08 März 2005 03:17, Michal Januszewski wrote:
> 
> > +It's possible to set path to the splash helper by writing it to
> > +/proc/sys/kernel/fbsplash.
> 
> It should probably just use its own hotplug agent instead of calling
> the helper directly.

Framebuffer is already generating hotplug add/remove messages. 

HOTPLUG_TIME='Mon Feb 28 02:15:25 EST 2005'
PHYSDEVPATH=/devices/pci0000:00/0000:00:01.0/0000:01:00.0
SUBSYSTEM=graphics
HOTPLUG_ARGS=
DEVPATH=/class/graphics/fb0
HOTPLUG_TYPE=graphics
ACTION=add
PHYSDEVDRIVER=radeonfb
DEBUG=yes
PHYSDEVBUS=pci
SEQNUM=537

This event can be caught in early userspace. The helper app will need
to live on initramfs/initrd and be small. Statically link it to klibc.

You can use the modular fb patch that has been recently posted (just
about to go in -mm) to make hotplug fbdev debugging much simpler.

Alternatively you might want to look at how request_firmware works.
You could easily load the picture as if it were firmware. I'm looking
at modifying request_firmware to be more general right now.

A direct call to call_usermodehelper() requires you to build a path
and app name into the driver.

-- 
Jon Smirl
jonsmirl@gmail.com

  parent reply	other threads:[~2005-03-08  6:12 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-08  2:17 [announce 7/7] fbsplash - documentation Michal Januszewski
2005-03-08  2:17 ` Michal Januszewski
2005-03-08  3:18 ` Arnd Bergmann
2005-03-08  5:00   ` Matan Peled
2005-03-08 17:39     ` Jesse Barnes
2005-03-08  6:12   ` Jon Smirl [this message]
2005-03-08  6:12     ` Jon Smirl
2005-03-08 22:37   ` Michal Januszewski
2005-03-09  0:17     ` Arnd Bergmann
2005-03-09  0:17       ` Arnd Bergmann
2005-03-09  2:05       ` Michal Januszewski
2005-03-09 15:40         ` Arnd Bergmann
2005-03-09 15:40           ` Arnd Bergmann
2005-03-10  0:16           ` Michal Januszewski
2005-03-11 12:27       ` Benjamin Herrenschmidt
2005-03-11 12:27         ` Benjamin Herrenschmidt
2005-03-09 16:54     ` Jon Smirl
2005-03-09 16:54       ` [Linux-fbdev-devel] " Jon Smirl
2005-03-09 17:29       ` Arnd Bergmann
2005-03-09 19:11 ` Pavel Machek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9e47339105030722127c697df@mail.gmail.com \
    --to=jonsmirl@gmail.com \
    --cc=arnd@arndb.de \
    --cc=linux-fbdev-devel@lists.sourceforge.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=spock@gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.