All of lore.kernel.org
 help / color / mirror / Atom feed
* [scarthgap][RFC PATCH 0/3] Add pipeWire audio stack for am62dxx
@ 2026-01-23  6:03 Paresh Bhagat
  2026-01-23  6:03 ` [scarthgap][RFC PATCH 1/3] recipes-multimedia: Add pipewire configuration files Paresh Bhagat
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Paresh Bhagat @ 2026-01-23  6:03 UTC (permalink / raw)
  To: meta-arago, denis, praneeth, reatmon
  Cc: v-singh1, c-shilwant, khasim, afd, devarsht

This patch series introduces PipeWire audio support for AM62Dxx platform,
replacing PulseAudio with the modern PipeWire audio server architecture.

PipeWire is a modern audio/video server that provides low-latency, high-performance
audio processing with better resource management and flexible routing capabilities.
WirePlumber serves as the session manager, providing policy management and device
configuration for PipeWire, enabling automatic audio routing and device handling.

More info can be found here:
- https://pipewire.org/
- https://docs.pipewire.org/

PipeWire offers several advantages over PulseAudio:
- Lower latency and better real-time performance.
- Unified handling of both audio and video streams.
- Better support for professional audio applications.
- Improved security model with per-client sandboxing.
- More efficient resource usage and power management.
- Native support for modern audio formats and sample rates.

The series includes:

Patch 1: Add PipeWire configuration files with capture and multichannel setup.

Patch 2: Add WirePlumber configuration with audio defaults service.

Patch 3: Enable PipeWire audio stack in tisdk-default-image for am62dxx.

This implementation provides a complete audio solution with ALSA and PulseAudio
compatibility layers, ensuring backward compatibility while leveraging PipeWire's
advanced capabilities.

Paresh Bhagat (3):
  recipes-multimedia: Add pipewire configuration files
  recipes-multimedia: Add wireplumber audio configuration
  tisdk-default-image: Add audio server support for am62dxx

 .../images/tisdk-default-image.bb             | 17 +++++++++++
 .../pipewire/pipewire/90-multichannel.conf    | 17 +++++++++++
 .../pipewire/pipewire/92-capture.conf         | 17 +++++++++++
 .../pipewire/pipewire_1.0.9.bbappend          | 14 +++++++++
 .../wireplumber/set-audio-defaults.service    | 14 +++++++++
 .../wireplumber/set-audio-defaults.sh         | 30 +++++++++++++++++++
 .../wireplumber/wireplumber_0.5.1.bbappend    | 25 ++++++++++++++++
 7 files changed, 134 insertions(+)
 create mode 100644 meta-arago-distro/recipes-multimedia/pipewire/pipewire/90-multichannel.conf
 create mode 100644 meta-arago-distro/recipes-multimedia/pipewire/pipewire/92-capture.conf
 create mode 100644 meta-arago-distro/recipes-multimedia/pipewire/pipewire_1.0.9.bbappend
 create mode 100644 meta-arago-distro/recipes-multimedia/wireplumber/wireplumber/set-audio-defaults.service
 create mode 100755 meta-arago-distro/recipes-multimedia/wireplumber/wireplumber/set-audio-defaults.sh
 create mode 100644 meta-arago-distro/recipes-multimedia/wireplumber/wireplumber_0.5.1.bbappend

-- 
2.34.1



^ permalink raw reply	[flat|nested] 12+ messages in thread

* [scarthgap][RFC PATCH 1/3] recipes-multimedia: Add pipewire configuration files
  2026-01-23  6:03 [scarthgap][RFC PATCH 0/3] Add pipeWire audio stack for am62dxx Paresh Bhagat
@ 2026-01-23  6:03 ` Paresh Bhagat
  2026-01-23  6:47   ` [meta-arago] " Yogesh Hegde
  2026-01-23 16:03   ` Ryan Eatmon
  2026-01-23  6:03 ` [scarthgap][RFC PATCH 2/3] recipes-multimedia: Add wireplumber audio configuration Paresh Bhagat
  2026-01-23  6:03 ` [scarthgap][RFC PATCH 3/3] tisdk-default-image: Add audio server support for am62dxx Paresh Bhagat
  2 siblings, 2 replies; 12+ messages in thread
From: Paresh Bhagat @ 2026-01-23  6:03 UTC (permalink / raw)
  To: meta-arago, denis, praneeth, reatmon
  Cc: v-singh1, c-shilwant, khasim, afd, devarsht

- Add 92-capture.conf for capture configuration
- Add 90-multichannel.conf for multichannel setup
- Add pipewire_1.0.9.bbappend recipe extension

Signed-off-by: Paresh Bhagat <p-bhagat@ti.com>
---
 .../pipewire/pipewire/90-multichannel.conf      | 17 +++++++++++++++++
 .../pipewire/pipewire/92-capture.conf           | 17 +++++++++++++++++
 .../pipewire/pipewire_1.0.9.bbappend            | 14 ++++++++++++++
 3 files changed, 48 insertions(+)
 create mode 100644 meta-arago-distro/recipes-multimedia/pipewire/pipewire/90-multichannel.conf
 create mode 100644 meta-arago-distro/recipes-multimedia/pipewire/pipewire/92-capture.conf
 create mode 100644 meta-arago-distro/recipes-multimedia/pipewire/pipewire_1.0.9.bbappend

diff --git a/meta-arago-distro/recipes-multimedia/pipewire/pipewire/90-multichannel.conf b/meta-arago-distro/recipes-multimedia/pipewire/pipewire/90-multichannel.conf
new file mode 100644
index 00000000..1dd926bc
--- /dev/null
+++ b/meta-arago-distro/recipes-multimedia/pipewire/pipewire/90-multichannel.conf
@@ -0,0 +1,17 @@
+context.objects = [
+    {
+        factory = adapter
+        args = {
+            factory.name     = api.alsa.pcm.sink
+            node.name        = "alsa_multidac_8ch"
+            node.description = "Multi-DAC 8ch Output"
+            media.class      = "Audio/Sink"
+
+            api.alsa.path = "hw:0,0"
+            api.alsa.disable-mmap = true
+
+            audio.channels = 8
+            audio.position = [ FL FR FC LFE RL RR SL SR ]
+        }
+    }
+]
diff --git a/meta-arago-distro/recipes-multimedia/pipewire/pipewire/92-capture.conf b/meta-arago-distro/recipes-multimedia/pipewire/pipewire/92-capture.conf
new file mode 100644
index 00000000..b0871da2
--- /dev/null
+++ b/meta-arago-distro/recipes-multimedia/pipewire/pipewire/92-capture.conf
@@ -0,0 +1,17 @@
+context.objects = [
+    {
+        factory = adapter
+        args = {
+            factory.name     = api.alsa.pcm.source
+            node.name        = "alsa_multidac_4ch_capture"
+            node.description = "ALSA 4ch Capture (L1 L2 R1 R2)"
+            media.class      = Audio/Source
+
+            api.alsa.path = "hw:0,0"
+            api.alsa.disable-mmap = true
+
+            audio.channels = 4
+            audio.position = [ FL FR SL SR ]
+        }
+    }
+]
diff --git a/meta-arago-distro/recipes-multimedia/pipewire/pipewire_1.0.9.bbappend b/meta-arago-distro/recipes-multimedia/pipewire/pipewire_1.0.9.bbappend
new file mode 100644
index 00000000..29b17af3
--- /dev/null
+++ b/meta-arago-distro/recipes-multimedia/pipewire/pipewire_1.0.9.bbappend
@@ -0,0 +1,14 @@
+SRC_URI += " \
+    file://90-multichannel.conf \
+    file://92-capture.conf \
+"
+
+FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
+
+do_install:append() {
+    install -d ${D}${sysconfdir}/pipewire/pipewire.conf.d
+    install -m 0644 ${WORKDIR}/90-multichannel.conf ${D}${sysconfdir}/pipewire/pipewire.conf.d/
+    install -m 0644 ${WORKDIR}/92-capture.conf ${D}${sysconfdir}/pipewire/pipewire.conf.d/
+}
+
+FILES:${PN} += " ${sysconfdir}"
-- 
2.34.1



^ permalink raw reply related	[flat|nested] 12+ messages in thread

* [scarthgap][RFC PATCH 2/3] recipes-multimedia: Add wireplumber audio configuration
  2026-01-23  6:03 [scarthgap][RFC PATCH 0/3] Add pipeWire audio stack for am62dxx Paresh Bhagat
  2026-01-23  6:03 ` [scarthgap][RFC PATCH 1/3] recipes-multimedia: Add pipewire configuration files Paresh Bhagat
@ 2026-01-23  6:03 ` Paresh Bhagat
  2026-01-23  7:07   ` [meta-arago] " Yogesh Hegde
  2026-01-23  6:03 ` [scarthgap][RFC PATCH 3/3] tisdk-default-image: Add audio server support for am62dxx Paresh Bhagat
  2 siblings, 1 reply; 12+ messages in thread
From: Paresh Bhagat @ 2026-01-23  6:03 UTC (permalink / raw)
  To: meta-arago, denis, praneeth, reatmon
  Cc: v-singh1, c-shilwant, khasim, afd, devarsht

- Add set-audio-defaults.sh script for audio setup
- Add set-audio-defaults.service systemd service
- Add wireplumber_0.5.1.bbappend recipe extension

Signed-off-by: Paresh Bhagat <p-bhagat@ti.com>
---
 .../wireplumber/set-audio-defaults.service    | 14 +++++++++
 .../wireplumber/set-audio-defaults.sh         | 30 +++++++++++++++++++
 .../wireplumber/wireplumber_0.5.1.bbappend    | 25 ++++++++++++++++
 3 files changed, 69 insertions(+)
 create mode 100644 meta-arago-distro/recipes-multimedia/wireplumber/wireplumber/set-audio-defaults.service
 create mode 100755 meta-arago-distro/recipes-multimedia/wireplumber/wireplumber/set-audio-defaults.sh
 create mode 100644 meta-arago-distro/recipes-multimedia/wireplumber/wireplumber_0.5.1.bbappend

diff --git a/meta-arago-distro/recipes-multimedia/wireplumber/wireplumber/set-audio-defaults.service b/meta-arago-distro/recipes-multimedia/wireplumber/wireplumber/set-audio-defaults.service
new file mode 100644
index 00000000..18881553
--- /dev/null
+++ b/meta-arago-distro/recipes-multimedia/wireplumber/wireplumber/set-audio-defaults.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=Set PipeWire Default Audio Devices
+After=wireplumber.service
+Wants=wireplumber.service
+
+[Service]
+Type=oneshot
+ExecStart=/usr/bin/set-audio-defaults.sh
+StandardOutput=append:/var/log/set-audio-defaults-output.log
+StandardError=append:/var/log/set-audio-defaults-error.log
+RemainAfterExit=yes
+
+[Install]
+WantedBy=multi-user.target
diff --git a/meta-arago-distro/recipes-multimedia/wireplumber/wireplumber/set-audio-defaults.sh b/meta-arago-distro/recipes-multimedia/wireplumber/wireplumber/set-audio-defaults.sh
new file mode 100755
index 00000000..cd193d02
--- /dev/null
+++ b/meta-arago-distro/recipes-multimedia/wireplumber/wireplumber/set-audio-defaults.sh
@@ -0,0 +1,30 @@
+#!/bin/bash
+
+# Wait for WirePlumber to be ready
+for i in {1..30}; do
+    wpctl status &>/dev/null && break
+    sleep 1
+done
+
+# Additional delay for nodes to appear
+sleep 2
+
+# Find McASP sink ID
+SINK_ID=$(pw-cli info alsa_multidac_8ch 2>/dev/null | head -n 1 | awk '{print $2}')
+if [[ -n "$SINK_ID" ]]; then
+    wpctl set-default "$SINK_ID"
+    echo "Set default sink to ID: $SINK_ID (alsa_multidac_8ch)"
+else
+    echo "Could not find alsa_multidac_8ch sink"
+fi
+
+# Find PCM source ID
+SOURCE_ID=$(pw-cli info alsa_multidac_4ch_capture 2>/dev/null | head -n 1 | awk '{print $2}')
+if [[ -n "$SOURCE_ID" ]]; then
+    wpctl set-default "$SOURCE_ID"
+    echo "Set default source to ID: $SOURCE_ID (alsa_multidac_4ch_capture)"
+else
+    echo "Could not find alsa_multidac_4ch_capture"
+fi
+
+echo "Done"
diff --git a/meta-arago-distro/recipes-multimedia/wireplumber/wireplumber_0.5.1.bbappend b/meta-arago-distro/recipes-multimedia/wireplumber/wireplumber_0.5.1.bbappend
new file mode 100644
index 00000000..f6e5ff91
--- /dev/null
+++ b/meta-arago-distro/recipes-multimedia/wireplumber/wireplumber_0.5.1.bbappend
@@ -0,0 +1,25 @@
+SRC_URI += " \
+    file://set-audio-defaults.sh \
+    file://set-audio-defaults.service \
+"
+
+FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
+
+do_install:append() {
+    # Install the script
+    install -d ${D}${bindir}
+    install -m 0755 ${WORKDIR}/set-audio-defaults.sh ${D}${bindir}/
+
+    # Install the systemd service
+    install -d ${D}${systemd_system_unitdir}
+    install -m 0644 ${WORKDIR}/set-audio-defaults.service ${D}${systemd_system_unitdir}/
+}
+
+inherit systemd
+
+RDEPENDS:${PN} += "bash"
+SYSTEMD_SERVICE:${PN} = "set-audio-defaults.service"
+
+FILES:${PN} += " \
+    ${bindir} \
+"
-- 
2.34.1



^ permalink raw reply related	[flat|nested] 12+ messages in thread

* [scarthgap][RFC PATCH 3/3] tisdk-default-image: Add audio server support for am62dxx
  2026-01-23  6:03 [scarthgap][RFC PATCH 0/3] Add pipeWire audio stack for am62dxx Paresh Bhagat
  2026-01-23  6:03 ` [scarthgap][RFC PATCH 1/3] recipes-multimedia: Add pipewire configuration files Paresh Bhagat
  2026-01-23  6:03 ` [scarthgap][RFC PATCH 2/3] recipes-multimedia: Add wireplumber audio configuration Paresh Bhagat
@ 2026-01-23  6:03 ` Paresh Bhagat
  2026-01-23  7:19   ` [meta-arago] " Yogesh Hegde
  2026-01-23 16:11   ` Ryan Eatmon
  2 siblings, 2 replies; 12+ messages in thread
From: Paresh Bhagat @ 2026-01-23  6:03 UTC (permalink / raw)
  To: meta-arago, denis, praneeth, reatmon
  Cc: v-singh1, c-shilwant, khasim, afd, devarsht

Add pipewire and wireplumber audio stack support for am62dxx:
- Include pipewire core components and tools
- Add ALSA and PulseAudio compatibility layers
- Include wireplumber session manager
- Add GStreamer pipewire plugin
- Configure pipewire with proper modules and plugins

Signed-off-by: Paresh Bhagat <p-bhagat@ti.com>
---
 .../recipes-core/images/tisdk-default-image.bb  | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/meta-arago-distro/recipes-core/images/tisdk-default-image.bb b/meta-arago-distro/recipes-core/images/tisdk-default-image.bb
index 264d1b2d..d5db6fd4 100644
--- a/meta-arago-distro/recipes-core/images/tisdk-default-image.bb
+++ b/meta-arago-distro/recipes-core/images/tisdk-default-image.bb
@@ -47,3 +47,20 @@ IMAGE_INSTALL += "\
     ${@bb.utils.contains('TUNE_FEATURES', 'armv7a', 'valgrind', '', d)} \
     docker \
 "
+
+IMAGE_INSTALL:append:am62dxx = " \
+    pipewire \
+    pipewire-tools \
+    pipewire-alsa \
+    pipewire-pulse \
+    wireplumber \
+    speexdsp \
+    libpipewire \
+    pipewire-spa-plugins-meta \
+    pipewire-spa-tools \
+    pipewire-modules-meta \
+    pipewire-alsa-card-profile \
+    gstreamer1.0-pipewire \
+"
+PACKAGECONFIG:append:am62dxx:pn-pipewire = " pipewire-jack pipewire-modules pipewire-spa-plugins"
+PACKAGECONFIG:remove:am62dxx:pn-pipewire = " jack"
-- 
2.34.1



^ permalink raw reply related	[flat|nested] 12+ messages in thread

* Re: [meta-arago] [scarthgap][RFC PATCH 1/3] recipes-multimedia: Add pipewire configuration files
  2026-01-23  6:03 ` [scarthgap][RFC PATCH 1/3] recipes-multimedia: Add pipewire configuration files Paresh Bhagat
@ 2026-01-23  6:47   ` Yogesh Hegde
  2026-01-23 16:03   ` Ryan Eatmon
  1 sibling, 0 replies; 12+ messages in thread
From: Yogesh Hegde @ 2026-01-23  6:47 UTC (permalink / raw)
  To: p-bhagat
  Cc: meta-arago, denis, praneeth, reatmon, v-singh1, c-shilwant,
	khasim, afd, devarsht

Hi Paresh,

On 11:33-20260123, Paresh Bhagat via lists.yoctoproject.org wrote:
> - Add 92-capture.conf for capture configuration
> - Add 90-multichannel.conf for multichannel setup
> - Add pipewire_1.0.9.bbappend recipe extension
> 
> Signed-off-by: Paresh Bhagat <p-bhagat@ti.com>

Thanks for your patch! 

> ---
>  .../pipewire/pipewire/90-multichannel.conf      | 17 +++++++++++++++++
>  .../pipewire/pipewire/92-capture.conf           | 17 +++++++++++++++++
>  .../pipewire/pipewire_1.0.9.bbappend            | 14 ++++++++++++++
>  3 files changed, 48 insertions(+)
>  create mode 100644 meta-arago-distro/recipes-multimedia/pipewire/pipewire/90-multichannel.conf
>  create mode 100644 meta-arago-distro/recipes-multimedia/pipewire/pipewire/92-capture.conf
>  create mode 100644 meta-arago-distro/recipes-multimedia/pipewire/pipewire_1.0.9.bbappend
> 
> diff --git a/meta-arago-distro/recipes-multimedia/pipewire/pipewire/90-multichannel.conf b/meta-arago-distro/recipes-multimedia/pipewire/pipewire/90-multichannel.conf
> new file mode 100644
> index 00000000..1dd926bc
> --- /dev/null
> +++ b/meta-arago-distro/recipes-multimedia/pipewire/pipewire/90-multichannel.conf
> @@ -0,0 +1,17 @@
> +context.objects = [
> +    {
> +        factory = adapter
> +        args = {
> +            factory.name     = api.alsa.pcm.sink
> +            node.name        = "alsa_multidac_8ch"
> +            node.description = "Multi-DAC 8ch Output"
> +            media.class      = "Audio/Sink"
> +
> +            api.alsa.path = "hw:0,0"
> +            api.alsa.disable-mmap = true
> +
> +            audio.channels = 8
> +            audio.position = [ FL FR FC LFE RL RR SL SR ]
> +        }
> +    }
> +]
> diff --git a/meta-arago-distro/recipes-multimedia/pipewire/pipewire/92-capture.conf b/meta-arago-distro/recipes-multimedia/pipewire/pipewire/92-capture.conf
> new file mode 100644
> index 00000000..b0871da2
> --- /dev/null
> +++ b/meta-arago-distro/recipes-multimedia/pipewire/pipewire/92-capture.conf
> @@ -0,0 +1,17 @@
> +context.objects = [
> +    {
> +        factory = adapter
> +        args = {
> +            factory.name     = api.alsa.pcm.source
> +            node.name        = "alsa_multidac_4ch_capture"
> +            node.description = "ALSA 4ch Capture (L1 L2 R1 R2)"
> +            media.class      = Audio/Source

As per pipewire docs [0], Audio/Source should be in quotes. 

> +
> +            api.alsa.path = "hw:0,0"
> +            api.alsa.disable-mmap = true
> +
> +            audio.channels = 4
> +            audio.position = [ FL FR SL SR ]
> +        }
> +    }
> +]
> diff --git a/meta-arago-distro/recipes-multimedia/pipewire/pipewire_1.0.9.bbappend b/meta-arago-distro/recipes-multimedia/pipewire/pipewire_1.0.9.bbappend
> new file mode 100644
> index 00000000..29b17af3
> --- /dev/null
> +++ b/meta-arago-distro/recipes-multimedia/pipewire/pipewire_1.0.9.bbappend
> @@ -0,0 +1,14 @@
> +SRC_URI += " \
> +    file://90-multichannel.conf \
> +    file://92-capture.conf \
> +"
> +
> +FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"

FILESEXTRAPATHS should be before SRC_URI so that bitbake knows where to
find files mentioned in the SRC_URI. 

> +
> +do_install:append() {
> +    install -d ${D}${sysconfdir}/pipewire/pipewire.conf.d
> +    install -m 0644 ${WORKDIR}/90-multichannel.conf ${D}${sysconfdir}/pipewire/pipewire.conf.d/
> +    install -m 0644 ${WORKDIR}/92-capture.conf ${D}${sysconfdir}/pipewire/pipewire.conf.d/
> +}
> +
> +FILES:${PN} += " ${sysconfdir}"

Nitpick, packaging entire ${sysconfdir} might not be a best practice, best
would be to package only the required files or the pipewire.conf.d dir. 

FILES:${PN} += "${sysconfdir}/pipewire/pipewire.conf.d/*.conf"

[0]: https://docs.pipewire.org/page_man_pipewire_conf_5.html

Regards, 
- Yogesh


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [meta-arago] [scarthgap][RFC PATCH 2/3] recipes-multimedia: Add wireplumber audio configuration
  2026-01-23  6:03 ` [scarthgap][RFC PATCH 2/3] recipes-multimedia: Add wireplumber audio configuration Paresh Bhagat
@ 2026-01-23  7:07   ` Yogesh Hegde
  0 siblings, 0 replies; 12+ messages in thread
From: Yogesh Hegde @ 2026-01-23  7:07 UTC (permalink / raw)
  To: p-bhagat
  Cc: meta-arago, denis, praneeth, reatmon, v-singh1, c-shilwant,
	khasim, afd, devarsht

Hi Paresh, 

On 11:33-20260123, Paresh Bhagat via lists.yoctoproject.org wrote:
> - Add set-audio-defaults.sh script for audio setup
> - Add set-audio-defaults.service systemd service
> - Add wireplumber_0.5.1.bbappend recipe extension
> 
> Signed-off-by: Paresh Bhagat <p-bhagat@ti.com>

Thanks for your patch!

> ---
>  .../wireplumber/set-audio-defaults.service    | 14 +++++++++
>  .../wireplumber/set-audio-defaults.sh         | 30 +++++++++++++++++++
>  .../wireplumber/wireplumber_0.5.1.bbappend    | 25 ++++++++++++++++
>  3 files changed, 69 insertions(+)
>  create mode 100644 meta-arago-distro/recipes-multimedia/wireplumber/wireplumber/set-audio-defaults.service
>  create mode 100755 meta-arago-distro/recipes-multimedia/wireplumber/wireplumber/set-audio-defaults.sh
>  create mode 100644 meta-arago-distro/recipes-multimedia/wireplumber/wireplumber_0.5.1.bbappend
> 
> diff --git a/meta-arago-distro/recipes-multimedia/wireplumber/wireplumber/set-audio-defaults.service b/meta-arago-distro/recipes-multimedia/wireplumber/wireplumber/set-audio-defaults.service
> new file mode 100644
> index 00000000..18881553
> --- /dev/null
> +++ b/meta-arago-distro/recipes-multimedia/wireplumber/wireplumber/set-audio-defaults.service
> @@ -0,0 +1,14 @@
> +[Unit]
> +Description=Set PipeWire Default Audio Devices
> +After=wireplumber.service
> +Wants=wireplumber.service

As per the systemd manual [0], with "Wants=" the service will still run
if wireplumber fails. From the script below I see that is not the
intension. "Requires=" would be the correct way. 

> +
> +[Service]
> +Type=oneshot
> +ExecStart=/usr/bin/set-audio-defaults.sh
> +StandardOutput=append:/var/log/set-audio-defaults-output.log
> +StandardError=append:/var/log/set-audio-defaults-error.log
> +RemainAfterExit=yes
> +
> +[Install]
> +WantedBy=multi-user.target
> diff --git a/meta-arago-distro/recipes-multimedia/wireplumber/wireplumber/set-audio-defaults.sh b/meta-arago-distro/recipes-multimedia/wireplumber/wireplumber/set-audio-defaults.sh
> new file mode 100755
> index 00000000..cd193d02
> --- /dev/null
> +++ b/meta-arago-distro/recipes-multimedia/wireplumber/wireplumber/set-audio-defaults.sh
> @@ -0,0 +1,30 @@
> +#!/bin/bash
> +
> +# Wait for WirePlumber to be ready
> +for i in {1..30}; do
> +    wpctl status &>/dev/null && break
> +    sleep 1
> +done
> +
> +# Additional delay for nodes to appear
> +sleep 2
> +
> +# Find McASP sink ID
> +SINK_ID=$(pw-cli info alsa_multidac_8ch 2>/dev/null | head -n 1 | awk '{print $2}')
> +if [[ -n "$SINK_ID" ]]; then
> +    wpctl set-default "$SINK_ID"
> +    echo "Set default sink to ID: $SINK_ID (alsa_multidac_8ch)"
> +else
> +    echo "Could not find alsa_multidac_8ch sink"
> +fi
> +
> +# Find PCM source ID
> +SOURCE_ID=$(pw-cli info alsa_multidac_4ch_capture 2>/dev/null | head -n 1 | awk '{print $2}')
> +if [[ -n "$SOURCE_ID" ]]; then
> +    wpctl set-default "$SOURCE_ID"
> +    echo "Set default source to ID: $SOURCE_ID (alsa_multidac_4ch_capture)"
> +else
> +    echo "Could not find alsa_multidac_4ch_capture"
> +fi
> +
> +echo "Done"
> diff --git a/meta-arago-distro/recipes-multimedia/wireplumber/wireplumber_0.5.1.bbappend b/meta-arago-distro/recipes-multimedia/wireplumber/wireplumber_0.5.1.bbappend
> new file mode 100644
> index 00000000..f6e5ff91
> --- /dev/null
> +++ b/meta-arago-distro/recipes-multimedia/wireplumber/wireplumber_0.5.1.bbappend
> @@ -0,0 +1,25 @@
> +SRC_URI += " \
> +    file://set-audio-defaults.sh \
> +    file://set-audio-defaults.service \
> +"
> +
> +FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"

FILESEXTRAPATHS should be before SRC_URI. 

> +
> +do_install:append() {
> +    # Install the script
> +    install -d ${D}${bindir}
> +    install -m 0755 ${WORKDIR}/set-audio-defaults.sh ${D}${bindir}/
> +
> +    # Install the systemd service
> +    install -d ${D}${systemd_system_unitdir}
> +    install -m 0644 ${WORKDIR}/set-audio-defaults.service ${D}${systemd_system_unitdir}/
> +}
> +
> +inherit systemd

As per yocto docs [1], systemd bbclass will take care of installing the service files 
and the lines installing the service files can be dropped. But for this
to work inherit systemdm, should be above do_install(). 

> +
> +RDEPENDS:${PN} += "bash"
> +SYSTEMD_SERVICE:${PN} = "set-audio-defaults.service"
> +
> +FILES:${PN} += " \
> +    ${bindir} \
> +"
> -- 
> 2.34.1
> 

[0]: https://www.freedesktop.org/software/systemd/man/latest/systemd.unit.html?__goaway_challenge=meta-refresh&__goaway_id=43a15b62025865117ca287aaee83857e
[1]: https://docs.yoctoproject.org/5.0.15/ref-manual/classes.html#systemd

Regards, 
- Yogesh


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [meta-arago] [scarthgap][RFC PATCH 3/3] tisdk-default-image: Add audio server support for am62dxx
  2026-01-23  6:03 ` [scarthgap][RFC PATCH 3/3] tisdk-default-image: Add audio server support for am62dxx Paresh Bhagat
@ 2026-01-23  7:19   ` Yogesh Hegde
  2026-01-23 16:11   ` Ryan Eatmon
  1 sibling, 0 replies; 12+ messages in thread
From: Yogesh Hegde @ 2026-01-23  7:19 UTC (permalink / raw)
  To: p-bhagat
  Cc: meta-arago, denis, praneeth, reatmon, v-singh1, c-shilwant,
	khasim, afd, devarsht

Hi Paresh, 

On 11:33-20260123, Paresh Bhagat via lists.yoctoproject.org wrote:
> Add pipewire and wireplumber audio stack support for am62dxx:
> - Include pipewire core components and tools
> - Add ALSA and PulseAudio compatibility layers
> - Include wireplumber session manager
> - Add GStreamer pipewire plugin
> - Configure pipewire with proper modules and plugins
> 
> Signed-off-by: Paresh Bhagat <p-bhagat@ti.com>
> ---

Thanks for your patch!

>  .../recipes-core/images/tisdk-default-image.bb  | 17 +++++++++++++++++
>  1 file changed, 17 insertions(+)
> 
> diff --git a/meta-arago-distro/recipes-core/images/tisdk-default-image.bb b/meta-arago-distro/recipes-core/images/tisdk-default-image.bb
> index 264d1b2d..d5db6fd4 100644
> --- a/meta-arago-distro/recipes-core/images/tisdk-default-image.bb
> +++ b/meta-arago-distro/recipes-core/images/tisdk-default-image.bb
> @@ -47,3 +47,20 @@ IMAGE_INSTALL += "\
>      ${@bb.utils.contains('TUNE_FEATURES', 'armv7a', 'valgrind', '', d)} \
>      docker \
>  "
> +
> +IMAGE_INSTALL:append:am62dxx = " \
> +    pipewire \
> +    pipewire-tools \
> +    pipewire-alsa \
> +    pipewire-pulse \
> +    wireplumber \
> +    speexdsp \
> +    libpipewire \
> +    pipewire-spa-plugins-meta \
> +    pipewire-spa-tools \
> +    pipewire-modules-meta \
> +    pipewire-alsa-card-profile \
> +    gstreamer1.0-pipewire \
> +"
> +PACKAGECONFIG:append:am62dxx:pn-pipewire = " pipewire-jack pipewire-modules pipewire-spa-plugins"
> +PACKAGECONFIG:remove:am62dxx:pn-pipewire = " jack"

As per yocto docs [0], `pn-pipewire` would not work inside an image
recipe. I suggest dropping PACKAGECONFIG lines, Instead put the
PACKAGECONFIG lines in `pipewire_%.bbappend`

```
PACKAGECONFIG:append:am62dxx = " pipewire-jack pipewire-modules pipewire-spa-plugins"
PACKAGECONFIG:remove:am62dxx = " jack"
```

[0]: https://docs.yoctoproject.org/ref-manual/variables.html#term-OVERRIDES

Regards, 
- Yogesh 


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [scarthgap][RFC PATCH 1/3] recipes-multimedia: Add pipewire configuration files
  2026-01-23  6:03 ` [scarthgap][RFC PATCH 1/3] recipes-multimedia: Add pipewire configuration files Paresh Bhagat
  2026-01-23  6:47   ` [meta-arago] " Yogesh Hegde
@ 2026-01-23 16:03   ` Ryan Eatmon
  2026-01-23 17:03     ` [meta-arago] " Denys Dmytriyenko
  1 sibling, 1 reply; 12+ messages in thread
From: Ryan Eatmon @ 2026-01-23 16:03 UTC (permalink / raw)
  To: Paresh Bhagat, meta-arago, denis, praneeth
  Cc: v-singh1, c-shilwant, khasim, afd, devarsht



On 1/23/2026 12:03 AM, Paresh Bhagat wrote:
> - Add 92-capture.conf for capture configuration
> - Add 90-multichannel.conf for multichannel setup
> - Add pipewire_1.0.9.bbappend recipe extension
> 
> Signed-off-by: Paresh Bhagat <p-bhagat@ti.com>
> ---
>   .../pipewire/pipewire/90-multichannel.conf      | 17 +++++++++++++++++
>   .../pipewire/pipewire/92-capture.conf           | 17 +++++++++++++++++
>   .../pipewire/pipewire_1.0.9.bbappend            | 14 ++++++++++++++
>   3 files changed, 48 insertions(+)
>   create mode 100644 meta-arago-distro/recipes-multimedia/pipewire/pipewire/90-multichannel.conf
>   create mode 100644 meta-arago-distro/recipes-multimedia/pipewire/pipewire/92-capture.conf
>   create mode 100644 meta-arago-distro/recipes-multimedia/pipewire/pipewire_1.0.9.bbappend
> 
> diff --git a/meta-arago-distro/recipes-multimedia/pipewire/pipewire/90-multichannel.conf b/meta-arago-distro/recipes-multimedia/pipewire/pipewire/90-multichannel.conf
> new file mode 100644
> index 00000000..1dd926bc
> --- /dev/null
> +++ b/meta-arago-distro/recipes-multimedia/pipewire/pipewire/90-multichannel.conf
> @@ -0,0 +1,17 @@
> +context.objects = [
> +    {
> +        factory = adapter
> +        args = {
> +            factory.name     = api.alsa.pcm.sink
> +            node.name        = "alsa_multidac_8ch"
> +            node.description = "Multi-DAC 8ch Output"
> +            media.class      = "Audio/Sink"
> +
> +            api.alsa.path = "hw:0,0"
> +            api.alsa.disable-mmap = true
> +
> +            audio.channels = 8
> +            audio.position = [ FL FR FC LFE RL RR SL SR ]
> +        }
> +    }
> +]
> diff --git a/meta-arago-distro/recipes-multimedia/pipewire/pipewire/92-capture.conf b/meta-arago-distro/recipes-multimedia/pipewire/pipewire/92-capture.conf
> new file mode 100644
> index 00000000..b0871da2
> --- /dev/null
> +++ b/meta-arago-distro/recipes-multimedia/pipewire/pipewire/92-capture.conf
> @@ -0,0 +1,17 @@
> +context.objects = [
> +    {
> +        factory = adapter
> +        args = {
> +            factory.name     = api.alsa.pcm.source
> +            node.name        = "alsa_multidac_4ch_capture"
> +            node.description = "ALSA 4ch Capture (L1 L2 R1 R2)"
> +            media.class      = Audio/Source
> +
> +            api.alsa.path = "hw:0,0"
> +            api.alsa.disable-mmap = true
> +
> +            audio.channels = 4
> +            audio.position = [ FL FR SL SR ]
> +        }
> +    }
> +]
> diff --git a/meta-arago-distro/recipes-multimedia/pipewire/pipewire_1.0.9.bbappend b/meta-arago-distro/recipes-multimedia/pipewire/pipewire_1.0.9.bbappend
> new file mode 100644
> index 00000000..29b17af3
> --- /dev/null
> +++ b/meta-arago-distro/recipes-multimedia/pipewire/pipewire_1.0.9.bbappend


We do not directly bbappend recipes to maintain yoctoproject compatible 
status.  Please check other bbappends in meta-arago for examples on how 
to do this properly.  For example: 
meta-arago-distro/recipes-multimedia/libtiff/tiff_%.bbappend


This same comment applies to the other patches where you add bbappend 
files as well.


> @@ -0,0 +1,14 @@
> +SRC_URI += " \
> +    file://90-multichannel.conf \
> +    file://92-capture.conf \
> +"
> +
> +FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
> +
> +do_install:append() {
> +    install -d ${D}${sysconfdir}/pipewire/pipewire.conf.d
> +    install -m 0644 ${WORKDIR}/90-multichannel.conf ${D}${sysconfdir}/pipewire/pipewire.conf.d/
> +    install -m 0644 ${WORKDIR}/92-capture.conf ${D}${sysconfdir}/pipewire/pipewire.conf.d/
> +}
> +
> +FILES:${PN} += " ${sysconfdir}"

-- 
Ryan Eatmon                reatmon@ti.com
-----------------------------------------
Texas Instruments, Inc.  -  LCPD  -  MGTS


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [scarthgap][RFC PATCH 3/3] tisdk-default-image: Add audio server support for am62dxx
  2026-01-23  6:03 ` [scarthgap][RFC PATCH 3/3] tisdk-default-image: Add audio server support for am62dxx Paresh Bhagat
  2026-01-23  7:19   ` [meta-arago] " Yogesh Hegde
@ 2026-01-23 16:11   ` Ryan Eatmon
  2026-01-23 17:01     ` Denys Dmytriyenko
  1 sibling, 1 reply; 12+ messages in thread
From: Ryan Eatmon @ 2026-01-23 16:11 UTC (permalink / raw)
  To: Paresh Bhagat, meta-arago, denis, praneeth
  Cc: v-singh1, c-shilwant, khasim, afd, devarsht



On 1/23/2026 12:03 AM, Paresh Bhagat wrote:
> Add pipewire and wireplumber audio stack support for am62dxx:
> - Include pipewire core components and tools
> - Add ALSA and PulseAudio compatibility layers
> - Include wireplumber session manager
> - Add GStreamer pipewire plugin
> - Configure pipewire with proper modules and plugins
> 
> Signed-off-by: Paresh Bhagat <p-bhagat@ti.com>
> ---
>   .../recipes-core/images/tisdk-default-image.bb  | 17 +++++++++++++++++
>   1 file changed, 17 insertions(+)
> 
> diff --git a/meta-arago-distro/recipes-core/images/tisdk-default-image.bb b/meta-arago-distro/recipes-core/images/tisdk-default-image.bb
> index 264d1b2d..d5db6fd4 100644
> --- a/meta-arago-distro/recipes-core/images/tisdk-default-image.bb
> +++ b/meta-arago-distro/recipes-core/images/tisdk-default-image.bb
> @@ -47,3 +47,20 @@ IMAGE_INSTALL += "\
>       ${@bb.utils.contains('TUNE_FEATURES', 'armv7a', 'valgrind', '', d)} \
>       docker \
>   "
> +
> +IMAGE_INSTALL:append:am62dxx = " \
> +    pipewire \
> +    pipewire-tools \
> +    pipewire-alsa \
> +    pipewire-pulse \
> +    wireplumber \
> +    speexdsp \
> +    libpipewire \
> +    pipewire-spa-plugins-meta \
> +    pipewire-spa-tools \
> +    pipewire-modules-meta \
> +    pipewire-alsa-card-profile \
> +    gstreamer1.0-pipewire \
> +"

I'm sure at some point we will want to push the "more modern" pipewire 
to other boards as well.  What is the reasoning for only doing this on 
am62d?

Please create a PIPEWIRE variable that contains the above list and then:

IMAGE_INSTALL:append:am62dxx = " ${PIPEWIRE}"

Also, for ease of looking up packages, please sort the list alphabetically.


> +PACKAGECONFIG:append:am62dxx:pn-pipewire = " pipewire-jack pipewire-modules pipewire-spa-plugins"
> +PACKAGECONFIG:remove:am62dxx:pn-pipewire = " jack"

Agree with Yogesh.  This is not appropriate in this file.  This should 
be in a pipewire bbappend.

-- 
Ryan Eatmon                reatmon@ti.com
-----------------------------------------
Texas Instruments, Inc.  -  LCPD  -  MGTS


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [scarthgap][RFC PATCH 3/3] tisdk-default-image: Add audio server support for am62dxx
  2026-01-23 16:11   ` Ryan Eatmon
@ 2026-01-23 17:01     ` Denys Dmytriyenko
  2026-01-23 17:14       ` Ryan Eatmon
  0 siblings, 1 reply; 12+ messages in thread
From: Denys Dmytriyenko @ 2026-01-23 17:01 UTC (permalink / raw)
  To: Ryan Eatmon
  Cc: Paresh Bhagat, meta-arago, praneeth, v-singh1, c-shilwant, khasim,
	afd, devarsht

On Fri, Jan 23, 2026 at 10:11:06AM -0600, Ryan Eatmon wrote:
> 
> 
> On 1/23/2026 12:03 AM, Paresh Bhagat wrote:
> >Add pipewire and wireplumber audio stack support for am62dxx:
> >- Include pipewire core components and tools
> >- Add ALSA and PulseAudio compatibility layers
> >- Include wireplumber session manager
> >- Add GStreamer pipewire plugin
> >- Configure pipewire with proper modules and plugins
> >
> >Signed-off-by: Paresh Bhagat <p-bhagat@ti.com>
> >---
> >  .../recipes-core/images/tisdk-default-image.bb  | 17 +++++++++++++++++
> >  1 file changed, 17 insertions(+)
> >
> >diff --git a/meta-arago-distro/recipes-core/images/tisdk-default-image.bb b/meta-arago-distro/recipes-core/images/tisdk-default-image.bb
> >index 264d1b2d..d5db6fd4 100644
> >--- a/meta-arago-distro/recipes-core/images/tisdk-default-image.bb
> >+++ b/meta-arago-distro/recipes-core/images/tisdk-default-image.bb
> >@@ -47,3 +47,20 @@ IMAGE_INSTALL += "\
> >      ${@bb.utils.contains('TUNE_FEATURES', 'armv7a', 'valgrind', '', d)} \
> >      docker \
> >  "
> >+
> >+IMAGE_INSTALL:append:am62dxx = " \
> >+    pipewire \
> >+    pipewire-tools \
> >+    pipewire-alsa \
> >+    pipewire-pulse \
> >+    wireplumber \
> >+    speexdsp \
> >+    libpipewire \
> >+    pipewire-spa-plugins-meta \
> >+    pipewire-spa-tools \
> >+    pipewire-modules-meta \
> >+    pipewire-alsa-card-profile \
> >+    gstreamer1.0-pipewire \
> >+"
> 
> I'm sure at some point we will want to push the "more modern"
> pipewire to other boards as well.  What is the reasoning for only
> doing this on am62d?
> 
> Please create a PIPEWIRE variable that contains the above list and then:
> 
> IMAGE_INSTALL:append:am62dxx = " ${PIPEWIRE}"
> 
> Also, for ease of looking up packages, please sort the list alphabetically.
> 
> 
> >+PACKAGECONFIG:append:am62dxx:pn-pipewire = " pipewire-jack pipewire-modules pipewire-spa-plugins"

Huh? pipewire-modules and pipewire-spa-plugins are not PACKAGECONFIGs, but 
packages...


> >+PACKAGECONFIG:remove:am62dxx:pn-pipewire = " jack"

No leading space is needed here.


> Agree with Yogesh.  This is not appropriate in this file.  This
> should be in a pipewire bbappend.

Or rather generically in the distro config, as I suggested last week.

-- 
Denys


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [meta-arago] [scarthgap][RFC PATCH 1/3] recipes-multimedia: Add pipewire configuration files
  2026-01-23 16:03   ` Ryan Eatmon
@ 2026-01-23 17:03     ` Denys Dmytriyenko
  0 siblings, 0 replies; 12+ messages in thread
From: Denys Dmytriyenko @ 2026-01-23 17:03 UTC (permalink / raw)
  To: reatmon
  Cc: Paresh Bhagat, meta-arago, praneeth, v-singh1, c-shilwant, khasim,
	afd, devarsht

On Fri, Jan 23, 2026 at 10:03:39AM -0600, Ryan Eatmon via lists.yoctoproject.org wrote:
> 
> 
> On 1/23/2026 12:03 AM, Paresh Bhagat wrote:
> >- Add 92-capture.conf for capture configuration
> >- Add 90-multichannel.conf for multichannel setup
> >- Add pipewire_1.0.9.bbappend recipe extension
> >
> >Signed-off-by: Paresh Bhagat <p-bhagat@ti.com>
> >---
> >  .../pipewire/pipewire/90-multichannel.conf      | 17 +++++++++++++++++
> >  .../pipewire/pipewire/92-capture.conf           | 17 +++++++++++++++++
> >  .../pipewire/pipewire_1.0.9.bbappend            | 14 ++++++++++++++
> >  3 files changed, 48 insertions(+)
> >  create mode 100644 meta-arago-distro/recipes-multimedia/pipewire/pipewire/90-multichannel.conf
> >  create mode 100644 meta-arago-distro/recipes-multimedia/pipewire/pipewire/92-capture.conf
> >  create mode 100644 meta-arago-distro/recipes-multimedia/pipewire/pipewire_1.0.9.bbappend
> >
> >diff --git a/meta-arago-distro/recipes-multimedia/pipewire/pipewire/90-multichannel.conf b/meta-arago-distro/recipes-multimedia/pipewire/pipewire/90-multichannel.conf
> >new file mode 100644
> >index 00000000..1dd926bc
> >--- /dev/null
> >+++ b/meta-arago-distro/recipes-multimedia/pipewire/pipewire/90-multichannel.conf
> >@@ -0,0 +1,17 @@
> >+context.objects = [
> >+    {
> >+        factory = adapter
> >+        args = {
> >+            factory.name     = api.alsa.pcm.sink
> >+            node.name        = "alsa_multidac_8ch"
> >+            node.description = "Multi-DAC 8ch Output"
> >+            media.class      = "Audio/Sink"
> >+
> >+            api.alsa.path = "hw:0,0"
> >+            api.alsa.disable-mmap = true
> >+
> >+            audio.channels = 8
> >+            audio.position = [ FL FR FC LFE RL RR SL SR ]
> >+        }
> >+    }
> >+]
> >diff --git a/meta-arago-distro/recipes-multimedia/pipewire/pipewire/92-capture.conf b/meta-arago-distro/recipes-multimedia/pipewire/pipewire/92-capture.conf
> >new file mode 100644
> >index 00000000..b0871da2
> >--- /dev/null
> >+++ b/meta-arago-distro/recipes-multimedia/pipewire/pipewire/92-capture.conf
> >@@ -0,0 +1,17 @@
> >+context.objects = [
> >+    {
> >+        factory = adapter
> >+        args = {
> >+            factory.name     = api.alsa.pcm.source
> >+            node.name        = "alsa_multidac_4ch_capture"
> >+            node.description = "ALSA 4ch Capture (L1 L2 R1 R2)"
> >+            media.class      = Audio/Source
> >+
> >+            api.alsa.path = "hw:0,0"
> >+            api.alsa.disable-mmap = true
> >+
> >+            audio.channels = 4
> >+            audio.position = [ FL FR SL SR ]
> >+        }
> >+    }
> >+]
> >diff --git a/meta-arago-distro/recipes-multimedia/pipewire/pipewire_1.0.9.bbappend b/meta-arago-distro/recipes-multimedia/pipewire/pipewire_1.0.9.bbappend
> >new file mode 100644
> >index 00000000..29b17af3
> >--- /dev/null
> >+++ b/meta-arago-distro/recipes-multimedia/pipewire/pipewire_1.0.9.bbappend
> 
> 
> We do not directly bbappend recipes to maintain yoctoproject
> compatible status.  Please check other bbappends in meta-arago for
> examples on how to do this properly.  For example:
> meta-arago-distro/recipes-multimedia/libtiff/tiff_%.bbappend
> 
> 
> This same comment applies to the other patches where you add
> bbappend files as well.

And since this is to add 2 extra conf files, alternatively this could be a 
completely separate recipe.


> >@@ -0,0 +1,14 @@
> >+SRC_URI += " \
> >+    file://90-multichannel.conf \
> >+    file://92-capture.conf \
> >+"
> >+
> >+FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
> >+
> >+do_install:append() {
> >+    install -d ${D}${sysconfdir}/pipewire/pipewire.conf.d
> >+    install -m 0644 ${WORKDIR}/90-multichannel.conf ${D}${sysconfdir}/pipewire/pipewire.conf.d/
> >+    install -m 0644 ${WORKDIR}/92-capture.conf ${D}${sysconfdir}/pipewire/pipewire.conf.d/
> >+}
> >+
> >+FILES:${PN} += " ${sysconfdir}"


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [scarthgap][RFC PATCH 3/3] tisdk-default-image: Add audio server support for am62dxx
  2026-01-23 17:01     ` Denys Dmytriyenko
@ 2026-01-23 17:14       ` Ryan Eatmon
  0 siblings, 0 replies; 12+ messages in thread
From: Ryan Eatmon @ 2026-01-23 17:14 UTC (permalink / raw)
  To: Denys Dmytriyenko
  Cc: Paresh Bhagat, meta-arago, praneeth, v-singh1, c-shilwant, khasim,
	afd, devarsht



On 1/23/2026 11:01 AM, Denys Dmytriyenko wrote:
> On Fri, Jan 23, 2026 at 10:11:06AM -0600, Ryan Eatmon wrote:
>>
>>
>> On 1/23/2026 12:03 AM, Paresh Bhagat wrote:
>>> Add pipewire and wireplumber audio stack support for am62dxx:
>>> - Include pipewire core components and tools
>>> - Add ALSA and PulseAudio compatibility layers
>>> - Include wireplumber session manager
>>> - Add GStreamer pipewire plugin
>>> - Configure pipewire with proper modules and plugins
>>>
>>> Signed-off-by: Paresh Bhagat <p-bhagat@ti.com>
>>> ---
>>>   .../recipes-core/images/tisdk-default-image.bb  | 17 +++++++++++++++++
>>>   1 file changed, 17 insertions(+)
>>>
>>> diff --git a/meta-arago-distro/recipes-core/images/tisdk-default-image.bb b/meta-arago-distro/recipes-core/images/tisdk-default-image.bb
>>> index 264d1b2d..d5db6fd4 100644
>>> --- a/meta-arago-distro/recipes-core/images/tisdk-default-image.bb
>>> +++ b/meta-arago-distro/recipes-core/images/tisdk-default-image.bb
>>> @@ -47,3 +47,20 @@ IMAGE_INSTALL += "\
>>>       ${@bb.utils.contains('TUNE_FEATURES', 'armv7a', 'valgrind', '', d)} \
>>>       docker \
>>>   "
>>> +
>>> +IMAGE_INSTALL:append:am62dxx = " \
>>> +    pipewire \
>>> +    pipewire-tools \
>>> +    pipewire-alsa \
>>> +    pipewire-pulse \
>>> +    wireplumber \
>>> +    speexdsp \
>>> +    libpipewire \
>>> +    pipewire-spa-plugins-meta \
>>> +    pipewire-spa-tools \
>>> +    pipewire-modules-meta \
>>> +    pipewire-alsa-card-profile \
>>> +    gstreamer1.0-pipewire \
>>> +"
>>
>> I'm sure at some point we will want to push the "more modern"
>> pipewire to other boards as well.  What is the reasoning for only
>> doing this on am62d?
>>
>> Please create a PIPEWIRE variable that contains the above list and then:
>>
>> IMAGE_INSTALL:append:am62dxx = " ${PIPEWIRE}"
>>
>> Also, for ease of looking up packages, please sort the list alphabetically.
>>
>>
>>> +PACKAGECONFIG:append:am62dxx:pn-pipewire = " pipewire-jack pipewire-modules pipewire-spa-plugins"
> 
> Huh? pipewire-modules and pipewire-spa-plugins are not PACKAGECONFIGs, but
> packages...
> 
> 
>>> +PACKAGECONFIG:remove:am62dxx:pn-pipewire = " jack"
> 
> No leading space is needed here.
> 
> 
>> Agree with Yogesh.  This is not appropriate in this file.  This
>> should be in a pipewire bbappend.
> 
> Or rather generically in the distro config, as I suggested last week.

Good point.


-- 
Ryan Eatmon                reatmon@ti.com
-----------------------------------------
Texas Instruments, Inc.  -  LCPD  -  MGTS


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2026-01-23 17:14 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-23  6:03 [scarthgap][RFC PATCH 0/3] Add pipeWire audio stack for am62dxx Paresh Bhagat
2026-01-23  6:03 ` [scarthgap][RFC PATCH 1/3] recipes-multimedia: Add pipewire configuration files Paresh Bhagat
2026-01-23  6:47   ` [meta-arago] " Yogesh Hegde
2026-01-23 16:03   ` Ryan Eatmon
2026-01-23 17:03     ` [meta-arago] " Denys Dmytriyenko
2026-01-23  6:03 ` [scarthgap][RFC PATCH 2/3] recipes-multimedia: Add wireplumber audio configuration Paresh Bhagat
2026-01-23  7:07   ` [meta-arago] " Yogesh Hegde
2026-01-23  6:03 ` [scarthgap][RFC PATCH 3/3] tisdk-default-image: Add audio server support for am62dxx Paresh Bhagat
2026-01-23  7:19   ` [meta-arago] " Yogesh Hegde
2026-01-23 16:11   ` Ryan Eatmon
2026-01-23 17:01     ` Denys Dmytriyenko
2026-01-23 17:14       ` Ryan Eatmon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.