Gentoo Archives: gentoo-user

From: Facundo Curti <facu.curti@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Audio - Module does not loaded
Date: Mon, 18 Jul 2016 02:53:21
Message-Id: CABxff589+pmASMS18CDd5ocbfZBUZ_2EB1KxEwYj-5T7YS0hgg@mail.gmail.com
In Reply to: Re: [gentoo-user] Audio - Module does not loaded by Mick
1 2016-07-17 8:31 GMT-03:00 Mick <michaelkintzios@×××××.com>:
2
3 > On Sunday 17 Jul 2016 05:58:48 Alex Thorne wrote:
4 > > Is snd_hda_intel built as a module or is it part of the kernel itself?
5 >
6 > Please do not top post on this M/L.
7 >
8 >
9 > > On 17 Jul 2016 3:42 a.m., "Facundo Curti" <facu.curti@×××××.com> wrote:
10 > > > Hi there. I'm having troubles to get audio on gentoo :/
11 > > >
12 > > > aplay -l gave me 0 sound cards:
13 > > > **** List of PLAYBACK Hardware Devices ****
14 >
15 > As Alex suggested check that you have built your audio drivers as modules.
16 > Then run 'alsactl init' to initialise your card and unmute it.
17 >
18 >
19 > > > lspci -v
20 > [snip ...]
21 >
22 > > > 00:03.0 Audio device: Intel Corporation Xeon E3-1200 v3/4th Gen Core
23 > > > Processor HD Audio Controller (rev 06)
24 > > > Subsystem: ASUSTeK Computer Inc. Xeon E3-1200 v3/4th Gen Core
25 > Processor HD
26 > > > Audio Controller
27 > > > Flags: bus master, fast devsel, latency 0, IRQ 32
28 > > > Memory at f7c14000 (64-bit, non-prefetchable) [size=16K]
29 > > > Capabilities: [50] Power Management version 2
30 > > > Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit-
31 > > > Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
32 > > > Kernel driver in use: snd_hda_intel
33 > [snip ...]
34 >
35 >
36 >
37 > > > 00:1b.0 Audio device: Intel Corporation 8 Series/C220 Series Chipset
38 > High
39 > > > Definition Audio Controller (rev 05)
40 > > > Subsystem: ASUSTeK Computer Inc. 8 Series/C220 Series Chipset High
41 > > > Definition Audio Controller
42 > > > Flags: bus master, fast devsel, latency 0, IRQ 31
43 > > > Memory at f7c10000 (64-bit, non-prefetchable) [size=16K]
44 > > > Capabilities: [50] Power Management version 2
45 > > > Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+
46 > > > Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
47 > > > Capabilities: [100] Virtual Channel
48 > > > Kernel driver in use: snd_hda_intel
49 > [snip ...]
50 >
51 >
52 > > > As you can see, lspci says:
53 > > > Kernel driver in use: snd_hda_intel
54 >
55 > Run 'lspci -k -nn' and check the vendor and product IDs shown in [square
56 > brackets]. Then Google for the right drivers and make sure they have been
57 > enabled as modules in your current kernel.
58 >
59 >
60 > > >
61 > > > But when I do lsmod:
62 > > >
63 > > > Module Size Used by
64 > > > psmouse 64754 0
65 > > > atkbd 14084 0
66 > > > aziokbd 5336 0
67 > > > libps2 3843 2 atkbd,psmouse
68 > > > x86_pkg_temp_thermal 4523 0
69 > > > kvm_intel 140995 0
70 > > > kvm 366276 1 kvm_intel
71 > > > irqbypass 2552 1 kvm
72 > > > xts 3079 0
73 > > > aesni_intel 156770 0
74 > > > lrw 3591 1 aesni_intel
75 > > > gf128mul 5815 2 lrw,xts
76 > > > glue_helper 3907 1 aesni_intel
77 > > > ablk_helper 1820 1 aesni_intel
78 > > > cryptd 7522 2 aesni_intel,ablk_helper
79 > > > sha256_generic 9619 0
80 > > > xfs 669263 0
81 > > > libcrc32c 1170 1 xfs
82 > > > nfs 148665 0
83 > > > lockd 52704 1 nfs
84 > > > grace 1858 1 lockd
85 > > > sunrpc 188908 2 nfs,lockd
86 > > > jfs 132808 0
87 > > > reiserfs 173671 0
88 > > > btrfs 768586 0
89 > > > xor 10552 1 btrfs
90 > > > zlib_deflate 17993 1 btrfs
91 > > > raid6_pq 93587 1 btrfs
92 > > >
93 > > > There is no snd_hda_intel
94 >
95 > They were probably not compiled as modules? ;-)
96 >
97 >
98 > > > I already tryed doing modprobe snd_hda_intel. It does not gave me any
99 > > > output.
100 >
101 > Try:
102 >
103 > modprobe -r snd_hda_intel
104 > modprobe -v snd_hda_intel
105 >
106 > but if you get no output, then they were not built as modules in your
107 > kernel.
108 >
109 >
110 > > > On alsamixer, I can see 3 cards:
111 > > > - Pulseaudio
112 > > > - HDA Intel HDMI
113 > > > - HDA Intel PCH
114 > > >
115 > > > But the intel cards says:
116 > > > This sound device does not have any controls.
117 > > >
118 > > > Some ideas?
119 > > > I already saw the kernel. It is everything according this:
120 > > > https://wiki.gentoo.org/wiki/ALSA#Kernel
121 > > >
122 > > > Some ideas?
123 >
124 > dmesg | grep 'snd\|audio'
125 >
126 > --
127 > Regards,
128 > Mick
129
130
131 Thank you men! I didn't know it had to be compiled as module. It was
132 built-in