HomeFreeBSD

acpi_lid: Remove duplicate events

Description

acpi_lid: Remove duplicate events

Remove extra acpi_UserNotify() call per event. Filter duplicate
notifications received from ACPI without actual status change.

Without this on my Dell XPS 13 9310 I saw 4 devd events for either
open or close, now only one.

MFC after: 1 month

Details

Provenance
mavAuthored on Dec 24 2023, 2:33 AM
Parents
rG68e457df0268: iichid(4): Restore/increase sampling rate
Branches
Unknown
Tags
Unknown