Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
no soundcards found - redux
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
imagentmlady
n00b
n00b


Joined: 30 Sep 2019
Posts: 4

PostPosted: Mon Sep 30, 2019 4:07 pm    Post subject: no soundcards found - redux Reply with quote

I have a similar problem to the one posted last, I have no soundcard! Even though I have a soundcard. I don't think it's actually related to the kernel however, I've tried recompiling the kernel with the relevant sound configuration both built-in and as modules, I really don't think anything is missing there...

I have an intuition it's actually related to my system somehow having both eudev and udev. Ideally, I'd like to be able to run only eudev without udev. Also, without dbus (but it looks like a few things depend on that too...)

Still kinda n00by at Gentoo, so go easy on me..

dmesg | grep -i sound
Code:

[    0.214513] Advanced Linux Sound Architecture Driver Initialized.
[    1.759047]   No soundcards found.


lspci -nnk
Code:

00:1b.0 Audio device [0403]: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller [8086:1c20] (rev 05)
   Subsystem: Lenovo Device [17aa:21db]
   Kernel driver in use: snd_hda_intel
   Kernel modules: snd_hda_intel


cat /proc/asound/devices
Code:

  1:        : sequencer
 33:        : timer


similarly,

ls /dev/snd
Code:

dev timer


grep -v '#' /usr/src/linux/.config | grep -i snd
Code:

CONFIG_SND=y
CONFIG_SND_TIMER=y
CONFIG_SND_PCM=m
CONFIG_SND_SEQ_DEVICE=y
CONFIG_SND_JACK=y
CONFIG_SND_JACK_INPUT_DEV=y
CONFIG_SND_PCM_TIMER=y
CONFIG_SND_HRTIMER=y
CONFIG_SND_DYNAMIC_MINORS=y
CONFIG_SND_MAX_CARDS=32
CONFIG_SND_SUPPORT_OLD_API=y
CONFIG_SND_PROC_FS=y
CONFIG_SND_VERBOSE_PROCFS=y
CONFIG_SND_VMASTER=y
CONFIG_SND_DMA_SGBUF=y
CONFIG_SND_SEQUENCER=y
CONFIG_SND_SEQ_DUMMY=y
CONFIG_SND_SEQ_HRTIMER_DEFAULT=y
CONFIG_SND_DRIVERS=y
CONFIG_SND_PCI=y
CONFIG_SND_HDA=m
CONFIG_SND_HDA_INTEL=m
CONFIG_SND_HDA_INPUT_BEEP=y
CONFIG_SND_HDA_INPUT_BEEP_MODE=1
CONFIG_SND_HDA_CODEC_HDMI=m
CONFIG_SND_HDA_CODEC_CONEXANT=m
CONFIG_SND_HDA_GENERIC=m
CONFIG_SND_HDA_POWER_SAVE_DEFAULT=0
CONFIG_SND_HDA_CORE=m
CONFIG_SND_HDA_COMPONENT=y
CONFIG_SND_HDA_I915=y
CONFIG_SND_HDA_PREALLOC_SIZE=64
CONFIG_SND_USB=y
CONFIG_SND_X86=y


Only relevant command I can think of for troubleshooting possible udev issue:

equery d udev
Code:

dev-libs/libinput-1.14.1
net-misc/dhcpcd-7.2.3
sys-apps/hwids-20190316
sys-fs/udev-init-scripts-33
virtual/dev-manager-0-r2
virtual/libudev-232
virtual/udev-217
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Mon Sep 30, 2019 4:29 pm    Post subject: Reply with quote

imagentmlady,

Welcome to Gentoo.

Your sound card driver is in two pieces. The bit on the PCI bus, which needs snd_hda_intel. That's correctly configured.
The other bit is the CODEC. You don't have the right codec for your sound card in the kernel.
Code:
CONFIG_SND_HDA_CODEC_CONEXANT=m
is all you have selected.
Choose all the CODECs, unless you know for sure which one you need.

Either that or you are not booting the kernel that the configuration you posted belongs to.
When did you make your kernel?

What does
Code:
uname -a
say for you?
Code:
$ uname -a
Linux NeddySeagoon_Static 5.2.3-gentoo #1 SMP PREEMPT Sat Jul 27 21:34:25 BST 2019 x86_64 AMD Phenom(tm) II X6 1090T Processor AuthenticAMD GNU/Linux

The time and date, for me, Sat Jul 27 21:34:25 BST 2019, is the build time of the running kernel.
Does it look right for you?
_________________
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
imagentmlady
n00b
n00b


Joined: 30 Sep 2019
Posts: 4

PostPosted: Mon Sep 30, 2019 4:42 pm    Post subject: Reply with quote

Thanks for the quick reply @NeddySeagoon!

my uname -a:
Code:

Linux x220t 4.19.72-gentoo #1 SMP Thu Sep 26 18:47:31 EDT 2019 x86_64 Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz GenuineIntel GNU/Linux


doesn't seem right.. I just recompiled today. Is there anything I need to do after make && make install? Like initramfs or grub update?
Back to top
View user's profile Send private message
imagentmlady
n00b
n00b


Joined: 30 Sep 2019
Posts: 4

PostPosted: Mon Sep 30, 2019 5:37 pm    Post subject: Reply with quote

I updated initramfs and grub-mkconfig. Still Sep 26, hmm..
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Mon Sep 30, 2019 5:42 pm    Post subject: Reply with quote

imagentmlady,

You need to remember to mount /boot before you run
Code:
make install
or your kernel will be written to the wrong place.

If its a rebuild oy your current kernel, that's enough.
If its a nev kernel version, then grub needs to know about it.
_________________
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
imagentmlady
n00b
n00b


Joined: 30 Sep 2019
Posts: 4

PostPosted: Mon Sep 30, 2019 6:20 pm    Post subject: Reply with quote

That did it! Thanks again!

Learned something today. :]
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