Jump to content

DSDT for D430/D420


Mariusz

Recommended Posts

Now my best DSDT for D420. Initial version from Mariusz. Corrections of constants from native DSDT. My corrections.

Changes vs native:

1. DefinitionBlock ("DSDT.aml", "DSDT", 1, "Apple ", "MacBook ", 0x00010001)

2. OS identification Store (0x10, MIS3)

3. Method (DTGP, 5, NotSerialized)

4. Apple's naming convention:

PWRB, ARPT, LPCB, IPIC, FRWR

except AZALHDEF because I afraid of AppleHDA to be started.

That's why I have no audio injection.

5. Waiking USB. Not sure in this patch.

        Method (_L03, 0, NotSerialized)
       {
           Notify (\_SB.PCI0.USB0, 0x02)
           Notify (\_SB.PWRB, 0x02)
       }

 

6. Wake up for Power Adapter as well as Battery.

        Device (AC)
       {
           Name (_HID, "ACPI0003")
           Name (_PRW, Package (0x02)
           {
               0x16, 
               0x03
           })

 

7. Device (PNLF)

8. Exclude IO 0x20, 0xA0, 0x4D0 and IRQ0 from abstract device MB2 and add these addresses to IPIC.

9. Add a device FSAM for ACPImonitor to see CPU Heatsink temperature with iStat. Works not stable :(

10. Exclude IRQ from RTC and TMR.

11. Exclude devices SPKR, ECP. No drivers in OSX.

12. Add IRQ2 to IPIC (brightness problem).

13. Add IRQ 0,8,11 to HPET. IRQ0,8 for speedstep, IRQ11 for USB problem.

14. _DSM injections for all USB devices.

15. IOATAFamily panic patch.

16. Method UDMA same as origin but differ from Mariusz.

17. Device (SBUS) definition. Don't know but it really presents in the hardware.

18. _DSM injection for VID device. Dunno how many fields is obligatory and what is extra.

19. Exclude Device (DVI) - black screen problem. Do not change VID2 device.

20. _SUN unjection for PCI devices to see they in System Profiler

21. _DSM for Firewire. Can't check if it helps.

22. Exclude Device (CRD1) { Name (_ADR, 0x00010005) as non-existant at this address.

23. Definition for Device (CRD2) //SD Controller 0x0822

24. Device (ARPT) definitions.

25. Initial errors and warning corrections to make dsdt compilable.

 

 

TODO:

1. As MacOSX always set GPIC=1 then we can reduce DSDT by all PICx packages. Only APIx needed

            Method (_PRT, 0, NotSerialized)
           {
               Store (API0, Local0)
               If (LNot (GPIC))
               {
                   Store (PIC0, Local0)
               }

               Return (Local0)
           }

 

2. Sound cosmetics?

3. Sleep problem is still unresolved.

4. What about MECI implementation as did in Dell Inspiron 1530?

5. Still the question about SMBD. Not implemented for now.

    Method (_PTS, 1, NotSerialized)
   {
       SMI (0x8A, Arg0)
//   	Store (One, SMBD)
   }

 

6. Where is FAN? Where is WiFi LED?

 

dsdt-D420-v19-02-2011.zip

 

Link to comment
Share on other sites

×
×
  • Create New...