You are not logged in.

#1 2017-06-22 07:02:54

loki
Member
Registered: 2015-12-26
Posts: 34

Dell XPS 13 (9343) alsa unable to find pch audio card for Kernel 4.11

So after a recent update I find that yet again sound has been broken for my xps 13.
This time alsa has lost my pch sound card, yet it still appears in lspci

$ lspci -v | grep -A8 Audio
00:03.0 Audio device: Intel Corporation Broadwell-U Audio Controller (rev 09)
	Subsystem: Dell Device 0665
	Flags: bus master, fast devsel, latency 0, IRQ 50
	Memory at f721c000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: [50] Power Management version 2
	Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit-
	Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel
--
00:1b.0 Audio device: Intel Corporation Wildcat Point-LP High Definition Audio Controller (rev 03)
	Subsystem: Dell Device 0665
	Flags: bus master, fast devsel, latency 32, IRQ 48
	Memory at f7218000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: [50] Power Management version 3
	Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel

However aplay -L does not appear to find the card

$aplay -L
null
    Discard all samples (playback) or generate zero samples (capture)
default
    Default ALSA Output (currently PulseAudio Sound Server)
hdmi:CARD=HDMI,DEV=0
    HDA Intel HDMI, HDMI 0
    HDMI Audio Output
hdmi:CARD=HDMI,DEV=1
    HDA Intel HDMI, HDMI 1
    HDMI Audio Output
hdmi:CARD=HDMI,DEV=2
    HDA Intel HDMI, HDMI 2
    HDMI Audio Output
hdmi:CARD=HDMI,DEV=3
    HDA Intel HDMI, HDMI 3
    HDMI Audio Output
hdmi:CARD=HDMI,DEV=4
    HDA Intel HDMI, HDMI 4
    HDMI Audio Output

I believe that I have all the right modules

$lsmod | grep snd
snd_hda_codec_hdmi     49152  1
snd_soc_rt298          36864  0
snd_soc_rt286          36864  0
snd_soc_rl6347a        16384  2 snd_soc_rt298,snd_soc_rt286
snd_soc_ssm4567        16384  0
snd_soc_core          192512  3 snd_soc_ssm4567,snd_soc_rt298,snd_soc_rt286
snd_compress           20480  1 snd_soc_core
snd_pcm_dmaengine      16384  1 snd_soc_core
ac97_bus               16384  1 snd_soc_core
snd_hda_intel          36864  1
snd_hda_codec         106496  2 snd_hda_intel,snd_hda_codec_hdmi
snd_soc_sst_acpi       16384  0
snd_soc_sst_match      16384  1 snd_soc_sst_acpi
snd_hda_core           65536  3 snd_hda_intel,snd_hda_codec,snd_hda_codec_hdmi
snd_hwdep              16384  1 snd_hda_codec
snd_pcm                90112  8 snd_hda_intel,snd_hda_codec,snd_pcm_dmaengine,snd_hda_core,snd_hda_codec_hdmi,snd_soc_rt298,snd_soc_rt286,snd_soc_core
snd_timer              28672  1 snd_pcm
snd                    65536  10 snd_compress,snd_hda_intel,snd_hwdep,snd_hda_codec,snd_timer,snd_hda_codec_hdmi,snd_soc_core,snd_pcm
soundcore              16384  1 snd

Any ideas?


*Ironic fork bomb*
        sad){ neutral:& };:

Offline

#2 2017-06-22 07:22:09

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,672

Re: Dell XPS 13 (9343) alsa unable to find pch audio card for Kernel 4.11

Anything in dmesg? if ALSA doesn't find the card it's likely to be a kernel issue, try to downgrade to the last kernel and if that fixes it, try to bisect the bad commit and open a corresponding bugreport upstream.-

Offline

#3 2017-06-22 14:36:14

loki
Member
Registered: 2015-12-26
Posts: 34

Re: Dell XPS 13 (9343) alsa unable to find pch audio card for Kernel 4.11

$ dmesg | grep audio
[    1.770088] snd_hda_intel 0000:00:03.0: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])

This doesn't help me. I will try downgrading the kernel and see if that fixes anything


*Ironic fork bomb*
        sad){ neutral:& };:

Offline

#4 2017-06-22 14:40:18

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,672

Re: Dell XPS 13 (9343) alsa unable to find pch audio card for Kernel 4.11

You might rather want to grep for

dmesg | grep -iE 'snd|hda|alsa'

Offline

#5 2017-06-22 14:59:05

loki
Member
Registered: 2015-12-26
Posts: 34

Re: Dell XPS 13 (9343) alsa unable to find pch audio card for Kernel 4.11

Okay this looks much more helpful

$ dmesg | grep -iE  'snd|hda|alsa' 
[    1.729316] snd_hda_intel 0000:00:03.0: enabling device (0000 -> 0002)
[    1.729452] snd_hda_intel 0000:00:1b.0: enabling device (0000 -> 0002)
[    1.732806] snd_hda_intel 0000:00:1b.0: no codecs found!
[    1.770088] snd_hda_intel 0000:00:03.0: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[    1.785954] input: HDA Intel HDMI HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:03.0/sound/card0/input7
[    1.785972] input: HDA Intel HDMI HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:03.0/sound/card0/input8
[    1.785990] input: HDA Intel HDMI HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:03.0/sound/card0/input9
[    1.786007] input: HDA Intel HDMI HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:03.0/sound/card0/input10
[    1.786025] input: HDA Intel HDMI HDMI/DP,pcm=10 as /devices/pci0000:00/0000:00:03.0/sound/card0/input11

So it looks like I'm failing to load the snd_hda_intel codec, but lsmod lists it...
Any reccomendations?


*Ironic fork bomb*
        sad){ neutral:& };:

Offline

#6 2017-12-26 18:16:12

pnlarsson
Member
Registered: 2017-12-26
Posts: 1

Re: Dell XPS 13 (9343) alsa unable to find pch audio card for Kernel 4.11

Have the same issue with 4.14.8-1, sound works with 4.9.71-1 (also Dell XPS 13)

Offline

#7 2017-12-26 22:18:05

bulletmark
Member
From: Brisbane, Australia
Registered: 2013-10-22
Posts: 653

Re: Dell XPS 13 (9343) alsa unable to find pch audio card for Kernel 4.11

pnlarsson wrote:

Have the same issue with 4.14.8-1, sound works with 4.9.71-1 (also Dell XPS 13)

I have an XPS 13 9343 like the OP and sound works fine with linux 4.14.8-1.

Offline

Board footer

Powered by FluxBB