Re: LCG fb port

Miod Vallat <[email protected]> Thu, 17 Aug 2006 20:34:18 +0000
Newsgroups gmane.os.openbsd.vax
Message-ID <[email protected]>
> > Is there anyone with a LCG graphics-equipped VAX on this list? I have  
> > a working framebuffer driver for -current. It's a port of Blaz  
> > Antonic's NetBSD work. There are some quirks to be worked out, like  
> > it works correctly only after a warm reboot (no clue why), no fonts  
> > until then.
> 
> It's been time, but I am finally seriously working on vax glass console
> again, and I am adapting Blaz's work (as well as completing my own gpx
> work). Then I'll update the keyboard/mouse code. This should be
> completed over the next couple of weeks.

Here we go. The latest vax snapshot (binaries from august 16th and 17th)
supports the following frame buffers:

- gpx
  This is the 4 and 8 plane low-end colour option for VAXstation 3100
  models 30, 38, 40 and 48.

- lcg
  This is the on-board frame buffer on the VAXstation 4000/VLC, as well
  as the commonly encountered frame buffer on the VAXstation 4000/60.
  Not all models are recognized, and the second head on the dual head
  models is not supported.

- lcspx
  This is the frame buffer commonly encountered on the VAXstation
  4000/90, 4000/90A and 4000/96.

- smg
  This is the on-board monochrome frame buffer found on all VAXstation
  3100 models.

The following frame buffers are not supported yet:

- spx
  This is the high-end colour option for VAXstation 3100 models 30, 38,
  40 and 48, as well as the only colour frame buffer available for
  VAXstation 3100 model 76.

- spxg/spxgt
  These are high-end frame buffer options for VAXstation 4000 (except
  for the VAXstation 4000/VLC).

So far, accelerated features of the lcg and lcspx frame buffers are not
used, and they are used as dumb frame buffers (slow when scrolling
vertically).

Keyboard and mouse on machines with appropriate connectors are
supported. Glass console is possible by flipping the so-called `S3'
switch down; however if, for some reason, the frame buffer on your
machine is not supported, OpenBSD will fallback to serial console on
line #3 (as if the S3 switch was in the `up' position).

An X server is available, and will only work correctly on lcg and lcspx
frame buffers so far (it would theoretically work on smg as well, but
there are unfixed endianness problems at the moment). Just be patient
while the X server initializes!

Please test this snapshot and report any problem. The lcspx code is
completely untested (well, it has been tested, but without plugging a
monitor, so all is known is that it does not prevent serial operation
from working). In addition, unrecognized lcg cards will not attach but
report their id in dmesg, with the id and PROM config information it
should be able to add support on a model by model basis.

The lcg and lcspx work owes a lot to Blaz Antonic's investigations and
detective work on these devices.

Happy VAXing,
Miod