Page MenuHomeFreeBSD

apm(8): Remove support for APM BIOS
AcceptedPublic

Authored by jhb on Wed, Sep 23, 7:06 PM.
Tags
None
Referenced Files
F173151628: D59941.id187532.diff
Wed, Sep 23, 11:17 PM
F173150465: D59941.diff
Wed, Sep 23, 11:04 PM
F173149316: D59941.id187532.diff
Wed, Sep 23, 10:54 PM
F173149231: D59941.diff
Wed, Sep 23, 10:53 PM
Subscribers

Details

Reviewers
imp
Summary

Drop support for queries and commands that are not supported by ACPI's
/dev/apm interface. This includes dropping support for
enabling/disabling APM BIOS used by /etc/rc.d/apm.

Diff Detail

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

Event Timeline

Tested on my X1 Carbon which still outputs correct battery info.

imp added inline comments.
usr.sbin/apm/apm.c
109

I'm glad to see you kept this sutff.... It's required for Emacs to display battery stuff right

This revision is now accepted and ready to land.Wed, Sep 23, 9:09 PM
usr.sbin/apm/apm.8
24–26

Can we have the introductory sentence explain what it is now, not what it was? I think this is more appropriate for HISTORY.

74

(or something)

usr.sbin/apm/apm.8
13

i386 is no more in 16.0 and this only works on amd64 now, right?

17

(or something)