* Masaru Nomiya
Hello,
Sorry, I just remembered.
In the Message;
Subject : Re: ALMOST SOLVED: root cannot play sound ??? Message-ID : <87r187h233.wl-nomiya@galaxy.dti.ne.jp> Date & Time: Sun, 13 Feb 2022 12:34:08 +0900
[MN] == Masaru Nomiya
has written: [...] PS> > So we need to specify the priority of the device in alsa.conf, like PS> > this; PS> > PS> > options snd-hda-intel index=0,1 vid=[vender0 id],[vender1 id]
PS> I looked at editing /usr/share/alsa/alsa.conf PS> but the format does not appear to provide a place for "options sn..."
PS> how, where and what do I edit?
PS> copy of alsa.conf PS> http://wahoo.no-ip.org/~paka/alsa.conf
MN> In that case, you can create /etc/asound.conf as shown below.
The way to do this in opensuse is to specify it in /etc/modprobe.d/50-sound.conf.
If you use the card0, add these line to 50-sound.conf
-------------------------------------------------------------------- options snd-hda-intel model=[NAME] enable=1 index=0 # alias snd-card-0 snd-hda-intel --------------------------------------------------------------------
where you can get the model name by;
1. # cat /proc/aound/card0/codec#0 <-- Maybe, you will use the card0 as default;
then you get the codec name like this;
Codec: FOOBAR ALC883
with this codec name (in this case ALC883), you can get the model name from;
/usr/src/linux-[KERNE_VERSION]/Documentation/sound/hd-audio/models.rst
there is no /usr/src/linux-5.16.50-1/Documentation/sound directory
You may have problems with /etc/asound.conf.
Maybe you have 50-sound.conf saved as 50-sound.conf.YaST2save when it was working fine.
ok, I removed /etc/asound.conf as I alread had
/etc/modprobe.d/50-sound.conf (but no 50-sound.conf.YaST2save), installed
yast2-sound and configured both cards in yast. and I now have:
options snd slots=snd-hda-intel,snd-hda-intel
# u1Nb.WMbVFcSAoD3:82801JI (ICH10 Family) HD Audio Controller
alias snd-card-0 snd-hda-intel
# kEn8.Nn1lwzNp6rB:GF106 High Definition Audio Controller
alias snd-card-1 snd-hda-intel
previous:
options snd slots=snd-hda-intel
# u1Nb.WMbVFcSAoD3:82801JI (ICH10 Family) HD Audio Controller
alias snd-card-0 snd-hda-intel
just rebooted
have access to root sound bites
didn't check for root pipewire instance before trying to play sound but
now:
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
paka 4218 0.0 0.0 111052 14292 ? S