Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
No soundcard on Thinkpad X250
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Jaglover
Watchman
Watchman


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

PostPosted: Fri Dec 14, 2018 6:38 pm    Post subject: Reply with quote

Code:
emerge -av1 =sys-kernel/gentoo-sources-4.19.9

Follow the instructions portage gives you.
Note the -1 emerge option, omitting it will record this kernel in your world file - you do not want that.
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
liquidvel
n00b
n00b


Joined: 09 Dec 2018
Posts: 13

PostPosted: Fri Dec 14, 2018 6:52 pm    Post subject: Reply with quote

Code:
 [S] ~ sudo emerge -av1 =sys-kernel/gentoo-sources-4.19.9
zsh: sys-kernel/gentoo-sources-4.19.9 not found


Hm what does this do? Where is portage giving me instructions?
Back to top
View user's profile Send private message
Anon-E-moose
Advocate
Advocate


Joined: 23 May 2008
Posts: 4217
Location: Dallas area

PostPosted: Fri Dec 14, 2018 6:54 pm    Post subject: Reply with quote

You still have some of the SND_* stuff built as "Y" built in instead of modules. Built in doesn't show in lsmod.

Starting with the snd section of drivers, every spot that you have selected "*" try "M" if it succeeds then it will be a module,
there are a few selections that will only allow Y/N but those won't build as module, they're options for modules/built-in.

The problem with mixing is that some of the built-in selections won't be activated when a module is loaded after it.
That's why I said it all needs to be cohesive.

4.14.83 is a pretty new kernel, at least patch wise, and should support all your hardware.

Edit to add: 4.19.9 is new as of yesterday. If you haven't emerge --sync'd yet, then 4.19.8 should work.
_________________
Asus m5a99fx, FX 8320 - nouveau, oss4, rx550 for qemu passthrough
Acer laptop E5-575, i3-7100u - i965, alsa
---both---
5.0.13 zen kernel, profile 17.1 (no-pie & modified) amd64-no-multilib
gcc 8.2.0, eudev, openrc, openbox, palemoon
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


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

PostPosted: Fri Dec 14, 2018 6:57 pm    Post subject: Reply with quote

liquidvel,

your portage is not up to date. Anyhow, using the latest kernel was just an idea, it may not help at all.
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
Anon-E-moose
Advocate
Advocate


Joined: 23 May 2008
Posts: 4217
Location: Dallas area

PostPosted: Fri Dec 14, 2018 6:58 pm    Post subject: Reply with quote

Evidently 4.19.9 had some verification problems https://forums.gentoo.org/viewtopic-p-8290604.html#8290604

should work with a newer sync.
_________________
Asus m5a99fx, FX 8320 - nouveau, oss4, rx550 for qemu passthrough
Acer laptop E5-575, i3-7100u - i965, alsa
---both---
5.0.13 zen kernel, profile 17.1 (no-pie & modified) amd64-no-multilib
gcc 8.2.0, eudev, openrc, openbox, palemoon
Back to top
View user's profile Send private message
liquidvel
n00b
n00b


Joined: 09 Dec 2018
Posts: 13

PostPosted: Fri Dec 14, 2018 7:20 pm    Post subject: Reply with quote

Code:
Starting with the snd section of drivers, every spot that you have selected "*" try "M" if it succeeds then it will be a module,
there are a few selections that will only allow Y/N but those won't build as module, they're options for modules/built-in.

What is the SND section? I pressed M on everything inside
Device Drivers - Soundcard support - Advanded Linux Sound Architecture.

Assume I cannot change anything else to M, what to do next?
Back to top
View user's profile Send private message
Anon-E-moose
Advocate
Advocate


Joined: 23 May 2008
Posts: 4217
Location: Dallas area

PostPosted: Fri Dec 14, 2018 7:37 pm    Post subject: Reply with quote

Starting with Device-Drivers->Sound Card Support
Then Advanced Linux Sound Architecture
And all sub areas under this should all be selected as module "M"
Everything under HD-Audio especially HD Audio PCI which select snd_hda_intel
Everything under Generic sound devices, etc

You just have to go through each area one by one and try to make them all modules.
If you have it selected then hit the M key if it allows it to be a module it will change other wise it won't.

After that, rebuild the kernel, and all modules then install modules and kernel and restart.

You're getting codec not bound because there are some things that are still built-in and they're trying to load but the base system which is part modular isn't loaded yet.
So you're getting screwy results.

Edit to add: This is from my laptop, it's not lenovo but does use intell stuff and is pretty similar to what you have,
It's a section of SND* stuff and how it looks from .config

Code:
CONFIG_SND=m
CONFIG_SND_TIMER=m
CONFIG_SND_PCM=m
CONFIG_SND_HWDEP=m
CONFIG_SND_SEQ_DEVICE=m
CONFIG_SND_RAWMIDI=m
CONFIG_SND_JACK=y
CONFIG_SND_JACK_INPUT_DEV=y
CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=m
CONFIG_SND_PCM_OSS=m
CONFIG_SND_PCM_OSS_PLUGINS=y
CONFIG_SND_PCM_TIMER=y
CONFIG_SND_DYNAMIC_MINORS=y
CONFIG_SND_MAX_CARDS=32
CONFIG_SND_SUPPORT_OLD_API=y
CONFIG_SND_PROC_FS=y
CONFIG_SND_VMASTER=y
CONFIG_SND_DMA_SGBUF=y
CONFIG_SND_SEQUENCER=m
CONFIG_SND_SEQUENCER_OSS=m
CONFIG_SND_SEQ_MIDI_EVENT=m
CONFIG_SND_SEQ_MIDI=m
CONFIG_SND_SEQ_VIRMIDI=m
CONFIG_SND_MPU401_UART=m
CONFIG_SND_DRIVERS=y
CONFIG_SND_DUMMY=m
CONFIG_SND_ALOOP=m
CONFIG_SND_VIRMIDI=m
CONFIG_SND_SERIAL_U16550=m
CONFIG_SND_MPU401=m
CONFIG_SND_PCI=y
CONFIG_SND_HDA=m
CONFIG_SND_HDA_INTEL=m
CONFIG_SND_HDA_HWDEP=y
CONFIG_SND_HDA_RECONFIG=y
CONFIG_SND_HDA_CODEC_REALTEK=m
CONFIG_SND_HDA_CODEC_HDMI=m
CONFIG_SND_HDA_GENERIC=m
CONFIG_SND_HDA_POWER_SAVE_DEFAULT=0
CONFIG_SND_HDA_CORE=m
CONFIG_SND_HDA_I915=y
CONFIG_SND_HDA_PREALLOC_SIZE=64


You should look something similar, where I've got "y", it's safe to be "y"
And where I have "m" you should also have it "m"
_________________
Asus m5a99fx, FX 8320 - nouveau, oss4, rx550 for qemu passthrough
Acer laptop E5-575, i3-7100u - i965, alsa
---both---
5.0.13 zen kernel, profile 17.1 (no-pie & modified) amd64-no-multilib
gcc 8.2.0, eudev, openrc, openbox, palemoon
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43599
Location: 56N 3W

PostPosted: Fri Dec 14, 2018 7:51 pm    Post subject: Reply with quote

Anon-E-moose,

Flipping to
Code:
CONFIG_SND=m
should be enough.

When that's not built in, none of the things that depend on it can be either.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Anon-E-moose
Advocate
Advocate


Joined: 23 May 2008
Posts: 4217
Location: Dallas area

PostPosted: Fri Dec 14, 2018 7:55 pm    Post subject: Reply with quote

Neddy, I wasn't sure if flipping from "y" to "m" on sound would flip everything under it automatically, or if it would just deactivate it.
_________________
Asus m5a99fx, FX 8320 - nouveau, oss4, rx550 for qemu passthrough
Acer laptop E5-575, i3-7100u - i965, alsa
---both---
5.0.13 zen kernel, profile 17.1 (no-pie & modified) amd64-no-multilib
gcc 8.2.0, eudev, openrc, openbox, palemoon
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 14075

PostPosted: Sat Dec 15, 2018 1:58 am    Post subject: Reply with quote

liquidvel wrote:
Code:
 [S] ~ sudo emerge -av1 =sys-kernel/gentoo-sources-4.19.9
zsh: sys-kernel/gentoo-sources-4.19.9 not found
If you use zsh, you need to quote the equal sign. zsh has a quirk that it treats a leading equal sign as a request for special processing. You want the equal sign to be passed through as literal text.
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
Goto page Previous  1, 2
Page 2 of 2

 
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