Port-hpcsh archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: HP Jornada 690 bright/contrast problems

[redirecting this to tech-kern]

On Sat, Feb 19, 2005 at 09:14:28 +0100, Torsten Harenberg wrote:

> On Thu, 17 Feb 2005 Pablo.Docampo.Dieguez%sergas.es@localhost wrote:
[... default colors look too dim on Jornada display and there's no way to
  change them ...]
> > I suppose I can compile a new kernel with the right options for doing 
> > this, but I'd like a "less agressive" option :) I thought I could do 
> > this with wsconsctl but I couldn't.
> I did slight modifications to the kernel to get a visible output. As
> far as I know, there is no userland program to control this,
> allthough it should not be too hard to write one.

So I had a look, and the problem is that wscons ioctl's only let you
chnage the colormap for the indexed case (i.e. depth <= 8).

The semantic gap is that rasops internally maintains a mini 16 entry
colormap for its internal operation (even for larger depths).  For the
indexed case, it's just the indexes, so when you change the device
colormap (with wscons ioctls), display changes accordingly.  For
larger depth the colormap entries of internal rasops colormap are the
actual RGB values, but there's no interface to change the rasops

SY, Uwe
uwe%ptc.spbu.ru@localhost                         |       Zu Grunde kommen
http://www.ptc.spbu.ru/~uwe/            |       Ist zu Grunde gehen

Home | Main Index | Thread Index | Old Index