public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Michael <confabulate@kintzios.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] No sound after resuming from hibernation
Date: Sun, 03 Jan 2021 18:43:34 +0000	[thread overview]
Message-ID: <2516506.BddDVKsqQX@lenovo.localdomain> (raw)
In-Reply-To: <24561.64244.225478.217474@woitok.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1970 bytes --]

On Sunday, 3 January 2021 17:12:20 GMT you wrote:
> Michael,
> 
> On Sunday, 2021-01-03 16:13:35 +0000, you wrote:
> > ...
> > It used to be the case modules were probed/reloaded by 'alsactl init' when
> > initialising the audio card.  If built in the kernel binary the command
> > couldn't do this.
> 
> Thanks for this background information :-)
> 
> Am I correct in asuming  that this more or less  is still true,  and I'd
> rather continue to build sound support as modules?

I can't confirm this, but in my case I've been building alsa drivers as 
modules ever since.


> > ...
> > I suggest you use alsactl init before and after and compare the output
> > between a working and non-working state, to try to isolate the problem.
> 
> Erm ... good suggestion:
> 
> $ alsactl init
> alsa-lib
> /var/tmp/portage/media-libs/alsa-lib-1.2.3.2-r1/work/alsa-lib-1.2.3.2/src/u
> cm/main.c:983:(snd_use_case_mgr_open) error: failed to import hw:0 use case
> configuration -2 Found hardware: "HDA-Intel" "Realtek ALC269VC"
> "HDA:10ec0269,15586508,00100202 HDA:80862809,80860101,00100000" "0x1558"
> "0x6508" Hardware is initialized using a generic method
> /usr/share/alsa/init/default:102: value write error: Input/output error

The above on my system refers to headphone control:

CTL{name}="Headphone Playback Switch",CTL{do_search}=="1", \
  CTL{values}="on"

> /usr/share/alsa/init/default:263: value write error: Input/output error
> /usr/share/alsa/init/default:263: value write error: Input/output error

This refers to recording volume:

CTL{name}="Capture Volume",CTL{do_search}=="1", \
  CTL{write}!="$env{cvolume}",CTL{values}="$env{cpercent}"

is your user a member of the audio group?

Are you able to unmute your settings, if muted, with alsamixer?

I recall an older alsa bug with some realtek driver, whereby to get their 
audio back some users had to suspend to RAM first.  :-/  Yes, I know, it 
sounds like cargo-culting, but apparently it worked for them.

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  reply	other threads:[~2021-01-03 18:44 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-03 15:59 [gentoo-user] No sound after resuming from hibernation Dr Rainer Woitok
2021-01-03 16:13 ` Michael
2021-01-03 17:12   ` Dr Rainer Woitok
2021-01-03 18:43     ` Michael [this message]
2021-01-04 10:33       ` Dr Rainer Woitok
2021-01-04 11:43         ` Michael

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2516506.BddDVKsqQX@lenovo.localdomain \
    --to=confabulate@kintzios.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox