All of lore.kernel.org
 help / color / mirror / Atom feed
From: GitHub issues - edited <github@alsa-project.org>
To: alsa-devel@alsa-project.org
Subject: With SOF enabled in sof-hda-generic.tplg device (no DMIC) the control 'Capture Source' is not controlled by UCM
Date: Thu,  5 Dec 2024 16:56:44 +0100 (CET)	[thread overview]
Message-ID: <20241205155644.A61EFF8047C@alsa1.perex.cz> (raw)
In-Reply-To: <1733414202483495474-webhooks-bot@alsa-project.org>

alsa-project/alsa-ucm-conf issue #484 was edited from singalsu:

The configuration is not usual. If there is no DMIC in the system usually the legacy mode is selected (as with `options snd_intel_dspcfg dsp_driver=1`). In such PCs SOF can be enabled with `options snd_intel_dspcfg dsp_driver=3`.

When a headset is plugged/unplugged the playback correctly switches between speaker and headphone/headset earbuds.

But the microphone capture remains muted. I noticed with legacy mode where internal microphones work that control name='Capture Source' changes to 1 when headset is removed:

```
singalsu@asteri:~$ amixer -c0 cget name='Capture Source' 
numid=6,iface=MIXER,name='Capture Source'
  ; type=ENUMERATED,access=rw------,values=1,items=2
  ; Item #0 'Headset Mic'
  ; Item #1 'Internal Mic'
  : values=1
singalsu@asteri:~$ amixer -c0 cget name='Capture Source' 
numid=6,iface=MIXER,name='Capture Source'
  ; type=ENUMERATED,access=rw------,values=1,items=2
  ; Item #0 'Headset Mic'
  ; Item #1 'Internal Mic'
  : values=0
```

This is not happening when SOF is enabled. But I could make internal microphones capture work with `amixer -c0 cset name='Capture Source' 1`.  Is there a way to fix this in ucm2? I'm not absolutely sure about this issue in Fedora 41 but this happens with my ucm2 development code with plain git master branch (commit 0782bf435b8332833e7b3fc91501d78473dd6edf).

Issue URL     : https://github.com/alsa-project/alsa-ucm-conf/issues/484
Repository URL: https://github.com/alsa-project/alsa-ucm-conf

       reply	other threads:[~2024-12-05 15:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1733414202483495474-webhooks-bot@alsa-project.org>
2024-12-05 15:56 ` GitHub issues - edited [this message]
     [not found] <1733413964857636213-webhooks-bot@alsa-project.org>
2024-12-05 15:52 ` With SOF enabled in sof-hda-generic.tplg device (no DMIC) the control 'Capture Source' is not controlled by UCM GitHub issues - opened

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=20241205155644.A61EFF8047C@alsa1.perex.cz \
    --to=github@alsa-project.org \
    --cc=alsa-devel@alsa-project.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.