You are not logged in.

#1 2019-07-25 03:37:28

gaurav712
Member
Registered: 2019-07-25
Posts: 4

Sound not working on vanilla kernel-5.2.2 from https://www.kernel.org

I compiled my own kernel(5.2.2) from https://www.kernel.org. You know, just to get even minimal arch but when I boot into it, sound doesn't work.
Output of

dmesg | grep snd

(cuz I think it's relevant) :

[    1.347439] snd_hda_intel 0000:00:0e.0: bound 0000:00:02.0 (ops 0xffffffff89891dc0)
[    1.400471] snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC255: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
[    1.400473] snd_hda_codec_realtek hdaudioC0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    1.400475] snd_hda_codec_realtek hdaudioC0D0:    hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
[    1.400476] snd_hda_codec_realtek hdaudioC0D0:    mono: mono_out=0x0
[    1.400477] snd_hda_codec_realtek hdaudioC0D0:    inputs:
[    1.400478] snd_hda_codec_realtek hdaudioC0D0:      Headset Mic=0x19
[    1.400480] snd_hda_codec_realtek hdaudioC0D0:      Internal Mic=0x12
[    1.442602] snd_hda_codec_generic hdaudioC0D2: autoconfig for Generic: line_outs=0 (0x0/0x0/0x0/0x0/0x0) type:line
[    1.442604] snd_hda_codec_generic hdaudioC0D2:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    1.442605] snd_hda_codec_generic hdaudioC0D2:    hp_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    1.442606] snd_hda_codec_generic hdaudioC0D2:    mono: mono_out=0x0
[    1.442608] snd_hda_codec_generic hdaudioC0D2:    dig-out=0x3/0x0
[    1.442608] snd_hda_codec_generic hdaudioC0D2:    inputs:

while on the arch default kernel, it's :

[    8.642520] snd_hda_intel 0000:00:0e.0: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[    8.911305] snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC255: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
[    8.911308] snd_hda_codec_realtek hdaudioC0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    8.911310] snd_hda_codec_realtek hdaudioC0D0:    hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
[    8.911311] snd_hda_codec_realtek hdaudioC0D0:    mono: mono_out=0x0
[    8.911312] snd_hda_codec_realtek hdaudioC0D0:    inputs:
[    8.911314] snd_hda_codec_realtek hdaudioC0D0:      Headset Mic=0x19
[    8.911316] snd_hda_codec_realtek hdaudioC0D0:      Internal Mic=0x12

.
Full dmesg for my kernel : https://pastebin.com/jYkBu9EK , arch default kernel : https://pastebin.com/Hu7h6Hxp

Configuration for my kernel : https://pastebin.com/5bn0gjyk

I was on gentoo before arch and I've about 6 months worth of  experience compiling kernels. Everything worked fine under gentoo with the exact same configuration(although last version I tried was 4.19, so options not available till then weren't in the config).

Any help/suggestion is appreciated. Thanks in advance!

Last edited by gaurav712 (2019-07-30 18:40:22)

Offline

#2 2019-07-30 18:40:56

gaurav712
Member
Registered: 2019-07-25
Posts: 4

Re: Sound not working on vanilla kernel-5.2.2 from https://www.kernel.org

Anyone intereseted?

Offline

#3 2019-07-30 18:45:09

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,597
Website

Re: Sound not working on vanilla kernel-5.2.2 from https://www.kernel.org

If you boot into the linux package from [core] does sound work?


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#4 2019-07-30 20:06:13

loqs
Member
Registered: 2014-03-06
Posts: 17,362

Re: Sound not working on vanilla kernel-5.2.2 from https://www.kernel.org

You provided the dmesg from a boot with the linux package but it is still unclear to me if the kernel provided by the linux package provides working sound.

Offline

#5 2019-07-30 20:27:04

seth
Member
Registered: 2012-09-03
Posts: 51,143

Re: Sound not working on vanilla kernel-5.2.2 from https://www.kernel.org

CONFIG_SND_HDA_GENERIC=y

?

Offline

#6 2019-07-31 03:38:31

gaurav712
Member
Registered: 2019-07-25
Posts: 4

Re: Sound not working on vanilla kernel-5.2.2 from https://www.kernel.org

graysky wrote:

If you boot into the linux package from [core] does sound work?

Yeah, it does.

Offline

#7 2019-07-31 07:24:33

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

Re: Sound not working on vanilla kernel-5.2.2 from https://www.kernel.org

How do you determine that sound doesn't work? It looks like the main card is initialized properly, there's just some second (dummy?) generic device initialized. What do you get for

aplay -lL
speaker-test -Dhw:0,0 -c2
sudo fuser -v /dev/snd/*

Offline

Board footer

Powered by FluxBB