Subject: Re: framebuffer gone missing?
To: None <mouse@Rodents.Montreal.QC.CA>
From: Izumi Tsutsui <email@example.com>
Date: 09/18/2007 20:20:34
> But when booting with serial console, I get
> display@it3b0 at ofbus2 not configured
> Looking at arch/shark/ofw/vga_ofbus.c, I see no obvious reason why it
> would refuse to attach in the serial-console case - it looks to me as
> though vga should attach if it's there even if it's not the console.
> Since that's not what happens, I'm obviously missing something. What?
In serial console case the VGA chip is not initilized into mode 3,
and AFAIK vga_common_probe() will match only if the VGA chip is in
mode 3 because there is no common way to reset individual VGA chips,
which might have a lot of quirks.
(see sys/dev/ic/vga_subr.c:vga_reset() and sys/arch/arc/arc/c_nec_eisa.c)
In shark case, we could modify the match function to check
only compat_strings and also change the attach function
to call OF_call_method("text-mode3") in !vga_is_console() case.
(though I have not tried it)