On 17/11/2021 07:27, Sam Varshavchik wrote:
One of my servers was rebooted two times, so far, since the update to
F35.
There's no audio after each reboot. First time: after some scrambling around, I found
that I simply have to switch to "Built-In Analog Stereo" in XFCE's (my
desktop) audio mixer. Fine, so I wrote it off as a result of a one-time update to
Pipewire.
But this happened again, after the 2nd reboot.
I saw nothing in audio mixer which lets me permanently set my default audio out.
I searched for "pipewire default audio device" and "pipewire save default
audio device" but didn't find anything useful. After browsing some random links I
found mentions of a "pactl" command, so after reading its man page:
$ pactl list short sinks
41 alsa_output.usb-Burr-Brown_from_TI_USB_Audio_CODEC-00.analog-stereo PipeWire s16le
2ch 48000Hz SUSPENDED
42 alsa_output.pci-0000_00_1b.0.analog-stereo PipeWire s32le 2ch 48000Hz
SUSPENDED
After a reboot:
$ pactl get-default-sink
alsa_output.usb-Burr-Brown_from_TI_USB_Audio_CODEC-00.analog-stereo
Fail.
$ pactl set-default-sink alsa_output.pci-0000_00_1b.0.analog-stereo
Now I have audio again.
After logging out and back in, the default audio is unchanged. But it gets reset after
every reboot. After scratching my head, I looked deeper and discovered that pactl is
pulseaudio, but my understanding is that F35 switched to something called
"pipewire".
More digging uncovered the existence of pw-cli. However its man page is sparse, and after
starting it the "dump" and "list objects" command produced a ton of
incomprehensible output. "help" didn't seem to have much help to say in
terms of selecting and saving, permanently, the default output device. Wouldn't you
think that this should be pretty basic, elementary stuff that any audio framework should
put in front of the user, in a very visible way? But I guess not.
So, anyone knows how to set the permanent default output device?
No. But I do have a question.
If you boot the system with the USB device disconnected, and then login, I assume sound
works with the pci
device.
Then, if you plug in the USB device does it take over from the pci device?
--
Did 황준호 die?