Thread (8 messages) 8 messages, 3 authors, 2008-08-22

multiple outputs

From: Jon Dufresne <hidden>
Date: 2008-08-22 04:42:08

I have a graphics device (intel 945GM) that has multiple outputs (4 in
this case, although not all can be on at the same time). I want to use
the graphics device directly through the fb, and not through some
other layer such as X. When using the fb is it possible to tell the
graphics device to change outputs through ioctls, or ideally through
fbset?

For example I know with v4l you can enumerate ports, and then by using
an index switch through them. Does fb have an ioctl similar to this? I
couldn't find anything in the source. I'm envisioning something like

# fbset --enumerate-outputs
output 1: ANALOG
output 2: DVI
output 3: HDMI
output 4: LVDS

# fbset --get-output
output is "ANALOG"

# fbset --set-output 2
switching to "DVI" output

# fbset --get-output
output is "DVI"

# fbset --set-output 1
switching to "ANALOG" output

And then fbset could use the fb ioctls to tell the fb to switch ports,
which would tell my fb driver the same. Does this functionality exist,
in either the ioctls, or fbset?

Thanks,
Jon

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help