Skip to contentSkip to conversation

matchbox-panel-2: add sysfs support

PATCH In review Dixit Parmar 2 participants 3 messages Oct 20, 2024 – Oct 21, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 matchbox-panel-2: add sysfs support

This configures matchbox-panel-2 to use sysfs based mechanism to retrieve power_supply information. Kept previous options(acpi, apm) as it is because the configure.ac allows only single configuration at a time.

---
 meta/recipes-sato/matchbox-panel-2/matchbox-panel-2_2.11.bb | 1 +
 1 file changed, 1 insertion(+)
meta/recipes-sato/matchbox-panel-2/matchbox-panel-2_2.11.bb +1 -0
index 3dec68b963..a0e7110534 100644
@@ -30,6 +30,7 @@ SRC_URI = "git://git.yoctoproject.org/${BPN};branch=master \
 EXTRA_OECONF = "--enable-startup-notification --enable-dbus"
 EXTRA_OECONF += " ${@bb.utils.contains("MACHINE_FEATURES", "acpi", "--with-battery=acpi", "",d)}"
 EXTRA_OECONF += " ${@bb.utils.contains("MACHINE_FEATURES", "apm", "--with-battery=apm", "",d)}"
+EXTRA_OECONF += "--with-battery=sysfs"
 
 S = "${WORKDIR}/git"
 
Signature · 1 line
2.43.0
#1 lore raw

Does this need support fo sysfs to land in the matchbox-panel repository first? If so, then it needs to happen, and this should include the matching SRCREV update.

Alex

Quoted 35 lines · Dixit Parmar via lists.openembedded.org

This configures matchbox-panel-2 to use sysfs based mechanism to retrieve power_supply information. Kept previous options(acpi, apm) as it is because the configure.ac allows only single configuration at a time.

---
 meta/recipes-sato/matchbox-panel-2/matchbox-panel-2_2.11.bb | 1 +
 1 file changed, 1 insertion(+)
meta/recipes-sato/matchbox-panel-2/matchbox-panel-2_2.11.bb +1 -1
index 3dec68b963..a0e7110534 100644
@@ -30,6 +30,7 @@ SRC_URI = "git://git.yoctoproject.org/${BPN};branch=master \
 EXTRA_OECONF = "--enable-startup-notification --enable-dbus"
 EXTRA_OECONF += " ${@bb.utils.contains("MACHINE_FEATURES", "acpi", "--with-battery=acpi", "",d)}"
 EXTRA_OECONF += " ${@bb.utils.contains("MACHINE_FEATURES", "apm", "--with-battery=apm", "",d)}"
+EXTRA_OECONF += "--with-battery=sysfs"
 
 S = "${WORKDIR}/git"
 
--

2.43.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#206091): https://lists.openembedded.org/g/openembedded-core/message/206091
Mute This Topic: https://lists.openembedded.org/mt/109113250/1686489
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#2 lore raw

Hi Alex,
Thank you for pointing out the SRCREV, I will update it once the matchbox-panel-2 component's changes get accepted. Thanks