Thread (4 messages) 4 messages, 3 authors, 2003-09-16

fbdev timings

flat view

From: Otto Solares <hidden>
Date: 2003-09-15 07:30:53

hi!

finally i am coding the video part of a "desktop engine",
but i want something that works profesionally, i'm using
fbdev and embedded mesa for it, i am trying to get the
video modes as automagically as posible, in that regard
my plan is to hack get-edid (cause we don't have a proper
mechanism from userspace, yea modedb is marked _init
and the new edid just works in radeons and only usable
too from kernelspace -end of critic :) into my software
and fallback to a text database like hwdata to obtain
monitor specs if edid doesn't work, but i have a problem,
how i am supposed to construct fbdev timings with just
this info:

- resolution (width x height, 800x600).
- hsync range (31-49 Khz)
- vsync range (48-80 hz)

i do know that is possible to contruct such timings
because the monitor specs in windows xp are stored
in /windows/inf/monitor.inf and contains only that
variables.  Please any detailed response in how can
they construct their timings with just this variables
and how can i use it with fbdevs from userspace in 2.6?

thanks in advance,

-solca

PS. i know 2 questions is a bad habit :) but here goes
the other: how can i access fbdev features like
acceleration from userspace? or i'm supposed to map
the MMIO registers and do my own voodoo?



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help