Jump to content

DSDT editing. Making your DSDT match a MAC


7 posts in this topic

Recommended Posts

I hope that someone reading this can help me understand the rules to DSDT edits. I have tried to apply a few of the more complex edits to match a mac system better but always end up with compile errors. The easy edits like hpet etc I have already done.

 

I will explain what I want to do first and then the DSDT edit that is required if I have found any.

 

1. Vanilla Speedstep. I have adapted the solution found here to my system. I now have speedstep working but it is not 100% and this is because additional DSDT edits need to be made to properly identify my PC as a Mac.

 

Here are some examples of fixes i am trying to implement without success both by the king.

http://www.projectosx.com/forum/lofiversio...x.php/t852.html

http://www.projectosx.com/forum/lofiversio...x.php/t889.html

 

Now the second one I partially have working, IOSMBusFamily does load. However I believe it is still important because of what Master Chief says here: http://www.insanelymac.com/forum/index.php...1631&st=400

 

He indicates the sbus helps ID your CPU and I have the problem he is refering to. The kings fix resolves both problems of sleep and CPU ID. These are advanced edits and when I try them I get compile errors.

 

Here is an example of my DSDT compared to a MB4,1. Notice how freaking similar they are as is. I almost wonder if I could copy the whole SBUS from the mac into mine and it that would work. I might try that.

 

Mine first.

 

Device (SBUS)
           {
               Name (_ADR, 0x001F0003)
               OperationRegion (SMBP, PCI_Config, 0x40, 0xC0)
               Field (SMBP, DWordAcc, NoLock, Preserve)
               {
                       ,   2, 
                   I2CE,   1
               }

               OperationRegion (SMBI, SystemIO, 0x1C20, 0x10)
               Field (SMBI, ByteAcc, NoLock, Preserve)
               {
                   HSTS,   8, 
                           Offset (0x02), 
                   HCON,   8, 
                   HCOM,   8, 
                   TXSA,   8, 
                   DAT0,   8, 
                   DAT1,   8, 
                   HBDR,   8, 
                   PECR,   8, 
                   RXSA,   8, 
                   SDAT,   16
               }

               Method (SSXB, 2, Serialized)
               {
                   If (STRT ())
                   {
                       Return (Zero)
                   }

                   Store (Zero, I2CE)
                   Store (0xBF, HSTS)
                   Store (Arg0, TXSA)
                   Store (Arg1, HCOM)
                   Store (0x48, HCON)
                   If (COMP ())
                   {
                       Or (HSTS, 0xFF, HSTS)
                       Return (One)
                   }

                   Return (Zero)
               }

               Method (SRXB, 1, Serialized)
               {
                   If (STRT ())
                   {
                       Return (0xFFFF)
                   }

                   Store (Zero, I2CE)
                   Store (0xBF, HSTS)
                   Store (Or (Arg0, One), TXSA)
                   Store (0x44, HCON)
                   If (COMP ())
                   {
                       Or (HSTS, 0xFF, HSTS)
                       Return (DAT0)
                   }

                   Return (0xFFFF)
               }

               Method (SWRB, 3, Serialized)
               {
                   If (STRT ())
                   {
                       Return (Zero)
                   }

                   Store (Zero, I2CE)
                   Store (0xBF, HSTS)
                   Store (Arg0, TXSA)
                   Store (Arg1, HCOM)
                   Store (Arg2, DAT0)
                   Store (0x48, HCON)
                   If (COMP ())
                   {
                       Or (HSTS, 0xFF, HSTS)
                       Return (One)
                   }

                   Return (Zero)
               }

               Method (SRDB, 2, Serialized)
               {
                   If (STRT ())
                   {
                       Return (0xFFFF)
                   }

                   Store (Zero, I2CE)
                   Store (0xBF, HSTS)
                   Store (Or (Arg0, One), TXSA)
                   Store (Arg1, HCOM)
                   Store (0x48, HCON)
                   If (COMP ())
                   {
                       Or (HSTS, 0xFF, HSTS)
                       Return (DAT0)
                   }

                   Return (0xFFFF)
               }

               Method (SWRW, 3, Serialized)
               {
                   If (STRT ())
                   {
                       Return (Zero)
                   }

                   Store (Zero, I2CE)
                   Store (0xBF, HSTS)
                   Store (Arg0, TXSA)
                   Store (Arg1, HCOM)
                   And (Arg2, 0xFF, DAT0)
                   And (ShiftRight (Arg2, 0x08), 0xFF, DAT1)
                   Store (0x4C, HCON)
                   If (COMP ())
                   {
                       Or (HSTS, 0xFF, HSTS)
                       Return (One)
                   }

                   Return (Zero)
               }

               Method (SRDW, 2, Serialized)
               {
                   If (STRT ())
                   {
                       Return (0xFFFF)
                   }

                   Store (Zero, I2CE)
                   Store (0xBF, HSTS)
                   Store (Or (Arg0, One), TXSA)
                   Store (Arg1, HCOM)
                   Store (0x4C, HCON)
                   If (COMP ())
                   {
                       Or (HSTS, 0xFF, HSTS)
                       Return (Or (ShiftLeft (DAT1, 0x08), DAT0))
                   }

                   Return (0xFFFFFFFF)
               }

               Method (SBLW, 4, Serialized)
               {
                   If (STRT ())
                   {
                       Return (Zero)
                   }

                   Store (Arg3, I2CE)
                   Store (0xBF, HSTS)
                   Store (Arg0, TXSA)
                   Store (Arg1, HCOM)
                   Store (SizeOf (Arg2), DAT0)
                   Store (Zero, Local1)
                   Store (DerefOf (Index (Arg2, Zero)), HBDR)
                   Store (0x54, HCON)
                   While (LGreater (SizeOf (Arg2), Local1))
                   {
                       Store (0x0FA0, Local0)
                       While (LAnd (LNot (And (HSTS, 0x80)), Local0))
                       {
                           Decrement (Local0)
                           Stall (0x32)
                       }

                       If (LNot (Local0))
                       {
                           KILL ()
                           Return (Zero)
                       }

                       Store (0x80, HSTS)
                       Increment (Local1)
                       If (LGreater (SizeOf (Arg2), Local1))
                       {
                           Store (DerefOf (Index (Arg2, Local1)), HBDR)
                       }
                   }

                   If (COMP ())
                   {
                       Or (HSTS, 0xFF, HSTS)
                       Return (One)
                   }

                   Return (Zero)
               }

               Method (SBLR, 3, Serialized)
               {
                   Name (TBUF, Buffer (0x0100) {})
                   If (STRT ())
                   {
                       Return (Zero)
                   }

                   Store (Arg2, I2CE)
                   Store (0xBF, HSTS)
                   Store (Or (Arg0, One), TXSA)
                   Store (Arg1, HCOM)
                   Store (0x54, HCON)
                   Store (0x0FA0, Local0)
                   While (LAnd (LNot (And (HSTS, 0x80)), Local0))
                   {
                       Decrement (Local0)
                       Stall (0x32)
                   }

                   If (LNot (Local0))
                   {
                       KILL ()
                       Return (Zero)
                   }

                   Store (DAT0, Index (TBUF, Zero))
                   Store (0x80, HSTS)
                   Store (One, Local1)
                   While (LLess (Local1, DerefOf (Index (TBUF, Zero))))
                   {
                       Store (0x0FA0, Local0)
                       While (LAnd (LNot (And (HSTS, 0x80)), Local0))
                       {
                           Decrement (Local0)
                           Stall (0x32)
                       }

                       If (LNot (Local0))
                       {
                           KILL ()
                           Return (Zero)
                       }

                       Store (HBDR, Index (TBUF, Local1))
                       Store (0x80, HSTS)
                       Increment (Local1)
                   }

                   If (COMP ())
                   {
                       Or (HSTS, 0xFF, HSTS)
                       Return (TBUF)
                   }

                   Return (Zero)
               }

               Method (STRT, 0, Serialized)
               {
                   Store (0xC8, Local0)
                   While (Local0)
                   {
                       If (And (HSTS, 0x40))
                       {
                           Decrement (Local0)
                           Sleep (One)
                           If (LEqual (Local0, Zero))
                           {
                               Return (One)
                           }
                       }
                       Else
                       {
                           Store (Zero, Local0)
                       }
                   }

                   Store (0x0FA0, Local0)
                   While (Local0)
                   {
                       If (And (HSTS, One))
                       {
                           Decrement (Local0)
                           Stall (0x32)
                           If (LEqual (Local0, Zero))
                           {
                               KILL ()
                           }
                       }
                       Else
                       {
                           Return (Zero)
                       }
                   }

                   Return (One)
               }

               Method (COMP, 0, Serialized)
               {
                   Store (0x0FA0, Local0)
                   While (Local0)
                   {
                       If (And (HSTS, 0x02))
                       {
                           Return (One)
                       }
                       Else
                       {
                           Decrement (Local0)
                           Stall (0x32)
                           If (LEqual (Local0, Zero))
                           {
                               KILL ()
                           }
                       }
                   }

                   Return (Zero)
               }

               Method (KILL, 0, Serialized)
               {
                   Or (HCON, 0x02, HCON)
                   Or (HSTS, 0xFF, HSTS)
               }
           }
       }
   }
}

 

Now the MB4,1

 

Device (SBUS)
           {
               Name (_ADR, 0x001F0003)
               OperationRegion (SMBP, PCI_Config, 0x40, 0xC0)
               Field (SMBP, DWordAcc, NoLock, Preserve)
               {
                       ,   2, 
                   I2CE,   1
               }

               OperationRegion (SMBE, PCI_Config, 0x04, 0x02)
               Field (SMBE, AnyAcc, NoLock, Preserve)
               {
                   IOSE,   1
               }

               OperationRegion (SMBI, SystemIO, 0xEFA0, 0x10)
               Field (SMBI, ByteAcc, NoLock, Preserve)
               {
                   HSTS,   8, 
                           Offset (0x02), 
                   HCON,   8, 
                   HCOM,   8, 
                   TXSA,   8, 
                   DAT0,   8, 
                   DAT1,   8, 
                   HBDR,   8, 
                   PECR,   8, 
                   RXSA,   8, 
                   SDAT,   16
               }

               Method (ENAB, 0, NotSerialized)
               {
                   Store (0x01, IOSE)
               }

               Method (SSXB, 2, Serialized)
               {
                   If (STRT ())
                   {
                       Return (0x00)
                   }

                   Store (0x00, I2CE)
                   Store (0xBF, HSTS)
                   Store (Arg0, TXSA)
                   Store (Arg1, HCOM)
                   Store (0x48, HCON)
                   If (COMP ())
                   {
                       Or (HSTS, 0xFF, HSTS)
                       Return (0x01)
                   }

                   Return (0x00)
               }

               Method (SRXB, 1, Serialized)
               {
                   If (STRT ())
                   {
                       Return (0xFFFF)
                   }

                   Store (0x00, I2CE)
                   Store (0xBF, HSTS)
                   Store (Or (Arg0, 0x01), TXSA)
                   Store (0x44, HCON)
                   If (COMP ())
                   {
                       Or (HSTS, 0xFF, HSTS)
                       Return (DAT0)
                   }

                   Return (0xFFFF)
               }

               Method (SWRB, 3, Serialized)
               {
                   If (STRT ())
                   {
                       Return (0x00)
                   }

                   Store (0x00, I2CE)
                   Store (0xBF, HSTS)
                   Store (Arg0, TXSA)
                   Store (Arg1, HCOM)
                   Store (Arg2, DAT0)
                   Store (0x48, HCON)
                   If (COMP ())
                   {
                       Or (HSTS, 0xFF, HSTS)
                       Return (0x01)
                   }

                   Return (0x00)
               }

               Method (SRDB, 2, Serialized)
               {
                   If (STRT ())
                   {
                       Return (0xFFFF)
                   }

                   Store (0x00, I2CE)
                   Store (0xBF, HSTS)
                   Store (Or (Arg0, 0x01), TXSA)
                   Store (Arg1, HCOM)
                   Store (0x48, HCON)
                   If (COMP ())
                   {
                       Or (HSTS, 0xFF, HSTS)
                       Return (DAT0)
                   }

                   Return (0xFFFF)
               }

               Method (SBLW, 4, Serialized)
               {
                   If (STRT ())
                   {
                       Return (0x00)
                   }

                   Store (Arg3, I2CE)
                   Store (0xBF, HSTS)
                   Store (Arg0, TXSA)
                   Store (Arg1, HCOM)
                   Store (SizeOf (Arg2), DAT0)
                   Store (0x00, Local1)
                   Store (DerefOf (Index (Arg2, 0x00)), HBDR)
                   Store (0x54, HCON)
                   While (LGreater (SizeOf (Arg2), Local1))
                   {
                       Store (0x0FA0, Local0)
                       While (LAnd (LNot (And (HSTS, 0x80)), Local0))
                       {
                           Decrement (Local0)
                           Stall (0x32)
                       }

                       If (LNot (Local0))
                       {
                           KILL ()
                           Return (0x00)
                       }

                       Store (0x80, HSTS)
                       Increment (Local1)
                       If (LGreater (SizeOf (Arg2), Local1))
                       {
                           Store (DerefOf (Index (Arg2, Local1)), HBDR)
                       }
                   }

                   If (COMP ())
                   {
                       Or (HSTS, 0xFF, HSTS)
                       Return (0x01)
                   }

                   Return (0x00)
               }

               Method (SBLR, 3, Serialized)
               {
                   Name (TBUF, Buffer (0x0100) {})
                   If (STRT ())
                   {
                       Return (0x00)
                   }

                   Store (Arg2, I2CE)
                   Store (0xBF, HSTS)
                   Store (Or (Arg0, 0x01), TXSA)
                   Store (Arg1, HCOM)
                   Store (0x54, HCON)
                   Store (0x0FA0, Local0)
                   While (LAnd (LNot (And (HSTS, 0x80)), Local0))
                   {
                       Decrement (Local0)
                       Stall (0x32)
                   }

                   If (LNot (Local0))
                   {
                       KILL ()
                       Return (0x00)
                   }

                   Store (DAT0, Index (TBUF, 0x00))
                   Store (0x80, HSTS)
                   Store (0x01, Local1)
                   While (LLess (Local1, DerefOf (Index (TBUF, 0x00))))
                   {
                       Store (0x0FA0, Local0)
                       While (LAnd (LNot (And (HSTS, 0x80)), Local0))
                       {
                           Decrement (Local0)
                           Stall (0x32)
                       }

                       If (LNot (Local0))
                       {
                           KILL ()
                           Return (0x00)
                       }

                       Store (HBDR, Index (TBUF, Local1))
                       Store (0x80, HSTS)
                       Increment (Local1)
                   }

                   If (COMP ())
                   {
                       Or (HSTS, 0xFF, HSTS)
                       Return (TBUF)
                   }

                   Return (0x00)
               }

               Method (STRT, 0, Serialized)
               {
                   Store (0xC8, Local0)
                   While (Local0)
                   {
                       If (And (HSTS, 0x40))
                       {
                           Decrement (Local0)
                           Sleep (0x01)
                           If (LEqual (Local0, 0x00))
                           {
                               Return (0x01)
                           }
                       }
                       Else
                       {
                           Store (0x00, Local0)
                       }
                   }

                   Store (0x0FA0, Local0)
                   While (Local0)
                   {
                       If (And (HSTS, 0x01))
                       {
                           Decrement (Local0)
                           Stall (0x32)
                           If (LEqual (Local0, 0x00))
                           {
                               KILL ()
                           }
                       }
                       Else
                       {
                           Return (0x00)
                       }
                   }

                   Return (0x01)
               }

               Method (COMP, 0, Serialized)
               {
                   Store (0x0FA0, Local0)
                   While (Local0)
                   {
                       If (And (HSTS, 0x02))
                       {
                           Return (0x01)
                       }
                       Else
                       {
                           Decrement (Local0)
                           Stall (0x32)
                           If (LEqual (Local0, 0x00))
                           {
                               KILL ()
                           }
                       }
                   }

                   Return (0x00)
               }

               Method (KILL, 0, Serialized)
               {
                   Or (HCON, 0x02, HCON)
                   Or (HSTS, 0xFF, HSTS)
               }
           }
       }
   }
}

 

Now after looking at that. Where does the kings OperationRegion go? After the one I have already or before?

 

 

2. The second issue I am trying to solve is Sleep I am unable to sleep my system with my current vanilla 10.6.2 or 10.6.4 files. My LCD does sleep but my system will never auto sleep and if I force sleep I get a frozen black screen that will not wake and I just hit the power button.

 

Here is what I have tried: Sleepenabler which does nothing for my system. As I said I am almost 100% vanilla here so I need a fix that is DSDT because that is where the problem lies I believe. Speedstep so far has not fixed this issue but the sbus fix above may shed some light on this.

 

I am starting to believe that it may be USB related, but none of the typical fixes have worked.

 

3. I am trying to restart without the use of EvoReboot.kext. This is to address only a restart problem. Shutdown is fine with vanillia files/DSDT.

 

Here is what I have tried:

A. Applied restart fix available with my bootloader AnVAL. It applies a FADT patch but this patch does not address my restart problem only turns it into a shutdown instead.

 

Possible other solutions involve a DSDT fix or other FADT fix that I have yet to find.

 

Here is a rundown of my system with as much possible detail as I can think of. I am trying adapt DSDT fixes to my system to get it more Mac like. This is to overcome some issues but ultimately to make it run smoother.

 

Here is a list of all kext currently loaded on my system.

 Index Refs Address	Size	   Wired	  Name (Version) <Linked Against>
1   57 0		  0		  0		  com.apple.kpi.bsd (10.2.0)
2	4 0		  0		  0		  com.apple.kpi.dsep (10.2.0)
3   80 0		  0		  0		  com.apple.kpi.iokit (10.2.0)
4   86 0		  0		  0		  com.apple.kpi.libkern (10.2.0)
5   72 0		  0		  0		  com.apple.kpi.mach (10.2.0)
6   24 0		  0		  0		  com.apple.kpi.private (10.2.0)
7   44 0		  0		  0		  com.apple.kpi.unsupported (10.2.0)
8	0 0		  0		  0		  com.apple.kernel.6.0 (7.9.9)
9	0 0		  0		  0		  com.apple.kernel.bsd (7.9.9)
  10	3 0		  0		  0		  com.apple.kernel.iokit (7.9.9)
  11	3 0		  0		  0		  com.apple.kernel.libkern (7.9.9)
  12	1 0		  0		  0		  com.apple.kernel.mach (7.9.9)
  13   12 0x54f41000 0x4000	 0x3000	 com.apple.iokit.IOACPIFamily (1.3.0) <7 6 4 3>
  14   16 0x55133000 0x11000	0x10000	com.apple.iokit.IOPCIFamily (2.6) <7 5 4 3>
  15	2 0x551d3000 0x41000	0x40000	com.apple.driver.AppleACPIPlatform (1.3) <14 13 7 6 5 4 3>
  16	0 0x54f95000 0x5000	 0x4000	 com.superhai.driver.VoodooBattery (1.3.3) <13 5 4 3>
  17	0 0x54fa5000 0x4000	 0x3000	 com.mojodojo.driver.VoodooMonitor (1.1.1d1) <7 5 4 3>
  18	0 0x551a8000 0x1b000	0x1a000	com.apple.driver.AppleIntelCPUPowerManagement (96.0.0) <7 6 5 4 3 1>
  19   10 0x55265000 0x18000	0x17000	com.apple.iokit.IOStorageFamily (1.6) <7 6 5 4 3 1>
  20	0 0x55197000 0x11000	0x10000	com.apple.driver.DiskImages (281) <19 7 6 5 4 3 1>
  21	0 0x552bf000 0x8000	 0x7000	 com.apple.nke.applicationfirewall (2.1.11) <7 6 5 4 3 1>
  22	2 0x5516c000 0x3000	 0x2000	 com.apple.kext.AppleMatch (1.0.0d1) <4 1>
  23	0 0x55254000 0x5000	 0x4000	 com.apple.security.quarantine (0) <22 7 6 5 4 2 1>
  24	0 0x552c7000 0x8000	 0x7000	 com.apple.security.sandbox (0) <22 7 6 5 4 2 1>
  25	0 0x551cd000 0x3000	 0x2000	 com.apple.security.TMSafetyNet (6) <7 6 5 4 2 1>
  26	0 0x551c3000 0x3000	 0x2000	 com.apple.driver.AppleAPIC (1.4) <4 3>
  27	0 0x55259000 0x4000	 0x3000	 com.apple.driver.AppleSMBIOS (1.4) <7 4 3>
  28	3 0x5af31000 0x3b000	0x3a000	com.apple.iokit.IOHIDFamily (1.6.1) <7 6 5 4 3 1>
  29	0 0x55190000 0x4000	 0x3000	 com.apple.driver.AppleACPIButtons (1.3) <28 15 13 7 6 5 4 3 1>
  30	0 0x5518d000 0x3000	 0x2000	 com.apple.driver.AppleHPET (1.4) <13 7 5 4 3>
  31	0 0x55187000 0x6000	 0x5000	 com.apple.driver.AppleRTC (1.3) <13 5 4 3 1>
  32	1 0x55194000 0x3000	 0x2000	 com.apple.iokit.IOSMBusFamily (1.1) <5 4 3>
  33	0 0x55365000 0x5000	 0x4000	 com.apple.driver.AppleACPIEC (1.3) <32 15 13 5 4 3>
  34	0 0x55380000 0x4000	 0x3000	 org.netkas.fakesmc (2) <13 7 4 3>
  35	1 0x551d0000 0x3000	 0x2000	 com.apple.driver.AppleEFIRuntime (1.3.0) <7 5 4 3>
  36	8 0x5affb000 0x2f000	0x2e000	com.apple.iokit.IOUSBFamily (3.8.5) <14 7 5 4 3 1>
  37	0 0x5afbf000 0x10000	0xf000	 com.apple.driver.AppleUSBUHCI (3.7.5) <36 14 7 5 4 3 1>
  38	0 0x5525d000 0x2000	 0x1000	 com.apple.driver.AppleACPIPS2Nub (1.0.0d1) <13 7 4 3>
  39	0 0x5af9f000 0x14000	0x13000	com.apple.driver.AppleUSBEHCI (3.7.5) <36 14 7 5 4 3 1>
  40	0 0x553cd000 0x5000	 0x4000	 com.apple.driver.ApplePS2Controller (2.0.0) <5 4 3>
  41	2 0x5afe0000 0x6000	 0x5000	 com.apple.iokit.IOAHCIFamily (2.0.2) <5 4 3 1>
  42	0 0x5afcf000 0xe000	 0xd000	 com.apple.driver.AppleAHCIPort (2.0.1) <41 14 5 4 3 1>
  43	0 0x5aff0000 0x6000	 0x5000	 com.apple.driver.AppleEFINVRAM (1.3.0) <35 7 5 4 3>
  44	2 0x5b076000 0xd000	 0xc000	 com.apple.iokit.IOATAFamily (2.5.0) <5 4 3 1>
  45	0 0x5b06b000 0x9000	 0x8000	 com.apple.driver.AppleIntelPIIXATA (2.5.0) <44 14 5 4 3>
  46	2 0x5b12a000 0x43000	0x42000	com.apple.iokit.IOFireWireFamily (4.1.7) <5 4 3 1>
  47	0 0x5b0e0000 0x26000	0x25000	com.apple.driver.AppleFWOHCI (4.4.0) <46 14 7 6 5 4 3 1>
  48	5 0x5b1ec000 0x1a000	0x19000	com.apple.iokit.IOSCSIArchitectureModelFamily (2.6.0) <5 4 3 1>
  49	0 0x553d2000 0x5000	 0x4000	 com.apple.iokit.IOATAPIProtocolTransport (2.5.0) <48 44 5 4 3 1>
  50	0 0x5b1c5000 0x13000	0x12000	com.apple.iokit.IOAHCIBlockStorage (1.6.0) <41 19 5 4 3 1>
  51	0 0x5b253000 0x3000	 0x2000	 com.apple.driver.ApplePS2Keyboard (2.0.0) <28 5 4 3>
  52	0 0x5b26d000 0x4000	 0x3000	 com.apple.driver.ApplePS2Trackpad (2.0.0) <28 5 4 3>
  54	0 0x5b281000 0x3000	 0x2000	 com.apple.driver.XsanFilter (402.1) <19 5 4 3 1>
  55	3 0x5b2b5000 0x8000	 0x7000	 com.apple.iokit.IOCDStorageFamily (1.6) <19 5 4 3 1>
  56	2 0x5b2ed000 0x6000	 0x5000	 com.apple.iokit.IODVDStorageFamily (1.6) <55 19 5 4 3 1>
  57	1 0x5b302000 0x5000	 0x4000	 com.apple.iokit.IOBDStorageFamily (1.6) <56 55 19 5 4 3 1>
  58	0 0x5b348000 0x18000	0x17000	com.apple.iokit.IOSCSIMultimediaCommandsDevice (2.6.0) <57 56 55 48 19 5 4 3 1>
  59	0 0x5b2cf000 0x7000	 0x6000	 com.apple.iokit.SCSITaskUserClient (2.6.0) <48 19 5 4 3 1>
  60	0 0x5b274000 0x2000	 0x1000	 com.apple.iokit.IOUSBUserClient (3.8.5) <36 7 5 4 3 1>
  61	0 0x5b336000 0xf000	 0xe000	 com.apple.driver.AppleUSBHub (3.8.4) <36 5 4 3 1>
  62	0 0x5b31b000 0x4000	 0x3000	 com.apple.driver.AppleUSBComposite (3.7.5) <36 4 3 1>
  63	1 0x5b40e000 0x3d000	0x3c000	com.apple.iokit.IOBluetoothFamily (2.2.4f3) <7 5 4 3 1>
  64	0 0x5b3aa000 0x8000	 0x7000	 com.apple.driver.AppleUSBBluetoothHCIController (2.2.4f3) <63 36 7 5 4 3>
  65	0 0x5b39d000 0xb000	 0xa000	 com.apple.iokit.IOUSBMassStorageClass (2.5.1) <48 36 19 5 4 3 1>
  66	0 0x5b3be000 0x18000	0x17000	com.apple.iokit.IOSCSIBlockCommandsDevice (2.6.0) <48 19 5 4 3 1>
  67	0 0x5b345000 0x3000	 0x2000	 com.apple.driver.AppleIntelCPUPowerManagementClient (96.0.0) <7 6 5 4 3 1>
  69	0 0x5b5c9000 0x6000	 0x5000	 com.apple.AppleFSCompression.AppleFSCompressionTypeZlib (1.0.0d1) <6 4 3 2 1>
  70	0 0x5b5cf000 0x5000	 0x4000	 com.apple.BootCache (31) <7 6 5 4 3 1>
  71	0 0x5b7fb000 0xa000	 0x9000	 com.apple.filesystems.autofs (2.1.0) <7 6 5 4 3 1>
  72	3 0x5b7ed000 0xa000	 0x9000	 com.apple.driver.AppleSMC (3.0.1d2) <13 7 5 4 3>
  73	2 0x5b805000 0x16000	0x15000	com.apple.iokit.IONetworkingFamily (1.9) <7 6 5 4 3 1>
  76	0 0x55123000 0x9000	 0x8000	 com.apple.iokit.IOFireWireIP (2.0.3) <73 46 5 4 3 1>
  77	4 0x5b904000 0x1e000	0x1d000	com.apple.iokit.IOGraphicsFamily (2.0) <14 7 5 4 3>
  78	0 0x5b836000 0x17000	0x16000	com.apple.driver.AppleIntelGMAX3100FB (6.0.6) <77 72 14 13 7 5 4 3 1>
  81	7 0x5b8bf000 0x2c000	0x2b000	com.apple.iokit.AppleProfileFamily (41) <14 7 6 5 4 3 1>
  83	1 0x5b8eb000 0xb000	 0xa000	 com.apple.driver.IOPlatformPluginFamily (4.0.1d0) <6 5 4 3>
  84	0 0x5b97b000 0xf000	 0xe000	 com.apple.driver.ACPI_SMC_PlatformPlugin (4.0.1d0) <83 72 14 13 7 6 5 4 3>
  85	1 0x5b98a000 0xe000	 0xd000	 com.apple.iokit.IONDRVSupport (2.0) <77 14 7 5 4 3>
  86	0 0x5bbe8000 0x5b000	0x5a000	com.ZyDAS.driver.ZD1211USB (4.5.10d0) <73 36 5 4 3 1>
  87	0 0x5512c000 0x3000	 0x2000	 com.apple.driver.AppleLPC (1.4.9) <14 5 4 3>
  88	1 0x5b7f7000 0x4000	 0x3000	 com.apple.kext.OSvKernDSPLib (1.3) <5 4>
  89	2 0x5b9ef000 0x18000	0x17000	com.apple.iokit.IOAudioFamily (1.7.2fc1) <88 5 4 3 1>
  90	0 0x5baa8000 0x1f000	0x1e000	org.voodoo.driver.VoodooHDA (0.2.54) <89 14 7 5 4 3>
  91	0 0x5ba07000 0x4000	 0x3000	 com.apple.driver.AudioIPCDriver (1.1.2) <89 5 4 3 1>
  93	0 0x5be65000 0xc6000	0xc5000	com.apple.driver.AppleIntelGMAX3100 (6.0.6) <85 77 14 7 5 4 3 1>
  94	0 0x5b2c5000 0x5000	 0x4000	 com.apple.driver.AppleUpstreamUserClient (3.1.0) <77 14 13 7 5 4 3 1>
  96	0 0x5ba61000 0x6000	 0x5000	 com.apple.Dont_Steal_Mac_OS_X (7.0.0) <72 7 4 3 1>
  97	0 0x5ba57000 0x7000	 0x6000	 com.apple.driver.AppleIntelPenrynProfile (17) <81 6 4 3>
  98	1 0x5ba73000 0x9000	 0x8000	 com.apple.iokit.IOSerialFamily (10.0.3) <7 6 5 4 3 1>
  99	0 0x5ba7c000 0x9000	 0x8000	 com.apple.iokit.IOBluetoothSerialManager (2.2.4f3) <98 7 5 4 3 1>
 101	0 0x5bd9d000 0xb000	 0xa000	 com.apple.iokit.IOSurface (73.0) <7 5 4 3 1>
 102	0 0x5b729000 0x3000	 0x2000	 com.x86dev.driver.lspcidrv (1.0) <11 10>
 103	0 0x5b75c000 0x3000	 0x2000	 com.manycamllc.driver.ManyCamDriver (0.0.9) <11 10>
 104	0 0x54e42000 0x3000	 0x2000	 com.apple.driver.AppleProfileCallstackAction (20) <81 5 4 3 1>
 105	0 0x54e22000 0x3000	 0x2000	 com.apple.driver.AppleProfileKEventAction (10) <81 4 3 1>
 107	0 0x54e35000 0x3000	 0x2000	 com.apple.driver.AppleProfileRegisterStateAction (10) <81 4 3 1>
 109	0 0x54e2d000 0x3000	 0x2000	 com.apple.driver.AppleProfileThreadInfoAction (14) <81 6 4 3 1>
 110	0 0x54e3e000 0x3000	 0x2000	 com.apple.driver.AppleProfileTimestampAction (10) <81 5 4 3 1>
 111	0 0x54e64000 0x3000	 0x2000	 com.apple.driver.AppleProfileReadCounterAction (17) <81 6 4 3>
 112	0 0x72e90000 0x38000	0x37000	com.paragon-software.filesystems.ntfs (82) <7 5 4 1>
 113	0 0x5b6cd000 0x3000	 0x2000	 com.bresink.driver.BRESINKx86Monitoring (7.0) <12 11 10>

 

Here is my LSPCI info

 

00:00.0 "Host bridge" "Intel Corporation" "Mobile PM965/GM965/GL960 Memory Controller Hub" -r0c "Lenovo" 
"Unknown device 383c"
00:02.0 "VGA compatible controller" "Intel Corporation" "Mobile GM965/GL960 Integrated Graphics Controller" -r0c "Lenovo" 
"Unknown device 383e"
00:02.1 "Display controller" "Intel Corporation" "Mobile GM965/GL960 Integrated Graphics Controller" -r0c "Lenovo" 
"Unknown device 383e"
00:1a.0 "USB Controller" "Intel Corporation" "82801H (ICH8 Family) USB UHCI Controller #4" -r03 "Lenovo" "Unknown device 3846"
00:1a.1 "USB Controller" "Intel Corporation" "82801H (ICH8 Family) USB UHCI Controller #5" -r03 "Lenovo" "Unknown device 3847"
00:1a.7 "USB Controller" "Intel Corporation" "82801H (ICH8 Family) USB2 EHCI Controller #2" -r03 -p20 "Lenovo" "Unknown device 3849"
00:1b.0 "Audio device" "Intel Corporation" "82801H (ICH8 Family) HD Audio Controller" -r03 "Lenovo" "Unknown device 384e"
00:1c.0 "PCI bridge" "Intel Corporation" "82801H (ICH8 Family) PCI Express Port 1" -r03 "" ""
00:1c.1 "PCI bridge" "Intel Corporation" "82801H (ICH8 Family) PCI Express Port 2" -r03 "" ""
00:1c.2 "PCI bridge" "Intel Corporation" "82801H (ICH8 Family) PCI Express Port 3" -r03 "" ""
00:1c.3 "PCI bridge" "Intel Corporation" "82801H (ICH8 Family) PCI Express Port 4" -r03 "" ""
00:1d.0 "USB Controller" "Intel Corporation" "82801H (ICH8 Family) USB UHCI Controller #1" -r03 "Lenovo" "Unknown device 3843"
00:1d.1 "USB Controller" "Intel Corporation" "82801H (ICH8 Family) USB UHCI Controller #2" -r03 "Lenovo" "Unknown device 3844"
00:1d.2 "USB Controller" "Intel Corporation" "82801H (ICH8 Family) USB UHCI Controller #3" -r03 "Lenovo" "Unknown device 3845"
00:1d.7 "USB Controller" "Intel Corporation" "82801H (ICH8 Family) USB2 EHCI Controller #1" -r03 -p20 "Lenovo" "Unknown device 3848"
00:1e.0 "PCI bridge" "Intel Corporation" "82801 Mobile PCI Bridge" -rf3 -p01 "" ""
00:1f.0 "ISA bridge" "Intel Corporation" "82801HEM (ICH8M) LPC Interface Controller" -r03 "Lenovo" "Unknown device 3840"
00:1f.1 "IDE interface" "Intel Corporation" "82801HBM/HEM (ICH8M/ICH8M-E) IDE Controller" -r03 -p8a "Lenovo" "Unknown device 386d"
00:1f.2 "SATA controller" "Intel Corporation" "82801HBM/HEM (ICH8M/ICH8M-E) SATA AHCI Controller" -r03 -p01 "Lenovo" 
"Unknown device 386c"
00:1f.3 "SMBus" "Intel Corporation" "82801H (ICH8 Family) SMBus Controller" -r03 "Lenovo" "Unknown device 3842"
04:00.0 "Ethernet controller" "Atheros Communications Inc." "AR5001 Wireless Network Adapter" -r01 "Hewlett-Packard Company" 
"Unknown device 137b"
06:00.0 "Ethernet controller" "Broadcom Corporation" "NetLink BCM5906M Fast Ethernet PCI Express" -r02 "Lenovo" 
"Unknown device 3861"
08:06.0 "FireWire (IEEE 1394)" "Ricoh Co Ltd" "R5C832 IEEE 1394 Controller" -p10 "Lenovo" "Unknown device 3829"
08:06.1 "SD Host controller" "Ricoh Co Ltd" "R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter" -r19 "Lenovo" "Unknown device 382a"
08:06.2 "System peripheral" "Ricoh Co Ltd" "R5C843 MMC Host Controller" -r01 "Lenovo" "Unknown device 382b"
08:06.3 "System peripheral" "Ricoh Co Ltd" "R5C592 Memory Stick Bus Host Adapter" -r0a "Lenovo" "Unknown device 382c"
08:06.4 "System peripheral" "Ricoh Co Ltd" "xD-Picture Card Controller" -r05 "Lenovo" "Unknown device 382d"

 

I have also attached my DSDT.aml and if there is anything else I could provide please let me know. This is all I could think of that would be useful to address the questions I have.

 

 

I would also like to hear from others if there are possible new breakthrough fixes for any of these not as important problems.

 

1. Getting rid of ACPIps2nub and appleps2controller kext through a DSDT fix.

 

2. Getting rid of Voodoo Battery and or VoodooHDA through a DSDT fix. HDEF DSDT fix.

dsdt.zip

Link to comment
Share on other sites

for my restart fix i used AsereBLN'S boot file (only OpenHaltRestart worked before the boot file)

 

http://www.efixusers.com/showthread.php?t=...hread.php?t=644

 

my sleep was fixed by kingee's method

 

http://www.insanelymac.com/forum/index.php...howtopic=221521

 

but it wouldn't sleep with a usb plugged in until this

 

http://www.insanelymac.com/forum/index.php...p;#entry1240686

 

 

 

my system is a p5qpro 8500 o/c'd to 4.25 and the only thing left is speedstep which i won't give up my o/c for, it runs without nullcpupower but 10 to 15 c hotter (usually around 32 to 35 c, without nullcpupower it runs at 50 to 54 c) so i use nullcpupower but that means i need sleepenabler (sleeps, wakes with mouse, keyboard and power button but i lose wifi) for sound i have an old audigy 2 card. if i can put up with the heat then i only have fakesmc and atheros fix in my e/e folder, everything else is untouched. (DSDT of course)

the only time it didn't restart was when i was trying to get rid of the applelpc error, i spoofed my smbios to a macpro 3.1, then it refused to restart. i put it back to a imac 10.1 and all was good again.

 

 

good luck with your fix

Link to comment
Share on other sites

Thanks for the info..

 

In regards to sleep I did not have some of those DSDT fixes so I added them. Still sleep does not work even with the USB fix you supplied.

 

My problem with sleep is that I get a black screen but the system will not wake back up.

 

I do see these errors in my console.

 

localhost kernel[0]: USBF: 0.455 AppleUSBOHCI[0x6ac7000]::CheckSleepCapability - controller will be unloaded across sleepnetkas presents fakesmc, a kext which emulates smc devi

 

localhost kernel[0]: USBF: 0.470 AppleUSBOHCI[0x6ac7000]::CheckSleepCapability - controller will be unloaded across sleep

 

So my problem is USB devices but not AppleUSBEHCI related.

 

Any Ideas?

Link to comment
Share on other sites

Thanks.. wish that last topic was not dead.. Ohhh well

 

In an Update I no longer have the OHCI error in my log. It was due to Firewire and I also got rid of a SMC error that had to do with speedstep working. Still not sure how to get speedstep going. Need to find a tool that monitors it.

 

Sleep still remains a complete mystery along with a DSDT fix for restart..

 

Anyway have any hints?

Link to comment
Share on other sites

Thanks.. wish that last topic was not dead.. Ohhh well

 

In an Update I no longer have the OHCI error in my log. It was due to Firewire and I also got rid of a SMC error that had to do with speedstep working. Still not sure how to get speedstep going. Need to find a tool that monitors it.

 

Sleep still remains a complete mystery along with a DSDT fix for restart..

 

Anyway have any hints?

 

 

considering that i have no idea what your hardware is, no

Link to comment
Share on other sites

considering that i have no idea what your hardware is, no

 

haha yeah you do.. First post has my LSPCI and my sig has more details.. :-P

 

I'm still battling for sleep.. Clueless where to look next.. Mustang you have been really helpful with those topics.. Sometimes u just dont know what to google for.. lol

 

Anyone else have any idea about sleep..

 

Here is my current DSDT and Ioreg..

 

http://www.mediafire.com/file/3znhrnx4men/DSDT

 

Thanks aLL

Link to comment
Share on other sites

 Share

×
×
  • Create New...