Panasonic acpi driver

OGAWA Takaya t-ogawa at triaez.kaisei.org
Mon Jul 12 08:02:02 PDT 2004


At Mon, 12 Jul 2004 20:08:15 +0900 (JST),
Takahashi Yoshihiro wrote:
> > > +#define	HKEY_LCD_BRIGHTNESS_SHIFT	(5 - HKEY_LCD_BRIGHTNESS_BITS)
> > >                                                ^ Did you mean '8' here?
> > On my CF-R1N it must be 8.  The object seems to have 8bit range
> > but I only used higher 4bits because I just don't want to hit the
> > key ~255 times to turn off the LCD light.
> 
> Yes.  But, my CF-R3 is enough bright even though it is 5.  So, I use
> only 5 bits to change more smoothly.

Could you clarify a little bit more?
Does it mean that actual valid range for brightness is 0 to 31
instead of 0 to 255?  In other words, does your LCD luminance
look same between 31 and 255?

In my case, LCD gets brighter linearly (roughly) from 0 to 255.

> I put the result of acpidump to
> http://home.jp.freebsd.org/~nyan/r3.dst.gz

They seemed to change the way of controlling LCD luminance a bit.

If your answer to my above question is "yes", perhaps we need a
sysctl to customize what is the suitable range for brightness
value.  So far CF-R1N (my laptop) and CF-R2A (one user reported to
me before) have the range of 0~255, and CF-R3 (yours) has 0~31.

----------
おがわ たかや
t-ogawa at triaez.kaisei.org


More information about the freebsd-acpi mailing list