Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Feb 2012 15:29:17 -0500
From:      Hannes Mehnert <hannes@mehnert.org>
To:        freebsd-current@freebsd.org
Subject:   Re: x220 notes
Message-ID:  <4F38211D.4070305@mehnert.org>
In-Reply-To: <4E9BDF13.4040006@gmail.com>
References:  <4E836C06.9070405@gmail.com> <CAGH67wS1YR6V-DPAGtYN4RfrHSbgCrN=Ey2ngTVe6yBiBO1SZw@mail.gmail.com> <4E8374A7.90105@gmail.com> <CAGH67wT8ReUnDGXdxxOwd7x7CmRP7sDAzyFbSKrwT79tM=nZ5A@mail.gmail.com> <CAN6yY1vqNJhtxE2SVqawWxW6Jo-6M7SHwiL-Xo%2BhH-8_d8BHnQ@mail.gmail.com> <4E9BDF13.4040006@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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<yanegomi@gmail.com> 
>> wrote:
>>> On Wed, Sep 28, 2011 at 12:25 PM, Matt<sendtomatt@gmail.com>  wrote:
>>>> On 09/28/11 11:52, Garrett Cooper wrote:
>>>>> On Wed, Sep 28, 2011 at 11:48 AM, Matt<sendtomatt@gmail.com>    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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F38211D.4070305>