From owner-freebsd-acpi@FreeBSD.ORG Sat Jan 1 19:41:28 2005 Return-Path: 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 C1B7116A4CE for ; Sat, 1 Jan 2005 19:41:28 +0000 (GMT) Received: from mail-ms.sunrise.ch (mta-ms-be-03.sunrise.ch [194.158.229.97]) by mx1.FreeBSD.org (Postfix) with ESMTP id CA80743D31 for ; Sat, 1 Jan 2005 19:41:25 +0000 (GMT) (envelope-from chris@hypernet.ch) Received: from pitschi.home.hypernet.ch (62.167.154.243) by mail-ms.sunrise.ch (7.0.036) id 418AC109002D3E75; Sat, 1 Jan 2005 20:41:23 +0100 Received: from lhotse.hypernet.ch ([192.168.0.114])j01JfHhf089587; Sat, 1 Jan 2005 20:41:18 +0100 (CET) (envelope-from chris@hypernet.ch) Date: Sat, 01 Jan 2005 19:40:34 +0000 From: Christoph Steigmeier To: freebsd-acpi@freebsd.org References: <1104096526l.791l.0l@lhotse.hypernet.ch> <1104222079l.776l.0l@lhotse.hypernet.ch> <1104222732l.776l.1l@lhotse.hypernet.ch> <41D12F1D.2080408@quantentunnel.de> X-Mailer: Balsa 2.2.6 Message-Id: <1104608435l.826l.0l@lhotse.hypernet.ch> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-J/lKRnYldw2mN/n2J1Xs" X-Spam-Status: No, hits=-2.3 required=5.0 tests=BAYES_30,EMAIL_ATTRIBUTION,PATCH_UNIFIED_DIFF, QUOTED_EMAIL_TEXT,REFERENCES,REPLY_WITH_QUOTES version=2.55 X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) Subject: Re: ACPI Problem on ASUS Laptop M6Ne with 5.3-RELEASE-p2 X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Christoph Steigmeier List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Jan 2005 19:41:28 -0000 --=-J/lKRnYldw2mN/n2J1Xs Content-Type: text/plain; charset=us-ascii; DelSp=Yes; Format=Flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi all Ok, i patched manually the dsdt according to the patches which were =20 written for the M6N. Here attached is the diff-file for the M6Ne BIOS Version 205 dsdt. However in the boot msg's there are still some acpi-related errors. But =20 at least Battery state works and laptops seems not to get soooo hot =20 like before. Another question I have is how to control now acpi under freebsd. Is =20 there something similiar to apmd, where I can set timers what to happen =20 when inactive etc.? Kind regards Christoph On 12/28/04 11:02:05, Andreas Dieling wrote: > > It is an ASUS M6827NEUH (M6Ne Series) > > > > I can't see the battery state and eventually other functions from > ACPI > > are not working as well (at least I believe that with the Thermal > Zones > > and the CPU Throtteling is not working). >=20 > look here: > http://www.encke.net/encke/modules.php?op=3Dmodload&name=3DphpBB_14&file= =3Dindex&action=3Dviewtopic&topic=3D632&93 >=20 > and here: > http://m6n.ath.cx/forum/viewforum.php?f=3D2&sid=3Dcc07d0c7850beaf61f18403= 8d9f2b299 >=20 > Fixing the DSDT for BSD is identical to fixing it for Linux :-) >=20 > Andreas > _______________________________________________ > freebsd-acpi@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-acpi > To unsubscribe, send any mail to "freebsd-acpi-=20 > unsubscribe@freebsd.org" >=20 --=-J/lKRnYldw2mN/n2J1Xs Content-Type: text/x-patch; charset=us-ascii; name=ASUSM6827NEUH.asl.patch Content-Disposition: attachment; filename=ASUSM6827NEUH.asl.patch Content-Transfer-Encoding: quoted-printable -- chris-ASUSM6827NEUH.asl Sun Dec 26 22:15:56 2004 +++ chris-ASUSM6827NEUH.patched.asl Sat Jan 1 18:38:08 2005 @@ -714,6 +714,7 @@ IO (Decode16, 0x03BC, 0x03BC, 0x01, 0x04) } - /*** Missing EndDependentFunctions descriptor */ = }) - Name (EPPR, ResourceTemplate () + EndDependentFn () + }) + Name (EPPR, ResourceTemplate () { IRQNoFlags () {3,4,5,6,7,10,11,12} @@ -1659,6 +1660,6 @@ } =20 - OperationRegion (IO, SystemIO, DPRT, 0x05) - Field (IO, ByteAcc, Lock, Preserve) + OperationRegion (IO_, SystemIO, DPRT, 0x05) + Field (IO_, ByteAcc, Lock, Preserve) { DAT0, 8,=20 @@ -1667,5 +1668,5 @@ } =20 - Field (IO, ByteAcc, Lock, Preserve) + Field (IO_, ByteAcc, Lock, Preserve) { Offset (0x04),=20 @@ -2829,4 +2830,5 @@ Store (0x01, Local0) } + Return (Local0) } =20 @@ -3090,4 +3092,5 @@ Store (0x01, Local0) } + Return (Local0) } =20 @@ -5110,6 +5113,4 @@ } =20 - If (SS1) - { Name (\_SB.PCI0._S1D, 0x02) Name (\_SB.PCI0.P0P1._S1D, 0x02) @@ -5117,8 +5118,5 @@ Name (\_SB.PCI0.USB2._S1D, 0x02) Name (\_SB.PCI0.USB3._S1D, 0x02) - } =20 - If (SS3) - { Name (\_SB.PCI0._S3D, 0x02) Name (\_SB.PCI0.P0P1._S3D, 0x02) @@ -5126,11 +5124,7 @@ Name (\_SB.PCI0.USB2._S3D, 0x02) Name (\_SB.PCI0.USB3._S3D, 0x02) - } =20 - If (SS4) - { Name (\_SB.PCI0._S4D, 0x02) Name (\_SB.PCI0.P0P1._S4D, 0x02) - } =20 Name (IOXB, 0x05C0) @@ -5241,5 +5235,5 @@ } =20 - Method (SCMD, 4, NotSerialized) + Method (SCMD, 4, Serialized) { OperationRegion (SMRG, SystemIO, SMBS, 0x10) @@ -5514,5 +5508,5 @@ } =20 - Method (RTMP, 0, NotSerialized) + Method (RTMP, 0, Serialized) { Store (RBYT (TSAD, 0x01), Local0) @@ -5627,6 +5621,4 @@ 0x00 }) - If (SS3) - { Name (_S3, Package (0x04) { @@ -5636,8 +5628,5 @@ 0x00 }) - } =20 - If (SS4) - { Name (_S4, Package (0x04) { @@ -5647,5 +5636,4 @@ 0x00 }) - } =20 Name (_S5, Package (0x04) ) --=-J/lKRnYldw2mN/n2J1Xs--