Jump to content

ACPI (DSDT) Patcher for BIOS and AML


koalala
 Share

845 posts in this topic

Recommended Posts

Yeah.

Especially the shutdown (some GA Boards reboot insted) and wakeup seems to be a problem with dsdt (poszed this here).

 

I also found out some ??? about fixes in the WAK and USB devs(its one of the first automatic fixes of the dsdt tools).

 

Normaly:

... Method (_WAK, 1, NotSerialized)

....

Notify (\_SB.PCI0.USB0, Zero)

Notify (\_SB.PCI0.USB1, Zero)

Notify (\_SB.PCI0.USB2, Zero)

Notify (\_SB.PCI0.USB3, Zero)

Notify (\_SB.PCI0.USB4, Zero)

Notify (\_SB.PCI0.USB5, Zero)

Return (Package (0x02)

{

Zero,

Zero

})

}

--------

In the USB part (GA have more than 5 USB Ports) we find more USB named things.

Device (USB0)

Device (USB1)

Device (USB2)

Device (USB3)

Device (USB31)

Device (USB4)

Device (USB5)

Device (USBE)

Device (USE2)

These are also listed in the IoRegistryExplorer.

 

I dont have problems with USB, but maybe that WAK may include some more devices at the end ?

 

Also it would be great if some dsdt hero could (for testing) tell us in which part of the dsdt we have to look, if without dsdt shutdown / sleep+wakeup works, with dsdt (no errors in compiling!) THAT DIDNT WORK anymore.

So that issue (shutdown/reboot/sleep+wakeup) must be somewhere in the generated dsdt fixes.

I use OpenHalt Restart and tested without it. Then my mac can shutdown anymore if removed (same with/without dsdt).

Bild_420.jpg

Link to comment
Share on other sites

Yeah.

Especially the shutdown (some GA Boards reboot insted) and wakeup seems to be a problem with dsdt (poszed this here).

 

I also found out some ??? about fixes in the WAK and USB devs(its one of the first automatic fixes of the dsdt tools).

 

Normaly:

... Method (_WAK, 1, NotSerialized)

....

Notify (\_SB.PCI0.USB0, Zero)

Notify (\_SB.PCI0.USB1, Zero)

Notify (\_SB.PCI0.USB2, Zero)

Notify (\_SB.PCI0.USB3, Zero)

Notify (\_SB.PCI0.USB4, Zero)

Notify (\_SB.PCI0.USB5, Zero)

Return (Package (0x02)

{

Zero,

Zero

})

}

--------

In the USB part (GA have more than 5 USB Ports) we find more USB named things.

Device (USB0)

Device (USB1)

Device (USB2)

Device (USB3)

Device (USB31)

Device (USB4)

Device (USB5)

Device (USBE)

Device (USE2)

These are also listed in the IoRegistryExplorer.

 

I dont have problems with USB, but maybe that WAK may include some more devices at the end ?

 

Also it would be great if some dsdt hero could (for testing) tell us in which part of the dsdt we have to look, if without dsdt shutdown / sleep+wakeup works, with dsdt (no errors in compiling!) THAT DIDNT WORK anymore.

So that issue (shutdown/reboot/sleep+wakeup) must be somewhere in the generated dsdt fixes.

I use OpenHalt Restart and tested without it. Then my mac can shutdown anymore if removed (same with/without dsdt).

 

I've done some massive DSDT editing to my GA-P35-DS3L and I'll have to test some of my settings, but sleep, shutdown, restart all work flawlessly. I'm on bios F9a and Leopard 10.5.7 beta. I'll have to try my latest DSDT with 10.5.6 again. As far as restart/shutdown is concerned, I use the latest VoodooPower.kext from Superhai. It does both speedspeeding and fixes the restart/shutdown issue everyone has. Also I didn't do any tricks in Leopard to fix sleep. I.E. selecting power settings in Energy Saver, using third party usb drivers, etc.

 

Roisoft and myself are still doing a lot of edits and would like to start a thread of what we've done/learned. I think DSDT is the future of fixing/injecting a lot of things. It really is amazing when done properly. :whistle:

 

-Stell

Link to comment
Share on other sites

I've done some massive DSDT editing to my GA-P35-DS3L and I'll have to test some of my settings, but sleep, shutdown, restart all work flawlessly. I'm on bios F9a and Leopard 10.5.7 beta. I'll have to try my latest DSDT with 10.5.6 again. As far as restart/shutdown is concerned, I use the latest VoodooPower.kext from Superhai. It does both speedspeeding and fixes the restart/shutdown issue everyone has. Also I didn't do any tricks in Leopard to fix sleep. I.E. selecting power settings in Energy Saver, using third party usb drivers, etc.

 

Roisoft and myself are still doing a lot of edits and would like to start a thread of what we've done/learned. I think DSDT is the future of fixing/injecting a lot of things. It really is amazing when done properly. :unsure:

 

-Stell

 

Thanks, i have an different BIOS / Boadr GA-EP35-DS3 /F3 (latest stable).

Can you post here your dsdt.dsl (zipped, readable not the .aml) ?

I can look in and check whats different.

Because its really funny, why aktivating dsdt (by an dsdt.aml found) my GA-EP35 cant wake up (sleep works, wakeup=reboot) and an friends GA goes to restart if he select shutdown (also when he disable dsdt it works).

Which bootloader do you use (chameleon v11 ode PCEFI V9).

Anyone knows if my wakeup problem (reboots) is because pcefiV9 made some changes how he set the

pc to sleep and wake up ? I mean different hibernate modes. I have S3 (supend to RAm in BIOS) and dont have that deep sleep mode enabled (Mode 3) for usage of the sleepimage file.

 

I asked several times in the PCEFI V9 thread whats that "-nowake" is for or what mode PCEFIV9 use - no answer .

 

I have pmset -g (terminal )

e180049014:~ ami$ pmset -g

Active Profiles:

AC Power -1*

Currently in use:

sleep 0

displaysleep 3

hibernatefile /var/vm/sleepimage

ttyskeepawake 1

autorestart 0

hibernatemode 0

powerbutton 0

disksleep 0

e180049014:~ ami$

Link to comment
Share on other sites

Hi . just wondering if ur patcher can resolve the shared memory graphic card like mine.. geforce 7000M ? I have been experimenting with the dsdt from MP5.1 which uses 9400M shared memory graphic card but to no avail. Is there a template for nforce/MCP DSDT?

Link to comment
Share on other sites

GMA950: Please include the "Final solution (FIX) for GMA950 Desktop edition" from this thread: http://www.insanelymac.com/forum/index.php?showtopic=143340

 

This allows desktop GMA950 users to use STOCK graphics kexts and have no artefacts.

 

The windows version already included this, so this one will probably include it too.

Link to comment
Share on other sites

Today i use ACPI patcher for enabling ATI 3650 in ECS G31T-M7 10/100 Ethernet Edition without acpi fix.

With the DSDT.aml from DSDT Patcher, the 3650 only create the blue screen.

The ACPI Patcher was sucessful, but i must use USB Keyboard and USB Mouse, the Attansic L2 driver not sucessful and the process shutdown was not finish...but the restart was sucessful.

 

Here 's my ioreg

http://paste2.org/p/160943

 

I think the ATI is in P0P2 and the Attansic L2 is in the p0p4

Link to comment
Share on other sites

HI...

 

I would like to use DSDT.aml for my 7600GS 128 MB with TV-out.....

 

with this patcher I've tried all 3 options with tv-out but I got screen on TV and black screen on LCD....hardware accel. and QE works....

 

I had the same problem with nvinject.... but with natit it works ....detects screens and got working LCD+TV....

 

the only different thing is NVMT.....

 

can I add it???

 

can someone help with it???

 

natit:

 

<key>@0,NVMT</key>

<data>

CgN/IEwtHAJ4BRoESAfQBWAGAABBBB0EIQQAAPDBQQcA

AAEAAAAA/wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA

AAD//wAAAAAAAAAAAAABAAAAAAAAAA==

</data>

<key>@0,compatible</key>

<string>NVDA,NVMac</string>

<key>@0,device_type</key>

<string>display</string>

<key>@0,fboffset</key>

<integer>131072</integer>

<key>@0,name</key>

<string>NVDA,Display-A</string>

<key>@1,compatible</key>

<string>NVDA,NVMac</string>

<key>@1,device_type</key>

<string>display</string>

<key>@1,name</key>

<string>NVDA,Display-B</string>

<key>NVCAP</key>

<data>

BAABAAAAAwAMAAAAAAAACgAAAAA=

</data>

<key>device_type</key>

<string>NVDA,Parent</string>

 

dsdt.aml

 

"@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, 0x03, 0x00,

/* 0008 */ 0x1C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x07,

/* 0010 */ 0x00, 0x00, 0x00, 0x00

},

 

"VRAM,totalsize",

Buffer (0x04)

{

0x00, 0x00, 0x00, 0x08

},

 

"device_type",

Buffer (0x0D)

{

"NVDA,GeForce"

},

 

"model",

Buffer (0x17)

{

"nVidia GeForce 7600 GS"

},

 

"rom-revision",

Buffer (0x25)

{

"nVidia GeForce 7600 GS OpenGL Engine"

 

thanks for replay

Link to comment
Share on other sites

Hello

This is my output from IORegistryExplorer

what pci should i use for my Ethernet and should i use en0 or GIGE (What's the difference?)

Thanks

 

??? you compressed the IORE.app in the .zip, NOT the output of IORE !!!

Link to comment
Share on other sites

Hello

This is my output from IORegistryExplorer

what pci should i use for my Ethernet and should i use en0 or GIGE (What's the difference?)

Thanks

 

You can see that your LAN has PCI PEX4, so use that.

I would say that en0 or GIGE doenst matter.

But dont forget to set TM fix (down right) !

 

If you do this, the LAN will set from IOBUILDIN = false to true, which is needed for TM !

Bild_492.jpg

Link to comment
Share on other sites

Hello!

Tried to run the laptop HP 8710w ACPI Patcher from the Patcher02Beta4 package to create your DSDT file and received a reply that there were no tables DSDT in BIOS.

Start ACPIScope, which showed the existence of all, anything-but-DSDT-table. There SSDT, HPET, FADT, XSDT and RSDT.

Is it possible to use it to create a DSDT-patch Mac OS.

Installed Leo 10.5.6 from the original disc using a CD-Chameleon on the external USB-HDD.

Axes itself is not bad, but start 6 min and slip away in 1-2 minutes.

 

HP 8710w

Intel Core 2 Duo T9300

2Gb

200Gb HDD

NV Quadro FX3600M

Intel 82566MM Gigabit

Intel 4965 Wi-Fi (Broadcom 4311)

Works almost everything:

Video - all screen resolution, QE - No

Network - does not work after the slip, you need a reboot.

The sound - only the dynamics of a laptop.

I have two versions of the file and the BIOS firmware on both 1024KB:

1. 68MAD.BIN

2. Rom.BIN

Question: Is it possible to extract from these tables DSDT files on another PC?

 

Thank you.

Link to comment
Share on other sites

Thanks mitch_de

Now my Ethernet works with TM support.

I also deleted OpenHaltRestart and Disabler kext's and everything working fine.

Two more questions if you don't mind:

1.Do I still need AppleDecrypt kext?

2.My video card is working with pci@0 and PEGP marked but i get this "errors" on boot:

 

Mar 13 12:59:03 localhost com.apple.launchctl.System[2]: launchctl: Please convert the following to launchd: /etc/mach_init.d/dashboardadvisoryd.plist

Mar 13 12:59:03 localhost com.apple.launchd[1] (com.apple.blued): Unknown key for boolean: EnableTransactions

Mar 13 12:59:03 localhost com.apple.launchd[1] (org.cups.cupsd): Unknown key: SHAuthorizationRight

Mar 13 12:59:03 localhost com.apple.launchd[1] (org.ntp.ntpd): Unknown key: SHAuthorizationRight

Mar 13 12:59:04 localhost kernel[0]: npvhash=4095

Mar 13 12:59:04 localhost kextd[10]: 418 cached, 0 uncached personalities to catalog

Mar 13 12:59:04 localhost kernel[0]: hi mem tramps at 0xffe00000

Mar 13 12:59:04 localhost kernel[0]: PAE enabled

Mar 13 12:59:04 localhost kernel[0]: 64 bit mode enabled

Mar 13 12:59:04 localhost kernel[0]: Darwin Kernel Version 9.6.0: Mon Nov 24 17:37:00 PST 2008; root:xnu-1228.9.59~1/RELEASE_I386

Mar 13 12:59:04 localhost kernel[0]: standard timeslicing quantum is 10000 us

Mar 13 12:59:04 localhost kernel[0]: vm_page_bootstrap: 974612 free pages and 73964 wired pages

Mar 13 12:59:04 localhost kernel[0]: mig_table_max_displ = 79

Mar 13 12:59:04 localhost kernel[0]: Extension "com.apple.driver.AppleACPIPlatform" has immediate dependencies on both com.apple.kernel and com.apple.kpi components; use only one style.

Mar 13 12:59:04 localhost kernel[0]: Extension "com.apple.driver.AppleIntelCPUPowerManagement" has immediate dependencies on both com.apple.kernel and com.apple.kpi components; use only one style.

Mar 13 12:59:04 localhost kernel[0]: AppleDecrypt: Copyright © 2008 Dale Walsh

Mar 13 12:59:04 localhost kernel[0]: AppleDecrypt: Starting...

Mar 13 12:59:04 localhost kernel[0]: AppleACPICPU: ProcessorApicId=0 LocalApicId=0 Enabled

Mar 13 12:59:04 localhost kernel[0]: AppleACPICPU: ProcessorApicId=1 LocalApicId=1 Enabled

Mar 13 12:59:04 localhost kernel[0]: AppleACPICPU: ProcessorApicId=2 LocalApicId=2 Disabled

Mar 13 12:59:04 localhost kernel[0]: AppleACPICPU: ProcessorApicId=3 LocalApicId=3 Disabled

Mar 13 12:59:04 localhost kernel[0]: Loading security extension com.apple.security.TMSafetyNet

Mar 13 12:59:04 localhost kernel[0]: calling mpo_policy_init for TMSafetyNet

Mar 13 12:59:04 localhost kernel[0]: Security policy loaded: Safety net for Time Machine (TMSafetyNet)

Mar 13 12:59:04 localhost kernel[0]: Loading security extension com.apple.nke.applicationfirewall

Mar 13 12:59:04 localhost kernel[0]: Loading security extension com.apple.security.seatbelt

Mar 13 12:59:04 localhost kernel[0]: calling mpo_policy_init for mb

Mar 13 12:59:04 localhost kernel[0]: Seatbelt MACF policy initialized

Mar 13 12:59:04 localhost kernel[0]: Security policy loaded: Seatbelt Policy (mb)

Mar 13 12:59:04 localhost kernel[0]: Copyright © 1982, 1986, 1989, 1991, 1993

Mar 13 12:59:04 localhost kernel[0]: The Regents of the University of California. All rights reserved.

Mar 13 12:59:04 localhost kernel[0]: MAC Framework successfully initialized

Mar 13 12:59:04 localhost kernel[0]: using 16384 buffer headers and 4096 cluster IO buffer headers

Mar 13 12:59:04 localhost kernel[0]: IOAPIC: Version 0x20 Vectors 64:87

Mar 13 12:59:04 localhost kernel[0]: ACPI: System State [s0 S3 S4 S5] (S3)

Mar 13 12:59:04 localhost kernel[0]: Extension "com.apple.driver.AppleACPIPlatform" has immediate dependencies on both com.apple.kernel and com.apple.kpi components; use only one style.

Mar 13 12:59:04: --- last message repeated 1 time ---

Mar 13 12:59:04 localhost kernel[0]: mbinit: done

Mar 13 12:59:04 localhost kernel[0]: Security auditing service present

Mar 13 12:59:04 localhost kernel[0]: BSM auditing present

Mar 13 12:59:04 localhost kernel[0]: extension "com.apple.driver.AppleHDAController" cannot be found

Mar 13 12:59:04 localhost kernel[0]: can't find extension com.apple.driver.AppleHDAController

Mar 13 12:59:04 localhost kernel[0]: Can't determine dependencies for com.apple.driver.AppleHDAController.

Mar 13 12:59:04 localhost kernel[0]: Couldn't alloc class "AppleHDAController"

Mar 13 12:59:04 localhost kernel[0]: From path: "uuid",

Mar 13 12:59:04 localhost kernel[0]: Waiting for boot volume with UUID FEDDD020-3F83-3A5A-ADC7-A80A1C7D460A

Mar 13 12:59:04 localhost kernel[0]: Waiting on <dict ID="0"><key>IOProviderClass</key><string ID="1">IOResources</string><key>IOResourceMatch</key><string ID="2">boot-uuid-media</string></dict>

Mar 13 12:59:04 localhost kernel[0]: USBF: 0.249 AppleUSBOHCI[0x60c3800]::CheckSleepCapability - controller will be unloaded across sleep

Mar 13 12:59:04 localhost kernel[0]: extension org.tgwbd.driver.LegacyAppleAHCIPort is not loadable

Mar 13 12:59:04 localhost kernel[0]: Can't determine dependencies for org.tgwbd.driver.LegacyAppleAHCIPort.

Mar 13 12:59:04 localhost kernel[0]: extension "com.apple.driver.AppleHDAController" cannot be found

Mar 13 12:59:04 localhost kernel[0]: can't find extension com.apple.driver.AppleHDAController

Mar 13 12:59:04 localhost kernel[0]: Can't determine dependencies for com.apple.driver.AppleHDAController.

Mar 13 12:59:04 localhost kernel[0]: Couldn't alloc class "AppleHDAController"

Mar 13 12:59:04 localhost kernel[0]: USBF: 0.284 AppleUSBOHCI[0x6107800]::CheckSleepCapability - controller will be unloaded across sleep

Mar 13 12:59:04 localhost kernel[0]: FireWire (OHCI) TI ID 8024 PCI now active, GUID 007a7d6500001fd0; max speed s400.

Mar 13 12:59:04 localhost kernel[0]: Got boot device = IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/IDE1@1F,2/AppleAHCI/PRIM@0/IOAHCIDevice@0/AppleAHCIDiskDriver/IOAHCIBlockStorageDevice/IOBlockStorageDriver/WDC WD1600JS-00MHB0 Media/IOGUIDPartitionScheme/Apple_HFS_Untitled_2@2

Mar 13 12:59:04 localhost kernel[0]: BSD root: disk0s2, major 14, minor 2

Mar 13 12:59:04 localhost kernel[0]: Extension "com.apple.driver.iTunesPhoneDriver" has no explicit kernel dependency; using version 6.0.

Mar 13 12:59:04 localhost kernel[0]: Jettisoning kernel linker.

Mar 13 12:59:04 localhost kernel[0]: Resetting IOCatalogue.

Mar 13 12:59:04 localhost kernel[0]: GFX0: family specific matching fails

Mar 13 12:59:04 localhost kernel[0]: Matching service count = 0

Mar 13 12:59:04 localhost kernel[0]: Matching service count = 1

Mar 13 12:59:04 localhost kernel[0]: Matching service count = 2

Mar 13 12:59:04: --- last message repeated 3 times ---

Mar 13 12:59:04 localhost kernel[0]: GFX0: family specific matching fails

Mar 13 12:59:05: --- last message repeated 2 times ---

Mar 13 12:59:05 localhost kernel[0]: ** Device in slot: SLOT--1 **

Mar 13 12:59:05 localhost kernel[0]: GFX0: family specific matching fails

Mar 13 12:59:06 localhost kernel[0]: AppleIntelCPUPowerManagement: initialization complete

Mar 13 12:59:08 localhost bootlog[53]: BOOT_TIME: 1236941941 0

Mar 13 12:59:08 localhost rpc.statd[35]: statd.notify - no notifications needed

Mar 13 12:59:08 localhost DirectoryService[49]: Launched version 5.6 (v514.24)

Mar 13 12:59:08 localhost kernel[0]: com_psystar_RealtekR1000: Ethernet address 00:1f:d0:9a:93:21

Mar 13 12:59:08 localhost fseventsd[44]: bumping event counter to: 0x83807bcb (current 0x0) from log file '0000000083806da0'

 

Is this errors supposed to be?

Does the rest of my log is "error free"? :)

 

Thanks

Link to comment
Share on other sites

1.Do I still need AppleDecrypt kext?

 

Yes you will always need that or the dsmos.kext.

2.My video card is working with pci@0 and PEGP marked but i get this "errors" on boot:

 

 

 

Is this errors supposed to be?

Does the rest of my log is "error free"? :rolleyes:

 

Thanks

 

That is normal as far as I can tell as it has always shown up in my boot messages the rest of it looks good too you don't even get the firewire unable to determine security error the firewire still works mind you with this error but yours appears to be seen as a native OS X chip.

Link to comment
Share on other sites

There is an new V 0.5 with some Gigabyte changes i dont understand on DL site 1.

 

 

FaceWizard is a tool to create a custom bootscreens.

It can read & write BIOS files for gigabyte MB.

 

I suppose (as I can read) he uses a dll from FaceWizard to write the patch to the BIOS file (for gigabyte)

 

 

But I could be totally wrong ofcourse :unsure:

 

regards

Link to comment
Share on other sites

Yes it is.

The awd.dll from Facewizard is a cbrom version but not executable.

There is awdrun.exe to launch it which is a file from FaceWizard too.

This version is dated from ~06/2008 (last cbrom is ~11/2007) so it should be more compatible and it could solve some DualBIOS / double beep problem since there is no problem when modifying logo with Gigabyte program.

 

I found nobody using this on the internet. But since cbrom is outdated, I tried to find a solution.

For those who want to use FaceWizard for modifying other BIOS :

 

Usage :

awdrun jimmy /acpi NEWACPI.bin
awdrun jimmy /logo NEWLOGO.bmp
awdrun jimmy /oem1 release
...

 

Don't use it for extracting, this is not reliable (0A are replaced by 00). But for reinserting it seems to be more reliable. /d switch isn't supported

 

jimmy is needed, I don't know what it is but I found this after analazing the program with an hex editor. Without jimmy, the program does nothing.

Link to comment
Share on other sites

Hi Koalala, Please I need a bios mod for my Asus P5Q-E (not 0803) because it has a 1703 and I can´t flash it.

 

I have a Q6600 with 2 GB RAM DDR2 800MHz and HD 3870 1 GB

BIOS Link http://www.mediafire.com/?sharekey=8273cbd...04e75f6e8ebb871

ORIGINAL Link http://support.asus.com/download/download....amp;model=P5Q-E

 

 

I upload the new 1901 bios !

 

Many thanks Koalala

Link to comment
Share on other sites

Download the ACPI Patcher from the first post in this thread, run it under Windows (any PC, if you don't have Windows use a friends PC or virtual PC with Windows under OSX) create dsdt.aml and place it at the root of your OSX86 boot volume. You don't need to flash or mod your BIOS.

 

The only way to downgrade the BIOS on P5Q series ASUS boards is to use AFUDOS, which you can grab in the download section for your motherboard at ASUS' website. You can run it from a bootable pen drive or floppy.

Link to comment
Share on other sites

 Share

×
×
  • Create New...