1 |
вс, 18 окт. 2020 г. в 19:03, gevisz <gevisz@×××××.com>: |
2 |
> |
3 |
> вс, 18 окт. 2020 г. в 09:09, David Haller <gentoo@×××××××.de>: |
4 |
> > On Sat, 17 Oct 2020, gevisz wrote: |
5 |
> > >??, 17 ???. 2020 ?. ? 14:57, David Haller <gentoo@×××××××.de>: |
6 |
> > [..] |
7 |
> > >Here is the comparative table for your kernel parameters vs those of |
8 |
> > >gentoo-kernel 5.4.64 and my last tried configuration in |
9 |
> > >gentoo-sources-4.19.86: |
10 |
> > >CONFIG | 4.14 | 5.4.64 | 4.19.86 |
11 |
> > >SND | y | m | y |
12 |
> > >SND_TIMER | y | m | y |
13 |
> > >SND_PCM | y | m | y |
14 |
> > >SND_HWDEP | m | m | y |
15 |
> > >SND_DRIVERS | y | y | y |
16 |
> > >SND_PCI | y | y | y |
17 |
> > >SND_HDA | m | m | y |
18 |
> > >SND_HDA_INTEL | m | m | y |
19 |
> > >SND_HDA_HWDEP | y | y | n |
20 |
> > >SND_HDA_RECONFIG | y | y | y |
21 |
> > >SND_HDA_CODEC_REALTEK | m | m | y |
22 |
> > >SND_HDA_GENERIC | m | m | y |
23 |
> > >SND_HDA_CORE | m | m | y |
24 |
> > >SND_SPI | y | n | absent |
25 |
> > |
26 |
> > Looks ok. |
27 |
> > |
28 |
> > [..] |
29 |
> > >So, it seems that at least the configuration for kernel 5.4.64 should |
30 |
> > >work. However, it does not. |
31 |
> > |
32 |
> > Try this in /etc/modprobe.d/alsa.conf (or some file there): |
33 |
> > |
34 |
> > ==== |
35 |
> > alias char-major-116 snd |
36 |
> > alias snd-card-0 snd-hda-intel |
37 |
> > options snd-hda-intel model=auto |
38 |
> > ==== |
39 |
> |
40 |
> I have not tried to edit any alsa configuration files before. |
41 |
> Here is a content of my current /etc/modprobe.d/alsa.conf |
42 |
> --------------------------------------------------------------------------------- |
43 |
> # Alsa kernel modules' configuration file. |
44 |
> |
45 |
> # ALSA portion |
46 |
> alias char-major-116 snd |
47 |
> # OSS/Free portion |
48 |
> alias char-major-14 soundcore |
49 |
> |
50 |
> ## |
51 |
> ## IMPORTANT: |
52 |
> ## You need to customise this section for your specific sound card(s) |
53 |
> ## and then run `update-modules' command. |
54 |
> ## Read alsa-driver's INSTALL file in /usr/share/doc for more info. |
55 |
> ## |
56 |
> ## ALSA portion |
57 |
> ## alias snd-card-0 snd-interwave |
58 |
> ## alias snd-card-1 snd-ens1371 |
59 |
> ## OSS/Free portion |
60 |
> ## alias sound-slot-0 snd-card-0 |
61 |
> ## alias sound-slot-1 snd-card-1 |
62 |
> ## |
63 |
> |
64 |
> # OSS/Free portion - card #1 |
65 |
> alias sound-service-0-0 snd-mixer-oss |
66 |
> alias sound-service-0-1 snd-seq-oss |
67 |
> alias sound-service-0-3 snd-pcm-oss |
68 |
> alias sound-service-0-8 snd-seq-oss |
69 |
> alias sound-service-0-12 snd-pcm-oss |
70 |
> ## OSS/Free portion - card #2 |
71 |
> ## alias sound-service-1-0 snd-mixer-oss |
72 |
> ## alias sound-service-1-3 snd-pcm-oss |
73 |
> ## alias sound-service-1-12 snd-pcm-oss |
74 |
> |
75 |
> alias /dev/mixer snd-mixer-oss |
76 |
> alias /dev/dsp snd-pcm-oss |
77 |
> alias /dev/midi snd-seq-oss |
78 |
> |
79 |
> # Set this to the correct number of cards. |
80 |
> options snd cards_limit=1 |
81 |
> ----------------------------------------------------------- |
82 |
> So, after changes you suggested, it looks as follows: |
83 |
> -------------------------------------------------------------------------- |
84 |
> # Alsa kernel modules' configuration file. |
85 |
> |
86 |
> # ALSA portion |
87 |
> alias char-major-116 snd |
88 |
> # OSS/Free portion |
89 |
> alias char-major-14 soundcore |
90 |
> |
91 |
> ## |
92 |
> ## IMPORTANT: |
93 |
> ## You need to customise this section for your specific sound card(s) |
94 |
> ## and then run `update-modules' command. |
95 |
> ## Read alsa-driver's INSTALL file in /usr/share/doc for more info. |
96 |
> ## |
97 |
> ## ALSA portion |
98 |
> ## alias snd-card-0 snd-interwave |
99 |
> alias snd-card-0 snd-hda-intel |
100 |
> ## alias snd-card-1 snd-ens1371 |
101 |
> ## OSS/Free portion |
102 |
> ## alias sound-slot-0 snd-card-0 |
103 |
> ## alias sound-slot-1 snd-card-1 |
104 |
> ## |
105 |
> |
106 |
> # OSS/Free portion - card #1 |
107 |
> alias sound-service-0-0 snd-mixer-oss |
108 |
> alias sound-service-0-1 snd-seq-oss |
109 |
> alias sound-service-0-3 snd-pcm-oss |
110 |
> alias sound-service-0-8 snd-seq-oss |
111 |
> alias sound-service-0-12 snd-pcm-oss |
112 |
> ## OSS/Free portion - card #2 |
113 |
> ## alias sound-service-1-0 snd-mixer-oss |
114 |
> ## alias sound-service-1-3 snd-pcm-oss |
115 |
> ## alias sound-service-1-12 snd-pcm-oss |
116 |
> |
117 |
> alias /dev/mixer snd-mixer-oss |
118 |
> alias /dev/dsp snd-pcm-oss |
119 |
> alias /dev/midi snd-seq-oss |
120 |
> |
121 |
> # Set this to the correct number of cards. |
122 |
> options snd-hda-intel model=auto |
123 |
> options snd cards_limit=1 |
124 |
> ---------------------------------------------------------------------- |
125 |
> Tried to run 'update-modules' command but got |
126 |
> bash: update-modules: command not found |
127 |
> message. |
128 |
> |
129 |
> Will reboot now and report the result. |
130 |
|
131 |
No sound at least in Firefox. Tried it on youtube. Skype is currently |
132 |
uninstalled. So, I cannot check using it. |