Thank you
What do you mean by it won't make a difference ? The DSDT compil with only one return zero, do you advice to put two return zero ?
Method (_DSM, 4, Serialized)
{
Name (DRET, Buffer (0x04)
{
0x00
})
If (LEqual (Arg0, Buffer (0x10)
{
/* 0000 */ 0xE1, 0x75, 0x39, 0x6F, 0x82, 0x7A, 0x67, 0x4F,
/* 0008 */ 0x8B, 0x97, 0x15, 0xBE, 0xE0, 0x60, 0xBE, 0xDF
}))
{
If (LEqual (Arg2, Zero))
{
CreateWordField (DRET, Zero, F0SS)
Store (0x02, F0SS)
Return (DRET)
}
If (LEqual (Arg2, One))
{
If (LEqual (^^PEG0.PEGP.LNKV, 0x03))
{
Return (Zero)
}
Return (One)
}
}
Return (Zero)
}
EDIT :
I still can't compil my dsdt when i try to inject a device :
/Users/Nicolas/Library/Application Support/EvOSoftware/DSDT/DSDTFiles/dsdt.dsl 9384: Method (_DSM, 4, Serialized)
Error 4057 - Name already exists in scope ^ (_DSM)
I am swimming..