From owner-freebsd-acpi@FreeBSD.ORG Fri Apr 26 14:50:26 2013 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 872C1233 for ; Fri, 26 Apr 2013 14:50:26 +0000 (UTC) (envelope-from sendtomatt@gmail.com) Received: from mail-pb0-x22a.google.com (mail-pb0-x22a.google.com [IPv6:2607:f8b0:400e:c01::22a]) by mx1.freebsd.org (Postfix) with ESMTP id 630311D96 for ; Fri, 26 Apr 2013 14:50:26 +0000 (UTC) Received: by mail-pb0-f42.google.com with SMTP id up7so1175062pbc.29 for ; Fri, 26 Apr 2013 07:50:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=232FYTXzlgttj/tDj3YAuIzqsNIX6qiqN5S0XFkEaFY=; b=bsJQu2X7hOXPWt0RQz34edY8Pk3ixZKejygWvIP9bxPgqRKHAB5N1zUwrZBNd6ikTz 1FEH5JowY1fOeAC6vEME8x8eCyw9p1ARlErXCRijwhhsxhXC2eML3uxEyMINh6gCteNI at2cHs+lERKKMHgc59nIpm4qyJdXdI3FbIzJF0uz9jmrioDUVKesuQz9FSBSj1/KAKcI UTpfNsAyUFF7nv6EEiuwiR3CRZJ6malQloRpHcyLI+oQiSx8Vjdlzxu64gSDjhUack9b 4lQLamv5nFOTR11jBGSJei6SA3gVPsFXPQY96RyeW1eDTXW0WkvD8xSY3sp8Gz3b98O6 eRCQ== X-Received: by 10.66.163.229 with SMTP id yl5mr31217866pab.104.1366987826172; Fri, 26 Apr 2013 07:50:26 -0700 (PDT) Received: from flatline.local (70-36-223-239.dsl.dynamic.sonic.net. [70.36.223.239]) by mx.google.com with ESMTPSA id dr4sm11990796pbb.19.2013.04.26.07.50.23 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 26 Apr 2013 07:50:25 -0700 (PDT) Message-ID: <517A9421.6010208@gmail.com> Date: Fri, 26 Apr 2013 07:50:09 -0700 From: matt User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130405 Thunderbird/17.0.5 MIME-Version: 1.0 To: Matthew Gibson , freebsd-acpi Subject: Re: Thinkpad x230 acpi_ibm References: <5178B3B3.4060409@gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Apr 2013 14:50:26 -0000 On 04/25/13 10:46, Matthew Gibson wrote: > I updated to 9-stable and now the acpi_ibm sysctl tree is created. > Only a few of them seem to work. > There are some that could work but have different handles in the Lenovo ACPI vs IBM. For instance, there are per-interface RFKILLs in the X220 ACPI that aren't really exposed in our acpi ibm, among others (kills for GPS, WWAN, and I think WiMAX). I was hacking on this and the brightness, had to put it down for a moment. I might get a chance to look at some of this stuff later today. The brightness control will not work, as far as I know on Linux their thinkpad acpi driver skips its own brightness controls on these models in favor of ACPI control. So far I was able to make a patch for acpi_video that does work (the wrong way, by using \_SB.PCI0.VID for attach, but making the brightness calls to \_SB.PCI0.PEG.VID) and was testing a patch from John Baldwin to see if I could get acpi_video to attach directly to the PEG device. Matt