You are not logged in.

#1 2021-10-29 12:08:36

EmanueleSorce
Member
Registered: 2021-10-29
Posts: 6

Sound: ALSA doesn't see laptop speakers

I have installed Arch on a Huawei MateBook D15, and I get no sound from the speaker. As far as I understand ALSA can't see my speakers. Alsa only sees the HDMI outputs but no analog output (more details below). I know it's not an hardware issue since it works on windows. Even with a jack headphone sound doesn't work.
I attach useful logs and info, hoping you may find some clue.

First of all to get pacmd list-cards to see my card, I added this to driver options:

$ cat /etc/modprobe.d/intel_dspfix.conf 
options snd_intel_dspcfg dsp_driver=1

This is lspci. As you can see I got a Multimedia audio controller, but I don't see any Audio device or speaker (not sure it should be anyway)

$ lspci -vv
00:00.0 Host bridge: Intel Corporation Device 9b71 (rev 0c)
        Subsystem: QUANTA Computer Inc Device 125d
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0
        Capabilities: <access denied>
        Kernel driver in use: skl_uncore

00:02.0 VGA compatible controller: Intel Corporation CometLake-U GT2 [UHD Graphics] (rev 02) (prog-if 00 [VGA controller])
        Subsystem: QUANTA Computer Inc Device 125d
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0, Cache Line Size: 64 bytes
        Interrupt: pin A routed to IRQ 139
        Region 0: Memory at b0000000 (64-bit, non-prefetchable) [size=16M]
        Region 2: Memory at a0000000 (64-bit, prefetchable) [size=256M]
        Region 4: I/O ports at 3000 [size=64]
        Expansion ROM at 000c0000 [virtual] [disabled] [size=128K]
        Capabilities: <access denied>
        Kernel driver in use: i915
        Kernel modules: i915

00:04.0 Signal processing controller: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem (rev 0c)
        Subsystem: QUANTA Computer Inc Device 125d
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0
        Interrupt: pin A routed to IRQ 16
        Region 0: Memory at b1210000 (64-bit, non-prefetchable) [size=32K]
        Capabilities: <access denied>
        Kernel driver in use: proc_thermal
        Kernel modules: processor_thermal_device_pci_legacy

00:08.0 System peripheral: Intel Corporation Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th/8th Gen Core Processor Gaussian Mixture Model
        Subsystem: QUANTA Computer Inc Device 125d
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0, Cache Line Size: 64 bytes
        Interrupt: pin A routed to IRQ 255
        Region 0: Memory at b1224000 (64-bit, non-prefetchable) [size=4K]
        Capabilities: <access denied>

00:12.0 Signal processing controller: Intel Corporation Comet Lake Thermal Subsytem
        Subsystem: QUANTA Computer Inc Device 125d
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0
        Interrupt: pin A routed to IRQ 16
        Region 0: Memory at b1225000 (64-bit, non-prefetchable) [size=4K]
        Capabilities: <access denied>
        Kernel driver in use: intel_pch_thermal
        Kernel modules: intel_pch_thermal

00:14.0 USB controller: Intel Corporation Comet Lake PCH-LP USB 3.1 xHCI Host Controller (prog-if 30 [XHCI])
        Subsystem: QUANTA Computer Inc Device 125d
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
        Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0
        Interrupt: pin A routed to IRQ 129
        Region 0: Memory at b1200000 (64-bit, non-prefetchable) [size=64K]
        Capabilities: <access denied>
        Kernel driver in use: xhci_hcd
        Kernel modules: xhci_pci

00:14.2 RAM memory: Intel Corporation Comet Lake PCH-LP Shared SRAM
        Subsystem: QUANTA Computer Inc Device 125d
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0, Cache Line Size: 64 bytes
        Region 0: Memory at b1220000 (64-bit, non-prefetchable) [size=8K]
        Region 2: Memory at b1226000 (64-bit, non-prefetchable) [size=4K]
        Capabilities: <access denied>

00:14.3 Network controller: Intel Corporation Comet Lake PCH-LP CNVi WiFi
        Subsystem: Intel Corporation Device 2034
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0, Cache Line Size: 64 bytes
        Interrupt: pin A routed to IRQ 16
        Region 0: Memory at b1218000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: <access denied>
        Kernel driver in use: iwlwifi
        Kernel modules: iwlwifi

00:15.0 Serial bus controller [0c80]: Intel Corporation Serial IO I2C Host Controller
        Subsystem: QUANTA Computer Inc Device 125d
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0, Cache Line Size: 64 bytes
        Interrupt: pin A routed to IRQ 16
        Region 0: Memory at 9b800000 (64-bit, non-prefetchable) [virtual] [size=4K]
        Capabilities: <access denied>
        Kernel driver in use: intel-lpss
        Kernel modules: intel_lpss_pci

00:15.1 Serial bus controller [0c80]: Intel Corporation Comet Lake Serial IO I2C Host Controller
        Subsystem: QUANTA Computer Inc Device 125d
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0, Cache Line Size: 64 bytes
        Interrupt: pin B routed to IRQ 17
        Region 0: Memory at 9b801000 (64-bit, non-prefetchable) [virtual] [size=4K]
        Capabilities: <access denied>
        Kernel driver in use: intel-lpss
        Kernel modules: intel_lpss_pci

00:16.0 Communication controller: Intel Corporation Comet Lake Management Engine Interface
        Subsystem: QUANTA Computer Inc Device 125d
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0
        Interrupt: pin A routed to IRQ 131
        Region 0: Memory at b1229000 (64-bit, non-prefetchable) [size=4K]
        Capabilities: <access denied>
        Kernel driver in use: mei_me
        Kernel modules: mei_me

00:17.0 SATA controller: Intel Corporation Comet Lake SATA AHCI Controller (prog-if 01 [AHCI 1.0])
        Subsystem: QUANTA Computer Inc Device 125d
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
        Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0
        Interrupt: pin A routed to IRQ 124
        Region 0: Memory at b1222000 (32-bit, non-prefetchable) [size=8K]
        Region 1: Memory at b1230000 (32-bit, non-prefetchable) [size=256]
        Region 2: I/O ports at 3080 [size=8]
        Region 3: I/O ports at 3088 [size=4]
        Region 4: I/O ports at 3060 [size=32]
        Region 5: Memory at b122f000 (32-bit, non-prefetchable) [size=2K]
        Capabilities: <access denied>
        Kernel driver in use: ahci

00:19.0 Serial bus controller [0c80]: Intel Corporation Comet Lake Serial IO I2C Host Controller
        Subsystem: QUANTA Computer Inc Device 125d
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0, Cache Line Size: 64 bytes
        Interrupt: pin A routed to IRQ 32
        Region 0: Memory at 9b802000 (64-bit, non-prefetchable) [virtual] [size=4K]
        Capabilities: <access denied>
        Kernel driver in use: intel-lpss
        Kernel modules: intel_lpss_pci

00:1d.0 PCI bridge: Intel Corporation Comet Lake PCI Express Root Port #9 (rev f0) (prog-if 00 [Normal decode])
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0, Cache Line Size: 64 bytes
        Interrupt: pin A routed to IRQ 122
        Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
        I/O behind bridge: [disabled]
        Memory behind bridge: b1100000-b11fffff [size=1M]
        Prefetchable memory behind bridge: [disabled]
        Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ <SERR- <PERR-
        BridgeCtl: Parity- SERR+ NoISA- VGA- VGA16- MAbort- >Reset- FastB2B-
                PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
        Capabilities: <access denied>
        Kernel driver in use: pcieport

00:1e.0 Communication controller: Intel Corporation Device 02a8
        Subsystem: QUANTA Computer Inc Device 125d
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0, Cache Line Size: 64 bytes
        Interrupt: pin A routed to IRQ 20
        Region 0: Memory at 9b803000 (64-bit, non-prefetchable) [virtual] [size=4K]
        Capabilities: <access denied>
        Kernel driver in use: intel-lpss
        Kernel modules: intel_lpss_pci

00:1e.3 Serial bus controller [0c80]: Intel Corporation Device 02ab
        Subsystem: QUANTA Computer Inc Device 125d
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0, Cache Line Size: 64 bytes
        Interrupt: pin D routed to IRQ 23
        Region 0: Memory at 9b804000 (64-bit, non-prefetchable) [virtual] [size=4K]
        Capabilities: <access denied>
        Kernel driver in use: intel-lpss
        Kernel modules: intel_lpss_pci

00:1f.0 ISA bridge: Intel Corporation Comet Lake PCH-LP LPC Premium Controller/eSPI Controller
        Subsystem: QUANTA Computer Inc Device 125d
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0

00:1f.3 Multimedia audio controller: Intel Corporation Comet Lake PCH-LP cAVS
        Subsystem: QUANTA Computer Inc Device 125d
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 32, Cache Line Size: 64 bytes
        Interrupt: pin A routed to IRQ 140
        Region 0: Memory at b121c000 (64-bit, non-prefetchable) [size=16K]
        Region 4: Memory at b1000000 (64-bit, non-prefetchable) [size=1M]
        Capabilities: <access denied>
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel, snd_soc_skl, snd_sof_pci_intel_cnl

00:1f.4 SMBus: Intel Corporation Comet Lake PCH-LP SMBus Host Controller
        Subsystem: QUANTA Computer Inc Device 125d
        Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Interrupt: pin A routed to IRQ 16
        Region 0: Memory at b122d000 (64-bit, non-prefetchable) [size=256]
        Region 4: I/O ports at efa0 [size=32]
        Kernel driver in use: i801_smbus
        Kernel modules: i2c_i801

00:1f.5 Serial bus controller [0c80]: Intel Corporation Comet Lake SPI (flash) Controller
        Subsystem: QUANTA Computer Inc Device 125d
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
        Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0
        Region 0: Memory at fe010000 (32-bit, non-prefetchable) [size=4K]
        Kernel driver in use: intel-spi
        Kernel modules: intel_spi_pci

01:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd Device a809 (prog-if 02 [NVM Express])
        Subsystem: Samsung Electronics Co Ltd Device a801
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0, Cache Line Size: 64 bytes
        Interrupt: pin A routed to IRQ 16
        NUMA node: 0
        Region 0: Memory at b1100000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: <access denied>
        Kernel driver in use: nvme

Output of aplay -l : there are only HDMI outputs and no Analog output!

$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 10: HDMI 4 [HDMI 4]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

More details of my card using pacmd:

 pacmd list-cards
1 card(s) available.
    index: 1
        name: <alsa_card.pci-0000_00_1f.3>
        driver: <module-alsa-card.c>
        owner module: 7
        properties:
                alsa.card = "0"
                alsa.card_name = "HDA Intel PCH"
                alsa.long_card_name = "HDA Intel PCH at 0xb121c000 irq 140"
                alsa.driver_name = "snd_hda_intel"
                device.bus_path = "pci-0000:00:1f.3"
                sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card0"
                device.bus = "pci"
                device.vendor.id = "8086"
                device.vendor.name = "Intel Corporation"
                device.product.id = "02c8"
                device.product.name = "Comet Lake PCH-LP cAVS"
                device.form_factor = "internal"
                device.string = "0"
                device.description = "Built-in Audio"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
        profiles:
                output:hdmi-stereo: Digital Stereo (HDMI) Output (priority 5900, available: no)
                output:hdmi-surround: Digital Surround 5.1 (HDMI) Output (priority 800, available: no)
                output:hdmi-surround71: Digital Surround 7.1 (HDMI) Output (priority 800, available: no)
                output:hdmi-stereo-extra1: Digital Stereo (HDMI 2) Output (priority 5700, available: no)
                output:hdmi-surround-extra1: Digital Surround 5.1 (HDMI 2) Output (priority 600, available: no)
                output:hdmi-surround71-extra1: Digital Surround 7.1 (HDMI 2) Output (priority 600, available: no)
                output:hdmi-stereo-extra2: Digital Stereo (HDMI 3) Output (priority 5700, available: no)
                output:hdmi-surround-extra2: Digital Surround 5.1 (HDMI 3) Output (priority 600, available: no)
                output:hdmi-surround71-extra2: Digital Surround 7.1 (HDMI 3) Output (priority 600, available: no)
                output:hdmi-stereo-extra3: Digital Stereo (HDMI 4) Output (priority 5700, available: no)
                output:hdmi-surround-extra3: Digital Surround 5.1 (HDMI 4) Output (priority 600, available: no)
                output:hdmi-surround71-extra3: Digital Surround 7.1 (HDMI 4) Output (priority 600, available: no)
                output:hdmi-stereo-extra4: Digital Stereo (HDMI 5) Output (priority 5700, available: no)
                output:hdmi-surround-extra4: Digital Surround 5.1 (HDMI 5) Output (priority 600, available: no)
                output:hdmi-surround71-extra4: Digital Surround 7.1 (HDMI 5) Output (priority 600, available: no)
                off: Off (priority 0, available: unknown)
        active profile: <off>
        ports:
                hdmi-output-0: HDMI / DisplayPort (priority 5900, latency offset 0 usec, available: no)
                        properties:
                                device.icon_name = "video-display"
                hdmi-output-1: HDMI / DisplayPort 2 (priority 5800, latency offset 0 usec, available: no)
                        properties:
                                device.icon_name = "video-display"
                hdmi-output-2: HDMI / DisplayPort 3 (priority 5700, latency offset 0 usec, available: no)
                        properties:
                                device.icon_name = "video-display"
                hdmi-output-3: HDMI / DisplayPort 4 (priority 5600, latency offset 0 usec, available: no)
                        properties:
                                device.icon_name = "video-display"
                hdmi-output-4: HDMI / DisplayPort 5 (priority 5500, latency offset 0 usec, available: no)
                        properties:
                                device.icon_name = "video-display"

I don't see anything useful on dmesg

$ sudo dmesg | grep snd_hda_intel
[    2.275255] snd_hda_intel 0000:00:1f.3: enabling device (0000 -> 0002)
[    2.451047] snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])

$ sudo dmesg | grep sound
[    2.814825] input: HDA Intel PCH HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input19
[    2.814865] input: HDA Intel PCH HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input20
[    2.814897] input: HDA Intel PCH HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input21
[    2.814933] input: HDA Intel PCH HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input22
[    2.814970] input: HDA Intel PCH HDMI/DP,pcm=10 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input23

Lastly, the output of alsa-info.sh is uploaded at http://alsa-project.org/db/?f=4c968c4fd … 0b0e592d92

Any help is appreciated, Thanks!!
Since this is my first post, if I made some errors you're welcome to let me know

Offline

#2 2021-10-29 12:12:30

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

Re: Sound: ALSA doesn't see laptop speakers

Remove /etc/modprobe.d/intel_dspfix.conf and install sof-firmware instead and reboot.

Offline

#3 2021-10-29 12:18:37

EmanueleSorce
Member
Registered: 2021-10-29
Posts: 6

Re: Sound: ALSA doesn't see laptop speakers

Thanks. I had already installed sof-firmware, but I tried to remove the file and reboot.
Now the card is not detected at all:

$ pacmd list-cards                                                                                               
0 card(s) available.

alsa-info.sh without the modprobe option is at: http://alsa-project.org/db/?f=0ffd9a5ca … b54ea4908b

Offline

#4 2021-12-18 09:32:49

ndhakara
Member
Registered: 2015-01-16
Posts: 25

Re: Sound: ALSA doesn't see laptop speakers

Did you solve your problem? @EmanueleSorce I have similiar problem with matebook 14s 2021

Offline

#5 2021-12-18 20:50:39

Wondertan
Member
Registered: 2021-12-14
Posts: 6

Re: Sound: ALSA doesn't see laptop speakers

Install of latest `alsa-ucm-conf` solved the issue for me.

Offline

#6 2021-12-19 13:12:38

EmanueleSorce
Member
Registered: 2021-10-29
Posts: 6

Re: Sound: ALSA doesn't see laptop speakers

@ndhakara I had not solved the issue yet. I worked around that using bluetooth speakers until now.

@wondertan I'll try that. Thanks for the suggestion

Offline

#7 2021-12-21 13:47:51

EmanueleSorce
Member
Registered: 2021-10-29
Posts: 6

Re: Sound: ALSA doesn't see laptop speakers

Update:

Installing latest 'alsa-ucm-conf' did not fix the issue in my case.

Offline

#8 2021-12-21 13:52:16

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

Re: Sound: ALSA doesn't see laptop speakers

Irrespective of whether pulse detects things properly, does any of

speaker-test -Dhw:0,1 -c2
speaker-test -Dhw:0,2 -c2
speaker-test -Dhw:0,3 -c2

work properly? If they don't you'll probably need to report a bug to the sof-firmware project.

Last edited by V1del (2021-12-21 13:53:34)

Offline

#9 2021-12-21 13:55:12

EmanueleSorce
Member
Registered: 2021-10-29
Posts: 6

Re: Sound: ALSA doesn't see laptop speakers

So the first two fails. The third worked, but no sound is played.

[emanuele@emanuele ~]$ speaker-test -Dhw:0,1 -c2

speaker-test 1.2.6                                                                                                                    
                                                                                                                                      
Playback device is hw:0,1                                                                                                             
Stream parameters are 48000Hz, S16_LE, 2 channels                                                                                     
Using 16 octaves of pink noise                                                                                                        
Playback open error: -2,No such file or directory                                                                                     
[emanuele@emanuele ~]$ speaker-test -Dhw:0,2 -c2                                                                                      
                                                                                                                                      
speaker-test 1.2.6                                                                                                                    
                                                                                                                                      
Playback device is hw:0,2                                                                                                             
Stream parameters are 48000Hz, S16_LE, 2 channels                                                                                     
Using 16 octaves of pink noise                                                                                                        
Playback open error: -2,No such file or directory                                                                                     
[emanuele@emanuele ~]$ speaker-test -Dhw:0,3 -c2                                                                                     
                                                                                                                                      
speaker-test 1.2.6                                                                                                                    
                                                                                                                                      
Playback device is hw:0,3                                                                                                             
Stream parameters are 48000Hz, S16_LE, 2 channels                                                                                     
Using 16 octaves of pink noise                                                                                                        
Rate set to 48000Hz (requested 48000Hz)                                                                                               
Buffer size range from 64 to 1048576                                                                                                  
Period size range from 32 to 524288                                                                                                   
Using max buffer size 1048576                                                                                                         
Periods = 4                                                                                                                           
was set period_size = 262144                                                                                                          
was set buffer_size = 1048576                                                                                                         
 0 - Front Left                                                                                                                       
 1 - Front Right                                                                                                                      
Time per period = 10.951082                                                                                                           
 0 - Front Left                                                                                                                       
 1 - Front Right                                                                                                                      
Time per period = 10.950650                                                                                                           
 0 - Front Left                                                                                                                       
 1 - Front Right                                                                                                                      
Time per period = 10.936318                                                                                                           
 0 - Front Left                                                                                                                       
^C 1 - Front Right                                                                                                                    
Time per period = 2.777345

Last edited by EmanueleSorce (2021-12-21 13:56:02)

Offline

#10 2022-02-03 14:30:58

EmanueleSorce
Member
Registered: 2021-10-29
Posts: 6

Re: Sound: ALSA doesn't see laptop speakers

For the records:
I opened an issue to sof-firmware project about this.

https://github.com/thesofproject/sof/issues/5309

Offline

Board footer

Powered by FluxBB