Page MenuHomeSolus

Pass "open" to "button.lid_init_state"
AbandonedPublic

Authored by ZVNexus on Feb 8 2020, 2:49 AM.
Tags
None
Referenced Files
F10809266: D8194.id19649.diff
May 30 2023, 12:46 PM
F10808038: D8194.diff
May 30 2023, 6:59 AM
F10729914: D8194.diff
May 10 2023, 4:35 PM
F10691641: D8194.id.diff
Apr 23 2023, 11:23 PM
Subscribers
None

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 Lint Coverage
Unit
No Test Coverage

Event Timeline

ZVNexus created this revision.
This comment was removed by ZVNexus.

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.