You are not logged in.

#1 2025-03-31 12:48:42

Kmartinez501
Member
Registered: 2025-02-18
Posts: 15

[SOLVED] Sound not working

After upgrading my motherboard to a new Asus Strix B850-e I noticed the audio for optical equipment does not work. I have a sound system that uses the optical port and now I have no sound coming out from that device. USB audio works just fine. I tried resetting pulseaudio settings by deleting the local files as suggested here: https://bbs.archlinux.org/viewtopic.php?id=205252

Is it possible this motherboard is too new and not all drivers are available on the kernel? I am using the standard LTS Kernel for context. If this is the case how can I ensure/validate this? Thanks.

Last edited by Kmartinez501 (2025-04-02 23:03:55)

Offline

#2 2025-04-01 09:59:04

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,006

Re: [SOLVED] Sound not working

Don't use the LTS kernel if you care about HW support. LTS kernels do not get new HW support. The current LTS is 6.12 which is not too bad, but you'll miss out on any new hardware support that happened in 6.13 and soon 6.14

That said, to verify how stuff looks right now, post

sudo dmesg | grep -E 'snd|sof'
aplay -lL #alsa-utils
pactl list-cards
pactl list-sinks
#During active playback attempts
sudo fuser -v /dev/snd/*
pactl list-sink-inputs

Last edited by V1del (2025-04-01 09:59:24)

Offline

#3 2025-04-01 16:11:48

Kmartinez501
Member
Registered: 2025-02-18
Posts: 15

Re: [SOLVED] Sound not working

Apologies, it seems I made quite a few mistakes in the information initially provided. I mistook the LTS kernel for the vanilla kernel which is the one I have currently:

┌─[kmadmin@arch-rig]─(~)
└─[12:04]-(^_^)-[$] uname -r
6.13.8-arch1-1

As for Pipewire/Pulseauidio I'm still trying to understand their usage but it seems I have pipewire?

┌─[kmadmin@arch-rig]─(~)
└─[12:07]-(^_^)-[$] systemctl --user status pipewire
● pipewire.service - PipeWire Multimedia Service
     Loaded: loaded (/usr/lib/systemd/user/pipewire.service; disabled; preset: enabled)
     Active: active (running) since Tue 2025-04-01 03:16:59 EDT; 8h ago
 Invocation: bf4d0caddcd04b42a582e7722284a80a
TriggeredBy: ● pipewire.socket
   Main PID: 1357 (pipewire)
      Tasks: 3 (limit: 37057)
     Memory: 10.3M (peak: 17M)
        CPU: 3.698s
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire.service
             └─1357 /usr/bin/pipewire

Apr 01 03:16:59 arch-rig systemd[993]: Started PipeWire Multimedia Service.
┌─[kmadmin@arch-rig]─(~)
└─[03:17]-(^_^)-[$] sudo dmesg | grep -E 'snd|sof'
[sudo] password for kmadmin: 
[    0.028802] software IO TLB: area num 16.
[    0.366099] PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
[    0.366100] software IO TLB: mapped [mem 0x000000005b207000-0x000000005f207000] (64MB)
[    0.529880] integrity: Loaded X.509 cert 'Microsoft Corporation UEFI CA 2011: 13adbf4309bd82709c8cd54f316ed522988a1bd4'
[    0.529886] integrity: Loaded X.509 cert 'Microsoft Windows Production PCA 2011: a92902398e16c49778cd90f99e4f9ae17c55af53'
[    0.529891] integrity: Loaded X.509 cert 'Microsoft UEFI CA 2023: 81aa6b3244c935bce0d6628af39827421e32497d'
[    0.529895] integrity: Loaded X.509 cert 'Microsoft Corporation: Windows UEFI CA 2023: aefc5fbbbe055d8f8daa585473499417ab5a5272'
[    8.758894] snd_hda_intel 0000:01:00.1: enabling device (0000 -> 0002)
[    8.758931] snd_hda_intel 0000:01:00.1: Disabling MSI
[    8.758935] snd_hda_intel 0000:01:00.1: Handle vga_switcheroo audio client
[    8.759004] snd_hda_intel 0000:47:00.1: enabling device (0000 -> 0002)
[    8.759026] snd_hda_intel 0000:47:00.1: Handle vga_switcheroo audio client
[    9.701687] snd_hda_intel 0000:47:00.1: bound 0000:47:00.0 (ops amdgpu_dm_audio_component_bind_ops [amdgpu])
[   14.690385] usbcore: registered new interface driver snd-usb-audio
┌─[kmadmin@arch-rig]─(~)
└─[12:02]-(^_^)-[$] aplay -lL
null
    Discard all samples (playback) or generate zero samples (capture)
sysdefault
    Default Audio Device
lavrate
    Rate Converter Plugin Using Libav/FFmpeg Library
samplerate
    Rate Converter Plugin Using Samplerate Library
speexrate
    Rate Converter Plugin Using Speex Resampler
jack
    JACK Audio Connection Kit
oss
    Open Sound System
pipewire
    PipeWire Sound Server
pulse
    PulseAudio Sound Server
speex
    Plugin using Speex DSP (resample, agc, denoise, echo, dereverb)
upmix
    Plugin for channel upmix (4,6,8)
vdownmix
    Plugin for channel downmix (stereo) with a simple spacialization
default
    Default ALSA Output (currently PipeWire Media Server)
sysdefault:CARD=Audio
    USB Audio, USB Audio
    Default Audio Device
front:CARD=Audio,DEV=0
    USB Audio, USB Audio
    Front output / input
surround21:CARD=Audio,DEV=0
    USB Audio, USB Audio
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=Audio,DEV=0
    USB Audio, USB Audio
    4.0 Surround output to Front and Rear speakers
surround41:CARD=Audio,DEV=0
    USB Audio, USB Audio
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Audio,DEV=0
    USB Audio, USB Audio
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Audio,DEV=0
    USB Audio, USB Audio
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Audio,DEV=0
    USB Audio, USB Audio
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=Audio,DEV=0
    USB Audio, USB Audio
    IEC958 (S/PDIF) Digital Audio Output
iec958:CARD=Audio,DEV=1
    USB Audio, USB Audio #1
    IEC958 (S/PDIF) Digital Audio Output
usbstream:CARD=Audio
    USB Audio
    USB Stream Output
hdmi:CARD=NVidia,DEV=0
    HDA NVidia, LG ULTRAGEAR
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=1
    HDA NVidia, HDMI 1
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=2
    HDA NVidia, HDMI 2
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=3
    HDA NVidia, HDMI 3
    HDMI Audio Output
usbstream:CARD=NVidia
    HDA NVidia
    USB Stream Output
hdmi:CARD=Generic,DEV=0
    HD-Audio Generic, HDMI 0
    HDMI Audio Output
hdmi:CARD=Generic,DEV=1
    HD-Audio Generic, HDMI 1
    HDMI Audio Output
hdmi:CARD=Generic,DEV=2
    HD-Audio Generic, HDMI 2
    HDMI Audio Output
usbstream:CARD=Generic
    HD-Audio Generic
    USB Stream Output
**** List of PLAYBACK Hardware Devices ****
card 0: Audio [USB Audio], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Audio [USB Audio], device 1: USB Audio [USB Audio #1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Audio [USB Audio], device 2: USB Audio [USB Audio #2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Audio [USB Audio], device 3: USB Audio [USB Audio #3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 3: HDMI 0 [LG ULTRAGEAR]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: Generic [HD-Audio Generic], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: Generic [HD-Audio Generic], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

Playback, tuned in to a youtube video and turned on my audio equipment and ran the following:

┌─[kmadmin@arch-rig]─(~)
└─[12:08]-(^_^)-[$] sudo fuser -v /dev/snd/*
[sudo] password for kmadmin: 
                     USER        PID ACCESS COMMAND
/dev/snd/controlC0:  kmadmin    1358 F.... wireplumber
/dev/snd/controlC1:  kmadmin    1357 F.... pipewire
                     kmadmin    1358 F.... wireplumber
/dev/snd/controlC2:  kmadmin    1358 F.... wireplumber
/dev/snd/pcmC1D3p:   kmadmin    1357 F...m pipewire
/dev/snd/seq:        kmadmin    1357 F.... pipewire

As for pactl tool I'm trying  to figure out how to install. I can't seem to find the package needed and attempted the package libpulse as described here: https://bbs.archlinux.org/viewtopic.php?id=267544

Last edited by Kmartinez501 (2025-04-01 16:14:30)

Offline

#4 2025-04-02 01:02:14

qu@rk
Member
Registered: 2021-07-28
Posts: 149

Re: [SOLVED] Sound not working

Have the pipewire-pulse package?

Offline

#5 2025-04-02 11:39:01

Kmartinez501
Member
Registered: 2025-02-18
Posts: 15

Re: [SOLVED] Sound not working

qu@rk wrote:

Have the pipewire-pulse package?

Didn't install the pactl program:

┌─[kmadmin@arch-rig]─(~)
└─[03:33]-(^_^)-[$] sudo pacman -S pipewire-pulse
[sudo] password for kmadmin: 
warning: pipewire-pulse-1:1.4.1-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Packages (1) pipewire-pulse-1:1.4.1-1

Total Installed Size:  0.50 MiB
Net Upgrade Size:      0.00 MiB

:: Proceed with installation? [Y/n] Y
(1/1) checking keys in keyring                                                                   [########################################################] 100%
(1/1) checking package integrity                                                                 [########################################################] 100%
(1/1) loading package files                                                                      [########################################################] 100%
(1/1) checking for file conflicts                                                                [########################################################] 100%
(1/1) checking available disk space                                                              [########################################################] 100%
:: Processing package changes...
(1/1) reinstalling pipewire-pulse                                                                [########################################################] 100%
:: Running post-transaction hooks...
(1/3) Reloading user manager configuration...
(2/3) Arming ConditionNeedsUpdate...
(3/3) Compiling GSettings XML schema files...

┌─[kmadmin@arch-rig]─(~)
└─[07:35]-(^_^)-[$] pactl
No valid command specified.

Offline

#6 2025-04-02 11:58:47

qu@rk
Member
Registered: 2021-07-28
Posts: 149

Re: [SOLVED] Sound not working

Didn't pull libpulse as well? That's where pactl is. sudo pacman -F pactl

Offline

#7 2025-04-02 12:10:26

qu@rk
Member
Registered: 2021-07-28
Posts: 149

Re: [SOLVED] Sound not working

I don't use pipewire and in pavucontrol (GUI) I can enable/disable/activate certain outputs. pavucontrol alternative for pipewire seems to be pwvucontrol (AUR). Give it a try.

Offline

#8 2025-04-02 22:52:25

Kmartinez501
Member
Registered: 2025-02-18
Posts: 15

Re: [SOLVED] Sound not working

qu@rk wrote:

I don't use pipewire and in pavucontrol (GUI) I can enable/disable/activate certain outputs. pavucontrol alternative for pipewire seems to be pwvucontrol (AUR). Give it a try.

No dice, GUI looks nice but still having unable to hear audio via optical cable with my external speakers.

Offline

#9 2025-04-02 23:01:00

Kmartinez501
Member
Registered: 2025-02-18
Posts: 15

Re: [SOLVED] Sound not working

Got it working with the following method:

sudo cp /usr/share/alsa/ucm2/USB-Audio/USB-Audio.conf /usr/share/alsa/ucm2/USB-Audio/USB-Audio-conf.old

edit the file

sudo nano /usr/share/alsa/ucm2/USB-Audio/USB-Audio.conf

Hit ctrl+/ and enter 94. Then change the second OR :

(0b05:(19(84|9[69])|1a(16|2[07]|5[23c]|97|f1)))

to

(0b05:(19(84|9[69])|1a(16|2[07]|5[23c]|97|f1)|1b(7c|9b|e1)))

Hit ctrl+x to save.

Then reboot

Offline

Board footer

Powered by FluxBB