Page MenuHomeSolus

Pass "open" to "button.lid_init_state"
AbandonedPublic

Authored by ZVNexus on Sat, Feb 8, 2:49 AM.

Details

Reviewers
DataDrake
Summary

When this option is specified, the ACPI button driver always reports the
initial lid state as "opened" and whether the "opened"/"closed" events
are paired fully relies on the firmware implementation.

This may fix some platforms where the returning value of the _LID
control method is not reliable and the initial lid state notification is
missing.

Test Plan

Razer Blade Stealth no longer has an issue with suspend loop after sleep.

Diff Detail

Repository
R3571 linux-current
Branch
master
Lint
No Linters Available
Unit
No Unit Test Coverage

Event Timeline

ZVNexus requested review of this revision.Sat, Feb 8, 2:49 AM
ZVNexus created this revision.
This comment was removed by ZVNexus.
DataDrake abandoned this revision.Sat, Feb 8, 4:35 PM

I'm not adding another cmdline option for a device specific fix. The only reason we have the radeon/amdgpu ones is for everthing to play nice across all AMD GPUs.