From: Antonino Daplas <adaplas@pol.net>
To: Kendall Bennett <KendallB@scitechsoft.com>
Cc: Linux Fbdev development list
<linux-fbdev-devel@lists.sourceforge.net>,
DirectFB-devel <directfb-dev@directfb.org>
Subject: [ANNOUNCE]: VM86 Daemon
Date: 31 Mar 2003 17:53:29 +0800 [thread overview]
Message-ID: <1049104351.1037.53.camel@localhost.localdomain> (raw)
Hi,
A few weeks ago, a discussion on reviving the vesafbd project by Aki
Laukkanen, methods on initializing non-primary cards, and on how to
gather monitor information via DDC/EDID were ongoing at approximately
the same time. It seems a nice idea to get this information from the
Video BIOS, and so I started on writing vm86d.
The vm86d is a user daemon that accepts requests from the kernel,
processes those requests, and gives the result back to the kernel. The
communication is done via a miscellaneous character device /dev/vm86.
The requests can be anything, but currently supports only BIOS services,
predominantly VBE (int 0x10 function 0x4f). How the daemon processes
those requests is irrelevant, but is currently done via LRMI.
The vesafb functionality is extended by using various Core and DDC VBE
services. If the EDID data is available, a table of video modes are
constructed in struct fb_videomode format. If the monitor is GTF
capable, then modes can actually be computed via the GT formula. The
result is a vesafb driver that supports video mode changing, cmap
loading, and display panning. Of course, the latter two functionality
can be done via the protected mode interface, but not all BIOS'es have a
working PMI.
In theory, other fbdev drivers can also use some of the vm86
functionality, notably DDC, EDID parsing, and even video mode changing.
The code is very preliminary, very incomplete, and no attempts were made
to beautify or optimize the code. I have successfully tested vesafb
against DirectFB, mplayer -vo fbdev, and XFree86 fbdev, using various
modes and pixelformats. Changing console window size using stty also
works.
There are still a lot of problems to iron out. EDID parsing is probably
only 70-75% complete. The EDID data I get from my displays are very
incomplete. Hopefully, someone can send me their EDID data. You can
get the read-edid utility, and do a
'get_edid > edid.dmp',
and send the dump either directly to me or to this mailing list. I will
greatly appreciate it.
Other things to do: Support and initialization of more than 1 card, a
modular vesafb, more robust error checking, extending vm86d to execute
non-BIOS code, to name a few.
It is very unlikely that this will get into the main kernel tree, but if
you are willing to try this out, the package is at:
http://i810fb.sourceforge.net/vm86d-0.1.tar.gz
It will require linux-2.5.66. The main reason for using an unstable
kernel is because it requires some of the features of the new
framebuffer framework to avoid scheduling problems.
Please browse the README file for installation instructions.
Tony
-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb:
Dedicated Hosting for just $79/mo with 500 GB of bandwidth!
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
next reply other threads:[~2003-03-31 10:27 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-03-31 9:53 Antonino Daplas [this message]
2003-04-01 0:07 ` [ANNOUNCE]: VM86 Daemon Jon Smirl
2003-04-01 0:27 ` Kendall Bennett
2003-04-01 1:27 ` Antonino Daplas
2003-04-01 8:29 ` Benjamin Herrenschmidt
2003-04-01 9:41 ` Antonino Daplas
2003-04-01 11:34 ` Benjamin Herrenschmidt
2003-04-01 13:38 ` Antonino Daplas
2003-04-01 13:53 ` Benjamin Herrenschmidt
2003-04-01 15:32 ` Antonino Daplas
2003-04-01 15:22 ` Jon Smirl
2003-04-01 16:25 ` Antonino Daplas
2003-04-01 16:44 ` Benjamin Herrenschmidt
2003-04-01 18:30 ` Small API change Benjamin Herrenschmidt
2003-04-01 20:10 ` Geert Uytterhoeven
2003-04-01 22:03 ` Benjamin Herrenschmidt
2003-04-02 22:01 ` James Simmons
2003-04-02 22:11 ` Benjamin Herrenschmidt
2003-04-01 1:04 ` [ANNOUNCE]: VM86 Daemon Antonino Daplas
2003-04-01 4:01 ` Jon Smirl
2003-04-01 9:41 ` Antonino Daplas
[not found] ` <20030401120835.GA30421@skunk.convergence.de>
2003-04-01 13:38 ` [directfb-dev] " Antonino Daplas
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=1049104351.1037.53.camel@localhost.localdomain \
--to=adaplas@pol.net \
--cc=KendallB@scitechsoft.com \
--cc=directfb-dev@directfb.org \
--cc=linux-fbdev-devel@lists.sourceforge.net \
/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).