Cool you have gained some insight.
--
I would define your sink as hw:D2X,<sink_index> as the card number can change but the name won't.
make a safety copy of ~/.asoundrc and make the file contain only this line.
defaults.namehint.extended on
The please post the output of `aplay -L` and `amixer -cD2X contents`.
You may be able to disable 5.1 and get the analog sink to work.
On Mon, Oct 22, 2018 at 11:37 AM, Andrey Semashev <andrey.semashev@xxxxxxxxx> wrote:
On 10/22/18 5:45 PM, Russell Treleaven wrote:
make a safety copy of /etc/pulse/default.pa <http://default.pa>
edit the file to comment out the following lines like this
#load-module module-udev-detect
#load-module module-detect
add the following lines immediately following the ones you commented out
load-module module-alsa-sink device=hw:<your_card>,<sink_index> sink_properties="your_sink"
load-module module-alsa-source device=hw:<your_card>,<source_index> source_properties="your_source "
You can discover the value for <your_card>, <sink_index> and <source_index> via `aplay -l` and `arecord -l`
restart pulseaudio
`pulseaudio -k`
verify it worked
`pactl list sinks`
`pactl list sources`
Not a fix but it is a workaround
Thanks, but it doesn't really work for me. `aplay -l` shows:
card 0: D2X [Xonar D2X], device 0: Multichannel [Multichannel]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 0: D2X [Xonar D2X], device 1: Digital [Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 0: ALC892 Analog [ALC892 Analog]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 1: ALC892 Digital [ALC892 Digital]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
Subdevices: 0/1
Subdevice #0: subdevice #0
so the D2X (analog output) should be "hw:0,0", right? Adding this line:
load-module module-alsa-sink device=hw:0,0
does not add a D2X sink to `pactl list sinks`. Adding this line:
load-module module-alsa-sink device=hw:0,1
does add D2X *digital* ouptut sink. So PulseAudio has a specific problem with multichannel (5.1) analog output for some reason.
_______________________________________________
pulseaudio-discuss mailing list
pulseaudio-discuss@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/pulseaudio-di scuss
_______________________________________________ pulseaudio-discuss mailing list pulseaudio-discuss@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss