From owner-freebsd-acpi@FreeBSD.ORG Mon Feb 25 01:04:57 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 538CBDED for ; Mon, 25 Feb 2013 01:04:57 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: from mail-wg0-f52.google.com (mail-wg0-f52.google.com [74.125.82.52]) by mx1.freebsd.org (Postfix) with ESMTP id DDFCE198 for ; Mon, 25 Feb 2013 01:04:56 +0000 (UTC) Received: by mail-wg0-f52.google.com with SMTP id 12so1946395wgh.31 for ; Sun, 24 Feb 2013 17:04:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eitanadler.com; s=0xdeadbeef; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=5ZFAHJBCFyvJylam7ZWV9LowWLDeXeFxS2EwWO/NcUA=; b=V81jkpq6IbHi4gzb+wGwc9KYT7H0CZL2YnA/CJ57GqsOM9DL6U6yLvR/JpNIbLXbzk dzccaloJ53akZ7G0h0gr94OH5FmuceTz5+b5k1MGO2x6R3+Z5WwvxSxx2Dji5jjtyXjw GE3uO9Y6cFCaF9PgbAjQMBqYm79ojrye6mybY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:cc:content-type:x-gm-message-state; bh=5ZFAHJBCFyvJylam7ZWV9LowWLDeXeFxS2EwWO/NcUA=; b=hul8PuuNuHTNAlro7JcO+or6JU5ggpJEgg9JtWBbDm53ch0m2ZngO7SQurUCwDje0O WwJvPzdiJ1oqKPVZmF7O7ozprP+XWAAK+58mWBYJJBCQ1VZNf1DXaoKOIym8QMC7nLQy SZe01CKoincmNiQNHstzqbxNaA227vVfbp0x9NQwta2/NyTxvj7dWFiZpA0KwN2Q5CTy 7Jd3Vod74R+cMPY9Vz/Y0vhpUzY6ximCZ7Bz/C86Yz0/8f8moIXgWJW+bgD2NwXLE2xt 9ORQPrtEGJ+uGmRodg6Hm4nXb9cBDXoE9vMUEKY23FONewiazY8eX/yS2ED/v5Yx3OXh /TgQ== X-Received: by 10.194.122.131 with SMTP id ls3mr15601422wjb.55.1361754295451; Sun, 24 Feb 2013 17:04:55 -0800 (PST) MIME-Version: 1.0 Received: by 10.194.122.201 with HTTP; Sun, 24 Feb 2013 17:04:25 -0800 (PST) In-Reply-To: <512AB6F3.6030001@gmail.com> References: <20130128114938.GK50515@e-new.0x20.net> <20130130024649.R87033@sola.nimnet.asn.au> <20130130032714.D87033@sola.nimnet.asn.au> <20130130050811.H87033@sola.nimnet.asn.au> <512AB6F3.6030001@gmail.com> From: Eitan Adler Date: Sun, 24 Feb 2013 20:04:25 -0500 Message-ID: Subject: Re: what is required to support a new laptop? To: matt Content-Type: text/plain; charset=UTF-8 X-Gm-Message-State: ALoCoQm/BVPpbC5cjOEATQ5FYVl0LQVKEs6c62FlWmxgF5VT1Xmt2o+QH8BTvA28SS+3KPrhywQ5 Cc: bapt@freebsd.org, freebsd-acpi@freebsd.org, Ian Smith 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: Mon, 25 Feb 2013 01:04:57 -0000 On 24 February 2013 19:57, matt wrote: > On 01/29/13 10:24, Ian Smith wrote: >> On Tue, 29 Jan 2013 12:46:43 -0500, Eitan Adler wrote: >> > On 29 January 2013 12:29, Ian Smith wrote: >> > > Ah right. I don't suppose kldload -v shows anything useful about the >> > > problem loading it? Ah, never mind, it may be obvious .. lightly >> > > skimming your asl.y530.gz, I recalled folks having to patch something >> > > for Lenovo rather than IBM OEMIDs .. hunt, hunt .. ok, here it is: >> > > >> > > http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/164538 >> > >> > >> > This is after the install of a patched acpi_ibm >> > [3500 root@gravity /usr/src/sys/modules/acpi ]#kldload -v acpi_ibm >> > Loaded acpi_ibm, id=12 >> >> Which looks maybe successful, on the face of it? .. >> >> > [5507 eitan@gravity (100)% ~ !1!]%sysctl dev.acpi_ibm >> > sysctl: unknown oid 'dev.acpi_ibm' >> >> .. but clearly wasn't. >> > > The Y series doesn't have the HKEY stuff, or it's not the same. You want > acpi_video (as does every new Lenovo, thinkpad or not). > > The problem is Lenovo is putting the "correct" _BCL/_BCM under "PEG" > devices....section from your dsdt follows, temporary workaround test > after that ... > This would be under _SB.PCI0.PEG0.VGA > > Try acpi_call -p '\_SB.PCI0.PEG0.VGA.LCD._BCL' > then > acpi_call -p '\_SB.PCI0.PEG0.VGA.LCD._BCL' -i 50 > > Experiment with the numbers. > > We need to fix acpi_video so it attaches to the correct _BCL on these > laptops. Unknown object type '4' regardless of what number is passed to -i. Same with the first call. -- Eitan Adler