Gentoo Archives: gentoo-user

From: David Haller <gentoo@×××××××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] No sound. Please, help!
Date: Sun, 18 Oct 2020 14:18:56
Message-Id: 20201018141833.lcfyrfvgmrhoi2ae@grusum.endjinn.de
In Reply to: Re: [gentoo-user] No sound. Please, help! by gevisz
1 Hello,
2
3 On Sun, 18 Oct 2020, gevisz wrote:
4 >??, 18 ???. 2020 ?. ? 09:09, David Haller <gentoo@×××××××.de>:
5 [..]
6 >> Try this in /etc/modprobe.d/alsa.conf (or some file there):
7 >>
8 >> ====
9 >> alias char-major-116 snd
10 >> alias snd-card-0 snd-hda-intel
11 >> options snd-hda-intel model=auto
12 >> ====
13 [..]
14 >So, after changes you suggested, it looks as follows:
15 ># Alsa kernel modules' configuration file.
16 >
17 ># ALSA portion
18 >alias char-major-116 snd
19 ># OSS/Free portion
20 >alias char-major-14 soundcore
21 >
22 >##
23 >## IMPORTANT:
24 >## You need to customise this section for your specific sound card(s)
25 >## and then run `update-modules' command.
26 >## Read alsa-driver's INSTALL file in /usr/share/doc for more info.
27 >##
28 >## ALSA portion
29 >## alias snd-card-0 snd-interwave
30 >alias snd-card-0 snd-hda-intel
31 >## alias snd-card-1 snd-ens1371
32 >## OSS/Free portion
33 >## alias sound-slot-0 snd-card-0
34 >## alias sound-slot-1 snd-card-1
35 >##
36 >
37 ># OSS/Free portion - card #1
38 >alias sound-service-0-0 snd-mixer-oss
39 >alias sound-service-0-1 snd-seq-oss
40 >alias sound-service-0-3 snd-pcm-oss
41 >alias sound-service-0-8 snd-seq-oss
42 >alias sound-service-0-12 snd-pcm-oss
43 >## OSS/Free portion - card #2
44 >## alias sound-service-1-0 snd-mixer-oss
45 >## alias sound-service-1-3 snd-pcm-oss
46 >## alias sound-service-1-12 snd-pcm-oss
47 >
48 >alias /dev/mixer snd-mixer-oss
49 >alias /dev/dsp snd-pcm-oss
50 >alias /dev/midi snd-seq-oss
51 >
52 ># Set this to the correct number of cards.
53 >options snd-hda-intel model=auto
54 >options snd cards_limit=1
55
56 Looks good, but snd-hda-codec-hdmi might still get loaded, so try with:
57
58 options snd cards_limit=2
59
60 (or even more)...
61
62 >Tried to run 'update-modules' command but got
63 >bash: update-modules: command not found
64 >message.
65
66 Should not be necessary.
67
68 [still no sound after reboot in FF/Skype]
69
70 Try:
71
72 aplay /usr/share/sounds/alsa/test.wav
73
74 before tackling FF etc. And check alsamixer etc. for it might have
75 wrong options set as the device might have been moved..
76
77 HTH,
78 -dnh
79
80 --
81 Two atoms are walking along. Suddenly, one stops. The other says,
82 "What's wrong?" "I've lost an electron." "Are you sure?" "I'm positive!"

Replies

Subject Author
Re: [gentoo-user] No sound. Please, help! gevisz <gevisz@×××××.com>