From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-user+bounces-193447-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 4D4EC138359 for <garchives@archives.gentoo.org>; Sun, 18 Oct 2020 16:21:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DB8F5E0964; Sun, 18 Oct 2020 16:21:46 +0000 (UTC) Received: from mail-lf1-x12e.google.com (mail-lf1-x12e.google.com [IPv6:2a00:1450:4864:20::12e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9D9D1E0883 for <gentoo-user@lists.gentoo.org>; Sun, 18 Oct 2020 16:21:46 +0000 (UTC) Received: by mail-lf1-x12e.google.com with SMTP id l28so10088887lfp.10 for <gentoo-user@lists.gentoo.org>; Sun, 18 Oct 2020 09:21:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :content-transfer-encoding; bh=isXTUYlm0k5NSCFI4GfbDZD+8f9NJUTIgLg1mFLZI6U=; b=FA/dtGoYXfsan2ibU/5VN1HF5aIbmlB58TT6B6UnMTkaB5T1W6uAiZYnEYnMKZ/ZX7 OzlKlvB5oi+I7ij4ONOZun7f6ffBJRkbxSCmcPoY1CPBiUT5Uwg9QV2J0p3Es4ZTrTEC m2PdLDYrIUbMcz/bjmyb3MTDqyaa1HEdyLw0F80RZfaYlwaF2/vuca6Bq4uDxVPNyXf1 EiqTD8k/8FhfaPnzLWFGAC1vCf3Wk+wGgOhbGWleG6ZvexkK00/7UMM95r3AVe/oVDHx i18JQOBFNe9ixkcGxYL1hN0bJDjPrDO8dE7XAxKaS4Nv8XqKHWgyojwGoBMCQYhE1nYS XrgQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:content-transfer-encoding; bh=isXTUYlm0k5NSCFI4GfbDZD+8f9NJUTIgLg1mFLZI6U=; b=W8wGGMgD3qBBL3uW68izM7FkGsyuTvtSYSE1Z5e4MTJu6loI9SBrmpHLK79Qp/uDHg axoYFvPWLmFX7XW1rb1Azi+ctsXBOLwdmS6Wz3Itn0fAJQ1x7sF7xTZjmmmM+afM7nHq 39+zoFxuV6IqNQMP6hmlz5TgDscpPqFVBwSK9/oHu9XSD14FPN7D6OR3wkgAqum0IR9t FTbcp3pPp1+jAIWYmNIegThkK6tixokTIrv4dfjzNiwM72T3PXWmV2MTl/mxk5XJg9uU fZ4vS/2jGTW1+cALw8gCqrIwsogFJiKVWM+0z8HDvgss9P/2URAN2750WOFBVsj6JMX0 j1ow== X-Gm-Message-State: AOAM532dxJhl0+M5zu7eAHGZ8vyIy3UkBCVs8ogkVrfjW8aGAkcB8Lse h/+1rMLywM+b8S6hcBtFBFPa/b9fo+iy2f9NIK7u1Y7mXbKQlQ== X-Google-Smtp-Source: ABdhPJylpSoSjmPiUD2v3M0q88IcYC/bp4d+PcfTQKj8NfpqJxL19jFwpCkf68ufFeURIWMODPcKX0v1yzC8U8bffUw= X-Received: by 2002:a19:2346:: with SMTP id j67mr4231227lfj.427.1603038104544; Sun, 18 Oct 2020 09:21:44 -0700 (PDT) Precedence: bulk List-Post: <mailto:gentoo-user@lists.gentoo.org> List-Help: <mailto:gentoo-user+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-user.gentoo.org> X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 References: <CA+t6X7dM2FNzCJm6d5-yUbbvP6QZKCcHL7d=e8X0eZNBqR5aiw@mail.gmail.com> <20201017115729.oxdtnoujgnsgfm2t@grusum.endjinn.de> <CA+t6X7cLutf=ECFo3PpR5fLUrPrgRoB09D=ks9cO00jBWz0e=g@mail.gmail.com> <20201018043526.ajgopdu73q4fa35j@grusum.endjinn.de> <CA+t6X7ecN6Hpi2D8Hw6aHznzvhEgpcQk33aw7kyqSum0=k58ng@mail.gmail.com> <20201018141833.lcfyrfvgmrhoi2ae@grusum.endjinn.de> In-Reply-To: <20201018141833.lcfyrfvgmrhoi2ae@grusum.endjinn.de> From: gevisz <gevisz@gmail.com> Date: Sun, 18 Oct 2020 19:21:17 +0300 Message-ID: <CA+t6X7fSL-haXwx4fz7Q4y+0gETE3PdQAEO-iAGEzw_r3jnE4A@mail.gmail.com> Subject: Re: [gentoo-user] No sound. Please, help! To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Archives-Salt: fcca71d2-9382-4550-af45-fc9e6003a76a X-Archives-Hash: 41cce30f1e6b9d7023f2881bd833d251 =D0=B2=D1=81, 18 =D0=BE=D0=BA=D1=82. 2020 =D0=B3. =D0=B2 17:19, David Halle= r <gentoo@dhaller.de>: > On Sun, 18 Oct 2020, gevisz wrote: > >??, 18 ???. 2020 ?. ? 09:09, David Haller <gentoo@dhaller.de>: > [..] > >> Try this in /etc/modprobe.d/alsa.conf (or some file there): > >> > >> =3D=3D=3D=3D > >> alias char-major-116 snd > >> alias snd-card-0 snd-hda-intel > >> options snd-hda-intel model=3Dauto > >> =3D=3D=3D=3D > [..] > >So, after changes you suggested, it looks as follows: > ># Alsa kernel modules' configuration file. > > > ># ALSA portion > >alias char-major-116 snd > ># OSS/Free portion > >alias char-major-14 soundcore > > > >## > >## IMPORTANT: > >## You need to customise this section for your specific sound card(s) > >## and then run `update-modules' command. > >## Read alsa-driver's INSTALL file in /usr/share/doc for more info. > >## > >## ALSA portion > >## alias snd-card-0 snd-interwave > >alias snd-card-0 snd-hda-intel > >## alias snd-card-1 snd-ens1371 > >## OSS/Free portion > >## alias sound-slot-0 snd-card-0 > >## alias sound-slot-1 snd-card-1 > >## > > > ># OSS/Free portion - card #1 > >alias sound-service-0-0 snd-mixer-oss > >alias sound-service-0-1 snd-seq-oss > >alias sound-service-0-3 snd-pcm-oss > >alias sound-service-0-8 snd-seq-oss > >alias sound-service-0-12 snd-pcm-oss > >## OSS/Free portion - card #2 > >## alias sound-service-1-0 snd-mixer-oss > >## alias sound-service-1-3 snd-pcm-oss > >## alias sound-service-1-12 snd-pcm-oss > > > >alias /dev/mixer snd-mixer-oss > >alias /dev/dsp snd-pcm-oss > >alias /dev/midi snd-seq-oss > > > ># Set this to the correct number of cards. > >options snd-hda-intel model=3Dauto > >options snd cards_limit=3D1 > > Looks good, but snd-hda-codec-hdmi might still get loaded, so try with: > > options snd cards_limit=3D2 > > (or even more)... > > >Tried to run 'update-modules' command but got > >bash: update-modules: command not found > >message. > > Should not be necessary. > > [still no sound after reboot in FF/Skype] > > Try: > > aplay /usr/share/sounds/alsa/test.wav > > before tackling FF etc. And check alsamixer etc. for it might have > wrong options set as the device might have been moved.. Thank you for your help. I turned on the computer, changed options snd cards_limit to 2 and ran aplay /usr/share/sound/alsa/*.wav (I have a different named wav files). There was a sound. Then I started Firefox and opened some youtube videos. The sound was present as well. Then I opened alsamixer. Some of the channels were muted and some had no full sound. Nevertheless, the sound had been present. I unmuted all the channels and set the full sound level on all of them. Then I again checked that the sound is present. It was. So, I rebooted the computer, ran alsamixer and made sure that all channels are unmuted and have full sound level. But this time the sound was absent exactly as I expected. Neither aplay nor Firefox produced any sound. I have already seen this behavior when I experimented with the kernel configuration about 8 months ago: the same kernel options, the same configuration files, all alsamixer channels are unmuted but after one reboot I have a sound and on another I have no sound. Any thoughts?