Translator

Spanish flagItalian flagKorean flagChinese (Simplified) flagChinese (Traditional) flagPortuguese flagEnglish flagGerman flagFrench flag
Japanese flagArabic flagRussian flagGreek flagDutch flagBulgarian flagCzech flagCroatian flagDanish flag
Finnish flagHindi flagPolish flagRomanian flagSwedish flagNorwegian flagCatalan flagFilipino flagHebrew flag
Indonesian flagLatvian flagLithuanian flagSerbian flagSlovak flagSlovenian flagUkrainian flagVietnamese flagAlbanian flag
Estonian flagGalician flagMaltese flagThai flagTurkish flagHungarian flag   

Quien está conectado

1 visitantes conectados ahora
0 visitantes, 1 bots, 0 miembros

Visitantes

If you want to submit the DSDT code you are using, you can use our email: soporte-at-osx86.es
I will add it to this site, so other people (and yourself) can find it and use.

Also send your computer model and bios version if needed.

I´m now thinking also how to credit all the people that has research, develop and improve all this DSDT thingy… hum, maybe i will do a “Hall of Fame” for them. :D

Don´t send your full DSDT, just the DSDT hack and the proper placement on the main code for it.


This is the code for the Atheros 9285 8802.11 a/b/g/n Wifi card located on some Toshiba Laptops.

Snow Leopard 10.6.8

DSDT Code
Click on the right “View source” icon to get the code

                Method (_DSM, 4, NotSerialized)
                {
                    Store (Package (0x14)
                        {
                            "AAPL,slot-name", 
                            Buffer (0x08)
                            {
                                "Airport"
                            }, 

                            "name", 
                            Buffer (0x0B)
                            {
                                "pci168c,2a"
                            }, 

                            "IOName", 
                            Buffer (0x0B)
                            {
                                "pci168c,2a"
                            }, 

                            "device_type", 
                            Buffer (0x08)
                            {
                                "Airport"
                            }, 

                            "model", 
                            Buffer (0x36)
                            {
                                "Atheros 9285 8802.11 a/b/g/n Wireless Network Adapter"
                            }, 

                            "device-id", 
                            Unicode ("*"), 
                            "subsystem-id", 
                            Buffer (0x04)
                            {
                                0x8F, 0x00, 0x00, 0x00
                            }, 

                            "subsystem-vendor-id", 
                            Buffer (0x04)
                            {
                                0x6B, 0x10, 0x00, 0x00
                            }, 

                            "IO80211Locale", 
                            Buffer (0x04)
                            {
                                "FCC"
                            }, 

                            "IO80211CountryCode", 
                            Buffer (0x03)
                            {
                                "X0"
                            }
                        }, Local0)
                    DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                    Return (Local0)
                }

Mountain Lion (Thx to yurick).

DSDT Code
Click on the right “View source” icon to get the code

                Method (_DSM, 4, NotSerialized)
                {
                    Store (Package (0x18)
                        {
                            "AAPL,slot-name", 
                            Buffer (0x09)
                            {
                                "Built In"
                            }, 

                            "built-in", 
                            Buffer (One)
                            {
                                0x00
                            }, 

                            "device_type", 
                            Buffer (0x08)
                            {
                                "AirPort"
                            }, 

                            "device-id", 
                            Unicode ("*"), 
                            "compatible", 
                            Buffer (0x28)
                            {
                                "pci106b,8f, pci168c,2a, pciclass,028000"
                            }, 

                            "model", 
                            Buffer (0x20)
                            {
                                "AR9285 Wireless Network Adapter"
                            }, 

                            "IOName", 
                            Buffer (0x0B)
                            {
                                "pci168c,2a"
                            }, 

                            "name", 
                            Buffer (0x0B)
                            {
                                "pci168c,2a"
                            }, 

                            "revision-id", 
                            Buffer (0x04)
                            {
                                0x01, 0x00, 0x00, 0x00
                            }, 

                            "subsystem-id", 
                            Buffer (0x04)
                            {
                                0x8F, 0x00, 0x00, 0x00
                            }, 

                            "subsystem-vendor-id", 
                            Buffer (0x04)
                            {
                                0x6B, 0x10, 0x00, 0x00
                            }, 

                            "vendor-id", 
                            Buffer (0x04)
                            {
                                0x8C, 0x16, 0x00, 0x00
                            }
                        }, Local0)
                    DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                    Return (Local0)
                }
            }



This is DSDT code for Nvidia GT 525M bundled on Toshiba laptops, it will give full opengl aceleration and brightness control.

Replace PEGP device with this code.

DSDT Code
Click on the right “View source” icon to get the code

            Device (PEGP)
            {
                Name (_ADR, 0xFFFF)
                Method (_DSM, 4, NotSerialized)
                {
                    Store (Package (0x38)
                        {
                            "AAPL,backlight-control", 
                            Buffer (0x04)
                            {
                                0x01, 0x00, 0x00, 0x00
                            }, 

                            "@0,backlight-control", 
                            Buffer (0x04)
                            {
                                0x01, 0x00, 0x00, 0x00
                            }, 

                            "AAPL,aux-power-connected", 
                            Buffer (0x04)
                            {
                                0x01, 0x00, 0x00, 0x00
                            }, 

                            "@0,AAPL,boot-display", 
                            Buffer (One)
                            {
                                0x01
                            }, 

                            "@0,display-cfg", 
                            Buffer (0x04)
                            {
                                0xFF, 0xFF, 0x36, 0x00
                            }, 

                            "@1,display-cfg", 
                            Buffer (0x04)
                            {
                                0x01, 0x3E, 0xFF, 0x00
                            }, 

                            "@0,built-in", 
                            Buffer (0x04)
                            {
                                0x00, 0x00, 0x00, 0x01
                            }, 

                            "@0,use-backlight-blanking", 
                            Buffer (0x04) {}, 
                            "AAPL,gray-page", 
                            Buffer (0x04)
                            {
                                0x01, 0x00, 0x00, 0x00
                            }, 

                            "AAPL00,inverter", 
                            Buffer (0x04)
                            {
                                0x00, 0x00, 0x00, 0x00
                            }, 

                            "AAPL,slot-name", 
                            Buffer (0x07)
                            {
                                "Slot-1"
                            }, 

                            "@1,can-hot-plug", 
                            Buffer (0x04) {}, 
                            "AAPL00,blackscreen.preferences", 
                            Buffer (0x04)
                            {
                                0x00, 0x00, 0x00, 0x08
                            }, 

                            "AAPL01,blackscreen.preferences", 
                            Buffer (0x04)
                            {
                                0x00, 0x00, 0x00, 0x08
                            }, 

                            "@0,pwm-info", 
                            Buffer (0x18)
                            {
                                /* 0000 */    0x02, 0x18, 0x00, 0x64, 0x90, 0x59, 0x02, 0x00, 
                                /* 0008 */    0x08, 0x52, 0x00, 0x00, 0xA5, 0x1C, 0x00, 0x00, 
                                /* 0010 */    0x00, 0x04, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00
                            }, 

                            "NVPM", 
                            Buffer (0x1C)
                            {
                                /* 0000 */    0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                /* 0008 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                /* 0010 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                /* 0018 */    0x00, 0x00, 0x00, 0x00
                            }, 

                            "@0,EDID", 
                            Buffer (0x80)
                            {
                                /* 0000 */    0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x00, 
                                /* 0008 */    0x4C, 0xA3, 0x45, 0x32, 0x00, 0x00, 0x00, 0x00, 
                                /* 0010 */    0x00, 0x12, 0x01, 0x00, 0x80, 0x22, 0x13, 0x78, 
                                /* 0018 */    0x0A, 0x87, 0xF5, 0x94, 0x57, 0x4F, 0x8C, 0x27, 
                                /* 0020 */    0x27, 0x50, 0x54, 0x00, 0x00, 0x00, 0x01, 0x01, 
                                /* 0028 */    0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 
                                /* 0030 */    0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x41, 0x1C, 
                                /* 0038 */    0x56, 0xA0, 0x50, 0x00, 0x16, 0x30, 0x30, 0x20, 
                                /* 0040 */    0x25, 0x00, 0x58, 0xC2, 0x10, 0x00, 0x00, 0x19, 
                                /* 0048 */    0x00, 0x00, 0x00, 0x0F, 0x00, 0x00, 0x00, 0x00, 
                                /* 0050 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x23, 0x87, 0x02, 
                                /* 0058 */    0x64, 0x01, 0x00, 0x00, 0x00, 0xFE, 0x00, 0x53, 
                                /* 0060 */    0x41, 0x4D, 0x53, 0x55, 0x4E, 0x47, 0x0A, 0x20, 
                                /* 0068 */    0x20, 0x20, 0x20, 0x20, 0x00, 0x00, 0x00, 0xFE, 
                                /* 0070 */    0x00, 0x4C, 0x54, 0x4E, 0x31, 0x35, 0x36, 0x41, 
                                /* 0078 */    0x54, 0x30, 0x32, 0x30, 0x30, 0x30, 0x00, 0x7C
                            }, 

                            "@0,compatible", 
                            Buffer (0x0B)
                            {
                                "NVDA,NVMac"
                            }, 

                            "@0,device_type", 
                            Buffer (0x08)
                            {
                                "display"
                            }, 

                            "@0,name", 
                            Buffer (0x0F)
                            {
                                "NVDA,Display-A"
                            }, 

                            "@1,compatible", 
                            Buffer (0x0B)
                            {
                                "NVDA,NVMac"
                            }, 

                            "@1,device_type", 
                            Buffer (0x08)
                            {
                                "display"
                            }, 

                            "@1,name", 
                            Buffer (0x0F)
                            {
                                "NVDA,Display-B"
                            }, 

                            "NVCAP", 
                            Buffer (0x18)
                            {
                                /* 0000 */    0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 
                                /* 0008 */    0xFE, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0A, 
                                /* 0010 */    0x00, 0x00, 0x00, 0x00
                            }, 

                            "VRAM,totalsize", 
                            Buffer (0x04)
                            {
                                0x00, 0x00, 0x00, 0x40
                            }, 

                            "device_type", 
                            Buffer (0x0C)
                            {
                                "NVDA,Parent"
                            }, 

                            "model", 
                            Buffer (0x10)
                            {
                                "GeForce GT 525M"
                            }, 

                            "rom-revision", 
                            Buffer (0x0F)
                            {
                                "70.08.54.00.0B"
                            }
                        }, Local0)
                    DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                    Return (Local0)
                }

                Name (_PRW, Package (0x02)
                {
                    0x09, 
                    0x04
                })
            }

 



If you need to dump your ACPI tables, i recommend you to visit this thread on ProjectOsx, where files and information are provided to dump from Osx, Windows and Linux.

ProjectOsx thread

Also you can get a python script for Osx and Linux here:

Insanelymac thread

 



There is a really nice site, it´s Tea´s blog.

There you will find a lot of real Apple Hardware dumps in ioreg format (for ioregistry explorer app), acpi files, Lspci output, etc…

If you´re looking for Apple hardware information, go there is a must. :)

Here is the Link