All of lore.kernel.org
 help / color / mirror / Atom feed
From: Nico Schottelius <nico.schottelius@ungleich.ch>
To: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Cc: Nico Schottelius <nico.schottelius@ungleich.ch>,
	alsa-devel@alsa-project.org
Subject: Re: Internal microphone does not work with 5.12 (Tiger Lake, X1 Nano)
Date: Thu, 27 May 2021 16:04:04 +0200	[thread overview]
Message-ID: <87h7io8e97.fsf@ungleich.ch> (raw)
In-Reply-To: <alpine.DEB.2.22.394.2105271551100.3922722@eliteleevi.tm.intel.com>


Hey Kai,
Kai Vehmanen <kai.vehmanen@linux.intel.com> writes:

> Hi Nico,
>
> On Thu, 27 May 2021, Nico Schottelius wrote:
>
>> > it seems more kernel config options are missing. Distribution kernels
>> > typically enable all the machine drivers, but you are specifically missing
>> > CONFIG_SND_SOC_INTEL_SKL_HDA_DSP_GENERIC_MACH=m
>>
>> I've enabled this one and all machine types and indeed the card is being
>> recognised (report at
>> http://alsa-project.org/db/?f=5cbe7c293cbb80ab548b892cfc8b991476b0b2aa).
>> I checked permissions on /dev/snd, which looks good.
>>
>> However, obs does not list the microphone at all and
>> chromium / jitsi shows the snd-hda-dsp mic, however does not let me
>> select it.
>
> ok, that's great so the driver appears to work now. You could try
> to do simple arecord test in terminal:
>
> arecord -fdat -vv -Dplugw:0,6 -c4 /dev/null

That does not work:

[15:55] nb3:~% arecord -fdat -vv -Dplugw:0,6 -c4 /dev/null
ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM plugw:0,6
arecord: main:830: audio open error: No such file or directory

However, recording with audacity produces to results:

- no sound recorded by default
- sound recorded when I plugin an external headset

And using arecord -fdat -vv -c4 /dev/null (without -Dplugw) I get
output, but the level is always 00% without the headset, ranges 02 ~ 90%
with the headset plugged in.

I was wondering if there's a hardware switch "broken"
for the detection of the headset and that's why the mic is muted
internally?


--
Sustainable and modern Infrastructures by ungleich.ch

  reply	other threads:[~2021-05-27 14:04 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-27  9:50 Internal microphone does not work with 5.12 (Tiger Lake, X1 Nano) Nico Schottelius
2021-05-27  9:57 ` Jaroslav Kysela
2021-05-27 10:39   ` Nico Schottelius
2021-05-27 10:56     ` Kai Vehmanen
2021-05-27 12:02       ` Nico Schottelius
2021-05-27 13:43         ` Kai Vehmanen
2021-05-27 14:04           ` Nico Schottelius [this message]
2021-05-27 14:35             ` Pierre-Louis Bossart
2021-05-27 13:55         ` Nico Schottelius

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=87h7io8e97.fsf@ungleich.ch \
    --to=nico.schottelius@ungleich.ch \
    --cc=alsa-devel@alsa-project.org \
    --cc=kai.vehmanen@linux.intel.com \
    /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.