From owner-freebsd-current@FreeBSD.ORG Mon Jul 8 12:19:56 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 5A5F386D for ; Mon, 8 Jul 2013 12:19:56 +0000 (UTC) (envelope-from matthias@d2ux.net) Received: from mail.s1.d2ux.org (static.209.96.9.5.clients.your-server.de [5.9.96.209]) by mx1.freebsd.org (Postfix) with ESMTP id 196051D56 for ; Mon, 8 Jul 2013 12:19:55 +0000 (UTC) Received: from mail.s1.d2ux.org (mail [10.0.0.3]) by mail.s1.d2ux.org (Postfix) with ESMTP id 7D75684F25C3 for ; Mon, 8 Jul 2013 10:41:30 +0200 (CEST) Received: from mail.s1.d2ux.org ([10.0.0.3]) by mail.s1.d2ux.org (mail.s1.d2ux.org [10.0.0.3]) (amavisd-new, port 10024) with ESMTP id jzHsQSi3hiA7 for ; Mon, 8 Jul 2013 10:41:28 +0200 (CEST) Received: from www.s1.d2ux.org (unknown [10.0.0.4]) by mail.s1.d2ux.org (Postfix) with ESMTP id 6215584F2573 for ; Mon, 8 Jul 2013 10:41:28 +0200 (CEST) Received: from 188.92.33.52 ([188.92.33.52]) by d2ux.org (Horde Framework) with HTTP; Mon, 08 Jul 2013 10:41:28 +0200 Date: Mon, 08 Jul 2013 10:41:28 +0200 Message-ID: <20130708104128.Horde.4uMDgEJsnvTlAjpUPueiyQ1@d2ux.org> From: Matthias Petermann To: freebsd-current@freebsd.org Subject: Re: Fixing X220 Video The Right Way (and trying to apply the same fix to X121e) References: <512A6FFF.2060603@gmail.com> <201302281209.45170.jhb@freebsd.org> <51394952.9030700@gmail.com> <201306141139.16728.jhb@freebsd.org> In-Reply-To: <201306141139.16728.jhb@freebsd.org> User-Agent: Internet Messaging Program (IMP) H5 (6.1.0) Content-Type: text/plain; charset=utf-8; format=flowed; DelSp=Yes MIME-Version: 1.0 Content-Disposition: inline X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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: Mon, 08 Jul 2013 12:19:56 -0000 Hello, I applied the patch, trying to get brightness controls for my X121e. But it looks like I need a different loader.conf setting. hw.pci0.0.2.0.handle="\\\\_SB_.PCI0.PEG.VID" doesn't work. In my ASl there is only one device providing DOD / DOS: Scope (_SB.PCI0) { Device (GFX0) { Name (_ADR, 0x00020000) // _ADR: Address Method (_DOS, 1, NotSerialized) // _DOS: Disable Output Switching { Store (And (Arg0, 0x07), DSEN) If (LEqual (And (Arg0, 0x03), Zero)) { If (CondRefOf (HDOS)) { HDOS () } } } Method (_DOD, 0, NotSerialized) // _DOD: Display Output Devices { If (CondRefOf (IDAB)) { IDAB () } Else { [truncated] Unfortunately I'm far away from understanding the ASL, so I can only guess this is the part where my graphics device is described. Also, because I don't have a PEG device with DOD / DOS, I fear the described patch for the X220 will not solve the problem for me? My ASL is located here: https://d2ux.org/owncloud/public.php?service=files&t=7022f90cea5e48da7fa65806c0d66091 I would really appreciate if someone with more ACPI background could take a look at it and tell me what I should try next. Thanks & kind regards, Matthias