linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Jon Smirl" <jonsmirl@gmail.com>
To: "Antonino A. Daplas" <adaplas@gmail.com>
Cc: Linux Fbdev development list
	<linux-fbdev-devel@lists.sourceforge.net>,
	Linux Kernel Development <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH 3/9] VT binding: Make VT binding a Kconfig option
Date: Tue, 20 Jun 2006 10:49:17 -0400	[thread overview]
Message-ID: <9e4733910606200749uea65b6cs65d0975cde21ba73@mail.gmail.com> (raw)
In-Reply-To: <449806B6.7060309@gmail.com>

On 6/20/06, Antonino A. Daplas <adaplas@gmail.com> wrote:
> Jon Smirl wrote:
> > On 6/20/06, Antonino A. Daplas <adaplas@gmail.com> wrote:
> >> No it can't.  Once the card is in graphics mode, vgacon cannot go to
> >> text mode on its own.  It has to know how to write to other VGA
> >> registers which are unique per hardware.
> >
> > Might be a good place for a little call_usermodehelper example. VGAcon
> > could try calling vbetool to save it's state and restore it. GregKH
> > told me that the class firmware loader code was the place to start.
> >
>
> Yes, that's part of the plan. I'm still looking for the best inteface
> to do that. It must be a 2-way inteface, ie, kernel->user and user->kernel.
> Does the firmware loader code satisfy the above condition?

Currently the firmware loader  uses call_userhelper on a fixed helper
app. The code would need to be generalized so that you can call an
arbitrary app with your own parameters. Two communication while
running can be achieved via sysfs. Request firmware currently does two
way communication.

This thread should help.
http://marc.theaimsgroup.com/?l=linux-hotplug-devel&m=111129164916712&w=2

My thoughts are that it would be better to generalize the firmware
loader code that to build another version of it in the graphics code.

There are several later threads on the subject. Add me to the cc if
you start discussing this on hotplug-devel.

If I remember the discussions right request firmware is kind of broken
right now since it loads all of the firmware through a single place in
sysfs. Instead it should load the firmware by creating attributes on
the specific devices instead of having one attribute for everything.
Fixing it to allow parameters on the user space call is needed to tell
the user space script where to look for the device.

Request firmware is a very small amount of code and easy to modify.

-- 
Jon Smirl
jonsmirl@gmail.com

      reply	other threads:[~2006-06-20 14:49 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-18 15:24 [PATCH 3/9] VT binding: Make VT binding a Kconfig option Antonino A. Daplas
2006-06-20  0:18 ` Jon Smirl
2006-06-20  1:09   ` Antonino A. Daplas
2006-06-20  2:16     ` Jon Smirl
2006-06-20  8:32       ` Antonino A. Daplas
2006-06-20 14:04         ` Jon Smirl
2006-06-20 14:31           ` Antonino A. Daplas
2006-06-20 14:49             ` Jon Smirl [this message]

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=9e4733910606200749uea65b6cs65d0975cde21ba73@mail.gmail.com \
    --to=jonsmirl@gmail.com \
    --cc=adaplas@gmail.com \
    --cc=linux-fbdev-devel@lists.sourceforge.net \
    --cc=linux-kernel@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).