Jump to content

DSDT editor and patcher


oldnapalm
 Share

999 posts in this topic

Recommended Posts

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

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

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 :P

 

can you check on dsdt and go for next step :)

Link to comment
Share on other sites

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

@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

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

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

 

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

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

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 :D

 

i did it under alone scope but the same :(

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...