Subject: Re: SGI Indy full-screen console mode
To: None <port-sgimips@NetBSD.org>
From: Malte Dehling <mdehling@math.ruhr-uni-bochum.de>
List: port-sgimips
Date: 12/27/2004 15:15:08
On Mon, Dec 27, 2004 at 01:31:48PM +0100, Malte Dehling wrote:
> I think the following lines of src/sys/arch/sgimips/gio/newport.c are the
> problem:
> ---
> 691            /* Work around bug in some board revisions */
> 692            if (dc->dc_boardrev < 6)
> 693                    x_offset = 21;
> 694            else if (dc->dc_vc2rev == 0) 
> 695                    x_offset = 29;
> 696            else
> 697                    x_offset = 31;
> ---

I looked up the values in Linux kernel 2.4.28; they have:
--- /src/linux-2.4.28/drivers/video/newport_cons.c
static int xcurs_correction = 29; 

if (board_rev == 3)     /* I don't know all affected revisions */
	xcurs_correction = 21;
---

But as mentioned in the code, they dont know the values either.
Still, (board_rev == 3) is very different from (board_rev < 6).

Btw: I have another issue with my Indy console apart from the cursor position...
Sometimes NetBSD boots just fine in fullscreen console mode but sometimes it
boots in that small boot window (it doesnt have keyboard input then). This
happens atleast 50% of the time, so its quite annoying, as i have to reboot
via ssh every time this happens.

-- 
Malte Dehling

Mail:		mdehling [at] math.ruhr-uni-bochum.de
Website:	http://mdehling.ath.cx/mdehling/
PGP:		2586 A3BF B438 E68E 2B85  C4EA C5A7 AD96 C865 03D2