Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 May 2003 22:47:08 +0200
From:      Stijn Hoop <stijn@win.tue.nl>
To:        Mark Santcroos <marks@ripe.net>
Cc:        current@freebsd.org
Subject:   Re: FBSD 5.1b2 Inst. Results on Dell i8500
Message-ID:  <20030522204708.GE60164@pcwin002.win.tue.nl>
In-Reply-To: <20030522203511.GC639@laptop.6bone.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>

next in thread | previous in thread | raw e-mail | index | archive | help

--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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
ACPI: DSDT was overridden.
    ACPI-0375: *** Info: Table [DSDT] replaced by host OS
acpi0: <DELL   CPi R  > 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: <CPU> port 0x530-0x537 on acpi0
acpi_tz0: <thermal zone> port 0x530-0x537 on acpi0
acpi_acad0: <AC adapter> on acpi0
acpi_cmbat0: <Control method Battery> on acpi0
acpi_cmbat1: <Control method Battery> on acpi0
acpi_lid0: <Control Method Lid Switch> on acpi0
acpi_button0: <Power Button> on acpi0
acpi_button1: <Sleep Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
pci1: <ACPI PCI bus> on pcib1
pcib2: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci2: <ACPI PCI bus> on pcib2
atkbdc0: <Keyboard controller (i8042)> 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030522204708.GE60164>