From owner-freebsd-acpi@FreeBSD.ORG Mon Jul 12 15:02:02 2004 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3CCFB16A4CE for ; Mon, 12 Jul 2004 15:02:02 +0000 (GMT) Received: from mpb3.plala.or.jp (c154240.vh.plala.or.jp [210.150.154.240]) by mx1.FreeBSD.org (Postfix) with ESMTP id 21C2C43D1D for ; Mon, 12 Jul 2004 15:02:01 +0000 (GMT) (envelope-from t-ogawa@triaez.kaisei.org) Received: from solder.dyndns.org ([220.221.88.1]) by mpb3.plala.or.jp with SMTP id <20040712150200.ZOLS23232.mpb3.plala.or.jp@solder.dyndns.org> for ; Tue, 13 Jul 2004 00:02:00 +0900 Received: (qmail 79078 invoked from network); 12 Jul 2004 14:55:19 -0000 Received: from localhost (HELO gandalf.middle.earth) (127.0.0.1) by localhost with SMTP; 12 Jul 2004 14:55:19 -0000 Date: Mon, 12 Jul 2004 23:55:19 +0900 Message-ID: <86llhpz354.wl.t-ogawa@triaez.kaisei.org> From: OGAWA Takaya To: Takahashi Yoshihiro In-Reply-To: <20040712.200815.74734634.nyan@jp.FreeBSD.org> References: <20040711.182654.59665900.nyan@jp.FreeBSD.org> <868ydq61q0.wl.t-ogawa@triaez.kaisei.org> <20040712.200815.74734634.nyan@jp.FreeBSD.org> User-Agent: Wanderlust/2.10.1 (Watching The Wheels) Emacs/21.3 Mule/5.0 (SAKAKI) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=ISO-2022-JP cc: acpi@FreeBSD.org cc: njl@FreeBSD.org Subject: Re: Panasonic acpi driver X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Jul 2004 15:02:02 -0000 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@triaez.kaisei.org