oldnapalm Posted December 26, 2010 Posted December 26, 2010 Updated: MaciASL Editor developed by phpdev32, compatible with DSDT Editor patches. el coniglio released this DSDT editor with automated patching capabilities The main editor windows allows the user to open a DSL file or extract the DSDT from IOReg. It has some useful resources, like syntax highlighting, navigation tree and some options that came with the text editor component it uses, like regex matching, auto completion, jump to pair, etc. The patcher window parses a script-like language representing the patches. The user can preview the modifications before applying them. This "language" allows us to write dynamic patches that can be applied in various situations. More specific commands can be written as they become necessary. For now these are the implemented commands (which can be stacked separated by ";") Quote syntax: into [ ... ] begin [action_argument] end (will be applied to the first occurrence) into_all [ ... ] begin [action_argument] end (will be applied to all occurrences) where type: DefinitionBlock, Scope, Method, Device, Processor, ThermalZone, All property: label -- first argument for the constructor of selected type name_adr -- Name (_ADR) value name_hid -- Name (_HID) value code_regex -- regular expression to match the code of the selected type (not other types inside of it) code_regex_not -- regular expression NOT to match the code of the selected type (not other types inside of it) parent_label -- parent label parent_type -- parent type parent_adr -- parent _ADR value parent_hid -- parent _HID value action: insert -- inserts the provided code to the type set_label -- sets the label replace_matched -- replaces the matched code for the property with the provided code. Regex groups are inserted with %1, %2, ... up to %9 replaceall_matched -- same as replace_matched but will affect all matches remove_matched -- removes the matched code removeall_matched -- removes all the ocurrencies of the matched code remove_entry -- removes the entry and all children nodes replace_content -- replaces the content of the object (everything inside its main brackets) store_%8 -- stores the matched group 1 into %8 store_%9 -- stores the matched group 1 into %9 note: replacer will always consider the last provided value Changes in latest release: fixed bug which caused data loss if number of open and close brackets don't match fixed compile window to work with new IASL versions updated IASL to 20120420 Credits: Editor component: jsyntaxpane (http://code.google.com/p/jsyntaxpane/) IASL Copyright © Intel Corporation Written in Java -Guides and Tutorials HERE -Hackintosh Tutorial Database - HERE -The largest EFI folder collection for Hackintosh HERE -Support Olarila Vanilla Hackintosh by making a donation HERE -Professional Consulting for macOS Hackintosh since 2006 HERE
hackerz Posted September 25, 2011 Posted September 25, 2011 Hello oldnapalm... There is a DSDT editor and patcher that can be run in Windows rite... So I ran it in Windows, extract DSDT, I get dsdt.aml and dsdt.dsl... My question is can this dsdt.aml and dsdt.dsl be used in the OSX that I've installed? I mean it will reflect the same setting whether it is in Windows or in OSX rite... OSX Mountain Lion : 10.8.2 HP Envy 17 1.60 GHz Intel Core i7-720QM 8GB DDR3 RAM 2TB HDD (2x1TB) ATI Mobility Radeon HD 5850 43.9 cm (17.3") diagonal Full High-Definition HP Ultra BrightView Infinity Display (1920 x 1080)
oldnapalm Posted September 25, 2011 Author Posted September 25, 2011 If you extract DSDT in Windows and copy it to Mac OS without patching, it will make no difference. Windows uses DSDT from BIOS, untouched. It would be the same as leaving Mac OS (Chameleon) without a dsdt.aml file, it will get the original from BIOS. -Guides and Tutorials HERE -Hackintosh Tutorial Database - HERE -The largest EFI folder collection for Hackintosh HERE -Support Olarila Vanilla Hackintosh by making a donation HERE -Professional Consulting for macOS Hackintosh since 2006 HERE
hackerz Posted September 27, 2011 Posted September 27, 2011 Ooo... I see ... So dsdt.aml is mainly needed by Chameleon and to act as it is a BIOS itself... Am I rite? How about Chimera? Is it the same if I use Chimera instead of Chameleon? Or is it the same bootloader thingy? Ehehehehe... Another thing I want to ask... What kind of patching do you usually do to the dsdt.aml? What sort of data that you add/patch to dsdt.aml? Sorry for asking this question as I have no clue about dsdt.aml and most of the thing that I must have to run OSX on my HP Envy 17 (with all hardware functioning as in Windows ) OSX Mountain Lion : 10.8.2 HP Envy 17 1.60 GHz Intel Core i7-720QM 8GB DDR3 RAM 2TB HDD (2x1TB) ATI Mobility Radeon HD 5850 43.9 cm (17.3") diagonal Full High-Definition HP Ultra BrightView Infinity Display (1920 x 1080)
oldnapalm Posted September 27, 2011 Author Posted September 27, 2011 Actually the boot loader (no matter if it's Chameleon or Chimera) loads the patched DSDT from file (dsdt.aml) and passes it to the OS, instead of passing the original DSDT from BIOS. The needed patches depends on hardware -Guides and Tutorials HERE -Hackintosh Tutorial Database - HERE -The largest EFI folder collection for Hackintosh HERE -Support Olarila Vanilla Hackintosh by making a donation HERE -Professional Consulting for macOS Hackintosh since 2006 HERE
hackerz Posted October 2, 2011 Posted October 2, 2011 Hello oldnapalm... I've gone through the link you've given... But from what I've seen, the lists seem have nothing to do with my hardware... Could you recommend me which patch/patches I should apply to my dsdt? (or don't need to... Ehehehe) I have HP Envy 17 laptop... OSX Mountain Lion : 10.8.2 HP Envy 17 1.60 GHz Intel Core i7-720QM 8GB DDR3 RAM 2TB HDD (2x1TB) ATI Mobility Radeon HD 5850 43.9 cm (17.3") diagonal Full High-Definition HP Ultra BrightView Infinity Display (1920 x 1080)
oldnapalm Posted October 2, 2011 Author Posted October 2, 2011 I can't tell what patches you need without installing Mac OS and testing first. Probably some of these patches will be usefull for you Also, like scorpioserve, you will probably need the lapic kernel (Taptun). -Guides and Tutorials HERE -Hackintosh Tutorial Database - HERE -The largest EFI folder collection for Hackintosh HERE -Support Olarila Vanilla Hackintosh by making a donation HERE -Professional Consulting for macOS Hackintosh since 2006 HERE
hackerz Posted October 4, 2011 Posted October 4, 2011 Thank you for your excellent link... This is absolutely like what I said before... I've got basically Intel Core i7 but the thing that I should have a look at is Core i Nehalem rite... Without your guide, I wouldn't bother on that thing Anyway, what do you mean by testing first? Do you have any software for that? Or something...? And I would like also to ask you about the lapic kernel (Taptun)... What is the function of this kernel compared to the original Mac OS kernel (I believed it is called mach_kernel rite...)? Thank you for your time in answering my noob question... You are the best oldnapalm... Ehehehe OSX Mountain Lion : 10.8.2 HP Envy 17 1.60 GHz Intel Core i7-720QM 8GB DDR3 RAM 2TB HDD (2x1TB) ATI Mobility Radeon HD 5850 43.9 cm (17.3") diagonal Full High-Definition HP Ultra BrightView Infinity Display (1920 x 1080)
oldnapalm Posted October 5, 2011 Author Posted October 5, 2011 By "testing first" I mean install Mac OS, check what issues you have and if they are fixable via DSDT. The vanilla kernel doesn't work on many Core i HP laptops, you have to use "cpus=1" or you get kernel panic (local apic error). The Taptun kernel is patched to fix that problem. -Guides and Tutorials HERE -Hackintosh Tutorial Database - HERE -The largest EFI folder collection for Hackintosh HERE -Support Olarila Vanilla Hackintosh by making a donation HERE -Professional Consulting for macOS Hackintosh since 2006 HERE
hackerz Posted October 5, 2011 Posted October 5, 2011 Oo ok... Well, actually this is my situation... I've installed Lion on my laptop... I've used rBoot from tonycrap and the installer is located in an external HDD... I've used cpus=1 busratio=12 as the kernel flags... So the default PCIRootUID should be 0 rite... After a few minutes passing the apple logo, my screen became like the picture below : When I include PCIRootUID=1 in the kernel flag, after a few minutes passing the apple logo, my laptop screen becomes blank and I have to use external screen to proceed with the installation and so on until I get to the desktop... This situation also happens every time I boot my laptop into Mac OS... In the end, I have to use external screen (connecting monitor using VGA or connecting my TV through HDMI port) to see my desktop... That is one thing that puzzles me coz when I installed and run SL 10.6.3, I've no problem at all to get the display on my laptop screen (using PCIRootUID=1 or else the screen will becomes like the image above)... But after I combo update Snow Leopard to 10.6.8, the same situation occured... So what do you think oldnapalm? Do you have any idea to get around this problem? Or any suggestion/solution? Ehehehe OSX Mountain Lion : 10.8.2 HP Envy 17 1.60 GHz Intel Core i7-720QM 8GB DDR3 RAM 2TB HDD (2x1TB) ATI Mobility Radeon HD 5850 43.9 cm (17.3") diagonal Full High-Definition HP Ultra BrightView Infinity Display (1920 x 1080)
oldnapalm Posted October 5, 2011 Author Posted October 5, 2011 I think this has nothing to do with DSDT, it's a video problem, look for "GraphicsEnabler + AtiConfig". If it doesn't work, look for "forced EDID". -Guides and Tutorials HERE -Hackintosh Tutorial Database - HERE -The largest EFI folder collection for Hackintosh HERE -Support Olarila Vanilla Hackintosh by making a donation HERE -Professional Consulting for macOS Hackintosh since 2006 HERE
hackerz Posted October 6, 2011 Posted October 6, 2011 Yupes... Just read about that somewhere on the net but still struggling on doing what they say... Well, I'll certainly will look on that part... Thanx oldnapalm for your superb help and guide and explaination on this thing... Sorry for taking your time on this matter and I'm sure I'll be bothering you more often after this... Ehehehe OSX Mountain Lion : 10.8.2 HP Envy 17 1.60 GHz Intel Core i7-720QM 8GB DDR3 RAM 2TB HDD (2x1TB) ATI Mobility Radeon HD 5850 43.9 cm (17.3") diagonal Full High-Definition HP Ultra BrightView Infinity Display (1920 x 1080)
duo Posted October 21, 2011 Posted October 21, 2011 Hello, Sorry for my bad english, i'm from Romania and i've used your DSDT editor and patcher to generate the dsdt for my machine and ad a patch for my video chipset 4500MHD, but i get the a KP on load. I have loaded a picture with the KP, can you help me please and try to fix my dsdt?? dsdt.aml.zip KP1-DSDT.jpg.zip Thank you for your time!
Cassio Posted October 21, 2011 Posted October 21, 2011 Invalid File ID It was deleted, probably because it doesn't work. GMA 4500 isn't compatible with Mac OS, it can't be fixed with a DSDT patch, you need kexts which don't exist. -Guides and Tutorials HERE -Hackintosh Tutorial Database - HERE -The largest EFI folder collection for Hackintosh HERE -Support Olarila Vanilla Hackintosh by making a donation HERE -Professional Consulting for macOS Hackintosh since 2006 HERE
duo Posted October 21, 2011 Posted October 21, 2011 The ideea is to force load the kext with the help pf the dsdt. But I can't do that because i get the KP I have attached. Can you help please and corect the dsdt? Thank you!
Cassio Posted October 21, 2011 Posted October 21, 2011 You got KP because you saved a DSL file with .aml extension. You have to compile it first, then save as AML. The patch has wrong chars in lines 20-21, that's why IASL fails with "Non-ascii input file" GMA4500.txt.zip -Guides and Tutorials HERE -Hackintosh Tutorial Database - HERE -The largest EFI folder collection for Hackintosh HERE -Support Olarila Vanilla Hackintosh by making a donation HERE -Professional Consulting for macOS Hackintosh since 2006 HERE
duo Posted October 22, 2011 Posted October 22, 2011 Thank you for your response, unfortunately even if I only aply the DTGP patch, and after that i compile, i get the same KP. At the moment i'm more interested in making the dsdt work. I've atached the dsdt.aml. Can you please take a look?? dsdt.aml.zip Also my specs are: Lenovo Thinkpad X200, Model No: 7459-3T5, 12.1" LCD Display, Intel 4500MHD Chipset Processor: Intel Core 2 Duo T9550, 2.67GHz, 4GB RAM DDR3, 320GB WD Hard Drive, Conexat Cx20561 Audio Controller, Intel 4500MHD Video Chipet(Device ID: 0x2a42, Revision ID: 0x0007) Atheros AR5008X Xtreme N Wireless Card. Dual Boot System: OSX SL -> Windows 7
Cassio Posted October 22, 2011 Posted October 22, 2011 Again you saved a DSL file with .aml extension. You have to compile it first, then save as AML. Watch the video in the first post. -Guides and Tutorials HERE -Hackintosh Tutorial Database - HERE -The largest EFI folder collection for Hackintosh HERE -Support Olarila Vanilla Hackintosh by making a donation HERE -Professional Consulting for macOS Hackintosh since 2006 HERE
duo Posted October 22, 2011 Posted October 22, 2011 Sorry about that, i've attached the wrong dsdt. I have corected the 4500 patch but the dsdt still doesn't load the kext, can you please explain why or can you edit for me the patch in loading the kext from dsdt???Thank's! dsdt.aml.zip
Cassio Posted October 23, 2011 Posted October 23, 2011 You applied only DTGP. You need both DTGP and the one I attached. -Guides and Tutorials HERE -Hackintosh Tutorial Database - HERE -The largest EFI folder collection for Hackintosh HERE -Support Olarila Vanilla Hackintosh by making a donation HERE -Professional Consulting for macOS Hackintosh since 2006 HERE
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now