You are not logged in.

#1 2017-04-11 18:56:47

mrnuts13
Member
Registered: 2017-04-11
Posts: 6

External headset microphone isn't recognized on ASUS x550v laptop

Hey, guys! I've got the issue and I'm out of ideas. My laptop has "combo" TRRS jack and when I attach headset pulseaudio does automatically switch to headphones in output devices ( port headphones plugged in) and doesn't even recognize external microphone in input devices.

More info about the OS and audio hardware:

  • 4.10.8-1-ARCH

  • KDE5

  • ALSA: driver: snd_hda_intel

  • Codec: Realtek ALC270

Steps were taken:
1) created /etc/modprobe.d/alsa-base.conf and tried almost all possible models from the article below for options snd-hda-intel model parameter: http://lxr.linux.no/linux+v4.10.1/Docum … models.rst
2) tried to switch all unconnected pins with hdajackretask which provide anything related with 'microphone'. Clarification: even if an additional line in input devices occurs it says external microphone isn't connected and even internal mic stops working.

I guess there is huge lack of knowledge on my part, please help me smile

Last edited by mrnuts13 (2017-04-11 19:04:46)

Offline

#2 2017-04-11 22:57:25

tom.ty89
Member
Registered: 2012-11-15
Posts: 896

Re: External headset microphone isn't recognized on ASUS x550v laptop

paste the outputs of the following commands (in code tags):

pacmd list-sources
aplay -l

If you are able to identify the internal sound card (probably the only one or the one other than HDMI sound):

amixer -c N

where N is the number of the card. For this command, capture it twice with the headset plugged and unplugged.

P.S. aplay and amixer are utilities provided in the package alsa-utils, if you haven't got it yet:

pacman -S alsa-utils

Offline

#3 2017-04-12 06:05:34

mrnuts13
Member
Registered: 2017-04-11
Posts: 6

Re: External headset microphone isn't recognized on ASUS x550v laptop

pacmd list-sources
2 source(s) available.
    index: 0
        name: <alsa_output.pci-0000_00_1b.0.analog-stereo.monitor>
        driver: <module-alsa-card.c>
        flags: DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
        state: IDLE
        suspend cause: 
        priority: 1950
        volume: front-left: 48345 /  74% / -7.93 dB,   front-right: 48345 /  74% / -7.93 dB
                balance 0.00
        base volume: 65536 / 100% / 0.00 dB
        volume steps: 65537
        muted: no
        current latency: 0.00 ms
        max rewind: 375 KiB
        sample spec: s16le 2ch 48000Hz
        channel map: front-left,front-right
                     Stereo
        used by: 0
        linked by: 0
        configured latency: 2000.00 ms; range is 36.00 .. 2000.00 ms
        monitor_of: 0
        card: 0 <alsa_card.pci-0000_00_1b.0>
        module: 6
        properties:
                device.description = "Monitor of Built-in Audio Analog Stereo"
                device.class = "monitor"
                alsa.card = "0"
                alsa.card_name = "HDA Intel PCH"
                alsa.long_card_name = "HDA Intel PCH at 0xf7a10000 irq 30"
                alsa.driver_name = "snd_hda_intel"
                device.bus_path = "pci-0000:00:1b.0"
                sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card0"
                device.bus = "pci"
                device.vendor.id = "8086"
                device.vendor.name = "Intel Corporation"
                device.product.id = "1e20"
                device.product.name = "7 Series/C216 Chipset Family High Definition Audio Controller"
                device.form_factor = "internal"
                device.string = "0"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
  * index: 1
        name: <alsa_input.pci-0000_00_1b.0.analog-stereo>
        driver: <module-alsa-card.c>
        flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
        state: SUSPENDED
        suspend cause: IDLE 
        priority: 9959
        volume: front-left: 33688 /  51% / -17.34 dB,   front-right: 33688 /  51% / -17.34 dB
                balance 0.00
        base volume: 20724 /  32% / -30.00 dB
        volume steps: 65537
        muted: no
        current latency: 0.00 ms
        max rewind: 0 KiB
        sample spec: s16le 2ch 48000Hz
        channel map: front-left,front-right
                     Stereo
        used by: 0
        linked by: 0
        configured latency: 0.00 ms; range is 0.50 .. 2000.00 ms
        card: 0 <alsa_card.pci-0000_00_1b.0>
        module: 6
        properties:
                alsa.resolution_bits = "16"
                device.api = "alsa"
                device.class = "sound"
                alsa.class = "generic"
                alsa.subclass = "generic-mix"
                alsa.name = "ALC270 Analog"
                alsa.id = "ALC270 Analog"
                alsa.subdevice = "0"
                alsa.subdevice_name = "subdevice #0"
                alsa.device = "0"
                alsa.card = "0"
                alsa.card_name = "HDA Intel PCH"
                alsa.long_card_name = "HDA Intel PCH at 0xf7a10000 irq 30"
                alsa.driver_name = "snd_hda_intel"
                device.bus_path = "pci-0000:00:1b.0"
                sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card0"
                device.bus = "pci"
                device.vendor.id = "8086"
                device.vendor.name = "Intel Corporation"
                device.product.id = "1e20"
                device.product.name = "7 Series/C216 Chipset Family High Definition Audio Controller"
                device.form_factor = "internal"
                device.string = "front:0"
                device.buffering.buffer_size = "384000"
                device.buffering.fragment_size = "192000"
                device.access_mode = "mmap+timer"
                device.profile.name = "analog-stereo"
                device.profile.description = "Analog Stereo"
                device.description = "Built-in Audio Analog Stereo"
                alsa.mixer_name = "Realtek ALC270"
                alsa.components = "HDA:10ec0270,1043118f,00100100 HDA:80862806,80860101,00100000"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
        ports:
                analog-input-mic: Microphone (priority 8700, latency offset 0 usec, available: unknown)
                        properties:
                                device.icon_name = "audio-input-microphone"
        active port: <analog-input-mic>
aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC270 Analog [ALC270 Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

Headset plugged:

amixer -c 0
Simple mixer control 'Master',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 87
  Mono: Playback 74 [85%] [-9.75dB] [on]
Simple mixer control 'Headphone',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 87
  Mono:
  Front Left: Playback 87 [100%] [0.00dB] [on]
  Front Right: Playback 87 [100%] [0.00dB] [on]
Simple mixer control 'Speaker',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 87
  Mono:
  Front Left: Playback 0 [0%] [-65.25dB] [off]
  Front Right: Playback 0 [0%] [-65.25dB] [off]
Simple mixer control 'PCM',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 255
  Mono:
  Front Left: Playback 255 [100%] [0.00dB]
  Front Right: Playback 255 [100%] [0.00dB]
Simple mixer control 'Mic',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 10 [32%] [-19.50dB] [on]
  Front Right: Playback 10 [32%] [-19.50dB] [on]
Simple mixer control 'Mic Boost',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 2 [67%] [24.00dB]
  Front Right: 2 [67%] [24.00dB]
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 31
  Front Left: Capture 19 [61%] [12.00dB] [on]
  Front Right: Capture 19 [61%] [12.00dB] [on]
Simple mixer control 'Auto-Mute Mode',0
  Capabilities: enum
  Items: 'Disabled' 'Enabled'
  Item0: 'Enabled'
Simple mixer control 'Digital',0
  Capabilities: cvolume
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 120
  Front Left: Capture 60 [50%] [0.00dB]
  Front Right: Capture 60 [50%] [0.00dB]
Simple mixer control 'Loopback Mixing',0
  Capabilities: enum
  Items: 'Disabled' 'Enabled'
  Item0: 'Disabled'

Unplugged:

amixer -c 0
Simple mixer control 'Master',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 87
  Mono: Playback 55 [63%] [-24.00dB] [on]
Simple mixer control 'Headphone',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 87
  Mono:
  Front Left: Playback 0 [0%] [-65.25dB] [off]
  Front Right: Playback 0 [0%] [-65.25dB] [off]
Simple mixer control 'Speaker',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 87
  Mono:
  Front Left: Playback 87 [100%] [0.00dB] [on]
  Front Right: Playback 87 [100%] [0.00dB] [on]
Simple mixer control 'PCM',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 255
  Mono:
  Front Left: Playback 255 [100%] [0.00dB]
  Front Right: Playback 255 [100%] [0.00dB]
Simple mixer control 'Mic',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 10 [32%] [-19.50dB] [on]
  Front Right: Playback 10 [32%] [-19.50dB] [on]
Simple mixer control 'Mic Boost',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 2 [67%] [24.00dB]
  Front Right: 2 [67%] [24.00dB]
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 31
  Front Left: Capture 19 [61%] [12.00dB] [on]
  Front Right: Capture 19 [61%] [12.00dB] [on]
Simple mixer control 'Auto-Mute Mode',0
  Capabilities: enum
  Items: 'Disabled' 'Enabled'
  Item0: 'Enabled'
Simple mixer control 'Digital',0
  Capabilities: cvolume
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 120
  Front Left: Capture 60 [50%] [0.00dB]
  Front Right: Capture 60 [50%] [0.00dB]
Simple mixer control 'Loopback Mixing',0
  Capabilities: enum
  Items: 'Disabled' 'Enabled'
  Item0: 'Disabled'

Thanks for your time and help!

Last edited by mrnuts13 (2017-04-12 06:08:29)

Offline

#4 2017-04-12 06:49:13

tom.ty89
Member
Registered: 2012-11-15
Posts: 896

Re: External headset microphone isn't recognized on ASUS x550v laptop

Hmm, it seems that the no mic/capture control is changed when you plugged in the headset. If the internal mic will stop capturing sound when the headset is plugged in, it would seem to me the auto-switch is done with hardware wiring instead relying on the driver.

I do notice that the Mic volume is not high, maybe you should try

amixer -c 0 set Mic 31
amixer -c 0 set 'Mic Boost' 3
amixer -c 0 set Capture 31

Better remove the alsa-base.conf and reboot before trying. Not sure what hdajackretask is/does exactly.

Also:

pacmd set-source-volume 1 0x10000

You can also try these respectively in case there is some black magic:

amixer -c 0 set Mic on
amixer -c 0 set Capture off
amixer -c 0 set Mic off
amixer -c 0 set Capture on

Offline

#5 2017-04-13 06:56:42

mrnuts13
Member
Registered: 2017-04-11
Posts: 6

Re: External headset microphone isn't recognized on ASUS x550v laptop

tom.ty89 wrote:

Hmm, it seems that the no mic/capture control is changed when you plugged in the headset. If the internal mic will stop capturing sound when the headset is plugged in, it would seem to me the auto-switch is done with hardware wiring instead relying on the driver.


Thank you for your reply. Unfortunately, when the headset is plugged in the internal mic still works, that's why I created this forum thread smile

Regarding mic levels - I also tried that too. Playing with 'capture' channel makes no change: pulseaudio doesn't recognize external microphone being attached

Offline

#6 2017-04-13 08:23:21

tom.ty89
Member
Registered: 2012-11-15
Posts: 896

Re: External headset microphone isn't recognized on ASUS x550v laptop

...and even internal mic stops working

I guess I misunderstood this then.

If the internal mic keeps working when headset is plugged in, then maybe they actually work independently in terms of wiring. In that case you may want to try the different models again and see if any of them provides you with extra mic/capture control in amixer output (or any extra card profile and/or source ports in `pacmd list-cards` output), instead of checking if some auto-switch would occur.

Note that it's not pulseaudio's job to detect your headset, it's a matter of whether the ALSA driver expose controls appropriately for your device, and optionally provide some sort of auto-mute to emulate the effect of "auto-switch". Pulseaudio merely configures itself to adapt the to the changes when it noticed them in the ALSA controls.

Offline

#7 2017-04-15 16:41:03

mrnuts13
Member
Registered: 2017-04-11
Posts: 6

Re: External headset microphone isn't recognized on ASUS x550v laptop

tom.ty89 wrote:

...and even internal mic stops working

I guess I misunderstood this then.

If the internal mic keeps working when headset is plugged in, then maybe they actually work independently in terms of wiring. In that case you may want to try the different models again and see if any of them provides you with extra mic/capture control in amixer output (or any extra card profile and/or source ports in `pacmd list-cards` output), instead of checking if some auto-switch would occur.

Note that it's not pulseaudio's job to detect your headset, it's a matter of whether the ALSA driver expose controls appropriately for your device, and optionally provide some sort of auto-mute to emulate the effect of "auto-switch". Pulseaudio merely configures itself to adapt the to the changes when it noticed them in the ALSA controls.

Thanks, Tom. Unfortunately, all headsets which I've tried shown the same result.

Offline

#8 2017-04-19 10:28:01

mrnuts13
Member
Registered: 2017-04-11
Posts: 6

Re: External headset microphone isn't recognized on ASUS x550v laptop

bump!

Offline

#9 2017-04-19 14:41:13

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 16,762

Re: External headset microphone isn't recognized on ASUS x550v laptop


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Online

#10 2017-04-19 14:57:27

mrnuts13
Member
Registered: 2017-04-11
Posts: 6

Re: External headset microphone isn't recognized on ASUS x550v laptop


Oh, my bad. Sorry. Unfortunately, I do not have any updates on this sad

Offline

Board footer

Powered by FluxBB