Message ID | 20241020113942.452797-1-dixitparmar19@gmail.com |
---|---|
State | New |
Headers | show |
Series | [1/1] matchbox-panel-2: add sysfs support | expand |
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 On Sun, 20 Oct 2024 at 13:40, Dixit Parmar via lists.openembedded.org <dixitparmar19=gmail.com@lists.openembedded.org> wrote: > > 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. > > Signed-off-by: Dixit Parmar <dixitparmar19@gmail.com> > --- > meta/recipes-sato/matchbox-panel-2/matchbox-panel-2_2.11.bb | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/meta/recipes-sato/matchbox-panel-2/matchbox-panel-2_2.11.bb b/meta/recipes-sato/matchbox-panel-2/matchbox-panel-2_2.11.bb > index 3dec68b963..a0e7110534 100644 > --- a/meta/recipes-sato/matchbox-panel-2/matchbox-panel-2_2.11.bb > +++ b/meta/recipes-sato/matchbox-panel-2/matchbox-panel-2_2.11.bb > @@ -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: openembedded-core+owner@lists.openembedded.org > Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [alex.kanavin@gmail.com] > -=-=-=-=-=-=-=-=-=-=-=- >
Hi Alex, Thank you for pointing out the SRCREV, I will update it once the matchbox-panel-2 component's changes get accepted. Thanks
diff --git a/meta/recipes-sato/matchbox-panel-2/matchbox-panel-2_2.11.bb b/meta/recipes-sato/matchbox-panel-2/matchbox-panel-2_2.11.bb index 3dec68b963..a0e7110534 100644 --- a/meta/recipes-sato/matchbox-panel-2/matchbox-panel-2_2.11.bb +++ b/meta/recipes-sato/matchbox-panel-2/matchbox-panel-2_2.11.bb @@ -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"
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. Signed-off-by: Dixit Parmar <dixitparmar19@gmail.com> --- meta/recipes-sato/matchbox-panel-2/matchbox-panel-2_2.11.bb | 1 + 1 file changed, 1 insertion(+)