Subject: Re: Accelerated LCSPX driver
To: None <>
From: Michael L. Hitch <>
List: port-vax
Date: 08/20/2004 21:03:14
  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.
  Send mail to for more info.

Content-Type: TEXT/PLAIN; charset=US-ASCII

On Fri, 20 Aug 2004, Blaz Antonic wrote:

> > Unfortunately I just got a blank screen almost as if it didn't think the
> > lcspx was the main console. Also the keyboard was beeping and bleeping
> > like mad so I guess that's where the console output went :(
> Yep, this has been discussed before (about 3 months ago) here, it's
> console output being sent into keyboard. IIRC it had something to do
> with keyboard port being set incorrectly or something like that - either
> way, it was not a bug in framebuffer driver.

  Ah, but it is a bug in the framebuffer driver.

> Michael, do you have this fixed already on your side ? You're testing
> stuff with glass console rather than serial so i suppose you must have
> resolved this problem. Can you please post a patch so it gets submitted
> in the main tree ?

  The problem with the the graphics console not initializing was fixed
long ago

  The current problem is because the console detection logic in lcspx.c
was changed to check for the diagnostic (serial) console bit that the
4000/60 and 4000/VLC uses, and does not recognize the graphics console
configuration on the 4000/90.  The console device gets initialized to the
serial port connected to the keyboard, and expects the graphics driver to
change it to the wsdisplay device.  Since the lcspx driver did not do
this, all console output goes directly to the keyboard.

  Another bug in the LCSPX driver is that it won't set any color registers
in the RAMDAC.

  The attached patch will fixe these two problems.

  One major problem remains:  attempting to use the graphics console on
the 4000/90 will not work.  It fails to configure the dz device (and thus
the keyboard).  I had noticed this before when I fixed keyboard being used
as the console output, but was never able to track down the problem.  The
LCSPX driver does work when using a serial console though, which is how
I've been able to test it for Blaz.

Michael L. Hitch
Computer Consultant
Information Technology Center
Montana State University	Bozeman, MT	USA

Content-Type: TEXT/PLAIN; charset=US-ASCII; name="lcspx.c.diffs"
Content-Transfer-Encoding: BASE64
Content-ID: <>
Content-Disposition: attachment; filename="lcspx.c.diffs"