You are not logged in.

#1 2020-03-10 08:54:23

chlankboot
Member
Registered: 2018-11-12
Posts: 5

HP Dragonfly sound issue on Arch

Dear all,

I just installed Arch (Linux 5.5.8-arch1-1 x86_64) on a HP Dragonfly laptop. Almost everything works out of the box except sound (both microphone and speakers). When I boot on an Ubuntu 19 USB key (5.3.0-18-generic), sound works normally but not the microphone.

I managed to get the microphone working following this post https://bbs.archlinux.org/viewtopic.php?id=249900

Below are the outputs I am having. could this be a kernel problem? Thank you in advance!

$ sudo lspci -v | grep -A10 -i "audio" 

00:1f.3 Multimedia audio controller: Intel Corporation Cannon Point-LP High Definition Audio Controller (rev 11)
        Subsystem: Hewlett-Packard Company Cannon Point-LP High Definition Audio Controller
        Flags: bus master, fast devsel, latency 64, IRQ 16
        Memory at 404a108000 (64-bit, non-prefetchable) [size=16K]
        Memory at 404a000000 (64-bit, non-prefetchable) [size=1M]
        Capabilities: [50] Power Management version 3
        Capabilities: [80] Vendor Specific Information: Len=14 <?>
        Capabilities: [60] MSI: Enable- Count=1/1 Maskable- 64bit+
        Kernel driver in use: sof-audio-pci
        Kernel modules: snd_hda_intel, snd_soc_skl, snd_sof_pci

00:1f.4 SMBus: Intel Corporation Cannon Point-LP SMBus Controller (rev 11)
        Subsystem: Hewlett-Packard Company Cannon Point-LP SMBus Controller
        Flags: medium devsel, IRQ 16
        Memory at 404a10e000 (64-bit, non-prefetchable) [size=256]
        I/O ports at efa0 [size=32]
        Kernel driver in use: i801_smbus
        Kernel modules: i2c_i801
$ cat /proc/asound/cards
                                                                      
 0 [sofhdadsp      ]: sof-hda-dsp - sof-hda-dsp
                      HP-HPEliteDragonfly--861F
$ dmesg | grep -i 'audio'                                                                     
[    0.770234] ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio)
[    4.308453] sof-audio-pci 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100
[    4.308785] sof-audio-pci 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
[    4.308796] sof-audio-pci 0000:00:1f.3: enabling device (0000 -> 0002)
[    4.309064] sof-audio-pci 0000:00:1f.3: warning: No matching ASoC machine driver found
[    4.309071] sof-audio-pci 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040100
[    4.309243] sof-audio-pci 0000:00:1f.3: use msi interrupt mode
[    5.364865] sof-audio-pci 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[    5.375003] sof-audio-pci 0000:00:1f.3: hda codecs found, mask 5
[    5.375010] sof-audio-pci 0000:00:1f.3: using HDA machine driver skl_hda_dsp_generic now
[    5.435254] sof-audio-pci 0000:00:1f.3: unexpected ipc interrupt raised!
[    5.435257] sof-audio-pci 0000:00:1f.3: error: no reply expected, received 0x0
[    5.521879] sof-audio-pci 0000:00:1f.3: Firmware info: version 1:1:0-5dd9a
[    5.521882] sof-audio-pci 0000:00:1f.3: Firmware: ABI 3:7:0 Kernel ABI 3:11:0
[    5.522130] sof-audio-pci 0000:00:1f.3: firmware boot complete
[    5.525901] sof-audio-pci 0000:00:1f.3: Topology: ABI 3:9:0 Kernel ABI 3:11:0
[    5.525907] sof-audio-pci 0000:00:1f.3: warning: widget type 7 name iDisp3 Tx not handled
[    5.526626] sof-audio-pci 0000:00:1f.3: warning: widget type 0 name codec0_in not handled
[    5.526628] sof-audio-pci 0000:00:1f.3: warning: widget type 7 name iDisp2 Tx not handled
[    5.527345] sof-audio-pci 0000:00:1f.3: warning: widget type 0 name codec1_in not handled
[    5.527348] sof-audio-pci 0000:00:1f.3: warning: widget type 7 name iDisp1 Tx not handled
[    5.528063] sof-audio-pci 0000:00:1f.3: warning: widget type 1 name codec0_out not handled
[    5.528066] sof-audio-pci 0000:00:1f.3: warning: widget type 7 name Analog CPU Playback not handled
[    5.528843] sof-audio-pci 0000:00:1f.3: warning: widget type 1 name codec1_out not handled
[    5.528846] sof-audio-pci 0000:00:1f.3: warning: widget type 7 name Digital CPU Playback not handled
[    5.528849] sof-audio-pci 0000:00:1f.3: warning: widget type 0 name codec2_in not handled
[    5.528851] sof-audio-pci 0000:00:1f.3: warning: widget type 7 name Alt Analog CPU Playback not handled
[    5.528854] sof-audio-pci 0000:00:1f.3: warning: widget type 1 name codec2_out not handled
[    5.528857] sof-audio-pci 0000:00:1f.3: warning: widget type 0 name Analog CPU Capture not handled
[    5.529608] sof-audio-pci 0000:00:1f.3: warning: widget type 1 name iDisp1_out not handled
[    5.529615] sof-audio-pci 0000:00:1f.3: warning: widget type 0 name Digital CPU Capture not handled
[    5.530364] sof-audio-pci 0000:00:1f.3: warning: widget type 1 name iDisp2_out not handled
[    5.530366] sof-audio-pci 0000:00:1f.3: warning: widget type 0 name Alt Analog CPU Capture not handled
[    5.531135] sof-audio-pci 0000:00:1f.3: warning: widget type 1 name iDisp3_out not handled
[    5.538914] sof-audio-pci 0000:00:1f.3: ASoC: Parent card not yet available, widget card binding deferred
[    5.559500] snd_hda_codec_realtek ehdaudio0D0: autoconfig for ALC285: line_outs=1 (0x17/0x0/0x0/0x0/0x0) type:speaker
[    5.559502] snd_hda_codec_realtek ehdaudio0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    5.559504] snd_hda_codec_realtek ehdaudio0D0:    hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
[    5.559505] snd_hda_codec_realtek ehdaudio0D0:    mono: mono_out=0x0
[    5.559506] snd_hda_codec_realtek ehdaudio0D0:    inputs:
[    5.559507] snd_hda_codec_realtek ehdaudio0D0:      Mic=0x19
[    5.601205] snd_hda_codec_realtek ehdaudio0D0: ASoC: sink widget AIF1TX overwritten
[    5.601211] snd_hda_codec_realtek ehdaudio0D0: ASoC: source widget AIF1RX overwritten
[   15.247611] sof-audio-pci 0000:00:1f.3: error: no reply expected, received 0x0
[   15.345343] sof-audio-pci 0000:00:1f.3: firmware boot complete
[   28.414763] sof-audio-pci 0000:00:1f.3: error: no reply expected, received 0x0
[   28.510869] sof-audio-pci 0000:00:1f.3: firmware boot complete

Last edited by chlankboot (2020-03-10 09:06:06)

Offline

#2 2020-03-10 09:10:23

chlankboot
Member
Registered: 2018-11-12
Posts: 5

Re: HP Dragonfly sound issue on Arch

On Ubuntu, here is what I get:

$ lspci -v | grep -A10 -i "audio" 
00:1f.3 Multimedia audio controller: Intel Corporation Cannon Point-LP High Definition Audio Controller (rev 11)
	Subsystem: Hewlett-Packard Company Cannon Point-LP High Definition Audio Controller
	Flags: bus master, fast devsel, latency 64, IRQ 199
	Memory at 404a108000 (64-bit, non-prefetchable) [size=16K]
	Memory at 404a000000 (64-bit, non-prefetchable) [size=1M]
	Capabilities: <access denied>
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel, snd_soc_skl, sof_pci_dev

00:1f.4 SMBus: Intel Corporation Cannon Point-LP SMBus Controller (rev 11)
	Subsystem: Hewlett-Packard Company Cannon Point-LP SMBus Controller
	Flags: medium devsel, IRQ 16
$ cat /proc/asound/cards
 0 [PCH            ]: HDA-Intel - HDA Intel PCH
                      HDA Intel PCH at 0x404a108000 irq 199
$ cat /proc/asound/modules 
 0 snd_hda_intel

Last edited by chlankboot (2020-03-10 09:17:44)

Offline

#3 2020-03-13 11:45:12

chlankboot
Member
Registered: 2018-11-12
Posts: 5

Re: HP Dragonfly sound issue on Arch

In case someone else has similar issue, this is indeed a kernel problem https://bugzilla.kernel.org/show_bug.cgi?id=205959
It is solved by adding

 options snd-intel-dspcfg dsp_driver=1 

to

 /etc/modprobe.d/alsa.conf 

Offline

Board footer

Powered by FluxBB