From owner-freebsd-current@FreeBSD.ORG Thu May 22 13:48:22 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 17AC537B401 for ; Thu, 22 May 2003 13:48:22 -0700 (PDT) Received: from pcwin002.win.tue.nl (pcwin002.win.tue.nl [131.155.71.72]) by mx1.FreeBSD.org (Postfix) with ESMTP id 020A043FAF for ; Thu, 22 May 2003 13:48:19 -0700 (PDT) (envelope-from stijn@pcwin002.win.tue.nl) Received: from pcwin002.win.tue.nl (orb_rules@localhost [127.0.0.1]) by pcwin002.win.tue.nl (8.12.8/8.12.8) with ESMTP id h4MKl8Vo061007; Thu, 22 May 2003 22:47:08 +0200 (CEST) (envelope-from stijn@pcwin002.win.tue.nl) Received: (from stijn@localhost) by pcwin002.win.tue.nl (8.12.8/8.12.8/Submit) id h4MKl8ww061006; Thu, 22 May 2003 22:47:08 +0200 (CEST) Date: Thu, 22 May 2003 22:47:08 +0200 From: Stijn Hoop To: Mark Santcroos Message-ID: <20030522204708.GE60164@pcwin002.win.tue.nl> References: <20030522100612.X95471@root.org> <20030522193004.GA1073@laptop.6bone.nl> <20030522195103.GB60164@pcwin002.win.tue.nl> <20030522200011.GA639@laptop.6bone.nl> <20030522201452.GC60164@pcwin002.win.tue.nl> <20030522202815.GB639@laptop.6bone.nl> <20030522203024.GD60164@pcwin002.win.tue.nl> <20030522203511.GC639@laptop.6bone.nl> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="LZFKeWUZP29EKQNE" Content-Disposition: inline In-Reply-To: <20030522203511.GC639@laptop.6bone.nl> User-Agent: Mutt/1.4.1i X-Bright-Idea: Let's abolish HTML mail! cc: current@freebsd.org Subject: Re: FBSD 5.1b2 Inst. Results on Dell i8500 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 May 2003 20:48:22 -0000 --LZFKeWUZP29EKQNE Content-Type: multipart/mixed; boundary="JbKQpFqZXJ2T76Sg" Content-Disposition: inline --JbKQpFqZXJ2T76Sg Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, May 22, 2003 at 10:35:11PM +0200, Mark Santcroos wrote: > On Thu, May 22, 2003 at 10:30:24PM +0200, Stijn Hoop wrote: > > OK, will try next. I was about to send a success email using a diff > > inspired by the Linux ACPI project (htttp://acpi.sf.net/) -- the > > Inspiron 8100 ASL files, both original and patched are downloadable > > there. Attached is the diff I produced for my Inspiron 4150 based > > on that diff. However using the Linux diff some other resources > > go awry, see attached dmesg. >=20 > That patch is incorrect. I also posted that one at some point, it might b= e=20 > that they used it even, don't know how old it is :) >=20 > However, that was just a patch to point out where the problem was, it was > not a fix. OK, good to know. Your extra line made the battery status work, but there a= re still minor problems: - I get the same AML warnings as with the Linux patch -- can this be due to an older version of the iasl compiler wrt the current ACPI drop? I noticed that the distfile for the current acpicatools port had disappeared from the intel website. Anyway, fdc still gets detected later on, although I don't even have the floppy bay installed right now, so I haven't done any floppy tests. I'll try to see if the warnings break things next. (see the attached dmesg for the AML warnings by the way) - The battery time is indicated as '00:00:00' when the laptop is on AC power. Minor nit, maybe this is expected behaviour? Thanks for the guidance. --Stijn --=20 "Diane, 2:15 in the afternoon, November 14. Entering town of Twin Peaks. Five miles south of the Canadian border, twelve miles west of the state line. Never seen so many trees in my life. As W.C. Fields would say, I'd rather be here than Philadelphia." -- Special Agent Dale Cooper, "Twin Peaks" --JbKQpFqZXJ2T76Sg Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="insp4150.dsl.diff.MarkSantcroos" Content-Transfer-Encoding: quoted-printable --- insp4150.dsl.orig Thu May 22 22:35:10 2003 +++ insp4150.dsl Thu May 22 22:35:51 2003 @@ -140,9 +140,9 @@ =20 Method (SXX8, 2, NotSerialized) { - If (LLess (Arg1, SizeOf (Arg0))) + If (LLess (Arg1, SizeOf (DerefOf(Arg0)))) { - CreateByteField (Arg0, Arg1, SX20) + CreateByteField (DerefOf(Arg0), Arg1, SX20) Store (SXX6 (0x7D, 0x00), SX20) } } @@ -153,7 +153,7 @@ While (LLess (Local0, SXX3)) { Add (SXX2, Local0, Local1) - SXX8 (SXX0, Local1) + SXX8 (RefOf(SXX0), Local1) Increment (Local0) } } --JbKQpFqZXJ2T76Sg Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="dmesg.MarkSantcroos" Preloaded acpi_dsdt "/boot/acpi_dsdt.aml" at 0xc04d91cc. Preloaded elf module "/boot/kernel/acpi.ko" at 0xc04d9214. Features=0xbfebf9ff ACPI: DSDT was overridden. ACPI-0375: *** Info: Table [DSDT] replaced by host OS acpi0: on motherboard Timecounter "ACPI-fast" frequency 3579545 Hz can't fetch resources for \\_SB_.PCI0.ISAB.FDC0 - AE_AML_INVALID_RESOURCE_TYPE can't fetch resources for \\_SB_.PCI0.ISAB.UAR1 - AE_AML_INVALID_RESOURCE_TYPE can't fetch resources for \\_SB_.PCI0.ISAB.IRDA - AE_AML_INVALID_RESOURCE_TYPE can't fetch resources for \\_SB_.PCI0.ISAB.ECP_ - AE_AML_INVALID_RESOURCE_TYPE acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 acpi_cpu0: port 0x530-0x537 on acpi0 acpi_tz0: port 0x530-0x537 on acpi0 acpi_acad0: on acpi0 acpi_cmbat0: on acpi0 acpi_cmbat1: on acpi0 acpi_lid0: on acpi0 acpi_button0: on acpi0 acpi_button1: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pcib2: at device 30.0 on pci0 pci2: on pcib2 atkbdc0: port 0x64,0x60 irq 1 on acpi0 ppc0 port 0x378-0x37f on acpi0 acpi_cpu: throttling enabled, 8 steps (100% to 12.5%), currently 100.0% --JbKQpFqZXJ2T76Sg-- --LZFKeWUZP29EKQNE Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+zTdMY3r/tLQmfWcRAqx0AKCbHqC6bONtAq64Wjiqm9W+XdfRqgCeJH1U mX/OqKaYBIZd2Mye5WXxnYM= =C4Oo -----END PGP SIGNATURE----- --LZFKeWUZP29EKQNE--