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