From owner-freebsd-current@FreeBSD.ORG Sun Feb 12 20:56:01 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B9244106574D for ; Sun, 12 Feb 2012 20:56:01 +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 A75038FC0A for ; Sun, 12 Feb 2012 20:56:00 +0000 (UTC) Received: (qmail 93481 invoked from network); 12 Feb 2012 20:29:19 -0000 Received: from mail.h3q.com (HELO mail.h3q.com) (mail.h3q.com) by mail.h3q.com with CAMELLIA256-SHA encrypted SMTP; 12 Feb 2012 20:29:19 -0000 Message-ID: <4F38211D.4070305@mehnert.org> Date: Sun, 12 Feb 2012 15:29:17 -0500 From: Hannes Mehnert User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:10.0) Gecko/20120210 Thunderbird/10.0 MIME-Version: 1.0 To: freebsd-current@freebsd.org References: <4E836C06.9070405@gmail.com> <4E8374A7.90105@gmail.com> <4E9BDF13.4040006@gmail.com> In-Reply-To: <4E9BDF13.4040006@gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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: Sun, 12 Feb 2012 20:56:01 -0000 Hi, I recently got a X220 and installed -CURRENT (with kib's 13.1 patch) on it - let me add some notes on this thread. On 10/17/2011 03:53, Matt wrote: > On 09/28/11 16:01, Kevin Oberman wrote: >> On Wed, Sep 28, 2011 at 12:32 PM, Garrett Cooper >> wrote: >>> On Wed, Sep 28, 2011 at 12:25 PM, Matt wrote: >>>> On 09/28/11 11:52, Garrett Cooper wrote: >>>>> On Wed, Sep 28, 2011 at 11:48 AM, Matt wrote: >>>>>> acpi_ibm needs "LEN0068" added to the list of ibm ids at the >>>>>> beginning of >>>>>> /usr/src/sys/dev/acpi_support/acpi_ibm.c...I'd write a patch but that >>>>>> machine is in a world of ports hurt right now :). >>>>>> With this many of the sysctls and leds work, still no brightness >>>>>> (w or >>>>>> wout >>>>>> intel DRI from Konstantin...thanks Konstantin!!) (there's a pr about that kern/164538) > I'm not sure if I mentioned this in another post, but I can confirm that > adjusting brightness in ibm_acpi for me results in corrupting the fan > speed, which makes me think that addresses have changed, widths/extents > have changed, or something else is different. For what it's worth, > thinkpad-acpi in Linux does this just fine, although I haven't > determined if it's through the EC or ACPI...I am thinking EC however. > > I have a feeling the answer to brightness (aside from KMS patch for X, > which is seperate) might be comparing changelogs for thinkpad ec > handlers on a platform that works like Linux...the code looks mostly > similar...can anyone confirm if Open/NetBSD have issues with the > backlight on these SandyBridge thinkpads? The brightness work fine on Linux, but not on OpenBSD(-CURRENT). But on OpenBSD xbacklight (which uses randr) works to set the brightness once in X. This unfortunately does not work on FreeBSD (receiving "No outputs have backlight property" when running xbacklight). Cheers, Hannes