Page MenuHomeFreeBSD

acpi/apm: Don't claim silent success for APMIO_BIOS ioctls
AcceptedPublic

Authored by jhb on Wed, Sep 23, 7:06 PM.
Tags
None
Referenced Files
F173751128: D59939.diff
Mon, Sep 28, 3:14 AM
F173636458: D59939.diff
Sun, Sep 27, 8:46 AM
Unknown Object (File)
Thu, Sep 24, 9:01 PM
Unknown Object (File)
Thu, Sep 24, 3:43 PM
Unknown Object (File)
Thu, Sep 24, 8:30 AM
Unknown Object (File)
Thu, Sep 24, 6:40 AM
Unknown Object (File)
Thu, Sep 24, 2:19 AM
Unknown Object (File)
Wed, Sep 23, 11:26 PM
Subscribers
None

Details

Reviewers
imp
Summary

Report failure as if the request had failed. This causes apm(8) to
correctly report the resume timer as "unknown" rather than random
garbage.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 77222
Build 74105: arc lint + arc unit

Event Timeline

Verified that apm(8) on my X1 Carbon no longer outputs garbage for the resume timer state with this fix.

This revision is now accepted and ready to land.Wed, Sep 23, 9:10 PM