On Sat, 2024-10-05 at 09:09 +0200, Sadeep Madurange wrote:
In alsamixer, Card shows as PulseAudio and the master volume is 100%. If I press F6 (to select sound card), the first entry is "- (default)". The second is "default:0 HDA Intel PCH". If I choose the second one, I see S/PDIF, S/PDIF 1, and S/PDIF 2
Hi, S/PDIF are digital IOs, hence those are unrelated to your analog speaker/phones outs. I don't have any pulseaudio related knowledge. I'm using plain ALSA (or on demand jackd). However, I wonder if your Intel "card" provides several analog devices. My desktop PC's Intel "card" provides several HDMI devices. To get persistent card numbers I'm using /etc/modprobe.d/alsa-base.conf. card 0, 1 and 2 are reserved for snd_hdspm,snd_ice1712,snd_ice1712, so without an USB device connected at startup the Intel "card" becomes always card 3. If you only have got 1 audio card, then you don't need this. To select the correct card and HDMI device of the card, I'm using ~/.asoundrc for the particular user session. If your Intel "card" should provide several analog audio devices, this might help you to select the correct device for speaker/phones outs. _If_ pulseauido shouldn't override ALSA settings. I don't know if pulseaudio does this. If there is only one analog device, then this hint doesn't help you anyway. Run aplay -l as user to see the available devices. This is how it does look on my machine: • rocketmouse@archlinux ~ $ uname -r 6.11.2-arch1-1 • rocketmouse@archlinux ~ $ cat /etc/modprobe.d/alsa-base.conf # ALSA module ordering options snd slots=snd_hdspm,snd_ice1712,snd_ice1712 • rocketmouse@archlinux ~ $ cat ~/.asoundrc defaults.pcm.card 3 defaults.pcm.device 3 • rocketmouse@archlinux ~ $ aplay -l **** List of PLAYBACK Hardware Devices **** card 0: HDSPMx579bcc [RME AIO_579bcc], device 0: RME AIO [RME AIO] Subdevices: 1/1 Subdevice #0: subdevice #0 card 3: PCH [HDA Intel PCH], device 0: ALC897 Analog [ALC897 Analog] Subdevices: 1/1 Subdevice #0: subdevice #0 card 3: PCH [HDA Intel PCH], device 1: ALC897 Digital [ALC897 Digital] Subdevices: 1/1 Subdevice #0: subdevice #0 card 3: PCH [HDA Intel PCH], device 3: HDMI 0 [EV2450] Subdevices: 1/1 Subdevice #0: subdevice #0 card 3: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1] Subdevices: 1/1 Subdevice #0: subdevice #0 card 3: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2] Subdevices: 1/1 Subdevice #0: subdevice #0 card 3: PCH [HDA Intel PCH], device 9: HDMI 3 [HDMI 3] Subdevices: 1/1 Subdevice #0: subdevice #0 card 4: USB [Scarlett 18i20 USB], device 0: USB Audio [USB Audio] Subdevices: 1/1 Subdevice #0: subdevice #0 Regards, Ralf