From owner-freebsd-acpi@FreeBSD.ORG Tue Feb 26 02:19:27 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 E7F81796; Tue, 26 Feb 2013 02:19:27 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-wi0-x229.google.com (mail-wi0-x229.google.com [IPv6:2a00:1450:400c:c05::229]) by mx1.freebsd.org (Postfix) with ESMTP id 1776D74B; Tue, 26 Feb 2013 02:19:26 +0000 (UTC) Received: by mail-wi0-f169.google.com with SMTP id l13so5470768wie.0 for ; Mon, 25 Feb 2013 18:19:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=5nKdek7JZHUSEM+8qH3tDJxs0ZQ0+uy4JlK23YS5plA=; b=H3t3e/7Mp0FzlA8LnWN7/I7JQUenm4gF9bJL3jSQsh3UFEFQwdYTQ9oHpHQT8JYM29 o1Hl6VnGKEXAw8iL0Ym6gE0FwFxhXYV9pA9i2G7/3kIrd9NxAN/38//DKTjgQ9IwGnQr Az3Zf/NlzUqOu8Y98OFIkp1UxJLKZU7SgkRlabiBn9wDWbRoKN93Bmnomn8ukH6Iy2sV 6UD677t9KkT4J3IwtyPvNhdyh7Cl7JHCtzQU2h1v3MeXZzNIgHHoi05nQ3MIoX473WyO 7QORHAySGUn586eMTDUpKPquuFqeNHPjwO0g90/9jpw1uHb8u2RLPDXWZavqVS+7eRvx dDyg== MIME-Version: 1.0 X-Received: by 10.194.5.137 with SMTP id s9mr21990527wjs.5.1361845166348; Mon, 25 Feb 2013 18:19:26 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.216.74.194 with HTTP; Mon, 25 Feb 2013 18:19:25 -0800 (PST) In-Reply-To: <512C159B.3020707@gmail.com> References: <512A6FFF.2060603@gmail.com> <201302251330.57034.jhb@freebsd.org> <512C159B.3020707@gmail.com> Date: Mon, 25 Feb 2013 18:19:25 -0800 X-Google-Sender-Auth: 5Qj_KNR34GIgUeGOPWZy8mcs9UQ Message-ID: Subject: Re: Fixing X220 Video The Right Way From: Adrian Chadd To: matt Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-acpi@freebsd.org, freebsd-current@freebsd.org 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: Tue, 26 Feb 2013 02:19:28 -0000 On 25 February 2013 17:53, matt wrote: > No, just one. I think that the DSDT is very creative on recent Lenovos > (read: broken). There are multiple video devices defined, with > "functional" calls that nonetheless don't work to actually do anything. > The acpi_get_handle() call in acpi_video returns a handle that has no > active outputs and doesn't have any control over the brightness. The > other path can control brightness. > My T400 has: vgapci0@pci0:0:2:0: class=0x030000 card=0x20e417aa chip=0x2a428086 rev=0x07 hdr=0x00 vendor = 'Intel Corporation' device = 'Mobile 4 Series Chipset Integrated Graphics Controller' class = display subclass = VGA vgapci1@pci0:0:2:1: class=0x038000 card=0x20e417aa chip=0x2a438086 rev=0x07 hdr=0x00 vendor = 'Intel Corporation' device = 'Mobile 4 Series Chipset Integrated Graphics Controller' class = display And I get glitches in xorg on 9.1 when I have multiple windows of different sizes. Adrian