Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Skylake audio configuration
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
FlowIt
n00b
n00b


Joined: 27 Sep 2016
Posts: 7

PostPosted: Thu Dec 22, 2016 2:29 am    Post subject: Skylake audio configuration Reply with quote

lsmod | grep skl shows the following:
Code:
snd_soc_skl            61440  0
snd_soc_skl_ipc        32768  1 snd_soc_skl
snd_soc_sst_ipc        16384  1 snd_soc_skl_ipc
snd_soc_sst_dsp        20480  1 snd_soc_skl_ipc
snd_hda_ext_core       20480  1 snd_soc_skl
snd_soc_sst_match      16384  1 snd_soc_skl
snd_soc_core          188416  1 snd_soc_skl

So to get those modules I have to enable SND_SOC_INTEL_SKYLAKE. I use menuconfig and I cannot find this entry. The only way I found to enable this option is to enable one of the following: SND_SOC_INTEL_BXT_DA7219_MAX98357A_MACH, SND_SOC_INTEL_BXT_RT298_MACH, SND_SOC_INTEL_SKL_RT286_MACH, SND_SOC_INTEL_SKL_NAU88L25_SSM4567_MACH, SND_SOC_INTEL_SKL_NAU88L25_MAX98357A_MACH. However, the modules that come with those options do not show up in lsmod and I am pretty sure I do not have the respective chip anyway (i7-6600U in case anyone wants to check).
So my question is: How can I enable SND_SOC_INTEL_SKYLAKE without enabling any of the mentioned options? The first thing that comes to my mind is manually editing the .config file, but I'd rather do it in menuconfig (or any other frontend) so I get consistency checks.
Back to top
View user's profile Send private message
FlowIt
n00b
n00b


Joined: 27 Sep 2016
Posts: 7

PostPosted: Mon Dec 26, 2016 5:20 pm    Post subject: Reply with quote

I now tried to manually edit the .config file and commented out the SND_SOC_INTEL_SKL_RT286_MACH option (which I used previously to enable SND_SOC_INTEL_SKYLAKE). But when opening the modified .config file with menuconfig I see that SND_SOC_INTEL_SKYLAKE (and the other options that depend on it) are now disabled, too.
I havent't found out which audio codec/mode/config option I need from lsmod, but I guess there is one and I simply cannot select SND_SOC_INTEL_SKYLAKE by itself.
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 7122
Location: Saint Amant, Acadiana

PostPosted: Mon Dec 26, 2016 5:25 pm    Post subject: Reply with quote

Do we have an XY Problem here?

Are you sure you need these modules? What is the PCI ID of your sound hardware?
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
FlowIt
n00b
n00b


Joined: 27 Sep 2016
Posts: 7

PostPosted: Tue Dec 27, 2016 1:49 am    Post subject: Reply with quote

Maybe we have. What I want is to configure a minimal kernel and the part I am working on is audio. I started from the lsmod output shown above. My assumptions were: Since SND_SOC_INTEL_SKYLAKE is loaded, that is what I have to build. However, I cannot build it without enabling one of those other options. Since the respective modules from those other options did not show up in the lsmod output I tried to find a way around.
lspci shows
Code:
00:1f:3 Audio device: Intel Corporation Sunrise Point-LP HD Audio (rev 21)
and head -n 1 /proc/asound/card0/codec* returns
Code:
Codec: Realtek ALC293
.
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 7122
Location: Saint Amant, Acadiana

PostPosted: Tue Dec 27, 2016 2:14 am    Post subject: Reply with quote

I'd say enable Intel HD in kernel and Realtek HD and see if it works, it should. You may add HDMI if you need it.
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
FlowIt
n00b
n00b


Joined: 27 Sep 2016
Posts: 7

PostPosted: Sat Dec 31, 2016 2:15 pm    Post subject: Reply with quote

I tried the kernel with enabled SND_SOC_INTEL_SKL_RT286_MACH and audio works fine. If I find the time I will try it with this options disabled.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum