From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jon Smirl Subject: Re: [announce 7/7] fbsplash - documentation Date: Tue, 8 Mar 2005 01:12:40 -0500 Message-ID: <9e47339105030722127c697df@mail.gmail.com> References: <20050308021706.GH26249@spock.one.pl> <200503080418.08804.arnd@arndb.de> Reply-To: linux-fbdev-devel@lists.sourceforge.net Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1D8XxV-0006eu-Ef for linux-fbdev-devel@lists.sourceforge.net; Mon, 07 Mar 2005 22:12:45 -0800 Received: from rproxy.gmail.com ([64.233.170.195]) by sc8-sf-mx2.sourceforge.net with esmtp (Exim 4.41) id 1D8XxT-0008Q5-NT for linux-fbdev-devel@lists.sourceforge.net; Mon, 07 Mar 2005 22:12:45 -0800 Received: by rproxy.gmail.com with SMTP id z35so2252339rne for ; Mon, 07 Mar 2005 22:12:43 -0800 (PST) In-Reply-To: <200503080418.08804.arnd@arndb.de> Sender: linux-fbdev-devel-admin@lists.sourceforge.net Errors-To: linux-fbdev-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Content-Type: text/plain; charset="iso-8859-1" To: Arnd Bergmann Cc: Michal Januszewski , linux-kernel@vger.kernel.org, linux-fbdev-devel@lists.sourceforge.net On Tue, 8 Mar 2005 04:18:07 +0100, Arnd Bergmann wrote: > On Dinsdag 08 M=E4rz 2005 03:17, Michal Januszewski wrote: >=20 > > +It's possible to set path to the splash helper by writing it to > > +/proc/sys/kernel/fbsplash. >=20 > It should probably just use its own hotplug agent instead of calling > the helper directly. Framebuffer is already generating hotplug add/remove messages.=20 HOTPLUG_TIME=3D'Mon Feb 28 02:15:25 EST 2005' PHYSDEVPATH=3D/devices/pci0000:00/0000:00:01.0/0000:01:00.0 SUBSYSTEM=3Dgraphics HOTPLUG_ARGS=3D DEVPATH=3D/class/graphics/fb0 HOTPLUG_TYPE=3Dgraphics ACTION=3Dadd PHYSDEVDRIVER=3Dradeonfb DEBUG=3Dyes PHYSDEVBUS=3Dpci SEQNUM=3D537 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. --=20 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_id=6595&alloc_id=14396&op=click From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261752AbVCHGOn (ORCPT ); Tue, 8 Mar 2005 01:14:43 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261703AbVCHGNx (ORCPT ); Tue, 8 Mar 2005 01:13:53 -0500 Received: from rproxy.gmail.com ([64.233.170.201]:55493 "EHLO rproxy.gmail.com") by vger.kernel.org with ESMTP id S261598AbVCHGMn convert rfc822-to-8bit (ORCPT ); Tue, 8 Mar 2005 01:12:43 -0500 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=iQR8t5e/x5qb2oK+MBUp5pbBkTF7q7lwKTkLcu7g96FWz96UPd3On4Gf026jtJl7vlI3cZF9okZb6/kp9NEzsjpISAuaS2cULqS7WlxTMnwm5954ZQwI3ZlCqWIu9SShGKpyA0A6lenSzcVPg5dTN6ekX9DBs6h4DNrKxAK5mjA= Message-ID: <9e47339105030722127c697df@mail.gmail.com> Date: Tue, 8 Mar 2005 01:12:40 -0500 From: Jon Smirl Reply-To: Jon Smirl To: Arnd Bergmann Subject: Re: [announce 7/7] fbsplash - documentation Cc: Michal Januszewski , linux-kernel@vger.kernel.org, linux-fbdev-devel@lists.sourceforge.net In-Reply-To: <200503080418.08804.arnd@arndb.de> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT References: <20050308021706.GH26249@spock.one.pl> <200503080418.08804.arnd@arndb.de> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 8 Mar 2005 04:18:07 +0100, Arnd Bergmann 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