Jump to content

DSDT editor and patcher

DSDT editor patcher

  • Please log in to reply
991 replies to this topic

#641
MaLd0n

MaLd0n

    ...filling veins with juice of chaos...

  • Moderators
  • 11,139 posts
  • Gender:Male
  • Location:Rio de Janeiro
How to apply a patch (video)


patches
http://www.insanelym...p...t&p=1501094

#642
Lucas Maldonado

Lucas Maldonado

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 2 posts

How to apply a patch (video)


patches
http://www.insanelym...p...t&p=1501094


thing is I don't want to edit anything just want to save my original. Don't get how i save a copy of that. Sorry I am new to this lol.

#643
oldnapalm

oldnapalm

    InsanelyMac V.I.P.

  • Moderators
  • 6,857 posts
  • Gender:Male
  • Location:Brazil
Just extract and save the file without making any change.

You are not editing actual DSDT in BIOS, it's just a file that will be used by the boot loader to replace the original when booting Mac OS X. Don't need to backup, you can always extract the original again.

#644
forch

forch

    InsanelyMac Protégé

  • Members
  • Pip
  • 34 posts
Is the DSDT Editor still being maintained? I have this weird problem where sometimes at the start of the first scope, e.g where Scope (_SB) should start, only the text [child] appears and the rest of the DSDT is missing.

Is the code downloadable (SVN, git)?

Cheers

#645
oldnapalm

oldnapalm

    InsanelyMac V.I.P.

  • Moderators
  • 6,857 posts
  • Gender:Male
  • Location:Brazil
Yes, it's still being maintained, but we don't have bug reports for a while.

Looks like a problem in the parser, maybe your DSL file has some inconsistency. It shouldn't happen if you are opening an AML file.

Are you using the latest version?

Can you attach the file that causes this problem?

The source is not available for now, but if you want to help in development you can contact the author (el coniglio) via PM (he doesn't check the forum very often).

#646
el coniglio

el coniglio

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 101 posts
As I responded to forch in a PM it must be something (comment maybe) breaking the Scope pattern. The [child] tag is a reference to where the inner node will be placed, for those who use the "node editor" function it is pretty common to face these [child].

#647
oldnapalm

oldnapalm

    InsanelyMac V.I.P.

  • Moderators
  • 6,857 posts
  • Gender:Male
  • Location:Brazil
Actually we removed the node editor in the last update, when we replaced the "editable text" checkbox by the "update tree" button.

#648
URBANsUNITED

URBANsUNITED

    InsanelyMac Protégé

  • Members
  • Pip
  • 28 posts
Hi,

I need your help, please.

Can someone please take a look at the attached DSDT files.
Is there something to improve? Is anything missing?
I am not able to get sleep working for example. :)

The original one is extracted by Ubuntu by a live DVD.

My System

AMD using latest legacy 10.6 Kernel
Athlon 4400+
Geforce 9800 GT
4GB Ram
Nforce System MCP55 Devices
Marvel 81116 LAn

Mainboard: Gigabyte M57SLI-S4

Bootloader: AnVAL (ACPI Loader) 5.1.4 32bit

Do you need more to know?

my log file:
[codebox]Jan 26 13:12:39 localhost kernel[0]: npvhash=4095
Jan 26 13:12:39 localhost kernel[0]: PAE enabled
Jan 26 13:12:39 localhost kernel[0]: 64 bit mode enabled
Jan 26 13:12:39 localhost kernel[0]: rtclock_init: Taking bus ratio path 1 (AMD Athlon)
Jan 26 13:12:39 localhost kernel[0]: TSC: Reported FSB: 308.246008MHz, corrected FSB: 201.29382MHz
Jan 26 13:12:39 localhost kernel[0]: TSC: Verification of clock speed failed. Fallback correction was performed. Please upgrade bootloader.
Jan 26 13:12:39 localhost kernel[0]: TSC: Frequency = 2311.837893MHz, FSB frequency = 201.29382MHz, bus ratio = 11.5
Jan 26 13:12:39 localhost kernel[0]: Darwin Kernel Version 10.6.0: Sun Jan 9 16:31:48 EST 2011; legacy kernel v6 :xnu-1504.9.26/BUILD/obj/RELEASE_I386
Jan 26 13:12:39 localhost kernel[0]: vm_page_bootstrap: 1021917 free pages and 18467 wired pages
Jan 26 13:12:39 localhost kernel[0]: standard timeslicing quantum is 10000 us
Jan 26 13:12:39 localhost kernel[0]: mig_table_max_displ = 73
Jan 26 13:12:39 localhost kernel[0]: Local APIC version 0x10, 0x14 or more expected
Jan 26 13:12:39 localhost kernel[0]: warning: skipping personalities in blacklisted kext com.apple.driver.AppleIntelCPUPowerManagement
Jan 26 13:12:39 localhost kernel[0]: [SleepEnabler] Registering PowerManagement dispatch table...
Jan 26 13:12:39 localhost kernel[0]: [SleepEnabler] To disable (if the kernel panics), please specify the boot argument pmVersion=0
Jan 26 13:12:39 localhost kernel[0]: Warning: Version mis-match between Kernel and CPU PM (0x 15 != 0x 15)
Jan 26 13:12:39 localhost kernel[0]: [SleepEnabler] Calling pmInitComplete()...
Jan 26 13:12:39 localhost kernel[0]: AppleACPICPU: ProcessorId=0 LocalApicId=0 Enabled
Jan 26 13:12:39 localhost kernel[0]: AppleACPICPU: ProcessorId=1 LocalApicId=1 Enabled
Jan 26 13:12:39 localhost kernel[0]: AppleACPICPU: ProcessorId=2 LocalApicId=2 Disabled
Jan 26 13:12:39 localhost kernel[0]: AppleACPICPU: ProcessorId=3 LocalApicId=3 Disabled
Jan 26 13:12:39 localhost kernel[0]: calling mpo_policy_init for Quarantine
Jan 26 13:12:39 localhost kernel[0]: Security policy loaded: Quarantine policy (Quarantine)
Jan 26 13:12:39 localhost kernel[0]: calling mpo_policy_init for Sandbox
Jan 26 13:12:39 localhost kernel[0]: Security policy loaded: Seatbelt sandbox policy (Sandbox)
Jan 26 13:12:39 localhost kernel[0]: calling mpo_policy_init for TMSafetyNet
Jan 26 13:12:39 localhost kernel[0]: Security policy loaded: Safety net for Time Machine (TMSafetyNet)
Jan 26 13:12:39 localhost kernel[0]: Copyright © 1982, 1986, 1989, 1991, 1993
Jan 26 13:12:39 localhost kernel[0]: The Regents of the University of California. All rights reserved.
Jan 26 13:12:39 localhost kernel[0]: MAC Framework successfully initialized
Jan 26 13:12:39 localhost kernel[0]: using 16384 buffer headers and 4096 cluster IO buffer headers
Jan 26 13:12:39 localhost kernel[0]: Unsynchronized TSC for cpu 1: 0x0000001c2e7f1a6f, delta 0xffffffffffcddb4c
Jan 26 13:12:39 localhost kernel[0]: IOAPIC: Version 0x11 Vectors 64:87
Jan 26 13:12:39 localhost kernel[0]: ACPI: System State [S0 S3 S4 S5] (S3)
Jan 26 13:12:39 localhost kernel[0]: RTC: Only single RAM bank (128 bytes)
Jan 26 13:12:39 localhost kernel[0]: FakeSMC: Opensource SMC device emulator by netkas © 2009
Jan 26 13:12:39 localhost kernel[0]: FakeSMC: Modified for plugins support by mozodojo © 2010 v3.0
Jan 26 13:12:39 localhost kernel[0]: FakeSMC: Idea of FakeSMC plugins and code sample by usr-sse2
Jan 26 13:12:39 localhost kernel[0]: FakeSMC: Thanks to slice for help with hardware support code and plugins
Jan 26 13:12:39 localhost kernel[0]: FakeSMCDevice: 17 keys added
Jan 26 13:12:39 localhost kernel[0]: AppleNForceATA: sata phy reset done.
Jan 26 13:12:39: --- last message repeated 2 times ---
Jan 26 13:12:39 localhost kernel[0]: USBF: 0.529 Attempting to get EHCI Controller from BIOS
Jan 26 13:12:39 localhost kernel[0]: USBF: 0.529 USBLEGCTLSTS value 0xe0040000
Jan 26 13:12:39 localhost kernel[0]: USBF: 0.529 acquireOSOwnership done - value 0x1000001
Jan 26 13:12:39 localhost kernel[0]: AppleNForceATA: found 1 units.
Jan 26 13:12:39: --- last message repeated 1 time ---
Jan 26 13:12:39 localhost kernel[0]: FireWire runtime power conservation disabled. (2)
Jan 26 13:12:39 localhost kernel[0]: AppleNForceATA: NVIDIA nForce MCP 55 Serial ATA by MeDevil (CMD 0xa800, CTR 0xac00, IRQ 23, BM 0xb800)
Jan 26 13:12:39 localhost kernel[0]: AppleNForceATA: found 1 units.
Jan 26 13:12:39 localhost kernel[0]: AppleNForceATA: found 2 units.
Jan 26 13:12:39 localhost kernel[0]: AppleNForceATA: NVIDIA nForce MCP 55 by MeDevil (CMD 0x1f0, CTR 0x3f4, IRQ 14, BM 0xf000)
Jan 26 13:12:39 localhost kernel[0]: AppleNForceATA: NVIDIA nForce MCP 55 Serial ATA by MeDevil (CMD 0xb000, CTR 0xb400, IRQ 23, BM 0xb808)
Jan 26 13:12:39 localhost kernel[0]: AppleNForceATA: NVIDIA nForce MCP 55 Serial ATA by MeDevil (CMD 0xbc00, CTR 0xc000, IRQ 23, BM 0xcc00)
Jan 26 13:12:39 localhost kernel[0]: AppleNForceATA: warning: phy connection failed. status=0x00000000
Jan 26 13:12:39: --- last message repeated 2 times ---
Jan 26 13:12:39 localhost kernel[0]: AppleNForceATA: found 0 units.
Jan 26 13:12:39: --- last message repeated 2 times ---
Jan 26 13:12:39 localhost kernel[0]: FireWire (OHCI) TI ID 8024 PCI now active, GUID 001a4d5600ed34f4; max speed s400.
Jan 26 13:12:39 localhost kernel[0]: IT87x: found ITE IT8716F
Jan 26 13:12:39 localhost kernel[0]: mbinit: done (64 MB memory set for mbuf pool)
Jan 26 13:12:39 localhost kernel[0]: From path: "uuid",
Jan 26 13:12:39 localhost kernel[0]: Waiting for boot volume with UUID C2BD4AB8-4D30-302C-B1AA-867CAD8B5FE6
Jan 26 13:12:39 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>
Jan 26 13:12:39 localhost kernel[0]: com.apple.AppleFSCompressionTypeZlib kmod start
Jan 26 13:12:39 localhost kernel[0]: com.apple.AppleFSCompressionTypeZlib load succeeded
Jan 26 13:12:39 localhost kernel[0]: Got boot device = IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/SAT1@5/AppleNForceATARoot/PRI0@0/AppleNForceATA/ATADeviceNub@0/AppleATADiskDriver/IOATABlockStorageDevice/IOBlockStorageDriver/SAMSUNG HD502IJ SAMSUNG HD502IJ/IOGUIDPartitionScheme/Apple_HFS_Untitled_2@3
Jan 26 13:12:39 localhost kernel[0]: BSD root: disk0s3, major 14, minor 5
Jan 26 13:12:39 localhost kernel[0]: jnl: unknown-dev: replay_journal: from: 262656 to: 2227712 (joffset 0x129000)
Jan 26 13:12:39 localhost kernel[0]: jnl: unknown-dev: journal replay done.
Jan 26 13:12:39 localhost kernel[0]: warning: kernel was not built with custom dyld blob
Jan 26 13:12:39 localhost kernel[0]: warning: using standard dyld with patcher enabled
Jan 26 13:12:39 localhost kernel[0]: hfs: Removed 2 orphaned / unlinked files and 0 directories
Jan 26 13:12:40 localhost kernel[0]: systemShutdown false
Jan 26 13:12:44 localhost kernel[0]: warning: skipping personalities in blacklisted kext com.apple.driver.AppleIntelMeromProfile
Jan 26 13:12:44 localhost kernel[0]: warning: skipping personalities in blacklisted kext com.apple.driver.AppleIntelNehalemProfile
Jan 26 13:12:44 localhost kernel[0]: warning: skipping personalities in blacklisted kext com.apple.driver.AppleIntelPenrynProfile
Jan 26 13:12:44 localhost kernel[0]: warning: skipping personalities in blacklisted kext com.apple.driver.AppleIntelYonahProfile
Jan 26 13:12:44 localhost kernel[0]: Waiting for DSMOS...
Jan 26 13:12:44 localhost kernel[0]: Decryption hasn't succeeded yet (probably will retry)
Jan 26 13:12:44 localhost kernel[0]: patch_exec_obj_segment failed
Jan 26 13:12:44 localhost kernel[0]: map_segment failed
Jan 26 13:12:44 localhost kernel[0]: Decryption hasn't succeeded yet (probably will retry)
Jan 26 13:12:44 localhost kernel[0]: patch_exec_obj_segment failed
Jan 26 13:12:44 localhost kernel[0]: map_segment failed
Jan 26 13:12:45 ServerAdmins-Mac kernel[0]: NTFS driver 3.3 [Flags: R/W].
Jan 26 13:12:45 ServerAdmins-Mac kernel[0]: NTFS volume name , version 3.1.
Jan 26 13:12:45 ServerAdmins-Mac kernel[0]: NTFS volume name Volume, version 3.1.
Jan 26 13:12:45 ServerAdmins-Mac kernel[0]: jnl: disk0s4: replay_journal: from: 20788736 to: 20875264 (joffset 0xd63000)
Jan 26 13:12:47 ServerAdmins-Mac kernel[0]: NTFS volume name Volume2, version 3.1.
Jan 26 13:12:47 ServerAdmins-Mac kernel[0]: jnl: disk0s4: journal replay done.
Jan 26 13:12:47 ServerAdmins-Mac kernel[0]: Apple16X50ACPI1: Identified Serial Port on ACPI Device=UAR1
Jan 26 13:12:47 ServerAdmins-Mac kernel[0]: Apple16X50UARTSync1: Detected 16550AF/C/CF FIFO=16 MaxBaud=115200
Jan 26 13:12:47 ServerAdmins-Mac kernel[0]: Previous Shutdown Cause: 3
Jan 26 13:12:47 ServerAdmins-Mac kernel[0]: Decryption hasn't succeeded yet (probably will retry)
Jan 26 13:12:47 ServerAdmins-Mac kernel[0]: patch_exec_obj_segment failed
Jan 26 13:12:47 ServerAdmins-Mac kernel[0]: map_segment failed
Jan 26 13:12:48 ServerAdmins-Mac kernel[0]: NVDANV50HAL loaded and registered.
Jan 26 13:12:48 ServerAdmins-Mac kernel[0]: nForceLAN: found nVidia MCP55 Ethernet Controller device 10de:0373 with flags 0x010937fe
Jan 26 13:12:48 ServerAdmins-Mac kernel[0]: nForceLAN: Version 0.64.5 starting
Jan 26 13:12:52 ServerAdmins-Mac kernel[0]: ACPI_SMC_PlatformPlugin::start - waitForService(resourceMatching(AppleIntelCPUPowerManagement) timed out
Jan 26 13:12:52 ServerAdmins-Mac kernel[0]: WARNING: ACPI_SMC_PlatformPlugin - getCPUIDInfo unknown CPU family: family 0xf, model 0x6b
Jan 26 13:12:52 ServerAdmins-Mac kernel[0]: -- power management may be incomplete or unsupported
Jan 26 13:12:52 ServerAdmins-Mac kernel[0]: DSMOS has arrived
Jan 26 13:12:52 ServerAdmins-Mac kernel[0]: nForceLAN: Ethernet address 00:1d:7d:91:6d:76
Jan 26 13:12:52 ServerAdmins-Mac kernel[0]: nForceLAN(en0): enabling interrupts with mask: 0x000000df and msiEnable: 0x00000007
Jan 26 13:12:52 ServerAdmins-Mac kernel[0]: nForceLAN(en0): Network link down.
Jan 26 13:12:55 ServerAdmins-Mac kernel[0]: nForceLAN(en0): Link speed now 100Mbps(duplex = Full, flow control = Yes), code 0x10064.
Jan 26 13:13:05 ServerAdmins-Mac kernel[0]: AppleNForceATA: found 0 units.
Jan 26 13:13:36 ServerAdmins-Mac kernel[0]: AppleNForceATA: found 0 units.
Jan 26 13:17:34 ServerAdmins-Mac kernel[0]: IOSCSIPeripheralDeviceType05::setPowerState(0x6f51100, 4 -> 3) timed out after 100481 ms
Jan 26 13:22:35 ServerAdmins-Mac kernel[0]: IOSCSIPeripheralDeviceType05::setPowerState(0x6f51100, 3 -> 2) timed out after 100553 ms
Jan 26 13:27:35 ServerAdmins-Mac kernel[0]: IOSCSIPeripheralDeviceType05::setPowerState(0x6f51100, 2 -> 1) timed out after 100458 ms[/codebox]


Many thanks in advance!!!

Greetings

URBANsUNITED

Attached Files



#649
amtech

amtech

    InsanelyMac Protégé

  • Members
  • PipPip
  • 76 posts
  • Gender:Male
  • Location:France
  • Interests:Audio / GraphX / Video
My Patch for nVidia GTS 450 (Twintech)

nvidia450gts-1024mb-txt.zip

#650
anibalin

anibalin

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 278 posts
Hi guys, im getting this error:
Posted Image

I know I should add a return (zero) between but still getting the warning.
thanks in advance.

http://dl.dropbox.co.../micro_dsdt.dsl

#651
oldnapalm

oldnapalm

    InsanelyMac V.I.P.

  • Moderators
  • 6,857 posts
  • Gender:Male
  • Location:Brazil
Where it warns

Not all control paths return a value (_CST)
Reserved method must return a value (Package required for _CST)

you should add
Return (Package (Zero) {})
or
Return (Package (One) { 0x00 })
and where it warns

Not all control paths return a value (_ROM)
Reserved method must return a value (Buffer required for _ROM)

you should add
Return (Buffer (Zero) {})
or
Return (Buffer (One) { 0x00 })

But I think it won't make much of a difference, other than suppressing the warnings.

Attached Files



#652
anibalin

anibalin

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 278 posts
thanks oldnap. :)

#653
Lord_Jeremy

Lord_Jeremy

    InsanelyMac Sage

  • Members
  • PipPipPipPipPipPip
  • 380 posts
Links on first page (post 3) for some patches are broken.

#654
zonker

zonker

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 148 posts
Is your extra folder installed to the root of the partition or just on the desktop? can it be moved from the desktop to just be in the main folders list on the drive? Does Chameleon search the entire partition for the extra folder or a specific location?

#655
oldnapalm

oldnapalm

    InsanelyMac V.I.P.

  • Moderators
  • 6,857 posts
  • Gender:Male
  • Location:Brazil
It must be in the root of the boot partition.

#656
zonker

zonker

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 148 posts
can you please go through the terminal steps to do this?

thanks for your help.

#657
oldnapalm

oldnapalm

    InsanelyMac V.I.P.

  • Moderators
  • 6,857 posts
  • Gender:Male
  • Location:Brazil
You don't need to use terminal, you can use Finder.

In terminal you can use cp or mv. Let's say it's in the desktop
sudo mv ~/Desktop/Extra /
or
sudo cp -R ~/Desktop/Extra /


#658
zonker

zonker

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 148 posts
So I can just drag the extra folder I downloaded from MaLd0n http://www.insanelym...p...=dsdt&st=40 to the desktop? How do I get it to the root?

I then install chameleon and then run the auto patcher? Or run the auto patcher and then install chameleon?

So it would be:

sudo -s
sudo cp -R ~/Desktop/Extra /
exit


?

I'm not good at terminal. It's been two years since I've tried installing any of this so it's all new again.

Thank you for your help.

#659
oldnapalm

oldnapalm

    InsanelyMac V.I.P.

  • Moderators
  • 6,857 posts
  • Gender:Male
  • Location:Brazil
Just drag and drop to the Mac OS HD in the Finder side bar, it will be moved to the root of the partition.

#660
Time2Retire

Time2Retire

    Retired

  • Retired Developers
  • 1,012 posts
  • Gender:Female
  • Location:anonymouse.eu
Anyone looking for a faster and smaller copy of Method DTGP may look at this:
Method (MCDP, 2, NotSerialized)                                              // New Method V1.1 – By Master Chief.    {        If (LEqual (Arg0, Zero))                                                 // Function index: 0        {            Store (Buffer (One)            {                0x03            }, Arg1)        }    }
Call it with:
MCDP (Arg2, RefOf (Local0))
Use that instead of that old heavy weight argument eating beast:
DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))






Also tagged with one or more of these keywords: DSDT, editor, patcher


3 user(s) are reading this topic

0 members, 3 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy