From nobody Thu Feb 17 15:35:56 2022 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4B92719C8959 for ; Thu, 17 Feb 2022 15:35:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JzzSF0VDbz3t9N for ; Thu, 17 Feb 2022 15:35:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id E686F4473 for ; Thu, 17 Feb 2022 15:35:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 21HFZubR064554 for ; Thu, 17 Feb 2022 15:35:56 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 21HFZuff064553 for ports-bugs@FreeBSD.org; Thu, 17 Feb 2022 15:35:56 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 262018] x11/lumina-core: Patch battery monitoring for non-x86 systems Date: Thu, 17 Feb 2022 15:35:56 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: jwb@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: lbartoletti@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1645112157; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=MGhMKNAtydCnqBJw5+TYUqtcyPUCkIVbIFeG01j5u8Y=; b=KbZsZ2DqPriVFNrScfPzuwjK30MxzfZLwTV2UKJUKEms3SoqzpvvWNkxdydCV3+Ddg4w2M cf22xaHtIn4C9aC7hWwPWvIWKj+jmtgZ+aOLCwph97hR7zpvvzj/aQyvsHts1ZEkRbpAxl z6fs4zIU5jWTszmOqnldouJY97xf6iQON0+01krI510eORL3rlAbbvsCSU6Q7TTwvZSURI 6clGiZXFc6xfot6zzVT9wRmEKZkw63vZYtw4JeMgEjQ3SC5v61N/4LkmFwObV6kRXSHoim AF1psyKSvhh2yTGamnlT1sIvtJsIVfWpxgkGEsPLccGbzMFoZ/aX347OcWn35A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1645112157; a=rsa-sha256; cv=none; b=aWd8BivsMdu+yutsRw6HRhE11eFWf1WJpwQn2ebSgAUOW2JC0mKTQj/xt5dVS24blK7j3Q bSxtE/3nU+wmV4n6VTGLufoRnxioT2RKayRm5d6MMTGwi8C6RHWmw6McWLUU8cKMm//EJI xJSDD3TTEJSwU6xPLrH2uiYSVk2oGW9KNXrctUgzw/IF4F70eY7EVpdwi0pU4m0TzcGWW6 hbUF/pDNI9KYD5b+Ik9iuWkJZ/onCLdopqFMLTg0C1HEO2RIaea4Xi9rmngXxQ3gILlwJD c9zzXQe8b0b6G7wXC7FgC+iev5zewfUgD6tjFUn0ZN4kwAn7/WgWnml9NV77vA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N 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.=