Alsa not detecting internal microphone [ALC255] (Realtek)

Bug #1523100 reported by Dennis Marttinen on 2015-12-05
212
This bug affects 39 people
Affects Status Importance Assigned to Milestone
alsa-driver (Ubuntu)
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

apport information

tags: added: apport-collected xenial
description: updated

apport information

apport information

apport information

apport information

Changed in alsa-driver (Ubuntu):
status: New → Confirmed
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.

Goacid (goacid) wrote :

same issue

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

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

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

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
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

Raymond (superquad-vortex2) wrote :

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

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

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

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 :)

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.

Dennis Marttinen (technowelho) wrote :

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

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

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?

Goacid (goacid) wrote :

I don't ;(

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.

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

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.

Piotr Misiak (piotr-misiak) wrote :

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

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

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

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)
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

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

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) on 2016-05-30
no longer affects: alsa-driver
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.

mr.Amidyshka (mr-amidyshka) wrote :

hey, anybody, how to fix it ?

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.

PvZ (zuijlen) wrote :

This bug also infects me on my Acer Aspire VN7 592G 76DD
Additional info for other people:
Although this does not solve the 'internal mic' problem, post below comment #4 solves my 'headset mic and speaker does not work' problem:
https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/1420988

HENRY Florian (bientotlaferme) wrote :

This bug also infects me on my Acer Aspire VN7 592G 55UA

This bug also appears to affect my acer aspire VN7 792G. I am unable to use the internal stereo microphones, for skype for example, and they are not shown on the input tab of the sound section of the system settings. Please notify me when there is a fix to this bug.

  // , [XPS L521X, Realtek ALC3260, Headphone Out] No sound from the headphone jack, ever.

ntvf (ntvf) wrote :

I also can't get mic work on my Acer Aspire VN7-592G with ALC255.
Microphone are visible with some options for snd-hda-intel (such as laptop-amic, laptop-amic, dell-headset-multi), but it record just a white noise.

Patrick Monnerat (monnerat) wrote :

I'm the proud owner of a Acer Aspire VN7-792G Nitro and I'm encountering the same internal microphone problem.
I've carefully read all the posts above and I focused on the link in comment #13.
One thing seems to me pretty sure: snd_soc_skl won't detect hardware on the above mentioned machine because the later has Intel SST named "Sunrise Point-H" (ID: 8086:A170), which is not supported by the snd_soc_skl driver (only Sunrise Point-LP 8086:9D70 is listed). I'm pretty convinced an entry for Sunrise Point-H must be added to skylake/skl.c.
I've tried locally updating as above: the snd_soc_skl driver then recognizes the device. However this is not sufficient: there are probably additional things to do to make it work... or maybe this is a conflict with snd_hda_intel ??? This is out of my current knowledge.
I hope this helps.

Ezekiel (ezekiel1998) wrote :

any fix for this problem?

saiya (saiya) wrote :

Same issue, no microphone detected on Acer VN7-792G - Ubuntu 16.10. I tried the options given above and it still doesn't work.

Ezekiel (ezekiel1998) wrote :

please somebody help to solve this problem....

Fnx (td-safemail-tmp) wrote :

Same issue her with an Acer VN7-572G:
Card: HDA Intel PCH F1: │ Chip: Realtek ALC255

lspci | grep -I audio
00:1f.3 Multimedia audio controller: Intel Corporation Sunrise Point-LP HD Audio (rev 21)

cat /proc/asound/cards
 0 [PCH ]: HDA-Intel - HDA Intel PCH
                      HDA Intel PCH at 0xa4320000 irq 135

Macki4U (macki4u) wrote :

For me the same error: the internal microphone is not recognized. I have an Acer Aspire VN7-572G-56VP with ALS255.

An external headset works when I write in the file: '/etc/modprobe.d/alsa-base.conf' the following entries:
'options snd-hda-intel model = dell-headset-multi'

alfredo (alacis) wrote :

I have a Toshiba Satellite Pro, and it has same problem: white noise for internal microphone.

> uname -a
Linux DarkEnergy 4.4.0-59-generic #80-Ubuntu SMP Fri Jan 6 17:47:47 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

> lspci|grep -i aud
00:1b.0 Audio device: Intel Corporation 7 Series/C210 Series Chipset Family High Definition Audio Controller (rev 04)

Raman (r-mialik) wrote :

I have the same problem. My laptop is Acer Aspire VN7-592G. Internal microphone isn't detected. For external microphone the same problem is reproduced.
At this moment I use usb headset and it works fine.

JOB (eyob-fitwi) wrote :

Laptop model Acer Aspire VN7-792G. My internal mic doesn't work too.

Denys Vitali (denys-u) wrote :

Same problem here, Acer Aspire VN7-792G

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

dvitali@denvit-ws1:~ $ aplay -L -1-
null
    Discard all samples (playback) or generate zero samples (capture)
pulse
    PulseAudio Sound Server
sysdefault:CARD=PCH
    HDA Intel PCH, ALC255 Analog
    Default Audio Device
front:CARD=PCH,DEV=0
    HDA Intel PCH, ALC255 Analog
    Front speakers
surround21:CARD=PCH,DEV=0
    HDA Intel PCH, ALC255 Analog
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=PCH,DEV=0
    HDA Intel PCH, ALC255 Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=PCH,DEV=0
    HDA Intel PCH, ALC255 Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=PCH,DEV=0
    HDA Intel PCH, ALC255 Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=PCH,DEV=0
    HDA Intel PCH, ALC255 Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=PCH,DEV=0
    HDA Intel PCH, ALC255 Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=PCH,DEV=0
    HDA Intel PCH, ALC255 Digital
    IEC958 (S/PDIF) Digital Audio Output
hdmi:CARD=PCH,DEV=0
    HDA Intel PCH, HDMI 0
    HDMI Audio Output
hdmi:CARD=PCH,DEV=1
    HDA Intel PCH, HDMI 1
    HDMI Audio Output
hdmi:CARD=PCH,DEV=2
    HDA Intel PCH, HDMI 2
    HDMI Audio Output

------
Linux denvit-ws1 4.10.3-1-ARCH #1 SMP PREEMPT Wed Mar 15 09:17:17 CET 2017 x86_64 GNU/Linux
------
dvitali@denvit-ws1:~ $ cat /proc/asound/cards -1-
 0 [PCH ]: HDA-Intel - HDA Intel PCH
                      HDA Intel PCH at 0x84320000 irq 129
-----
pacman -Q | grep ^alsa
alsa-lib 1.1.3-1
alsa-plugins 1.1.1-1
alsa-utils 1.1.3-2
alsaequal 0.6-16

Nikolai Ivanov (mraiur) wrote :

Also after a fresh install with Ubuntu Gnome 17.04 my Acer VN7-972G still no internal microphone. External works fine.

Jeff Shee (jeffshee8969) wrote :

Same problem here. My laptop is Acer Aspire VN7-572G.
Still don't have any fix for this? Almost 2 years since the bug been reported...

ntvf (ntvf) wrote :

I have also reported this bug on kernel.org https://bugzilla.kernel.org/show_bug.cgi?id=196997

Stefan Tsanev (tsmaster) wrote :

I hope this bug will have a fix sometimes near future. The internal mic does not work on Aspire VN7-792G

  // , Still a problem on 16.04 xenial.

$ lspci | grep -i audio
00:1b.0 Audio device: Intel Corporation 7 Series/C210 Series Chipset Family High Definition Audio Controller (rev 04)
01:00.1 Audio device: NVIDIA Corporation GK107 HDMI Audio Controller (rev a1)

  // , The HDMI Audio Controller has no problems

  // , See https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/1622844 for a workaround using the alsamixer command.

Same problem on Acer Aspire VN7-572G.
Seem like this won't fix forever :(

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

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.

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.

To post a comment you must log in.
This report contains Public information  Edit
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.