Alsa not detecting internal microphone [ALC255] (Realtek)

Bug #1523100 reported by Dennis Marttinen
288
This bug affects 54 people
Affects Status Importance Assigned to Milestone
alsa-driver (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

I've just installed Ubuntu 16.04 alongside Windows 10 on a 64bit Acer Aspire VN7-792G and noticed, that the internal microphone doesn't work. The computer has been released a couple of months ago and it's Intel Skylake -based with a Sunrise Point -based motherboard.

INFO: The problem exists in Ubuntu 15.10 too, only microphone jack detected. Currently using Ubuntu 16.04 for proper hardware support.

Alsa reports the audio device to be:

Card: HDA Intel PCH
Chip: Intel Skylake HDMI

The speakers are working fine, but both alsamixer and pavucontrol (Pulseaudio Volume Control) raport the unplugged external microphone connector as the only sound input.

I have tried many of the alsa model configurations (options snd-hda-intel model=something) without success, alsa finds only the microphone jack, which works fine when I plug an external microphone in it.

Here's some info:

lspci | grep -I audio:

00:1f.3 Multimedia audio controller: Intel Corporation Sunrise Point-H HD Audio (rev 31)

cat /proc/asound/cards:

0 [PCH ]: HDA-Intel - HDA Intel PCH
                            HDA Intel PCH at 0x84320000 irq 128

And a clip from dmesg | grep snd:

[ 3.019164] snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[ 3.047505] snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC255: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
[ 3.047508] snd_hda_codec_realtek hdaudioC0D0: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[ 3.047510] snd_hda_codec_realtek hdaudioC0D0: hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
[ 3.047511] snd_hda_codec_realtek hdaudioC0D0: mono: mono_out=0x0
[ 3.047512] snd_hda_codec_realtek hdaudioC0D0: dig-out=0x1e/0x0
[ 3.047512] snd_hda_codec_realtek hdaudioC0D0: inputs:
[ 3.047514] snd_hda_codec_realtek hdaudioC0D0: Mic=0x1a

One problem is that I can't find any model options (options snd-hda-intel model=something) or other parameters for the card's model (ALC255), I suppose this issue is relatively new.

/Dennis
---
ApportVersion: 2.19.2-0ubuntu6
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: dennis 1180 F.... pulseaudio
CurrentDesktop: GNOME
DistroRelease: Ubuntu 16.04
InstallationDate: Installed on 2015-11-11 (23 days ago)
InstallationMedia: Ubuntu-GNOME 16.04 LTS "Xenial Xerus" - Alpha amd64 (20151110)
Package: alsa-driver (not installed)
ProcVersionSignature: Ubuntu 4.2.0-19.23-generic 4.2.6
Tags: xenial
Uname: Linux 4.2.0-19-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm bumblebee cdrom dip lpadmin plugdev sambashare sudo
_MarkForUpload: True
dmi.bios.date: 09/25/2015
dmi.bios.vendor: Insyde Corp.
dmi.bios.version: V1.02
dmi.board.asset.tag: No Asset Tag
dmi.board.name: Aspire VN7-792G
dmi.board.vendor: Acer
dmi.board.version: V1.02
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: Acer
dmi.chassis.version: V1.02
dmi.modalias: dmi:bvnInsydeCorp.:bvrV1.02:bd09/25/2015:svnAcer:pnAspireVN7-792G:pvrV1.02:rvnAcer:rnAspireVN7-792G:rvrV1.02:cvnAcer:ct10:cvrV1.02:
dmi.product.name: Aspire VN7-792G
dmi.product.version: V1.02
dmi.sys.vendor: Acer

Revision history for this message
Dennis Marttinen (technowelho) wrote : AlsaInfo.txt

apport information

tags: added: apport-collected xenial
description: updated
Revision history for this message
Dennis Marttinen (technowelho) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Dennis Marttinen (technowelho) wrote : JournalErrors.txt

apport information

Revision history for this message
Dennis Marttinen (technowelho) wrote : ProcEnviron.txt

apport information

Revision history for this message
Dennis Marttinen (technowelho) wrote : PulseList.txt

apport information

Revision history for this message
Raymond (superquad-vortex2) wrote : Re: Alsa not detecting internal microphone [ALC255]
Changed in alsa-driver (Ubuntu):
status: New → Confirmed
Revision history for this message
Dennis Marttinen (technowelho) wrote :

@Raymond (superquad-vortex2)

I don't think the jack is a multifuntion one, but even if it is, plugging the external microphone in or out doesn't change anything. The computer has a separate headphone/SPDIF jack next to the microphone input.

Revision history for this message
Goacid (goacid) wrote :

same issue

Revision history for this message
Raymond (superquad-vortex2) wrote :

Internal mic usually at node 0x12

Try hdajackretask to change pin default to internal mic

Node 0x12 [Pin Complex] wcaps 0x40040b: Stereo Amp-In
Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
Amp-In vals: [0x00 0x00]
Pincap 0x00000020: IN
Pin Default 0x411111c0: [N/A] Speaker at Ext Rear Conn = 1/8, Color = Black DefAssociation = 0xc, Sequence = 0x0 Misc = NO_PRESENCE
Pin-ctls: 0x00:
Power states: D0 D1 D2 D3 EPSS
Power: setting=D3, actual=D3

Revision history for this message
Raymond (superquad-vortex2) wrote :

3.047505] snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC255: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
[ 3.047508] snd_hda_codec_realtek hdaudioC0D0: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[ 3.047510] snd_hda_codec_realtek hdaudioC0D0: hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
[ 3.047511] snd_hda_codec_realtek hdaudioC0D0: mono: mono_out=0x0
[ 3.047512] snd_hda_codec_realtek hdaudioC0D0: dig-out=0x1e/0x0
[ 3.047512] snd_hda_codec_realtek hdaudioC0D0: inputs:
[ 3.047514] snd_hda_codec_realtek hdaudioC0D0: Mic=0x1a

Revision history for this message
Dennis Marttinen (technowelho) wrote :

Hi Raymond,

switching to internal mic on node 0x12 doesn't work, the channel only has white noise (the sound you hear from an untuned radio). I'm now going to go through all the unconnected pins in hdajackretask to see if one of them works.

/Dennis

Revision history for this message
Dennis Marttinen (technowelho) wrote :

I've now gone through all the nodes (even unconnected ones) where any kind of input source was possible and set them to internal mic one after another, put on a boot override and rebooted every time. Some pins have white noise, others nothing at all.

If this helps, on the side of Windows, device manager reports there to be an "Intel Smart Sound Technology" device on which the "Realtek High Definition Audio" device and the "Microphone Array" are located.

I think this means, that the microphone isn't connected to the Realtek codec at all, but directly to the mysterious "Intel Smart Sound Technology" device. Even the Realtek HD Audio Manager sees only the external microphone jack and doesn't know about the internal one.

/Dennis

Changed in alsa-driver (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Raymond (superquad-vortex2) wrote :
Revision history for this message
Barry Lagerweij (blagerweij) wrote :

I have the same problem with this laptop. Audio works fine, mic does not (15.10). I've stumbled upon this link: https://bbs.archlinux.org/viewtopic.php?id=179912 , where that user assigned port 0x19 for the microphone...

Please provide updates here if you get it working.
Also, is there any benefit in running 16.04 with this laptop?

Barry

Revision history for this message
Raymond (superquad-vortex2) wrote :

Node 0x19 is the headset mic in those dell laptop with alc255

Revision history for this message
Barry Lagerweij (blagerweij) wrote :

The Acer laptop has 2 seperate jacks: one for mic input, one for headset output (combined with spdif output).

The Dell laptop has probably one jack for headset/mic combined? My guess is that the mapping will be different. Also, looking at https://github.com/torvalds/linux/commits/master/sound/pci/hda/patch_realtek.c, it looks like there are many 'quirks' to get things working.

Does anyone know if it's possible to use one of the two ports as a combined mic/headset jack?

Barry

Revision history for this message
Raymond (superquad-vortex2) wrote :

how do you test the internal mic ( recording using stereo or mono) ?

are the left and right channels out of phase ?

https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/log/sound/pci/hda/patch_realtek.c?qt=grep&q=alc255

Revision history for this message
Dennis Marttinen (technowelho) wrote :

Barry,

1. There is no real benefit of 16.04, as it now has an older kernel (4.3) than is available for wily (4.4). It once had better Intel HD graphics support, but now the support has landed in 15.10. I'm now running Ubuntu 15.10 too.

2. I've already tried node 0x19 for the internal microphone, but it doesn't work (either I hear nothing or just plain white noise).

3. I'm not sure about the combined mic/headset jack. If they would have integrated one in this PC, why would there then be a separate microphone jack?

Raymond, I tested the internal mic using both sound recorder and cheese and tried the stereo channels separately and together (using pavucontrol) while going through the nodes in hdajackretask. You have a point with the phasing, I might go through the nodes again just to make sure, as I might have forgotten to try the channels separately on some nodes :)

Revision history for this message
Dennis Marttinen (technowelho) wrote :

I've gone through the nodes, now making sure to test each channel separately, but still nothing. Anything else we could try? I'm pretty sure the microphone is not in the Realtec ALC255 protocol, but still connected to the Intel sound card.

Revision history for this message
Raymond (superquad-vortex2) wrote :
Revision history for this message
Dennis Marttinen (technowelho) wrote :

I see, if support has been added, can I enable/try it somehow?

Revision history for this message
Raymond (superquad-vortex2) wrote :

You have to find out which chip is used by windows driver

https://bugzilla.kernel.org/show_bug.cgi?id=83851

Revision history for this message
Raymond (superquad-vortex2) wrote :
Revision history for this message
Piotr Misiak (piotr-misiak) wrote :

I have the same laptop Acer VN7-592G and the same problem. The laptop has only one jack for headphones and microphone all in one. Have you resolve the issue?

Revision history for this message
Goacid (goacid) wrote :

I don't ;(

Revision history for this message
Raymond (superquad-vortex2) wrote :
Revision history for this message
Dennis Marttinen (technowelho) wrote :

The suggested fix in Raymond's post #26 doesn't work. This computer has no combined audio port (now tested), and enabling dell-headset-multi disables the separate external microphone port as well. Internal microphone still not recognized.

Revision history for this message
Raymond (superquad-vortex2) wrote :

If only internal mic is missing , hp, internal speaker and mic jack work as expected, you need to retask the remaining unconnected pin complex with pincap IN one by one, set as bopt defaul and reboot to test the internmal mic

Revision history for this message
Piotr Misiak (piotr-misiak) wrote :

The suggested fix in Raymond's post #26 works for me. Microphone from headset works now. Thanks! My computer has one jack.
The build-in microphone still does not work. I'll try to test other pins as Raymond suggests in the #28 post.

Revision history for this message
Piotr Misiak (piotr-misiak) wrote :

I tried different pins assignment configurations without any success. I didn't manage to enable the internal microphone.

Revision history for this message
Goacid (goacid) wrote :

The suggested fix in Raymond's post #26 doesn't work.
My laptop is a HP, not a Dell, so that pretty normal

1 comments hidden view all 104 comments
Revision history for this message
Raymond (superquad-vortex2) wrote :

You have to open another report if your laptop are not acer aspire

summary: - Alsa not detecting internal microphone [ALC255]
+ Alsa not detecting internal microphone [ALC255]Acer Aspire VN7-792G
Revision history for this message
Dennis Marttinen (technowelho) wrote : Re: Alsa not detecting internal microphone [ALC255]Acer Aspire VN7-792G

This bug does at least affect all the Acer Aspire V Nitro series laptops. Basically it affects every system, which has a Realtek ALC255 sound card and the internal microphone not directly connected to it hardware wise. Once more, I have the Acer Aspire VN7-792G and the suggestion in post #26 can't get the internal microphone working.

summary: - Alsa not detecting internal microphone [ALC255]Acer Aspire VN7-792G
+ Alsa not detecting internal microphone [ALC255]
summary: - Alsa not detecting internal microphone [ALC255]
+ Alsa not detecting internal microphone [ALC255] (Realtek)
Revision history for this message
dzordz (dzordz-bob) wrote :

This is the same for me. I have Acer Aspire V nitro VN7-592G. I have only one input for mic and headphones and this is not working well. I have ubuntu 15, kernel 4.4.0-040400-generic installed and latest firmware instaled

Revision history for this message
Raymond (superquad-vortex2) wrote :

https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/?id=9a22a8f558d09a83965d2bbe168294eb8ffb70e9

Alc255 support multi function jack, do your laptop support headphone, headset or mic by the combo jack

Revision history for this message
Chris Allen (callen92) wrote :

Same issue here. I have an Asus X540LA laptop with the same chipset and the headset mic doesn't work.

[ 1.576056] snd_hda_intel 0000:00:03.0: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[ 1.612215] snd_hda_codec_realtek hdaudioC1D0: autoconfig for ALC255: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
[ 1.612220] snd_hda_codec_realtek hdaudioC1D0: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[ 1.612224] snd_hda_codec_realtek hdaudioC1D0: hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
[ 1.612226] snd_hda_codec_realtek hdaudioC1D0: mono: mono_out=0x0
[ 1.612228] snd_hda_codec_realtek hdaudioC1D0: inputs:
[ 1.612231] snd_hda_codec_realtek hdaudioC1D0: Mic=0x1b

Raman (r-mialik)
no longer affects: alsa-driver
Revision history for this message
Robert (8-onfo-q) wrote :

Is there a solution yet? Have the same problem, no internal mic with ubuntu 16.04 LTS and vn7-592g-757f.

Revision history for this message
mr.Amidyshka (mr-amidyshka) wrote :

hey, anybody, how to fix it ?

Revision history for this message
DarKy (darky-geezard) wrote :

Dear developers, please, give us a hint when this issue will be solved?
There is no workaround and no assigned person. I understand that you have much more important issues at hand but at least some time frame would be useful for us, users.

Thanks in advance.

24 comments hidden view all 104 comments
Revision history for this message
Philippe reynaud (philippe-reynaud) wrote :

Same problem on Acer Swift5 also having Realtek ALC255 and ubuntu 18.04.

Revision history for this message
Allan (aileanr) wrote :

Same problem here with Acer Aspire VN7-792G and ALC255. Internal mic not detected and hdajackretask not working.

This model also has a separate mic-jack and a headphone-jack and an internal mic. The internal mic isn't detected and not working.

Revision history for this message
dharman (dharman) wrote :

I've the same problem using an Acer Swift 5 Pro equipped with a Realtek ALC255 and KDE Neon with kernel 4.15.0-34.

Revision history for this message
Kreaninw (95kreaninw95) wrote :

I've the same problem using an Acer Swift SF514-52T with a Realtek ALC255 on Ubuntu 19.04. Internal mic not detected.

Revision history for this message
Sturla Hansen (sturlah) wrote :

Same problem on Thinkpad T470s with 19.04.
Is this a problem on other distros too?
I need my microphone to work...

Revision history for this message
Hui Wang (hui.wang) wrote :

Please upload the alsa-info.txt generated on your machine.

$alsa-info --no-upload
then upload the generated alsa-info.txt from /tmp/alsa-info.txt.xxxx

Revision history for this message
Kreaninw (95kreaninw95) wrote :

Hi, @Hui Wang

Revision history for this message
Hui Wang (hui.wang) wrote :

@Kreaninw,

please test this dkms, to install this dkms:

sudo dpkg -i oem-audio-hda-daily-dkms_0.1_all.deb
reboot
#test if the internal mic works or not, if not, please also upload an alsa-info.txt

to remove the dkms:
sudo dpkg -r oem-audio-hda-daily-dkms
reboot

Revision history for this message
Kreaninw (95kreaninw95) wrote :

@Hui Wang

My internal mic still doesn't work. Here is my alsa-info.txt.

Revision history for this message
Hui Wang (hui.wang) wrote :

According to the alsa-info.txt in the #73, the fix in the dkms of #72 doesn't apply to your machine.

Did you install the dkms of #72 successfully?

please run 'dkms status' to check if oem-audio-hda-daily-dkm is installed or not.

Revision history for this message
Kreaninw (95kreaninw95) wrote :
Download full text (5.3 KiB)

@Hui Wang

Last time, I installed the file by double click it, as I see it's a .deb file. The installation process went with no issue at all.

Now this time, I am trying to install the file via terminal. But it never finish the building, as shown my terminal like this...

(Reading database ... 161794 files and directories currently installed.)
Preparing to unpack oem-audio-hda-daily-dkms_0.1_all.deb ...

-------- Uninstall Beginning --------
Module: oem-audio-hda-daily
Version: 0.1
Kernel: 5.0.0-24-generic (x86_64)
-------------------------------------

Status: Before uninstall, this module version was ACTIVE on this kernel.

snd-hda-codec-ca0132.ko:
 - Uninstallation
   - Deleting from: /lib/modules/5.0.0-24-generic/
rmdir: failed to remove '': No such file or directory
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.

snd-hda-codec-realtek.ko:
 - Uninstallation
   - Deleting from: /lib/modules/5.0.0-24-generic/
rmdir: failed to remove '': No such file or directory
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.

snd-hda-codec-ca0110.ko:
 - Uninstallation
   - Deleting from: /lib/modules/5.0.0-24-generic/
rmdir: failed to remove '': No such file or directory
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.

snd-hda-codec-si3054.ko:
 - Uninstallation
   - Deleting from: /lib/modules/5.0.0-24-generic/
rmdir: failed to remove '': No such file or directory
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.

snd-hda-codec-idt.ko:
 - Uninstallation
   - Deleting from: /lib/modules/5.0.0-24-generic/
rmdir: failed to remove '': No such file or directory
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.

snd-hda-codec-analog.ko:
 - Uninstallation
   - Deleting from: /lib/modules/5.0.0-24-generic/
rmdir: failed to remove '': No such file or directory
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.

snd-hda-codec.ko:
 - Uninstallation
   - Deleting from: /lib/modules/5.0.0-24-generic/
rmdir: failed to remove '': No such file or directory
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.

snd-hda-intel.ko:
 - Uninstallation
   - Deleting from: /lib/modules/5.0.0-24-generic/
rmdir: failed to remove '': No such file or directory
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.

snd-hda-codec-cmedia.ko:
 - Uninstallation
   - Deleting from: /lib/modules/5.0.0-24-generic...

Read more...

Revision history for this message
Hui Wang (hui.wang) wrote :

please install headers first:

sudo apt install linux-headers-5.0.0-24
sudo apt install linux-headers-5.0.0-24-generic

Then install the dkms.

tags: removed: wily
Revision history for this message
Kreaninw (95kreaninw95) wrote :

@Hui Wang

Thanks, here is my new alsa-info.txt. Unfortunately, my internal mic still doesn't work.

Revision history for this message
Hui Wang (hui.wang) wrote :

According to #27, the deb was not installed too, let me build a kernel, then you could test the kernel instead of this deb.

Revision history for this message
Hui Wang (hui.wang) wrote :
Revision history for this message
Kreaninw (95kreaninw95) wrote :

@Hui Wang

Are you sure that it wasn't installed? As you can see in my attached screenshot, I'm using your oem-audio-hda-daily-dkms.

And I can't install an unsigned kernel too, as I'm using UEFI laptop, it won't let me install the unsigned kernel.

Revision history for this message
Hui Wang (hui.wang) wrote :

To check, please upload the output of the command as below:

ls /lib/modules/`uname -r`/updates/dkms

Revision history for this message
Kreaninw (95kreaninw95) wrote :

@Hui Wang

This is my output of the command above.

Revision history for this message
Hui Wang (hui.wang) wrote :

According to #82, that deb was not installed successfully.

This is probably because you enabled secure boot in the BIOS or boot the signed kernel. Could you change to use the unsigned kernel (#79), maybe disable the secure boot in the BIOS, then you could load the unsigned kernel.

Revision history for this message
kioftes (thstyl2000) wrote :

This also affects the current ubuntu version (dingo). Is there a patch in some newer kernel? Many people have to work remotely nowadays, so it may be reasonable to mark this bug with higher priority?

Revision history for this message
kioftes (thstyl2000) wrote :

@Hui Wang
Is it possible to have the dkms driver as a workaround also for other kernel versions?

Revision history for this message
bastianh (hoenscheid) wrote : Re: [Bug 1523100] Re: Alsa not detecting internal microphone [ALC255] (Realtek)

My workaround for homeoffice work ist an external microphone (via USB) :-(

Am 31.03.2020 um 08:23 schrieb kioftes:
> This also affects the current ubuntu version (dingo). Is there a patch
> in some newer kernel? Many people have to work remotely nowadays, so it
> may be reasonable to mark this bug with higher priority?
>

Revision history for this message
sahil (katarias) wrote :

I have Dell Inspiron 5591 and installed Ubuntu 18.04.
Internal Mic not working. I have tried to add jack 0x12 but it has only white noise.
Also added 'options snd-hda-intel model=dell-headset-multi' in also configuration but no luck.
If anyone get to resolve this please share your findings.

Revision history for this message
Gordon Lack (gordon-lack) wrote :

I had a problem with a *missing* internal microphone today (well, I spotted it today - probably been like this for ages...).
Note that this was PulseAudio saying that there were no input devices.

The problem (as I eventually spotted) was that I'd set the Profile to be Analgue Stereo Output (under Configuration in PA Volume Control).

Setting this to Analogue Stereo Duplex made the internal mic show up.

Might not be the problem for most people, but you never know.
I did notice that if I plugged in an *external* mic the Profile switched to Duplex automatically.

Revision history for this message
Dominik (dominik59) wrote :

It also affects Linux Mint 19.3.
I had problems with audio also, so i had to add two lines:

echo "options snd-hda-intel dmic_detect=0" | sudo tee -a /etc/modprobe.d/alsa-base.conf
echo "blacklist snd_soc_skl" | sudo tee -a /etc/modprobe.d/blacklist.conf

After executing these two commands audio is present again but still no success with internal microphone. Fortunately i have detachable microphone in my Creative Fatality headphones so after i have inserted this microphone in microphone socket, microphone has appeared inside pavucontrol and i am now able to record voice using this site: https://online-voice-recorder.com/pl/ for example.

I have noticed that there are more discussions about this problem:
- https://online-voice-recorder.com/pl/
- https://github.com/thesofproject/linux/issues/1877

P.S. I have also tried to manually remap pins using: hdajackretask but with no success.

Revision history for this message
Douglas (douglas-rauber) wrote :

I have Acer Aspire E5-573G-72UF, i have tested in Linux Mint 19.3 and Ubuntu 20.04, and headset mic not woking.

Internal mic is ok, but i need headset for better talk.

Thanks

Revision history for this message
LEE YUBI (eubnara) wrote :

I have Acer swift 3 SF314-42, I have tested on Kubuntu 20.04.
Internal microphone doesn't work.
I upgraded kernel to 5.7.7 but still doesn't work.
Thanks

Revision history for this message
LEE YUBI (eubnara) wrote :

Oh, I upgraded kernel to 5.8.0 and it works!

Revision history for this message
JackyOhh (sewal) wrote :

still no internal mic with kernel 5.8. tried different models without luck.

@LEE YUBI please post your settings.

cat /proc/asound/card0/codec* | grep Codec
and
dmesg| grep snd

Revision history for this message
Kreaninw (95kreaninw95) wrote :

I'm using Acer Swift SF514-52T (Intel 8th Gen Core i5) on Ubuntu 20.10 - Linux kernel 5.8.

The default configuration has no sound working at all. I believe it uses the SOF driver (I could be wrong) which doesn't support the Kaby Lake platform, as the issues for supporting this platform have been closed ( https://github.com/thesofproject/sof/issues/1899 ). And the proposed workaround to support this platform have been discarded also ( https://github.com/thesofproject/sof/issues/2256 ). Therefore installing the latest version or any version of the SOF driver will not solve the issue.

Force enable the HDA driver (snd_hda_intel) in /etc/modprobe.d/alsa-base.conf with options snd-intel-dspcfg dsp_driver=1, the sound output works fine but the internal mic (DMIC) doesn't work. And I believe we're moving to the SOF driver which doesn't support my device. Therefore I don't expect any fix will be done in HDA driver.

I tried to use Intel's SST driver as it's the only solution left. I enabled it with options snd-intel-dspcfg dsp_driver=2 but both the sound output and the internal mic (DMIC) don't work.

I also report this bug in https://bugzilla.kernel.org/show_bug.cgi?id=201251

Here is my alsa-info (with options snd-intel-dspcfg dsp_driver=2): http://alsa-project.org/db/?f=db024ae3c924d318bda813f73c73e76df36bbca2

I attached my full dmesg also.

Revision history for this message
DDD (3ddd) wrote :

i have also Problems with my internal MIC on HP x360 1040:
https://bugzilla.kernel.org/show_bug.cgi?id=201251#c231

Revision history for this message
Julien S (julianosag) wrote :

Same problem here, with a Acer Swift 314-42.
Hdajackretask does not work for me.
:/

Revision history for this message
Kreaninw (95kreaninw95) wrote :

Tried this again on Ubuntu 21.04. There is still no sound out of the box.

I then compiled the alsa-topology-conf as suggested here: https://gist.github.com/crojewsk/4e6382bfb0dbfaaf60513174211f29cb#enabling-the-configuration

And enabled the options snd_intel_dspcfg dsp_driver=2.

But still no luck. I believe that I will have to do the NHLT overriding for it to work. However, that's beyond my ability. The page suggested that we should ask Intel developers for help to obtain the correct NHLT binary.

Revision history for this message
Kreaninw (95kreaninw95) wrote :

Acer Swift SF514-52T here, this is fixed in Ubuntu 21.10.

Revision history for this message
JackyOhh (sewal) wrote :

No luck here. I booted a fresh Ubuntu 21.10 from USB. Although internal mic showed up, no sound was recognized on Acer Aspire VN7-592G.
@Kreaninw Did you change anything in /etc/modprobe.d/alsa-base.conf or elsewhere?

Revision history for this message
dharman (dharman) wrote :

@Kreaninw, I've your same device but as @JackyOhh, I've tried a fresh USB-Live 21.10 without sound nor mic working. Can you say us how it worked for you? Thanks!

Revision history for this message
Kreaninw (95kreaninw95) wrote :

@JackyOhh and @dharman

I didn't do anything at all. It just works out of the box for me. However, you might try to increase the mic volume with PulseAudio Volume Control.

And now, I have another problem (which I had never tested it before), there is no audio output through HDMI. I reported the bug here: https://bugzilla.kernel.org/show_bug.cgi?id=214923

Revision history for this message
Anuj Upadhyay (anuj97) wrote :
Download full text (4.7 KiB)

Hi,

I tried setting options snd-hda-
  intel model=alc255-acer, and it worked for me after a reboot.

Let me know if it works for anyone else

On Sat, 22 May, 2021, 13:09 Kreaninw, <email address hidden> wrote:

> Tried this again on Ubuntu 21.04. There is still no sound out of the
> box.
>
> I then compiled the alsa-topology-conf as suggested here:
> https://gist.github.com/crojewsk/4e6382bfb0dbfaaf60513174211f29cb
> #enabling-the-configuration
> <https://gist.github.com/crojewsk/4e6382bfb0dbfaaf60513174211f29cb#enabling-the-configuration>
>
> And enabled the options snd_intel_dspcfg dsp_driver=2.
>
> But still no luck. I believe that I will have to do the NHLT overriding
> for it to work. However, that's beyond my ability. The page suggested
> that we should ask Intel developers for help to obtain the correct NHLT
> binary.
>
> --
> You received this bug notification because you are subscribed to a
> duplicate bug report (1789154).
> https://bugs.launchpad.net/bugs/1523100
>
> Title:
> Alsa not detecting internal microphone [ALC255] (Realtek)
>
> Status in alsa-driver package in Ubuntu:
> Confirmed
>
> Bug description:
> I've just installed Ubuntu 16.04 alongside Windows 10 on a 64bit Acer
> Aspire VN7-792G and noticed, that the internal microphone doesn't
> work. The computer has been released a couple of months ago and it's
> Intel Skylake -based with a Sunrise Point -based motherboard.
>
> INFO: The problem exists in Ubuntu 15.10 too, only microphone jack
> detected. Currently using Ubuntu 16.04 for proper hardware support.
>
> Alsa reports the audio device to be:
>
> Card: HDA Intel PCH
> Chip: Intel Skylake HDMI
>
> The speakers are working fine, but both alsamixer and pavucontrol
> (Pulseaudio Volume Control) raport the unplugged external microphone
> connector as the only sound input.
>
> I have tried many of the alsa model configurations (options snd-hda-
> intel model=something) without success, alsa finds only the microphone
> jack, which works fine when I plug an external microphone in it.
>
> Here's some info:
>
> lspci | grep -I audio:
>
> 00:1f.3 Multimedia audio controller: Intel Corporation Sunrise Point-H
> HD Audio (rev 31)
>
> cat /proc/asound/cards:
>
> 0 [PCH ]: HDA-Intel - HDA Intel PCH
> HDA Intel PCH at 0x84320000 irq 128
>
> And a clip from dmesg | grep snd:
>
> [ 3.019164] snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops
> i915_audio_component_bind_ops [i915])
> [ 3.047505] snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC255:
> line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
> [ 3.047508] snd_hda_codec_realtek hdaudioC0D0: speaker_outs=0
> (0x0/0x0/0x0/0x0/0x0)
> [ 3.047510] snd_hda_codec_realtek hdaudioC0D0: hp_outs=1
> (0x21/0x0/0x0/0x0/0x0)
> [ 3.047511] snd_hda_codec_realtek hdaudioC0D0: mono: mono_out=0x0
> [ 3.047512] snd_hda_codec_realtek hdaudioC0D0: dig-out=0x1e/0x0
> [ 3.047512] snd_hda_codec_realtek hdaudioC0D0: inputs:
> [ 3.047514] snd_hda_codec_realtek hdaudioC0D0: Mic=0x1a
>
> One problem is that I can't find any model options (options s...

Read more...

Revision history for this message
JackyOhh (sewal) wrote :

Still no luck. Tried it on Arch and fresh Ubuntu. Checked settings and volume level. There is still no input signal on internal mic. :(

Revision history for this message
Kreaninw (95kreaninw95) wrote :

@JackyOhh

This issue is supposed to be fixed in kernel issue #201251. If it doesn't fix the issue in your device, you should reopen the issue there:

https://bugzilla.kernel.org/show_bug.cgi?id=201251

Displaying first 40 and last 40 comments. View all 104 comments or add a comment.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.