https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=246477

Colin Percival <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|New                         |In Progress
            Version|Latest                      |12.1-STABLE
            Product|Ports & Packages            |Base System
          Component|Individual Port(s)          |kern
           Assignee|[email protected]             |[email protected]

--- Comment #2 from Colin Percival <[email protected]> ---
Aha!  It's an ACPI issue.  If my laptop is suspended when I open the lid, it
unsuspends but does not send a "Lid Opened" ACPI notification.  As a result,
devd does not send a "Lid state changed" message, and upowerd does not update
its notion of whether the lid is open or not.

This actually causes two issues:

1. As noted before, if upowerd thinks that the lid is closed,
plugging/unplugging AC power results in KDE suspending the system.

2. If upowerd thinks that the lid is already closed, closing the lid *doesn't*
result in KDE suspending the system.

So in addition to the unexpected suspends from the AC power state changing,
closing the lid was only making KDE suspend the system every 2nd time.

I'm reclassifying this as "base system" and assigning to myself -- I think I
can see how to fix this in acpi_lid.c.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to