You are not logged in.

#1 2025-05-09 15:16:54

basdi
Member
Registered: 2012-09-14
Posts: 25

[SOLVED] Sound cards not working / detected after new install

Hello,

I am trying to set up a media server on a Lenovo Tiny M920q, but I can't get the sound working. I want to use a USB sound card "Behringer U-PHONO UFO 202", but the onboard sound card is not detected either.

I first had pulseaudio installed which did not work either, but then switched to pipewire.

Some outputs:

$ lspci
00:00.0 Host bridge: Intel Corporation 8th Gen Core Processor Host Bridge/DRAM Registers (rev 07)
00:02.0 VGA compatible controller: Intel Corporation CoffeeLake-S GT2 [UHD Graphics 630]
00:08.0 System peripheral: Intel Corporation Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th/8th Gen Core Processor Gaussian Mixture Model
00:14.0 USB controller: Intel Corporation Cannon Lake PCH USB 3.1 xHCI Host Controller (rev 10)
00:14.2 RAM memory: Intel Corporation Cannon Lake PCH Shared SRAM (rev 10)
00:16.0 Communication controller: Intel Corporation Cannon Lake PCH HECI Controller (rev 10)
00:16.3 Serial controller: Intel Corporation Cannon Lake PCH Active Management Technology - SOL (rev 10)
00:17.0 SATA controller: Intel Corporation Cannon Lake PCH SATA AHCI Controller (rev 10)
00:1f.0 ISA bridge: Intel Corporation Q370 Chipset LPC/eSPI Controller (rev 10)
00:1f.3 Audio device: Intel Corporation Cannon Lake PCH cAVS (rev 10)
00:1f.4 SMBus: Intel Corporation Cannon Lake PCH SMBus Controller (rev 10)
00:1f.5 Serial bus controller: Intel Corporation Cannon Lake PCH SPI Controller (rev 10)
00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (7) I219-LM (rev 10)
$ aplay -l
aplay: device_list:279: no soundcards found...
$ cyme
  1   2  0x08bb 0x2902 USB Audio CODEC -                        usb     12.0 Mb/s
$ lsmod | grep snd
4:snd_ctl_led            28672  0
5:snd_soc_skl_hda_dsp    16384  0
6:snd_soc_intel_sof_board_helpers    28672  1 snd_soc_skl_hda_dsp
7:snd_sof_probes         28672  0
8:snd_soc_intel_hda_dsp_common    16384  1 snd_soc_intel_sof_board_helpers
9:snd_hda_codec_realtek   221184  1
10:snd_hda_codec_generic   114688  1 snd_hda_codec_realtek
11:snd_hda_scodec_component    20480  1 snd_hda_codec_realtek
12:snd_soc_dmic           12288  1
13:snd_sof_pci_intel_cnl    20480  0
14:snd_sof_intel_hda_generic    45056  1 snd_sof_pci_intel_cnl
15:soundwire_intel        86016  1 snd_sof_intel_hda_generic
17:snd_sof_intel_hda_common   204800  2 snd_sof_intel_hda_generic,snd_sof_pci_intel_cnl
18:snd_soc_hdac_hda       28672  1 snd_sof_intel_hda_common
19:snd_sof_intel_hda_mlink    36864  3 soundwire_intel,snd_sof_intel_hda_common,snd_sof_intel_hda_generic
20:snd_sof_intel_hda      20480  2 snd_sof_intel_hda_common,snd_sof_intel_hda_generic
22:snd_hda_codec_hdmi     98304  1
24:snd_sof_pci            24576  2 snd_sof_intel_hda_generic,snd_sof_pci_intel_cnl
26:snd_sof_xtensa_dsp     16384  1 snd_sof_intel_hda_generic
28:snd_sof               466944  6 snd_sof_pci,snd_sof_intel_hda_common,snd_sof_intel_hda_generic,snd_sof_probes,snd_sof_intel_hda,snd_sof_pci_intel_cnl
29:snd_sof_utils          16384  1 snd_sof
30:snd_soc_acpi_intel_match   131072  3 snd_soc_intel_sof_board_helpers,snd_sof_intel_hda_generic,snd_sof_pci_intel_cnl
31:snd_soc_acpi_intel_sdca_quirks    12288  1 snd_soc_acpi_intel_match
34:snd_soc_acpi           16384  2 snd_soc_acpi_intel_match,snd_sof_intel_hda_generic
38:snd_soc_sdca           12288  2 snd_soc_acpi_intel_sdca_quirks,soundwire_bus
40:snd_soc_avs           241664  0
42:snd_soc_hda_codec      28672  1 snd_soc_avs
43:snd_hda_ext_core       36864  6 snd_soc_avs,snd_soc_hda_codec,snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_sof_intel_hda_mlink,snd_sof_intel_hda
45:snd_soc_core          446464  10 snd_soc_avs,snd_soc_hda_codec,soundwire_intel,snd_sof,snd_soc_intel_sof_board_helpers,snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_sof_probes,snd_soc_dmic,snd_soc_skl_hda_dsp
46:snd_compress           28672  3 snd_soc_avs,snd_soc_core,snd_sof_probes
48:ac97_bus               12288  1 snd_soc_core
50:snd_pcm_dmaengine      16384  1 snd_soc_core
52:snd_hda_intel          69632  0
55:snd_intel_dspcfg       40960  5 snd_soc_avs,snd_hda_intel,snd_sof,snd_sof_intel_hda_common,snd_sof_intel_hda_generic
56:snd_usb_audio         573440  0
58:snd_intel_sdw_acpi     16384  2 snd_intel_dspcfg,snd_sof_intel_hda_generic
60:snd_hda_codec         217088  10 snd_hda_codec_generic,snd_soc_avs,snd_hda_codec_hdmi,snd_soc_hda_codec,snd_hda_intel,snd_hda_codec_realtek,snd_soc_intel_hda_dsp_common,snd_soc_hdac_hda,snd_sof_intel_hda,snd_soc_skl_hda_dsp
62:snd_usbmidi_lib        49152  1 snd_usb_audio
65:snd_hda_core          143360  12 snd_hda_codec_generic,snd_soc_avs,snd_hda_codec_hdmi,snd_soc_hda_codec,snd_hda_intel,snd_hda_ext_core,snd_hda_codec,snd_hda_codec_realtek,snd_soc_intel_hda_dsp_common,snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_sof_intel_hda
66:snd_ump                40960  1 snd_usb_audio
69:snd_rawmidi            53248  2 snd_usbmidi_lib,snd_ump
74:snd_hwdep              20480  2 snd_usb_audio,snd_hda_codec
75:snd_seq_device         16384  2 snd_ump,snd_rawmidi
79:snd_pcm               200704  14 snd_soc_avs,snd_hda_codec_hdmi,snd_hda_intel,snd_usb_audio,snd_hda_codec,soundwire_intel,snd_sof,snd_sof_intel_hda_common,snd_compress,snd_sof_intel_hda_generic,snd_soc_core,snd_sof_utils,snd_hda_core,snd_pcm_dmaengine
82:snd_timer              57344  1 snd_pcm
85:snd                   155648  17 snd_ctl_led,snd_hda_codec_generic,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_usb_audio,snd_usbmidi_lib,snd_hda_codec,snd_hda_codec_realtek,snd_sof,snd_timer,snd_compress,snd_soc_core,snd_ump,snd_pcm,snd_rawmidi
92:soundcore              16384  2 snd_ctl_led,snd
99:mc                     90112  1 snd_usb_audio
$ dmesg | grep -i audio
653:[    1.148445] usb 1-7: Product: USB Audio CODEC 
683:[    1.554483] input: Burr-Brown from TI               USB Audio CODEC  as /devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.3/0003:08BB:2902.0001/input/input3
691:[    1.605203] hid-generic 0003:08BB:2902.0001: input,hidraw0: USB HID v1.00 Device [Burr-Brown from TI               USB Audio CODEC ] on usb-0000:00:14.0-7/input3
842:[    4.422218] usbcore: registered new interface driver snd-usb-audio
852:[    4.700712] sof-audio-pci-intel-cnl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040380
853:[    4.700750] sof-audio-pci-intel-cnl 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
854:[    4.707985] sof-audio-pci-intel-cnl 0000:00:1f.3: use msi interrupt mode
855:[    4.738755] sof-audio-pci-intel-cnl 0000:00:1f.3: hda codecs found, mask 5
856:[    4.738759] sof-audio-pci-intel-cnl 0000:00:1f.3: using HDA machine driver skl_hda_dsp_generic now
857:[    4.738761] sof-audio-pci-intel-cnl 0000:00:1f.3: BT link detected in NHLT tables: 0x0
858:[    4.738763] sof-audio-pci-intel-cnl 0000:00:1f.3: DMICs detected in NHLT tables: 4
859:[    4.749171] sof-audio-pci-intel-cnl 0000:00:1f.3: Firmware paths/files for ipc type 0:
860:[    4.749174] sof-audio-pci-intel-cnl 0000:00:1f.3:  Firmware file:     intel/sof/sof-cfl.ri
861:[    4.749176] sof-audio-pci-intel-cnl 0000:00:1f.3:  Topology file:     intel/sof-tplg/sof-hda-generic-4ch.tplg
862:[    4.750976] sof-audio-pci-intel-cnl 0000:00:1f.3: Firmware info: version 2:2:0-57864
863:[    4.750979] sof-audio-pci-intel-cnl 0000:00:1f.3: Firmware: ABI 3:22:1 Kernel ABI 3:23:1
864:[    4.856457] sof-audio-pci-intel-cnl 0000:00:1f.3: Firmware info: version 2:2:0-57864
865:[    4.856471] sof-audio-pci-intel-cnl 0000:00:1f.3: Firmware: ABI 3:22:1 Kernel ABI 3:23:1
866:[    4.898833] sof-audio-pci-intel-cnl 0000:00:1f.3: Topology: ABI 3:22:1 Kernel ABI 3:23:1
868:[    4.920372] snd_hda_codec_realtek ehdaudio0D0: ALC233: picked fixup  (pin match)
869:[    4.920869] snd_hda_codec_realtek ehdaudio0D0: autoconfig for ALC233: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
870:[    4.920875] snd_hda_codec_realtek ehdaudio0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
871:[    4.920879] snd_hda_codec_realtek ehdaudio0D0:    hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
872:[    4.920882] snd_hda_codec_realtek ehdaudio0D0:    mono: mono_out=0x0
873:[    4.920885] snd_hda_codec_realtek ehdaudio0D0:    inputs:
874:[    4.920888] snd_hda_codec_realtek ehdaudio0D0:      Front Mic=0x19
875:[    4.920891] snd_hda_codec_realtek ehdaudio0D0:      Mic=0x1a
$ dmesg | grep -E 'snd|sof'
204:[    0.057382] software IO TLB: area num 8.
518:[    0.531338] PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
519:[    0.531339] software IO TLB: mapped [mem 0x0000000088dc0000-0x000000008cdc0000] (64MB)
623:[    0.816473] integrity: Loaded X.509 cert 'Microsoft Corporation UEFI CA 2011: 13adbf4309bd82709c8cd54f316ed522988a1bd4'
625:[    0.816490] integrity: Loaded X.509 cert 'Microsoft Windows Production PCA 2011: a92902398e16c49778cd90f99e4f9ae17c55af53'
841:[    4.410070] snd_hda_intel 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
842:[    4.422218] usbcore: registered new interface driver snd-usb-audio
852:[    4.700712] sof-audio-pci-intel-cnl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040380
853:[    4.700750] sof-audio-pci-intel-cnl 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
854:[    4.707985] sof-audio-pci-intel-cnl 0000:00:1f.3: use msi interrupt mode
855:[    4.738755] sof-audio-pci-intel-cnl 0000:00:1f.3: hda codecs found, mask 5
856:[    4.738759] sof-audio-pci-intel-cnl 0000:00:1f.3: using HDA machine driver skl_hda_dsp_generic now
857:[    4.738761] sof-audio-pci-intel-cnl 0000:00:1f.3: BT link detected in NHLT tables: 0x0
858:[    4.738763] sof-audio-pci-intel-cnl 0000:00:1f.3: DMICs detected in NHLT tables: 4
859:[    4.749171] sof-audio-pci-intel-cnl 0000:00:1f.3: Firmware paths/files for ipc type 0:
860:[    4.749174] sof-audio-pci-intel-cnl 0000:00:1f.3:  Firmware file:     intel/sof/sof-cfl.ri
861:[    4.749176] sof-audio-pci-intel-cnl 0000:00:1f.3:  Topology file:     intel/sof-tplg/sof-hda-generic-4ch.tplg
862:[    4.750976] sof-audio-pci-intel-cnl 0000:00:1f.3: Firmware info: version 2:2:0-57864
863:[    4.750979] sof-audio-pci-intel-cnl 0000:00:1f.3: Firmware: ABI 3:22:1 Kernel ABI 3:23:1
864:[    4.856457] sof-audio-pci-intel-cnl 0000:00:1f.3: Firmware info: version 2:2:0-57864
865:[    4.856471] sof-audio-pci-intel-cnl 0000:00:1f.3: Firmware: ABI 3:22:1 Kernel ABI 3:23:1
866:[    4.898833] sof-audio-pci-intel-cnl 0000:00:1f.3: Topology: ABI 3:22:1 Kernel ABI 3:23:1
868:[    4.920372] snd_hda_codec_realtek ehdaudio0D0: ALC233: picked fixup  (pin match)
869:[    4.920869] snd_hda_codec_realtek ehdaudio0D0: autoconfig for ALC233: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
870:[    4.920875] snd_hda_codec_realtek ehdaudio0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
871:[    4.920879] snd_hda_codec_realtek ehdaudio0D0:    hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
872:[    4.920882] snd_hda_codec_realtek ehdaudio0D0:    mono: mono_out=0x0
873:[    4.920885] snd_hda_codec_realtek ehdaudio0D0:    inputs:
874:[    4.920888] snd_hda_codec_realtek ehdaudio0D0:      Front Mic=0x19
875:[    4.920891] snd_hda_codec_realtek ehdaudio0D0:      Mic=0x1a
877:[    4.980306] input: sof-hda-dsp Front Mic as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card1/input6
878:[    4.980462] input: sof-hda-dsp Mic as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card1/input7
879:[    4.980588] input: sof-hda-dsp Front Headphone as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card1/input8
880:[    4.980702] input: sof-hda-dsp HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card1/input9
881:[    4.980877] input: sof-hda-dsp HDMI/DP,pcm=4 as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card1/input10
882:[    4.981014] input: sof-hda-dsp HDMI/DP,pcm=5 as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card1/input11
$ systemctl --user status pipewire
● pipewire.service - PipeWire Multimedia Service
     Loaded: loaded (/usr/lib/systemd/user/pipewire.ser
vice; enabled; preset: enabled)
     Active: active (running) since Fri 2025-05-09 15:06:19 UTC; 8s ago
 Invocation: d5c04f5aa8274c7d86daa36d477a925c
TriggeredBy: ● pipewire.socket
   Main PID: 560 (pipewire)
      Tasks: 3 (limit: 18883)
     Memory: 3.9M (peak: 4.1M)
        CPU: 20ms
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire.service
             └─560 /usr/bin/pipewire

May 09 15:06:19 bas-server systemd[549]: Started PipeWire Multimedia Service.
pactl list cards

does not give any output

$ pactl list sinks
Sink #34
        State: SUSPENDED
        Name: auto_null
        Description: Dummy Output
        Driver: PipeWire
        Sample Specification: float32le 2ch 48000Hz
        Channel Map: front-left,front-right
        Owner Module: 4294967295
        Mute: no
        Volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
                balance 0.00
        Base Volume: 65536 / 100% / 0.00 dB
        Monitor Source: auto_null.monitor
        Latency: 0 usec, configured 0 usec
        Flags: DECIBEL_VOLUME LATENCY 
        Properties:
                node.name = "auto_null"
                device.description = "Dummy Output"
                audio.rate = "48000"
                audio.channels = "2"
                audio.position = "FL,FR"
                media.class = "Audio/Sink"
                factory.name = "support.null-audio-sink"
                node.virtual = "true"
                monitor.channel-volumes = "true"
                factory.id = "19"
                clock.quantum-limit = "8192"
                client.id = "33"
                node.driver = "true"
                port.group = "stream.0"
                node.loop.name = "data-loop.0"
                library.name = "audioconvert/libspa-audioconvert"
                object.id = "34"
                object.serial = "34"
        Formats:
                pcm
fuser -v /dev/snd/*

does not give any output

Any help would be appreciated. Thanks!

Last edited by basdi (2025-05-10 12:39:59)

Offline

#2 2025-05-09 16:34:23

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 24,400

Re: [SOLVED] Sound cards not working / detected after new install

If aplay -l doesn't work you can forget about pipewire. Did you attempt to create some asound.conf or so -- if so get rid of it. What's the full journal?

sudo journalctl -b | curl -F 'file=@-' 0x0.st
pacman -Qkk alsa-lib alsa-ucm-conf

Last edited by V1del (2025-05-09 16:35:11)

Offline

#3 2025-05-09 17:02:34

basdi
Member
Registered: 2012-09-14
Posts: 25

Re: [SOLVED] Sound cards not working / detected after new install

V1del wrote:

Did you attempt to create some asound.conf

No, I did not.

Output of

$ sudo journalctl -b | curl -F 'file=@-' 0x0.st

is here

$ pacman -Qkk alsa-lib alsa-ucm-conf
alsa-lib: 161 total files, 0 altered files
alsa-ucm-conf: 1008 total files, 0 altered files

Offline

#4 2025-05-10 12:39:30

basdi
Member
Registered: 2012-09-14
Posts: 25

Re: [SOLVED] Sound cards not working / detected after new install

I managed to solve it.

I reinstalled arch, again using archinstall script, but choosing "pipewire" directly instead of "pulseaudio" and then attempting to switch afterwards. I have no idea, what I missed before when I tried to switch.

Actually, the switch might have worked at some point, because after the new installation I noticed that

pactl list cards

only gave output when I previously logged in directly, not using SSH. Once the direct login was done, I could also see the sound cards via SSH, but after a reboot and only logging in via SSH, I could not. The solution for this was to add the user to the audio group. It would probably be good if the archinstall script did this if I choose an audio server during the configuration, wouldn't it?

Marking this as solved. Thank you for your help!

Offline

Board footer

Powered by FluxBB