From owner-freebsd-acpi@FreeBSD.ORG Wed Oct 2 15:10:42 2013 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id BC578548 for ; Wed, 2 Oct 2013 15:10:42 +0000 (UTC) (envelope-from ooomka@yandex.ru) Received: from forward1h.mail.yandex.net (forward1h.mail.yandex.net [IPv6:2a02:6b8:0:f05::10]) by mx1.freebsd.org (Postfix) with ESMTP id 73F7D2100 for ; Wed, 2 Oct 2013 15:10:41 +0000 (UTC) Received: from smtp2h.mail.yandex.net (smtp2h.mail.yandex.net [84.201.187.145]) by forward1h.mail.yandex.net (Yandex) with ESMTP id BBC8B9E1378 for ; Wed, 2 Oct 2013 19:10:38 +0400 (MSK) Received: from smtp2h.mail.yandex.net (localhost [127.0.0.1]) by smtp2h.mail.yandex.net (Yandex) with ESMTP id 8B89917021E4 for ; Wed, 2 Oct 2013 19:10:38 +0400 (MSK) Received: from unknown (unknown [188.191.235.59]) by smtp2h.mail.yandex.net (nwsmtp/Yandex) with ESMTP id l7Iar5UFK1-AbbGvPgv; Wed, 2 Oct 2013 19:10:37 +0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1380726638; bh=2TM4u8vKXMS6L64QxSnPImxDP//sOgFtgpHijUeOnyk=; h=Message-ID:Date:From:User-Agent:MIME-Version:To:Subject: References:In-Reply-To:X-Forwarded-Message-Id:Content-Type; b=SoIzM6YemLaqahRq7avfNPtyywg7ppn9hEUpoilDhhp0P34agLNg9+E9g9hevSbSS KTrY+U8YIkSF+3Ae7UhAbiXfTgRJbntfjzST59uVgtULmMc5w0iFG6JYYl4ihYn3dz 6hRbRGtTAi8mesSHoNT2zO5jsiwS30xqhquQaj5c= Authentication-Results: smtp2h.mail.yandex.net; dkim=pass header.i=@yandex.ru Message-ID: <524C3747.6060900@yandex.ru> Date: Wed, 02 Oct 2013 18:09:59 +0300 From: Sergiy Mikhailushko User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.0 MIME-Version: 1.0 To: freebsd-acpi@freebsd.org Subject: ASUS U46E laptop brightness References: <5246CD48.9070605@yandex.ru> In-Reply-To: <5246CD48.9070605@yandex.ru> X-Forwarded-Message-Id: <5246CD48.9070605@yandex.ru> Content-Type: multipart/mixed; boundary="------------010409010503020900070603" X-Content-Filtered-By: Mailman/MimeDel 2.1.14 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: Wed, 02 Oct 2013 15:10:42 -0000 This is a multi-part message in MIME format. --------------010409010503020900070603 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi all Could you please help me with a little annoying problem concerning laptop backlight? I've got ASUS U46E laptop with Intel GMA graphics running FreeBSD 9-STABLE amd64. The problem is that backlight is always set to maximum value. Pressing Fn+F5 (brightness down) has no effect, just yielding the following to /var/log/messages: ACPI Error: Result stack is empty! State=0xfffffe00017fa800 (20110527/dswstate-113) ACPI Exception: AE_AML_NO_RETURN_VALUE, Missing or null operand (20110527/dsutils-695) ACPI Exception: AE_AML_NO_RETURN_VALUE, While creating Arg 0 (20110527/dsutils-821) ACPI Error: Method parse/execution failed [\_SB_.PCI0.GFX0.GCBL] (Node 0xfffffe000181f600), AE_AML_NO_RETURN_VALUE (20110527/psparse-560) This happens both in console and X Window mode What I've tried: 1) Flashed the latest BIOS version from ASUS website (ver301) 2) Upgraded OS to the latest STABLE version (last upgrade Oct 2 2013) 3) Loading acpi_asus module: # kldload acpi_asus # sysctl -a | grep asus # 4) Loading acpi_video module: # sysctl hw.acpi.video.lcd0.active=1 hw.acpi.video.lcd0.active: 0 -> 0 # sysctl hw.acpi.video.lcd0.fullpower=60 hw.acpi.video.lcd0.fullpower: 100 -> 60 # sysctl hw.acpi.video.lcd0.economy=60 hw.acpi.video.lcd0.economy: 77 -> 60 # sysctl hw.acpi.video.lcd0.brightness=60 hw.acpi.video.lcd0.brightness: 60 -> 60 Values are changed but brightness doesn't 5) Using acpi_call utility (not sure what value should be changed, tried acpi_call -p '\_SB_.PCI0.GFX0.GCBL' and acpi_call -p '\_SB_.PCI0.LPCB.EC0_._Q0E' -- both resulting in Unknown object type '0') 6) Writing to freebsd-questions@freebsd org -- no replies so far # uname -a FreeBSD toysrv 9.2-STABLE FreeBSD 9.2-STABLE #0 r255986: Wed Oct 2 13:15:20 EEST 2013 oomka@toysrv:/usr/obj/usr/src/sys/TOYSRV amd6 # acpidump -dt > u46e.asl [gzipped file attached] I used to run i386 FreeBSD on this laptop -- the brightness control was okay on it. There were often kernel panics on that architecture so I've switched to amd64. Panics disappeared and the things work fine so far, except the screen brightness. I know that my problem isn't critical when I'm working on daylight or with external LCD display, but when I have to work at the laptop at night -- this spotlight really drives me crazy. Thank you in advance for your help. --------------010409010503020900070603--