From owner-freebsd-current@FreeBSD.ORG Wed Mar 14 23:22:25 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 41441106566B for ; Wed, 14 Mar 2012 23:22:25 +0000 (UTC) (envelope-from hannes@mehnert.org) Received: from mail.h3q.com (mail.h3q.com [213.73.89.199]) by mx1.freebsd.org (Postfix) with ESMTP id 7F4EF8FC19 for ; Wed, 14 Mar 2012 23:22:24 +0000 (UTC) Received: (qmail 68544 invoked from network); 14 Mar 2012 23:15:42 -0000 Received: from mail.h3q.com (HELO mail.h3q.com) (mail.h3q.com) by mail.h3q.com with CAMELLIA256-SHA encrypted SMTP; 14 Mar 2012 23:15:42 -0000 Message-ID: <4F6126A2.7050301@mehnert.org> Date: Wed, 14 Mar 2012 19:15:46 -0400 From: Hannes Mehnert User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:10.0) Gecko/20120210 Thunderbird/10.0 MIME-Version: 1.0 To: matt References: <4E836C06.9070405@gmail.com> <4E8374A7.90105@gmail.com> <4E9BDF13.4040006@gmail.com> <4F38211D.4070305@mehnert.org> <4F40A2D4.6000000@gmail.com> <4F57A8FC.8090106@gmail.com> <20120308092234.M18590@martymac.org> <4F5AC96A.3050600@gmail.com> <4F5FE9C1.7010901@gmail.com> <4F6020C0.60405@gmail.com> In-Reply-To: <4F6020C0.60405@gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Vrachnis Ilias-Dimitrios , freebsd-current@freebsd.org, Ganael LAPLANCHE Subject: Re: x220 notes X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Mar 2012 23:22:25 -0000 Ciao, On 03/14/2012 00:38, matt wrote: > I have brightness control through raw acpi..."\_BCL" and friends seem to > do nothing. > > Most of the video methods differentiate between \VIGD (which seems to be > a check for integrated graphics vs optimus, but that's still a guess) > If \VIGD is true, brightness commands are sent to the EC, where they > don't seem to do much yet. This is probably where we could enable > something via EC/ibm-acpi? > If \VIGD is false, brightness commands are handled in ACPI, although > coarsely, via \VBRC. > > \VBRC seems to allow control over the backlight, at least, so those of > you with sore eyes or the 3-cell battery may have some success using the > acpi_call port (Danger!) > kldload acpi_call > acpi_call -p '\VBRC' -i n (where n is 0-10) Great news! Works for me. n is actually 0-16 (plus any other value which turns the backlight off (-1 or 17 eg). Thanks, Hannes