Jump to content

DSDT editor and patcher


oldnapalm
 Share

999 posts in this topic

Recommended Posts

If you are stuck at IOAPIC line, you probably have a DSDT file in your SL partition (created in a mobo with different used RAM slots), it should boot fine without a DSDT replacement.

 

You can apply the patches from Windows and replace that file, or simply delete it, boot and patch from SL.

 

If the Linux boot CD can't write to the HFS partition, you can use the terminal of your installation SL DVD, or use Transmac in Windows.

 

 

thank you very much

 

it works witk transmac...=)

Link to comment
Share on other sites

@Hacktrix2006: I applied the GFX patch in the correct place, I believe. About other patches, you have to know if they are really needed. The SBRG patch you applied, for example, is just needed if AppleLPC.kext is not being loaded. If you apply all patches without testing one by one, it can cause more harm than good. Many laptops work with native power management without any changes to DSDT, just setting a compatible model identifier (I use MacBookPro5,1).

 

dsdt.aml.zip

 

@anibalin: these are not errors, just warnings. If you want to remove them, just add a return in the 3 first cases, and in the last 2 I guess you can remove the last return inside those methods, since there are other returns right before them (that's why it says "statement is unreachable").

Link to comment
Share on other sites

Tested file and thanks it works brill will see what i need in my DSDT as i have a slow boot up which might mean a slow SATA fix will be required for it. Also the battery still doesn't show even when smbios is set to Mac Book 4,1 or 5,1 or 6,1.

 

My idea is to minize the ammount of kexts required to get it to work. Also the fake SMC tricks are good as well and the fake sensors they will work without issues will give it a go myself if i have any issues will ask you the ACE of DSDT how to fix

Link to comment
Share on other sites

Also the battery still doesn't show even when smbios is set to Mac Book 4,1 or 5,1 or 6,1.

By "power management" I mean AppleIntelCPUPowerManagement.kext working (vanilla SpeedStep, which works without mods in many laptops, and can be achieved with new Chameleon RC5) and AppleLPC.kext as well. Please don't confuse with the battery meter, it's a different thing, I believe you will always need a kext for that (VoodooBattery).

 

Also the fake SMC tricks are good as well and the fake sensors they will work without issues

For what I understand they are only cosmetics, since our PCs don't have the hardware.

Link to comment
Share on other sites

Applied this patch for slow SATA (IRQs)

http://www.projectosx.com/forum/index.php?showtopic=564

dsdt.aml.zip

About the cosmetics, I don't know where to insert them, there are no instructions. You can try putting them into PCI0.

 

Use this app and check if AppleLPC is loaded, and the device ID of the LPC device

http://www.insanelymac.com/forum/index.php?showtopic=219584

Link to comment
Share on other sites

Hi!

 

is here someone willing to help me, please?

I have still a lot of problems with my DSDT file :wacko:

 

1079 Warning Not all control paths return a value (Z002)

1570 Warning Not all control paths return a value (_WED)

1570 Warning Reserved method must return a value (Integer/String/Buffer required for _WED)

1576 Warning Called method may not always return a value

1608 Warning Not all control paths return a value (WMBD)

5553 Warning Result is not used, operator has no effect

 

are the latest errors I got after compiling.

 

Please, fix the errors and optimise my DSDT for working as proper as possible.

Not working at the moment:

 

wake up after sleep & sleep ( black screen and does not shut down system)

speedstep

alc883

 

what about the lid?

 

Acer Aspire 5620 Notebook with Geforce 7300go, 2GB Ram

 

Many many thanks in advance

 

URBANsUNITED

Archive.zip

Link to comment
Share on other sites

Your DSDT has no errors, just warnings. Removing those will make no difference.

 

Please attach your original DSDT, both files in the zip (unmodified and modified) are identical.

 

I see strange things in your file, like

	External (DTGP, MethodObj)	// 4 Arguments

You applied LPC and ALC883 patches, but I believe you don't need the LPC one (check the original ID of your LPC device). You probably don't need SpeedStep patch also (in my Aspire 5920 it works just setting model identifier as MacBookPro5,1).

 

You should apply the "AZAL to HDEF" and DTGP patches.

Link to comment
Share on other sites

hi oldnapalm

 

do you remeber me :(

 

this is my dsdt that you fix erroron it

 

i also fixed warring on it

 

ineed to enable sleep

 

first used sleepenabler.kext and worked

 

but when wake up error from usb

 

on my kernel log it say usb controller will not loaded durinng sleep some thing like this

 

tried patch sleep on adding return to sleep section but just when press sleep it wakeup auto after second lol with usb error consume large power

 

this tries from long time

 

this is my dsdt can you help me fix usb sleep :whistle:

 

http://www.mediafire.com/?u54k1jkb8kj77k8

 

thanks

 

this is my problem

sorry for throw :D i was sleeping when writing it

 

as above problem is that osx say that my usb controllers consume large power so when wake up from sleep usb controllers not work

you said that i need patched usb kext !

which kext need to be patched and how

thanks :)

Link to comment
Share on other sites

Sorry, I forgot about that. The kext I mentioned before is this, but I don't know if this problem is the same as yours

http://www.projectosx.com/forum/index.php?showtopic=1138

 

Your USB devices stop working after wake, but do they work again if you reconnect them?

 

You said after applying a patch it sleeps but auto wakes after a second. Check what's the wake reason in your kernel log.

Link to comment
Share on other sites

Sep 19 07:42:35 localhost kernel[0]: npvhash=4095
Sep 19 07:42:35 localhost kernel[0]: PAE enabled
Sep 19 07:42:35 localhost kernel[0]: 64 bit mode enabled
Sep 19 07:42:35 localhost kernel[0]: rtclock_init: Taking bus ratio path 0 (Boot-time argument)
Sep 19 07:42:35 localhost kernel[0]: TSC: Reported FSB:	0.0000MHz, corrected FSB:  200.676217MHz
Sep 19 07:42:35 localhost kernel[0]: TSC: Verification of clock speed failed. Fallback correction was performed. Please upgrade bootloader.
Sep 19 07:42:35 localhost kernel[0]: TSC: Frequency =   3210.819472MHz, FSB frequency =  200.676217MHz, bus ratio = 16
Sep 19 07:42:35 localhost kernel[0]: Darwin Kernel Version 10.4.0: vr 17 sep 2010 14:40:38 CEST; annappirtrvh v4 :xnu-1504.7.4-legacy/BUILD/obj/RELEASE_I386
Sep 19 07:42:35 localhost kernel[0]: vm_page_bootstrap: 972910 free pages and 75666 wired pages
Sep 19 07:42:35 localhost kernel[0]: standard timeslicing quantum is 10000 us
Sep 19 07:42:35 localhost kernel[0]: mig_table_max_displ = 73
Sep 19 07:42:35 localhost kernel[0]: Local APIC version 0x10, 0x14 or more expected
Sep 19 07:42:35 localhost kernel[0]: warning: skipping personalities in blacklisted kext com.apple.driver.AppleIntelCPUPowerManagement
Sep 19 07:42:35 localhost kernel[0]: AppleACPICPU: ProcessorId=1 LocalApicId=0 Enabled
Sep 19 07:42:35 localhost kernel[0]: AppleACPICPU: ProcessorId=2 LocalApicId=1 Enabled
Sep 19 07:42:35 localhost kernel[0]: AppleACPICPU: ProcessorId=3 LocalApicId=2 Enabled
Sep 19 07:42:35 localhost kernel[0]: AppleACPICPU: ProcessorId=4 LocalApicId=3 Enabled
Sep 19 07:42:35 localhost kernel[0]: AppleACPICPU: ProcessorId=5 LocalApicId=132 Disabled
Sep 19 07:42:35 localhost kernel[0]: AppleACPICPU: ProcessorId=6 LocalApicId=133 Disabled
Sep 19 07:42:35 localhost kernel[0]: calling mpo_policy_init for Quarantine
Sep 19 07:42:35 localhost kernel[0]: Security policy loaded: Quarantine policy (Quarantine)
Sep 19 07:42:35 localhost kernel[0]: calling mpo_policy_init for Sandbox
Sep 19 07:42:35 localhost kernel[0]: Security policy loaded: Seatbelt sandbox policy (Sandbox)
Sep 19 07:42:35 localhost kernel[0]: calling mpo_policy_init for TMSafetyNet
Sep 19 07:42:35 localhost kernel[0]: Security policy loaded: Safety net for Time Machine (TMSafetyNet)
Sep 19 07:42:35 localhost kernel[0]: Copyright (c) 1982, 1986, 1989, 1991, 1993
Sep 19 07:42:35 localhost kernel[0]: The Regents of the University of California. All rights reserved.
Sep 19 07:42:35 localhost kernel[0]: MAC Framework successfully initialized
Sep 19 07:42:35 localhost kernel[0]: using 16384 buffer headers and 4096 cluster IO buffer headers
Sep 19 07:42:35 localhost kernel[0]: IOAPIC: Version 0x21 Vectors 64:87
Sep 19 07:42:35 localhost kernel[0]: ACPI: System State [S0 S3 S4 S5] (S3)
Sep 19 07:42:35 localhost kernel[0]: RTC: Only single RAM bank (128 bytes)
Sep 19 07:42:35 localhost kernel[0]: mbinit: done (64 MB memory set for mbuf pool)
Sep 19 07:42:35 localhost kernel[0]: USBF:	0.450	AppleUSBEHCI[0x6ad6000]::CheckSleepCapability - controller will be unloaded across sleep
Sep 19 07:42:35 localhost kernel[0]: USBF:	0.451	AppleUSBEHCI[0x6ba9800]::CheckSleepCapability - controller will be unloaded across sleep
Sep 19 07:42:35 localhost kernel[0]: USBF:	0.502	AppleUSBOHCI[0x6b9c000]::CheckSleepCapability - controller will be unloaded across sleep
Sep 19 07:42:35 localhost kernel[0]: USBF:	0.502	AppleUSBOHCI[0x6b9f000]::CheckSleepCapability - controller will be unloaded across sleep
Sep 19 07:42:35 localhost kernel[0]: From path: "uuid", 
Sep 19 07:42:35 localhost kernel[0]: Waiting for boot volume with UUID 0654CF18-B3DA-3E33-AC2F-1F2BC6933BCB
Sep 19 07:42:35 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>
Sep 19 07:42:35 localhost kernel[0]: USBF:	0.512	AppleUSBOHCI[0x6b9f800]::CheckSleepCapability - controller will be unloaded across sleep
Sep 19 07:42:35 localhost kernel[0]: USBF:	0.512	AppleUSBOHCI[0x6ad6800]::CheckSleepCapability - controller will be unloaded across sleep
Sep 19 07:42:35 localhost kernel[0]: FireWire runtime power conservation disabled. (2)
Sep 19 07:42:35 localhost kernel[0]: com.apple.AppleFSCompressionTypeZlib kmod start
Sep 19 07:42:35 localhost kernel[0]: com.apple.AppleFSCompressionTypeZlib load succeeded
Sep 19 07:42:35 localhost kernel[0]: Got boot device = IOService:/AppleACPIPlatformExpert/PCI0@180000/AppleACPIPCI/SATA@11/AppleAHCI/PRID@0/IOAHCIDevice@0/AppleAHCIDiskDriver/IOAHCIBlockStorageDevice/IOBlockStorageDriver/WDC WD6400AACS-00G8B1 Media/IOFDiskPartitionScheme/Untitled 1@1
Sep 19 07:42:35 localhost kernel[0]: BSD root: disk1s1, major 14, minor 5
Sep 19 07:42:35 localhost kernel[0]: FireWire (OHCI) VendorID 1106 ID 3403 PCI now active, GUID 001e8c0001da754e; max speed s400.
Sep 19 07:42:35 localhost kernel[0]: warning: kernel was not built with custom dyld blob
Sep 19 07:42:35 localhost kernel[0]: warning: using standard dyld with patcher enabled
Sep 19 07:42:35 localhost kernel[0]: USBF:	5.624	AppleUSBOHCI[0x6b9c800]::CheckSleepCapability - controller will be unloaded across sleep
Sep 19 07:42:35 localhost kernel[0]: Waiting for DSMOS...
Sep 19 07:42:36 localhost kernel[0]: systemShutdown false
Sep 19 07:42:37 localhost kernel[0]: warning: skipping personalities in blacklisted kext com.apple.driver.AppleIntelMeromProfile
Sep 19 07:42:37 localhost kernel[0]: warning: skipping personalities in blacklisted kext com.apple.driver.AppleIntelNehalemProfile
Sep 19 07:42:37 localhost kernel[0]: warning: skipping personalities in blacklisted kext com.apple.driver.AppleIntelPenrynProfile
Sep 19 07:42:37 localhost kernel[0]: warning: skipping personalities in blacklisted kext com.apple.driver.AppleIntelYonahProfile
Sep 19 07:42:37 The-Kings-Mac-Pro kernel[0]: Apple16X50ACPI1: Identified Serial Port on ACPI Device=UAR1
Sep 19 07:42:37 The-Kings-Mac-Pro kernel[0]: Apple16X50UARTSync1: Detected 16550AF/C/CF FIFO=16 MaxBaud=115200
Sep 19 07:42:43 The-Kings-Mac-Pro kernel[0]: ACPI_SMC_PlatformPlugin::start - waitForService(resourceMatching(AppleIntelCPUPowerManagement) timed out
Sep 19 07:42:43 The-Kings-Mac-Pro kernel[0]: WARNING: ACPI_SMC_PlatformPlugin - getCPUIDInfo unknown CPU family: family 0x10, model 0x4
Sep 19 07:42:43 The-Kings-Mac-Pro kernel[0]: -- power management may be incomplete or unsupported
Sep 19 07:42:43 The-Kings-Mac-Pro kernel[0]: VoodooHDADevice[0x465dc000]::init
Sep 19 07:42:43 The-Kings-Mac-Pro kernel[0]: FakeSMC: Opensource SMC device emulator by netkas (C) 2009
Sep 19 07:42:43 The-Kings-Mac-Pro kernel[0]: FakeSMC: Monitoring plugins support by mozodojo (C) 2010
Sep 19 07:42:43 The-Kings-Mac-Pro kernel[0]: FakeSMC: Original idea of plugins and code sample by usr-sse2 (C) 2010
Sep 19 07:42:43 The-Kings-Mac-Pro kernel[0]: Enabling output audio routing switching at node 28:
Sep 19 07:42:43 The-Kings-Mac-Pro kernel[0]: Enabling output audio routing switching at node 29:
Sep 19 07:42:43 The-Kings-Mac-Pro kernel[0]: Pin sense: cad 0 nid=28 res=1
Sep 19 07:42:43 The-Kings-Mac-Pro kernel[0]: setDesc  change description Line-out (Green Rear) channel 0 assoc 0
Sep 19 07:42:43 The-Kings-Mac-Pro kernel[0]: Pin sense: cad 0 nid=29 res=1
Sep 19 07:42:44 The-Kings-Mac-Pro kernel[0]: FakeSMC_Radeon: found 68b8 chip
Sep 19 07:42:44 The-Kings-Mac-Pro kernel[0]: SuperIO: Probing NSC
Sep 19 07:42:44 The-Kings-Mac-Pro kernel[0]: SuperIO: Probing ITE
Sep 19 07:42:44 The-Kings-Mac-Pro kernel[0]: NTFS driver 3.2 [Flags: R/W].
Sep 19 07:42:44 The-Kings-Mac-Pro kernel[0]: NTFS volume name Data2 HD, version 3.1.
Sep 19 07:42:44 The-Kings-Mac-Pro kernel[0]: NTFS volume name Windows 7, version 3.1.
Sep 19 07:42:44 The-Kings-Mac-Pro kernel[0]: NTFS volume name Store HD, version 3.1.
Sep 19 07:42:44 The-Kings-Mac-Pro kernel[0]: NTFS volume name Data1 HD, version 3.1.
Sep 19 07:42:45 The-Kings-Mac-Pro kernel[0]: SuperIO: Detected ITE IT8720F on 0x290
Sep 19 07:42:45 The-Kings-Mac-Pro kernel[0]: DSMOS has arrived
Sep 19 07:42:45 The-Kings-Mac-Pro kernel[0]: SuperIO: Binding key Th0H
Sep 19 07:42:45 The-Kings-Mac-Pro kernel[0]: SuperIO: Binding key TN0P
Sep 19 07:42:45 The-Kings-Mac-Pro kernel[0]: SuperIO: Binding key VC0C
Sep 19 07:42:45 The-Kings-Mac-Pro kernel[0]: SuperIO: Fan 0 name associated with hardware Fan0
Sep 19 07:42:45 The-Kings-Mac-Pro kernel[0]: SuperIO: Binding key F0Ac
Sep 19 07:42:45 The-Kings-Mac-Pro kernel[0]: SuperIO: Fan 1 name associated with hardware Fan1
Sep 19 07:42:45 The-Kings-Mac-Pro kernel[0]: SuperIO: Binding key F1Ac
Sep 19 07:42:45 The-Kings-Mac-Pro kernel[0]: AttansicL1eEthernet: Ethernet address 00:24:8c:85:d0:40
Sep 19 07:42:45 The-Kings-Mac-Pro kernel[0]: ** Device in slot: SLOT-1 **
Sep 19 07:42:45 The-Kings-Mac-Pro kernel[0]: Found ATI Radeon 68b8
Sep 19 07:42:45 The-Kings-Mac-Pro kernel[0]: Binding key TG0D

 

as you see all usb controllers have this bug so after sleep controllers unloaded so if i unplugged mouse etc and then plugged the same problem not work

the problem is on controllers itself

and there are no kext on this topic :whistle:

sorry for long kernel log :(

 

ok i found kext you say will try it :)

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...