From owner-freebsd-acpi@FreeBSD.ORG Tue Feb 26 04:21:41 2013 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id A02D234A; Tue, 26 Feb 2013 04:21:41 +0000 (UTC) (envelope-from sendtomatt@gmail.com) Received: from mail-pa0-f46.google.com (mail-pa0-f46.google.com [209.85.220.46]) by mx1.freebsd.org (Postfix) with ESMTP id 61D49B22; Tue, 26 Feb 2013 04:21:41 +0000 (UTC) Received: by mail-pa0-f46.google.com with SMTP id kp14so2169636pab.33 for ; Mon, 25 Feb 2013 20:21:35 -0800 (PST) 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:cc :subject:references:in-reply-to:content-type; bh=mSTINisJwrFDhUim3BTKR5s2ah2QCDmqqmyMQ7K02Us=; b=KO3hIdLdYxVOUY58JMls1K5gyDMEux5isKBlDzWsq2ICkBhpRSwdjXoofLXVvvMfLa mYSe/NLMLX/7CkNhX/i+ZgnMvMzSXcqJ8ecSc9xyb306ZiJ/ZlGaIorV/KS9Q4k/frRt 6Xs2rW3djObf9WyhNjol/j9blewLIbGxFZ2x81Jaxv33kkoMmAC9btLfYMvSEiKoFNIQ lw22squWn092hiUaeO2Iy8icZ2s6K4PbNOmPBPu88cUJBLALUAIB1qzh6Dt6ibnWrexR ys60MF5BEhCEOW3kZbpJBUky8pVVfU4eiEHQEHIf5I6Oq+RU/Cq4u4RQ5PU8OtuuVYAi 1Jyw== X-Received: by 10.68.75.109 with SMTP id b13mr21804107pbw.25.1361852495787; Mon, 25 Feb 2013 20:21:35 -0800 (PST) Received: from flatline.local (70-36-223-239.dsl.dynamic.sonic.net. [70.36.223.239]) by mx.google.com with ESMTPS id qf7sm14978316pbb.2.2013.02.25.20.21.32 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 25 Feb 2013 20:21:34 -0800 (PST) Message-ID: <512C380D.5030506@gmail.com> Date: Mon, 25 Feb 2013 20:20:29 -0800 From: matt User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130224 Thunderbird/17.0.3 MIME-Version: 1.0 To: Adrian Chadd Subject: Re: Fixing X220 Video The Right Way References: <512A6FFF.2060603@gmail.com> <201302251330.57034.jhb@freebsd.org> <512C159B.3020707@gmail.com> <512C1C8A.5020104@gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.14 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 04:21:41 -0000 On 02/25/13 18:33, Adrian Chadd wrote: > [101232] acpi_video0: on vgapci0 > found Internal/Integrated Digital Flat Panel(400), idx#0, port#0, head #0 > > And what do I do with acpi_get_handle ? > > > > I threw printfs into acpi_video, not sure if that would work for both vgapci or not. I'm not sure if I wiped out my debug patches yet, I may have a patch. Basically the idea is to figure out which paths in the DSDT are getting attached to the vgapci devices. This dsdt patch from Mitsuru Iwasaki illustrates fixing a similar issue to X220 via a custom dsdt http://people.freebsd.org/~iwasaki/acpi/tpx61.asl.diff It seems like we could either try to find these paths on affected models, or have a tunable override for acpi_video. Matt