Nezix Posted January 3, 2010 Share Posted January 3, 2010 Hello world of hackintosh, I'm using Mac OS X 10.5.6 on my hp pavilion dv6274ea and I tought it was a current notebook but I've never seen any information about dsdt.aml or other problems. This computer runs a T5500 cpu and a 7400Go gpu with a 3945g wireless network card and a connexant sound card. I tried to create a dsdt.aml from my bios but the tool can't open my bios file so I tried to create from my Ubuntu and put the file in Extra of my OS X partition but no success. I'm not sure this file is used and less sure this is a good dsdt.aml How can InsanelyMac can help me and how can I help it? Thank you, nezix Link to comment https://www.insanelymac.com/forum/topic/205463-dsdtaml-for-common-notebook/ Share on other sites More sharing options...
Beerkex'd Posted January 7, 2010 Share Posted January 7, 2010 It's not clear what you want help with? Â You can use DSDTSE to extract, decompile, edit and compile your DSDT under OSX. Â Â Which modifications did you make to your DSDT? Link to comment https://www.insanelymac.com/forum/topic/205463-dsdtaml-for-common-notebook/#findComment-1379205 Share on other sites More sharing options...
Nezix Posted January 10, 2010 Author Share Posted January 10, 2010 In fact, I want to create my DSDT but I can't with the usual ways: directly on linux or with the DSDT Patcher on windows Link to comment https://www.insanelymac.com/forum/topic/205463-dsdtaml-for-common-notebook/#findComment-1381323 Share on other sites More sharing options...
Beerkex'd Posted January 10, 2010 Share Posted January 10, 2010 But you said you managed to extract the DSDT in Linux already? Â After extracting it, what did you do to it besides placing it in /Extra? Â What problem are you trying to solve exactly? Link to comment https://www.insanelymac.com/forum/topic/205463-dsdtaml-for-common-notebook/#findComment-1381401 Share on other sites More sharing options...
Nezix Posted January 10, 2010 Author Share Posted January 10, 2010 Yes but I m not sure I can use the DSDT created thanks to linux can I? I want to create a nearly perfect DSDT that I can use on my 10.5 OS X and on my 10.6 OS X and to do that the DSDT patcher on Windows seems that be the best way but I can't open my bios file. So my questions are: Can I use the DSDT created on linux? Is it a good way to do it? Had someone the same pb with the bios file? Link to comment https://www.insanelymac.com/forum/topic/205463-dsdtaml-for-common-notebook/#findComment-1381826 Share on other sites More sharing options...
Beerkex'd Posted January 12, 2010 Share Posted January 12, 2010 Okay, I thought so, just wanted to make sure. It doesn't work like you think. Â DSDT is a chunk of code that is part of the ACPI tables in your BIOS and what you did in Linux was extract that code. Â What happens then is that when you place DSDT.aml in /Extra (or / depending on your configuration) your bootloader (Chameleon, PC-EFI or BootThink) reads the DSDT you have extracted and presents that to the OS instead of the DSDT in your BIOS. Â Right now, the contents of the DSDT.aml you have is identical to the DSDT data in your BIOS, and therefore it is pointless to use it. Â So now that you have a file containing your unmodified DSDT data, you then need to patch it using the appropriate tools, and make the changes you need to make. And that's for you to discover what those changes are. Â You can use DSDTSE (google it) under OSX to manipulate your DSDT data. Â Don't use Koalala's ACPIPatcher, it is obsolete (though it can still serve some purpose if you know what you're doing). Â One issue that I had with it was that the WAK method fix actually caused more compiling errors in my DSDT than it fixed. Â Another problem with the ACPI Patcher is that it allows you to extract the DSDT from a BIOS file which is A Bad Thing. DSDT tables should always be extracted from a running system. Kabyl showed me that the BIOS modifies some memory address ranges in the DSDT on the fly, and those will vary from the default depending (at least) on how much RAM is installed. Using a DSDT extracted from a BIOS dump will not have those addresses modified which can cause nasty crashes and, in my case, loss of hair. Link to comment https://www.insanelymac.com/forum/topic/205463-dsdtaml-for-common-notebook/#findComment-1383729 Share on other sites More sharing options...
Nezix Posted January 12, 2010 Author Share Posted January 12, 2010 Ok thank you for your help! I will let you know where am I. See you Link to comment https://www.insanelymac.com/forum/topic/205463-dsdtaml-for-common-notebook/#findComment-1383830 Share on other sites More sharing options...
Nezix Posted January 24, 2010 Author Share Posted January 24, 2010 Hello! I'm back with my DSDT: I compiled my DSDT extracted from linux and got only one error but I googled it and didn't find any solution or doc: /Library/DSDT/DSDTFiles/dsdt.dsl 3085: "33DB4D5B-1FF7-401C Warning 1105 - Result is not used, opera And (CTRL, 0x1E)P_STRING_LITERAL ^ /Library/DSDT/DSDTFiles/dsdt.dsl 3488: Method (_PRT, 0, NotSerialized) /Library 1087 - Not all control paths return a value ^ (_PRT)Serialized) Warning 1SDT/DSDTFiles/dsdt.dsl 4308: Method (_PRT, 0, NotSerialized) /Library/DSDT/DSDTFile Reserved method must return a value ^ (_PRT)Serialized) Warning 1080 - dsdt.dsl 4407: Method (_PRT, 0, NotSerialized) /Library/DSDT/DSDTFiles/dsdt.dsl 44l control paths return a value ^ (_PRT)Serialized) Warning 1087 - Not all : Method (_PRT, 0, NotSerialized) ASL Input: /Library/DSDT/DSDTFiles/dsdt.dsl - 698t return a value ^ (_PRT)Serialized) Compilation complete. 1 Errors, 13 Warnings, 0 Remarks, 965 Optimizations I would like to solve my error and then will try to solve my warnings appling several patchs and then... Do you know from where this error come from ? Thank you Link to comment https://www.insanelymac.com/forum/topic/205463-dsdtaml-for-common-notebook/#findComment-1394547 Share on other sites More sharing options...
Beerkex'd Posted January 24, 2010 Share Posted January 24, 2010 I don't see the error in the snippet you posted, only warnings. You got 1 error and 13 warnings - but you only posted 4 warnings. Â What happened to the formatting? It's all screwed up, half of some words are missing. Â The first number on each line is the actual line number in your DSDT where the error occurs so that you can quickly find it in the DSDT and fix it by hand. The second number is the code of the error/warning (this is what you should be googling). Warnings 1080 and 1087 you can get rid of by doing a return 0, as 18seven told me here: Â projectosx.com/forum/index.php?s=&showtopic=454&view=findpost&p=1814 Â If you don't understand it, download my old DSDT and his fixed version from the thread and compare them, then it should make sense. You might need to register to download from there. Â As you can see I had an 1105 as well but I'm not sure how you should deal with yours. Link to comment https://www.insanelymac.com/forum/topic/205463-dsdtaml-for-common-notebook/#findComment-1394581 Share on other sites More sharing options...
Nezix Posted January 24, 2010 Author Share Posted January 24, 2010 Sorry I have missed my copy/paste ... It happens even to the best... iasl -ta dstd.dsl Intel ACPI Component Architecture ASL Optimizing Compiler version 20090521 [Jun 30 2009] Copyright (C) 2000 - 2009 Intel Corporation Supports ACPI Specification Revision 3.0a dstd.dsl 3085: "33DB4D5B-1FF7-401C-9657-7441C03DD766" Error 4095 - syntax error, unexpected PARSEOP_STRING_LITERAL ^ dstd.dsl 3093: And (CTRL, 0x1E) Warning 1105 - ^ Result is not used, operator has no effect dstd.dsl 3488: Method (_PRT, 0, NotSerialized) Warning 1087 - ^ Not all control paths return a value (_PRT) dstd.dsl 3488: Method (_PRT, 0, NotSerialized) Warning 1080 - ^ Reserved method must return a value (_PRT) dstd.dsl 3756: Method (_PRT, 0, NotSerialized) Warning 1087 - ^ Not all control paths return a value (_PRT) dstd.dsl 3756: Method (_PRT, 0, NotSerialized) Warning 1080 - ^ Reserved method must return a value (_PRT) dstd.dsl 4308: Method (_PRT, 0, NotSerialized) Warning 1087 - ^ Not all control paths return a value (_PRT) dstd.dsl 4308: Method (_PRT, 0, NotSerialized) Warning 1080 - ^ Reserved method must return a value (_PRT) dstd.dsl 4407: Method (_PRT, 0, NotSerialized) Warning 1087 - ^ Not all control paths return a value (_PRT) dstd.dsl 4407: Method (_PRT, 0, NotSerialized) Warning 1080 - ^ Reserved method must return a value (_PRT) dstd.dsl 4491: Method (_PRT, 0, NotSerialized) Warning 1087 - ^ Not all control paths return a value (_PRT) dstd.dsl 4491: Method (_PRT, 0, NotSerialized) Warning 1080 - ^ Reserved method must return a value (_PRT) dstd.dsl 4651: Method (_PRT, 0, NotSerialized) Warning 1087 - ^ Not all control paths return a value (_PRT) dstd.dsl 4651: Method (_PRT, 0, NotSerialized) Warning 1080 - ^ Reserved method must return a value (_PRT) ASL Input: dstd.dsl - 6982 lines, 247582 bytes, 3337 keywords Compilation complete. 1 Errors, 13 Warnings, 0 Remarks, 965 Optimizations Link to comment https://www.insanelymac.com/forum/topic/205463-dsdtaml-for-common-notebook/#findComment-1394752 Share on other sites More sharing options...
Beerkex'd Posted January 25, 2010 Share Posted January 25, 2010 If you follow the link that I posted and do as I suggested above, you should have at least the 1080 and 1087 warnings fixed in no time, as I said, it's only a matter of adding a return 0 statement after each section that gives the error. Give it a try, use the search by line number in DSDTSE to find each instance of the error, that's what it's there for. Â The "33DB4D5B-1FF7-401C-9657-7441C03DD766" looks like a system ID of some sort, though for some reason that I'll leave you to investigate further, there are plenty of hits on the same sequence on google. You could probably safely remove the entire section that contains it. Â Post your DSDT here (zipped, and in decompiled, .dsl format) maybe someone will take a look at it. Link to comment https://www.insanelymac.com/forum/topic/205463-dsdtaml-for-common-notebook/#findComment-1394997 Share on other sites More sharing options...
Nezix Posted January 28, 2010 Author Share Posted January 28, 2010 Hi! Thanks to your help I have solved my error and several Warnings but some of them can't be solved with the way you gave. If I try to add "Return (Zero)" at the end of the method I have more warnings and errors. This is the result of my best dsdt.dsl compiling : dstd.dsl 3092: And (CTRL, 0x1E) Warning 1105 - ^ Result is not used, operator has no effect dstd.dsl 4309: Method (_PRT, 0, NotSerialized) Warning 1087 - ^ Not all control paths return a value (_PRT) dstd.dsl 4309: Method (_PRT, 0, NotSerialized) Warning 1080 - ^ Reserved method must return a value (_PRT) dstd.dsl 4408: Method (_PRT, 0, NotSerialized) Warning 1087 - ^ Not all control paths return a value (_PRT) dstd.dsl 4408: Method (_PRT, 0, NotSerialized) Warning 1080 - ^ Reserved method must return a value (_PRT) dstd.dsl 4492: Method (_PRT, 0, NotSerialized) Warning 1087 - ^ Not all control paths return a value (_PRT) dstd.dsl 4492: Method (_PRT, 0, NotSerialized) Warning 1080 - ^ Reserved method must return a value (_PRT) dstd.dsl 4652: Method (_PRT, 0, NotSerialized) Warning 1087 - ^ Not all control paths return a value (_PRT) dstd.dsl 4652: Method (_PRT, 0, NotSerialized) Warning 1080 - ^ Reserved method must return a value (_PRT) ASL Input: dstd.dsl - 6983 lines, 247599 bytes, 3339 keywords AML Output: dstd.aml - 28185 bytes, 654 named objects, 2685 executable opcodes Compilation complete. 0 Errors, 9 Warnings, 0 Remarks, 965 Optimizations I also post my dsdt.dsl if you/someone want(s) to glance at it. dstd.dsl.tar.gz Thank you again! PS:Maybe I should post on the Project OSX forum or on the Ubuntu one? Link to comment https://www.insanelymac.com/forum/topic/205463-dsdtaml-for-common-notebook/#findComment-1398310 Share on other sites More sharing options...
Nezix Posted February 6, 2010 Author Share Posted February 6, 2010 Thanks to 67gta on the ubuntu forum I have solved my pb! Thank you for your help! Link to comment https://www.insanelymac.com/forum/topic/205463-dsdtaml-for-common-notebook/#findComment-1404922 Share on other sites More sharing options...
Nezix Posted February 27, 2010 Author Share Posted February 27, 2010 If you want a clean DSDT.aml for your hp pavilion 6274ea contact me. Link to comment https://www.insanelymac.com/forum/topic/205463-dsdtaml-for-common-notebook/#findComment-1419165 Share on other sites More sharing options...
Beerkex'd Posted February 27, 2010 Share Posted February 27, 2010 Why not attach it to your post? Others with the same laptop will be able to find it with google and you won't get flooded with PMs. Link to comment https://www.insanelymac.com/forum/topic/205463-dsdtaml-for-common-notebook/#findComment-1419331 Share on other sites More sharing options...
eshroom Posted April 23, 2010 Share Posted April 23, 2010 Could I get that DSDT please? Cheers Link to comment https://www.insanelymac.com/forum/topic/205463-dsdtaml-for-common-notebook/#findComment-1454298 Share on other sites More sharing options...
rayray81502 Posted April 28, 2010 Share Posted April 28, 2010 I deleted DSDT.aml in single user mode.....nothing happens.... Link to comment https://www.insanelymac.com/forum/topic/205463-dsdtaml-for-common-notebook/#findComment-1457706 Share on other sites More sharing options...
Recommended Posts