Re: opening the framebuffer device

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



subramanyam yenugonda wrote:

Hi All!

How to open the frame buffer device if user has
multiple monitors on single video card.

Thanks in advance.
~YSM
You open the _correct_ framebuffer device.
Linux support multiple framebuffer devices, e.g.
/dev/fb0  /dev/fb1 /dev/fb2 ...

The matrox G550 support this, set the correct kernel config options
and you get both /dev/fb0 and /dev/fb1 (for the second head.)

This is the way to go if you want _independent_ monitors.

Some other drivers create a large framebuffer that spans several
monitors - ideal for the common case of one big desktop spread
across several monitors.  In those cases, you open /dev/fb0,
and find the different monitor bitmaps at different offsets inside that file.

Helge Hafting
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux