Panasonic acpi driver

Takahashi Yoshihiro nyan at jp.FreeBSD.org
Mon Jul 12 04:09:48 PDT 2004


In article <868ydq61q0.wl.t-ogawa at triaez.kaisei.org>
OGAWA Takaya <t-ogawa at triaez.kaisei.org> writes:

> > http://home.jp.freebsd.org/~nyan/patches/acpi_panasonic.diff.gz
> 
> Mostly good...
> > +#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.

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

---
TAKAHASHI Yoshihiro <nyan at jp.FreeBSD.org>


More information about the freebsd-acpi mailing list