What's new. All postings for 2009 All postings for 2008 RSS Feed
Calendar Pictures Open-source contributions Really old pages DWright.org
View Dan Wright's profile on LinkedIn
Dan Wright's Facebook Profile
Thu, 14 Aug 2003

Got acpi fixed on my Dell Inspiron 8200

Finally, I got acpi to stop dumping all of those annoying warnings at me on my Inspiron 8200! Credit goes to Mark Santcroos. If you are in the same boat as I was, you will need to check out this page.

That was half the fix for me, but I couldn't get the dsdt to compile. I kept getting this instead:

dell.dsl   346:     Method (STRC, 2, NotSerialized)
Warning  2019 -                ^ Not all control paths return a value (STRC)

dell.dsl   391:                 If (STRC (\_OS, W98S))
Warning  2030 -                        ^ Called method may not always return a value

dell.dsl   396:                 If (STRC (\_OS, NT5S))
Warning  2030 -                        ^ Called method may not always return a value

dell.dsl   401:                 If (STRC (\_OS, WINM))
Warning  2030 -                        ^ Called method may not always return a value

dell.dsl   703:     Method (\_WAK, 1, NotSerialized)
Warning  2026 -                 ^ Reserved method must return a value (_WAK)

dell.dsl  2156:             Field (\_SB.PCI0.ISAB.FDIS, DWordAcc, NoLock, Preserve)
Error    1047 -                                      ^ Access width is greater than region size

dell.dsl  2159:                 F0DS,   1, 
Error    1051 -                    ^ Access width of Field Unit extends beyond region limit

dell.dsl  2160:                 F1DS,   1, 
Error    1051 -                    ^ Access width of Field Unit extends beyond region limit

dell.dsl  2161:                 F2DS,   1
Error    1051 -                    ^ Access width of Field Unit extends beyond region limit

The solution (written by Mark) was to apply this additional patch:

--- dell.dsl        Tue Aug  5 16:03:45 2003
+++ djwright.dsl        Tue Aug  5 16:09:26 2003
@@ -373,6 +373,8 @@
 
             Increment (Local0)
         }
+
+                Return (One)
     }
 
     Method (OSID, 0, NotSerialized)
@@ -732,6 +734,7 @@
         }
 
         Store (Local0, MIS2)
+                Return (Zero)
     }
 
     Method (NWAK, 0, NotSerialized)
@@ -2153,7 +2156,7 @@
                 U0BS,   32
             }
 
-            Field (\_SB.PCI0.ISAB.FDIS, DWordAcc, NoLock, Preserve)
+            Field (\_SB.PCI0.ISAB.FDIS, WordAcc, NoLock, Preserve)
             {
                 Offset (0x01), 
                 F0DS,   1, 

-- 

I just think it is very cool when open-sourcing actually works the way that it is supposed to.


posted at: 15:31 | permanent link to this entry | Comments: