I am trying to configure PipeWire to use my sound card’s digital output. Audio works via the PC’s line-out jack, but not the S/PDIF optical port. This is the expected default configuration, but I am trying to enable the digital output.
ALSA appears to detect the capability for digital output:
[faokryn@localhost ~]$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC892 Analog [ALC892 Analog]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 1: ALC892 Digital [ALC892 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 3: HDMI 0 [VG271U]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 7: HDMI 1 [VG272U]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 8: HDMI 2 [HDMI 2]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 9: HDMI 3 [HDMI 3]
Subdevices: 1/1
Subdevice #0: subdevice #0
[faokryn@localhost ~]$ aplay -L | grep -v surround | grep CARD=PCH -A 2
sysdefault:CARD=PCH
HDA Intel PCH, ALC892 Analog
Default Audio Device
front:CARD=PCH,DEV=0
HDA Intel PCH, ALC892 Analog
Front output / input
--
iec958:CARD=PCH,DEV=0
HDA Intel PCH, ALC892 Digital
IEC958 (S/PDIF) Digital Audio Output
but PipeWire/WirePlumber only has an “Analog Stereo” version of “Built-in Audio”:
[faokryn@localhost ~]$ wpctl status
PipeWire 'pipewire-0' [0.3.65, faokryn@localhost, cookie:2367182353]
└─ Clients:
31. WirePlumber [0.3.65, faokryn@localhost, pid:6180]
32. WirePlumber [export] [0.3.65, faokryn@localhost, pid:6180]
61. wpctl [0.3.65, faokryn@localhost, pid:6196]
Audio
├─ Devices:
│ 40. TU116 High Definition Audio Controller [alsa]
│ 41. HD Pro Webcam C920 [alsa]
│ 42. Built-in Audio [alsa]
│
├─ Sinks:
│ 45. TU116 High Definition Audio Controller Digital Stereo (HDMI) [vol: 0.40]
│ * 47. Built-in Audio Analog Stereo [vol: 0.40]
│
├─ Sink endpoints:
│
├─ Sources:
│ * 46. HD Pro Webcam C920 Analog Stereo [vol: 1.00]
│ 48. Built-in Audio Analog Stereo [vol: 1.00]
│
├─ Source endpoints:
│
└─ Streams:
Video
├─ Devices:
│ 38. HD Pro Webcam C920 [v4l2]
│ 39. HD Pro Webcam C920 [v4l2]
│
├─ Sinks:
│
├─ Sink endpoints:
│
├─ Sources:
│ * 43. HD Pro Webcam C920 (V4L2)
│
├─ Source endpoints:
│
└─ Streams:
Settings
└─ Default Configured Node Names:
0. Audio/Sink alsa_output.pci-0000_00_1b.0.analog-stereo
I can’t seem to find information on how to get WirePlumber to detect and use this profile- basically the equivalent of pactl --set-card-profile
with PulseAudio.
Can anyone advise me or point me in the right direction? Thanks