Contribute
Register

PS2 shortcut for sleep restarts Thinkpad x230

Status
Not open for further replies.
Ok, so how can i fix DSDT? Where to start?

No idea what you're trying to fix.
Bad idea to have ACPI invoke sleep by itself.
Always invoke sleep via official macOS/OS X triggers (Apple->Sleep, LID close, automatic sleep).
 
I wany to Fix DSDT. Telling Device (SLPB) makes my laptop restart instead of sleep.
 
I wany to Fix DSDT. Telling Device (SLPB) makes my laptop restart instead of sleep.

Invoke sleep only with macOS/OS X controlled methods.
Fixing ACPI initiated sleep would probably require a custom kext.
I would probably just disable the key.
 
So why using Device (LID) is ok - it's DSDT Device for triggering sleep by closing LID? For some laptops with stupid DSDT (Samsung for example) we triger Device (SLPB) by editing LID status to get lid sleep.
 
So why using Device (LID) is ok

_LID just provides status on the _LID (open vs. closed).
When macOS detects a change from open->closed, it starts invoking normal sleep procedures.
 
When i close/open lid "Device (LID)" is triggered to sleep or wake my laptop
 
When i close/open lid "Device (LID)" is triggered to sleep or wake my laptop

You can read the ACPI spec if you're wondering how _LID works.
 
Ok. So when i remove Notify (LID 0x80) from " method _q2b" after closing LID nothing is happening
 
Ok. So when i remove Notify (LID 0x80) from " method _q2b" after closing LID nothing is happening

Not surprising.
Why are you intent on breaking your LID device ACPI code?
 
To prove that method q13 is doeing same with Device (SLPB). On all thinkpads Device (SLPB) is triggering sleep by keyboard hotkey 0x1004
 
Status
Not open for further replies.
Back
Top