Subject: RE: HP Jornada 690 bright/contrast problems
To: None <tech-kern@netbsd.org>
From: None <Pablo.Docampo.Dieguez@sergas.es>
List: port-hpcsh
Date: 02/21/2005 09:58:15
So I will have to modify kernel sources if I want to see something in the=
 console, right?

I'll search in the list, I think I read the name of the file to modify so=
mewhere.

Thanks for all!

<PoLiTvS>

-----Mensaje original-----
De: port-hpcsh-owner@NetBSD.org [mailto:port-hpcsh-owner@NetBSD.org]En
nombre de Valeriy E. Ushakov
Enviado el: s=E1bado, 19 de febrero de 2005 18:08
Para: tech-kern@netbsd.org
CC: port-hpcsh@netbsd.org
Asunto: 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 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=
=20
> > this, but I'd like a "less agressive" option :) I thought I could do=20=

> > this with wsconsctl but I couldn't.
>=20
> 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 <=3D 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
colormap.

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



Nota: La informaci=F3n contenida en este mensaje y sus posibles documento=
s adjuntos es privada y confidencial y est=E1 dirigida =FAnicamente a su =
destinatario. Si usted no es el destinatario original de este mensaje, po=
r favor elim=EDnelo. La distribuci=F3n o copia de este mensaje no est=E1 =
autorizada.=20

Note: The information in this message and any attachments that may be inc=
luded with it, is private and confidential and is directed exclusively to=
 the message's recipient. If you are not the original recipient of this m=
essage, please erase it. Distribution or copying of this message isn=B4t =
authorized