From owner-freebsd-acpi@FreeBSD.ORG Tue Oct 3 06:52:54 2006 Return-Path: X-Original-To: freebsd-acpi@freebsd.org Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 77F0516A40F for ; Tue, 3 Oct 2006 06:52:54 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from smtp1.yandex.ru (smtp1.yandex.ru [213.180.223.87]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3C72443D77 for ; Tue, 3 Oct 2006 06:52:47 +0000 (GMT) (envelope-from bu7cher@yandex.ru) Received: from ns.kirov.so-cdu.ru ([81.18.142.225]:51729 "EHLO [127.0.0.1]" smtp-auth: "bu7cher" TLS-CIPHER: "DHE-RSA-AES256-SHA keybits 256/256 version TLSv1/SSLv3" TLS-PEER-CN1: ) by mail.yandex.ru with ESMTP id S2078125AbWJCGwg (ORCPT ); Tue, 3 Oct 2006 10:52:36 +0400 X-Comment: RFC 2476 MSA function at smtp1.yandex.ru logged sender identity as: bu7cher Message-ID: <452208B0.7030604@yandex.ru> Date: Tue, 03 Oct 2006 10:52:32 +0400 From: "Andrey V. Elsukov" User-Agent: Mozilla Thunderbird 1.5 (FreeBSD/20051231) MIME-Version: 1.0 To: freebsd-acpi@freebsd.org Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit Subject: ACPI problems with Maxselect GT3000 X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Oct 2006 06:52:54 -0000 Hi, I've tried to solve some ACPI problems with my notebook.(dmesg: http://butcher.heavennet.ru/acpi/) I have these messages: Oct 2 17:58:06 btr-nb kernel: ACPI-0448: *** Error: Looking up [\_SB_.ADP0] in namespace, AE_NOT_FOUND Oct 2 17:58:06 btr-nb kernel: SearchNode 0xc26889a0 StartNode 0xc26889a0 ReturnNode 0 Oct 2 17:58:06 btr-nb kernel: ACPI-0610: *** Error: Method execution failed [\_SB_.PCI0.EC__._Q16] (Node 0xc26889a0), AE_NOT_FOUND Oct 2 17:58:16 btr-nb kernel: acpi_tz0: _CRT value is absurd, ignored (154.8C) ASL hacking have some results, but i don't know that it's correct. My patch: --- maxselect-gt3000.asl.orig Mon Oct 2 23:11:47 2006 +++ patched/maxselect-gt3000.asl Mon Oct 2 23:11:47 2006 @@ -211,6 +211,7 @@ Store (0x83, \_SB.BCMD) Store (0x83, \_SB.SMIC) } + Return (Zero) } Scope (\_PR) @@ -1390,7 +1391,7 @@ ) }) OperationRegion (RAM, EmbeddedControl, 0x00, 0xFF) - Field (RAM, AnyAcc, Lock, Preserve) + Field (RAM, ByteAcc, Lock, Preserve) { NMSG, 8, SLED, 4, @@ -1489,13 +1490,13 @@ Method (_Q16, 0, NotSerialized) { Store (0x16, DBUG) - Notify (\_SB.ADP0, 0x80) - If (\_SB.PCI0.LPC0.EC.BAT0) + Notify (\_SB.BAT0, 0x80) + If (\_SB.PCI0.EC.ADP) { Notify (\_SB.BAT0, 0x80) } - \POWC + /* \POWC */ } Method (_Q17, 0, NotSerialized) @@ -4128,14 +4129,16 @@ Method (_PSV, 0, NotSerialized) { - Multiply (0x64, 0x0A, Local0) + /* 30 C */ + Multiply (0x1e, 0x0A, Local0) Add (Local0, 0x0AAA, Local0) Return (Local0) } Method (_AC0, 0, NotSerialized) { - Return (0x0D66) + /* 65 C */ + Return (0x0D34) } Name (_PSL, Package (0x01) @@ -4144,7 +4147,8 @@ }) Method (_CRT, 0, NotSerialized) { - Multiply (0x9B, 0x0A, Local0) + /* 80 C */ + Multiply (0x51, 0x0A, Local0) Add (Local0, 0x0AAA, Local0) Return (Local0) } @@ -4439,13 +4443,13 @@ 0x000005C0 } }) + /* Zero Zero Zero Zero Zero Zero - Zero - Zero + Zero */ } } -- WBR, Andrey V. Elsukov