1 |
сб, 17 окт. 2020 г. в 14:57, David Haller <gentoo@×××××××.de>: |
2 |
> On Sat, 17 Oct 2020, gevisz wrote: |
3 |
> >At different times during the last one and a half years, I tried to |
4 |
> >make sound work on my new Gentoo install on a computer with Gigabyte |
5 |
> >GA-MA790FXT-UD5P motherboard and MSI ATI Radeon R4770 graphic card. |
6 |
> |
7 |
> Ok, that board should be rather closeish to mine (GA-MA770TA-UD3. |
8 |
> Might use a different soundchip though, but those should work |
9 |
> automatically. |
10 |
> |
11 |
> [..] |
12 |
> >lspci | grep "Audio" |
13 |
> >00:14.2 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 |
14 |
> >Azalia (Intel HDA) |
15 |
> >01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] RV710/730 |
16 |
> >HDMI Audio [Radeon HD 4000 series] |
17 |
> |
18 |
> Simliar here, but it'd be interesting, what actual device is that |
19 |
> onboard sound, here it's: |
20 |
> |
21 |
> $ /sbin/lspci -nn | grep Audio |
22 |
> 00:14.2 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 Azalia (Intel HDA) [1002:4383] |
23 |
> [plus the HDMI of the video card] |
24 |
> |
25 |
> According to the MoBo manual, it's a Realtek ALC888 codec. |
26 |
|
27 |
My documentation says that it is Realtek ALC889A. |
28 |
|
29 |
> >My current kernel configuration is exactly the same as in the |
30 |
> >gentoo-kernel-5.4.64 package as I have not changed anything there. |
31 |
> |
32 |
> This works here: |
33 |
> |
34 |
> CONFIG_SND=y |
35 |
> CONFIG_SND_TIMER=y |
36 |
> CONFIG_SND_PCM=y |
37 |
> CONFIG_SND_HWDEP=m |
38 |
> CONFIG_SND_DRIVERS=y |
39 |
> CONFIG_SND_PCI=y |
40 |
> CONFIG_SND_HDA=m |
41 |
> CONFIG_SND_HDA_INTEL=m |
42 |
> CONFIG_SND_HDA_HWDEP=y |
43 |
> CONFIG_SND_HDA_RECONFIG=y |
44 |
> CONFIG_SND_HDA_CODEC_REALTEK=m |
45 |
> CONFIG_SND_HDA_GENERIC=m |
46 |
> CONFIG_SND_HDA_CORE=m |
47 |
> CONFIG_SND_SPI=y |
48 |
> |
49 |
> Not sure if CONFIG_SND_SPI and CONFIG_SND_HDA_GENERIC are needed, but |
50 |
> the other ones seem crucial. |
51 |
> |
52 |
> Oh, the above is for a 4.14 kernel, but has been the same for a looong |
53 |
> time now. |
54 |
|
55 |
Here is the comparative table for your kernel parameters vs those of |
56 |
gentoo-kernel 5.4.64 and my last tried configuration in |
57 |
gentoo-sources-4.19.86: |
58 |
--------------------------------------------------------- |
59 |
CONFIG | 4.14 | 5.4.64 | 4.19.86 |
60 |
SND | y | m | y |
61 |
SND_TIMER | y | m | y |
62 |
SND_PCM | y | m | y |
63 |
SND_HWDEP | m | m | y |
64 |
SND_DRIVERS | y | y | y |
65 |
SND_PCI | y | y | y |
66 |
SND_HDA | m | m | y |
67 |
SND_HDA_INTEL | m | m | y |
68 |
SND_HDA_HWDEP | y | y | n |
69 |
SND_HDA_RECONFIG | y | y | y |
70 |
SND_HDA_CODEC_REALTEK | m | m | y |
71 |
SND_HDA_GENERIC | m | m | y |
72 |
SND_HDA_CORE | m | m | y |
73 |
SND_SPI | y | n | absent |
74 |
|
75 |
The last option is absent from my config file of gentoo-source-4.19.86. |
76 |
However, it seems that in gentoo-kernel-5.4-64 it also means nothing |
77 |
because it leads to an empty section even if it is chosen. |
78 |
|
79 |
So, it seems that at least the configuration for kernel 5.4.64 should |
80 |
work. However, it does not. |