Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Feb 2022 15:35:56 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 262018] x11/lumina-core: Patch battery monitoring for non-x86 systems
Message-ID:  <bug-262018-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D262018

            Bug ID: 262018
           Summary: x11/lumina-core: Patch battery monitoring for non-x86
                    systems
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: lbartoletti@FreeBSD.org
          Reporter: jwb@freebsd.org
          Assignee: lbartoletti@FreeBSD.org
             Flags: maintainer-feedback?(lbartoletti@FreeBSD.org)

Created attachment 231894
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D231894&action=
=3Dedit
Patch to fix battery monitoring on non-x86

The lumina battery monitoring is currently implemented by shelling out "apm"
commands.  The apm command does not exist on arm, powerpc, or riscv.  The
patches attached switch to a sysctl() interface to directly query acpi_batt=
ery,
so they should work on any platform as well as being more efficient.

I would hold off on committing them, though, pending review from upstream:

https://github.com/lumina-desktop/lumina/issues/765

If there are no major issues, then maybe we can patch the port until these
changes make it into the upstream dist.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-262018-7788>