On Sun, 29 Nov 2020 15:02:38 -0500
Bob Goodwin <bobgood...@fastmail.us> wrote:

> aplay: main:830: audio open error: Connection refused

Did alsa recognize the sound devices? Check with
aplay -l

I've had this problem with shifting sound devices because of the video
(hdmi) device being recognized before the other audio devices.  This
makes sense, since the video has to be initialized early in the boot
process.  It is a race condition.  Wolfgang's suggestion that you use
pavucontrol to set the default sound device is a good one.  That way,
no matter the order that they are initialized in, pulse will always use
the device you want as the default output device.

You can also change the alsa default device in 
/etc/alsa/alsactl.conf
However, if the order of sound devices changes with every boot, that
will be problematic.  

You can put a file in 
/etc/modprobe.d
to specify the order of devices explicitly, but that is more complex.
Basically, put stanzas like the following for each device.
alias snd-card-0 snd-hda-intel id="SB"
options snd-hda-intel index=0
changing the card description to reflect the information from 
aplay -l
and setting a different index number in the range 0-7 for each of them.
The file name doesn't matter as long as it is unique for that
directory, but choose something descriptive so you recognize it.
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org

Reply via email to