Subject: Re: Multiple Framebuffer support?
To: None <port-sparc@netbsd.org>
From: T. M. Pederson <salvage@plethora.net>
List: port-sparc
Date: 03/30/2001 04:54:41
On "Thu, 29 Mar 2001 22:04:16 -0600", "Scott Stevens" <stevenss@tcfreenet.org> wrote:
>Hello,
>
>I'm running NetBSD 1.5 on a SparcStation 10SX that has the daughter card
>(p/n 501-2020) on it for an additional framebuffer. It has two video
>connectors. It also has two 8MB VSIMMs so theoretically I can get two 24
>bit framebuffers running on it.
>
>Is there any way to compile the kernel so that both framebuffers are
>supported? I 'hacked' the config file and rebuilt to support multiple
>framebuffers, and the kernel found the extra cgfourteen but wasn't able to
>connect it to a /dev (do I create a second /dev/fb somehow?).
They're both cgfourteen? You should be able to access them with an
ordinary 1.5 kernel as /dev/cgfourteen0 and /dev/cgfourteen1 then.
/dev/fb is just a shortcut for accessing the default/console framebuffer
without always having to explicitly refer to it by name.
To get X running on both, just give your X server the args
-dev /dev/cgfourteen0:/dev/cgfourteen1
to override the default. See Xsun(1) for more detail.
If the framebuffers are fairly "different" from each other, you may run
into issues with default color class and bit depth. Speaking of which,
is there a way to specify a different color class for each framebuffer?
--
T. M. Pederson <salvage@plethora.net>
PGP key fingerprint = 48 94 7A 54 59 B6 C0 77 1F F6 94 55 0C 55 51 C4
"...and so the moral of the story is: Always make backups."
"But that was the moral last night, and the night before that too!"