From owner-freebsd-current@FreeBSD.ORG Mon Jul 8 11:55:34 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 5C76B31F for ; Mon, 8 Jul 2013 11:55:34 +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 2017919DE for ; Mon, 8 Jul 2013 11:55:33 +0000 (UTC) Received: from mail.s1.d2ux.org (mail [10.0.0.3]) by mail.s1.d2ux.org (Postfix) with ESMTP id 1FFF584F25E1; Mon, 8 Jul 2013 13:55:33 +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 sVX9pABst3iC; Mon, 8 Jul 2013 13:55:31 +0200 (CEST) Received: from www.s1.d2ux.org (unknown [10.0.0.4]) by mail.s1.d2ux.org (Postfix) with ESMTP id 019E484F2574; Mon, 8 Jul 2013 13:55:31 +0200 (CEST) Received: from 188.92.33.52 ([188.92.33.52]) by d2ux.org (Horde Framework) with HTTP; Mon, 08 Jul 2013 13:55:30 +0200 Date: Mon, 08 Jul 2013 13:55:30 +0200 Message-ID: <20130708135530.Horde.FnPwsSps0y86gQYFaIK_tw2@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) 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 Cc: matthias@d2ux.org 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 11:55:34 -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