Mohamed Khairy Posted September 10, 2011 Share Posted September 10, 2011 thanks oldnapalm i will work on it tomorrow and send to you feedback and Thanks for your patience Link to comment Share on other sites More sharing options...
js_mac Posted September 11, 2011 Share Posted September 11, 2011 Try to run this on terminal sudo cat /sys/firmware/acpi/tables/DSDT > dsdt.aml then open dsdt.aml with DSDT Editor. Some new Linux have ACPI tables in different place, Linux version will be updated. That got me the dsdt.aml file but when I open it in DSDT editor I get nothing. The file is about 40K and I can open it in Kate, a linux text editor. If I try to open it with another linux text editor, it complains about the character encoding. Link to comment Share on other sites More sharing options...
oldnapalm Posted September 11, 2011 Author Share Posted September 11, 2011 That got me the dsdt.aml file but when I open it in DSDT editor I get nothing. The file is about 40K and I can open it in Kate, a linux text editor. If I try to open it with another linux text editor, it complains about the character encoding. Can you attach this file? Does your user have permission to read it? (it was created with sudo) Link to comment Share on other sites More sharing options...
Mohamed Khairy Posted September 11, 2011 Share Posted September 11, 2011 so i read topic of ec device and to me i did that got EC Device from dsdt of macbookpro 8.2 and added it to my dsdt and here with out fixing error uncorrected.zip and then tried to fix it by removing sata and BAT0 from EC device and added two devices ADP1 and ALS0 corrected.zip can you see corrected and tell me if there some thing wrong on it also after loading new dsdt APPLEACPIEC.kext is loaded can you check on dsdt and go for next step Link to comment Share on other sites More sharing options...
oldnapalm Posted September 11, 2011 Author Share Posted September 11, 2011 Does your laptop have exactly the same chipset as MacBookPro8,2? Link to comment Share on other sites More sharing options...
Mohamed Khairy Posted September 11, 2011 Share Posted September 11, 2011 Does your laptop have exactly the same chipset as MacBookPro8,2? my lap is sandybridge notebook core i5 integrated HD 3000 nvidia optimus 525m on macbook is AMD hd 6xxx 15.4 screen nearly the same as macbookpro 8.2 but changes on second gfx card and anther eth wifi audio chipset or you mean sensor chipset ? Link to comment Share on other sites More sharing options...
js_mac Posted September 11, 2011 Share Posted September 11, 2011 Can you attach this file? Does your user have permission to read it? (it was created with sudo) I changed them to everyone read/write and it didn't help. I have zipped and attached the file. dsdt.aml.zip Link to comment Share on other sites More sharing options...
oldnapalm Posted September 11, 2011 Author Share Posted September 11, 2011 @Mohamed Khairy I think you don't need to copy the entire device EC, just _HID, _CRS and the registers you need to access from SMCD. Read post #21 in acpimonitor thread. I changed them to everyone read/write and it didn't help. I have zipped and attached the file. dsdt.aml.zip That's strange, it opens fine in DSDT Editor for Mac. Check if iasl-linux is executable and if it works running from terminal. Link to comment Share on other sites More sharing options...
Mohamed Khairy Posted September 11, 2011 Share Posted September 11, 2011 I think you don't need to copy the entire device EC, just _HID, _CRS and the registers you need to access from SMCD. Read post #21 in acpimonitor thread. That's strange, it opens fine in DSDT Editor for Mac. Check if iasl-linux is executable and if it works running from terminal. really the rest of copy doesnt cause problem but this is the only part on the corrected dsdt Method (_Q20, 0, NotSerialized) { If (DSLP) { Store (ELSW, LIDS) Store (ELSW, [color="#FF0000"]^^^[/color]IGPU.CLID) } Else { Store (LSTE, LIDS) Store (LSTE, [color="#FF0000"]^^^[/color]IGPU.CLID) } Notify (LID0, 0x80) } the parts colored by read on macbookpro is \_SB.PCI0 there are a diff on where is IGPU on dsdt on macbookpro it under scope \_sb pci0 on my dsdt it is under Scope (_SB.PCI0) so what to do on it and want not only implant temperature controller of fan i want to add other work like fan speed chipset temp etc thanks Link to comment Share on other sites More sharing options...
js_mac Posted September 11, 2011 Share Posted September 11, 2011 That's strange, it opens fine in DSDT Editor for Mac. Check if iasl-linux is executable and if it works running from terminal. In terminal, I did: ./iasl-linux -d /path/dsdt.aml and it created a .dsl file which I could open in DSDT editor. Thanks. Link to comment Share on other sites More sharing options...
Mohamed Khairy Posted September 11, 2011 Share Posted September 11, 2011 i will follow post 94 on topic then see what will be Link to comment Share on other sites More sharing options...
oldnapalm Posted September 11, 2011 Author Share Posted September 11, 2011 on macbookproit under scope \_sb pci0 on my dsdt it is under Scope (_SB.PCI0) so what to do on it Try to remove one ^. Link to comment Share on other sites More sharing options...
Mohamed Khairy Posted September 11, 2011 Share Posted September 11, 2011 Try to remove one ^. not accessible Link to comment Share on other sites More sharing options...
Jugz Posted September 11, 2011 Share Posted September 11, 2011 dsdt.Jugz.zip MaLd0n, I can never thank you enough for fixing my stuff. oldnapalm, I new something was up because my file was so much bigger than the about normal of 61kb. So, thank you for pointing that out. MaLd0n and oldnapalm, I'll post back with my results and thank you guys so much. Link to comment Share on other sites More sharing options...
oldnapalm Posted September 11, 2011 Author Share Posted September 11, 2011 not accessible Try to replace ^^^IGPU.CLID by \_SB.PCI0.IGPU.CLID Link to comment Share on other sites More sharing options...
pilsator Posted September 11, 2011 Share Posted September 11, 2011 Thanks for this editor. It would be even more user friendly if it would contain complete sets of patches for different boards, so that you just would have to choose a board from a menu and all appropriate patches are applied. In other words if it would contain maldons script collection. Believe me, for a person without much dsdt-understanding this is the easiest way to a properly patched dsdt. Why not collect working solutions instead of solving problems again and again that already have been solved. Link to comment Share on other sites More sharing options...
Jugz Posted September 11, 2011 Share Posted September 11, 2011 dsdt.Jugz.zip @oldnapalm and MaLd0n, My USB ports still do not work. What are my next options? -Jugz Link to comment Share on other sites More sharing options...
MaLd0n Posted September 11, 2011 Share Posted September 11, 2011 @oldnapalm and MaLd0n, My USB ports still do not work. What are my next options? -Jugz use Clean install and original kexts Link to comment Share on other sites More sharing options...
Mohamed Khairy Posted September 11, 2011 Share Posted September 11, 2011 so i signed on windows and got offset for some sensor and i removed unwanted parts i put on dsdt and registered some sensor side set on ECOR and tried to sign them on SMCD but it say that object not found for sensor i added what is wrong can't compile it DSDT.dsl.zip Link to comment Share on other sites More sharing options...
oldnapalm Posted September 12, 2011 Author Share Posted September 12, 2011 Use \_SB. instead of ^^. Link to comment Share on other sites More sharing options...
Mohamed Khairy Posted September 12, 2011 Share Posted September 12, 2011 Use \_SB. instead of ^^. did it and added smc keys on acpimonitor <key>keysToAdd</key> <dict> <key>TCPU</key> <string>Th0H</string> <key>TSYS</key> <string>TN0P</string> <key>TDIM</key> <string>Tm0P</string> </dict> but there are no result appear on istat what is wrong Link to comment Share on other sites More sharing options...
oldnapalm Posted September 12, 2011 Author Share Posted September 12, 2011 Are you sure the offsets are correct? Also I don't know if SMCD is in the right place. Link to comment Share on other sites More sharing options...
Mohamed Khairy Posted September 12, 2011 Share Posted September 12, 2011 Are you sure the offsets are correct? Also I don't know if SMCD is in the right place. I used everest and rw everything to get them notice temp and convert it to hex and see on rw everything which byte have the same reading and noticed that fan speed on 94 95 cpu on a8 aux on aa chipset ab touchpad lock 0c fn key 77 dimm a9 i will try to put smcd under alone scope and try it byt is smc key on acpimonitor is correct i did it under alone scope but the same Link to comment Share on other sites More sharing options...
oldnapalm Posted September 12, 2011 Author Share Posted September 12, 2011 One small mistake Name (HID, "monitor") should be Name (_HID, "monitor") Link to comment Share on other sites More sharing options...
Mohamed Khairy Posted September 12, 2011 Share Posted September 12, 2011 One small mistake Name (HID, "monitor") should be Name (_HID, "monitor") ok will try that now can't compile with _HID say non hex Link to comment Share on other sites More sharing options...
Recommended Posts