From owner-freebsd-acpi@FreeBSD.ORG Mon Feb 25 01:30:20 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 58BC31C5 for ; Mon, 25 Feb 2013 01:30:20 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: from mail-we0-x230.google.com (mail-we0-x230.google.com [IPv6:2a00:1450:400c:c03::230]) by mx1.freebsd.org (Postfix) with ESMTP id B601D2AE for ; Mon, 25 Feb 2013 01:30:19 +0000 (UTC) Received: by mail-we0-f176.google.com with SMTP id s43so2079313wey.35 for ; Sun, 24 Feb 2013 17:30:18 -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=TJibTcC2nQ8GVsCV4A1FcjPAEhjfhn1mStWe+XSyYAc=; b=L25UVESaFbJMHzUnfQ3FBaHHZ+6NAiQN7JIiUQXB1RTXs6UvSXVoWyVh+zEAx2HtiY T80VsazESeWnEsxIExWcwVsZTgZu6XGGfo9hNhfRPiGHNHI/kUmwVXLdsq+AQ02qbCi5 00MUNdoU0wyxMRxaM5ajpvV+yQ0xJMpRKNiJE= 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=TJibTcC2nQ8GVsCV4A1FcjPAEhjfhn1mStWe+XSyYAc=; b=nCjPQsQM5N919X8NKH/HKuyaXgoV5Xz7VctmhlpHrN2qElBRCTCq0C2QnBKOgy+5tv TlaAoWoeWHnHIy+ADgfmJVdaBZiFV2fUOnd9JKLS0p25DHqDoxNv0I5ZXFMWEJ0a56Gd iN0Uk7ya2Z7zbKSO/8YBMqjU7OYFsJBGX7BBnyOxKMa4RStTbuUZ/swIy2GDbTQEASIo dZf5Y0K2c/Fyth4XPOIwkhosmIFwWx+nY3sltKDy5xb96C1SvFgZbdbTnlvdY0lC96Om Yub8jzO+5d8UqVOTg8e1fb4bWe6UGoYCxt7XznXLxVAz/U0G4L3fcP1UxFpQo+cBlGlO 5JVw== X-Received: by 10.180.77.9 with SMTP id o9mr9058747wiw.16.1361755818694; Sun, 24 Feb 2013 17:30:18 -0800 (PST) MIME-Version: 1.0 Received: by 10.194.122.201 with HTTP; Sun, 24 Feb 2013 17:29:48 -0800 (PST) In-Reply-To: <512ABB5E.5050904@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> <512ABB5E.5050904@gmail.com> From: Eitan Adler Date: Sun, 24 Feb 2013 20:29:48 -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: ALoCoQnzHnqpkrrtIsjP7NkWUQMwmSFgkvNDaYM/AW2wCU5S3Mdeyvge8gz+narGnOZU+X8MMfrq 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:30:20 -0000 On 24 February 2013 20:16, matt wrote: > I made a typo :( Change the second call from _BCL to _BCM. > The first call _BCL would "trapdoor" a thinkpad, and it returns an > unknown object type 4. Acpi call has some formatting options to display > this "object", it's usually (or should be) a list of valid backlight > levels. The second call should set the value. _BQC will return the > current value. If that does not work, also try replacing PEG0 with PEG1. [5398 root@gravity (100)% ...ts/sysutils/acpi_call !5!]#acpi_call -p '\_SB.PCI0.PEG1.VGA.LCD._BQC' -o o 0 [5399 root@gravity (100)% ...ports/sysutils/acpi_call ]#acpi_call -p '\_SB.PCI0.PEG0.VGA.LCD._BQC' -o o 0 [5389 root@gravity (100)% ...ports/sysutils/acpi_call ]#acpi_call -p '\_SB.PCI0.PEG1.VGA.LCD._BCM' -i 50 50 [5390 root@gravity (100)% ...ports/sysutils/acpi_call ]#acpi_call -p '\_SB.PCI0.PEG1.VGA.LCD._BCM' -i 20 20 but nothing visible changes. This is better than before (I think). Thanks! I hope this could work in the end. -- Eitan Adler