You are not logged in.

#1 2020-08-26 17:17:49

ken_bourgouse
Member
Registered: 2020-08-26
Posts: 2

Microphone works in Audacity, arecord but not in Firefox, Mc Teams.

I've installed Arch with PulseAudio on a Lenovo ideapad 320 a few weeks ago.

All was perfect until I realized my microphone was not working on Microsoft Teams. Then I tested the microphone in Firefox. Only static noise, my voice was vaguely sounding. arecord? Errors. After studying the wiki and other threads, I made a lot of things that didn't work.

But when I installed Audacity and recorded with pulse instead of the other options, it worked very fine. So I installed the alsa configuration for PulseAudio and now arecord works fine in stereo, but the stereo channels cancel together when I'm recording mono. I tested microphone in Zoom. It works.

Nevertheless, when I tested it in Teams, it did not work. Same on Firefox.

I don't know yet how audio works in Linux, but I guess Teams and Firefox are not recieving input from PulseAudio, or they are trying to record in mono.

PACMD LIST-SOURCES

$ pacmd list-sources
3 source(s) available.
    index: 0
        name: <alsa_input.hw_1_0>
        driver: <module-alsa-source.c>
        flags: HARDWARE DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
        state: SUSPENDED
        suspend cause: IDLE
        priority: 9030
        volume: front-left: 30147 /  46% / -20,23 dB,   front-right: 30147 /  46% / -20,23 dB
                balance 0,00
        base volume: 65536 / 100% / 0,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
                     Estéreo
        used by: 0
        linked by: 1
        configured latency: 0,00 ms; range is 0,50 .. 2000,00 ms
        module: 5
        properties:
                alsa.resolution_bits = "16"
                device.api = "alsa"
                device.class = "sound"
                alsa.class = "generic"
                alsa.subclass = "generic-mix"
                alsa.name = "Generic Analog"
                alsa.id = "Generic Analog"
                alsa.subdevice = "0"
                alsa.subdevice_name = "subdevice #0"
                alsa.device = "0"
                alsa.card = "1"
                alsa.card_name = "HD-Audio Generic"
                alsa.long_card_name = "HD-Audio Generic at 0xf0e64000 irq 41"
                alsa.driver_name = "snd_hda_intel"
                device.bus_path = "pci-0000:00:09.2"
                sysfs.path = "/devices/pci0000:00/0000:00:09.2/sound/card1"
                device.bus = "pci"
                device.vendor.id = "1022"
                device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
                device.product.id = "157a"
                device.product.name = "Family 15h (Models 60h-6fh) Audio Controller"
                device.form_factor = "internal"
                device.string = "hw:1,0"
                device.buffering.buffer_size = "384000"
                device.buffering.fragment_size = "192000"
                device.access_mode = "mmap+timer"
                device.description = "Audio Interno"
                device.icon_name = "audio-input-microphone-pci"
    index: 2
        name: <alsa_output.pci-0000_00_09.2.analog-stereo.monitor>
        driver: <module-alsa-card.c>
        flags: DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
        state: SUSPENDED
        suspend cause: IDLE
        priority: 1030
        volume: front-left: 71198 / 109% / 2,16 dB,   front-right: 71198 / 109% / 2,16 dB
                balance 0,00
        base volume: 65536 / 100% / 0,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
                     Estéreo
        used by: 0
        linked by: 0
        configured latency: 0,00 ms; range is 0,50 .. 2000,00 ms
        monitor_of: 1
        card: 1 <alsa_card.pci-0000_00_09.2>
        module: 28
        properties:
                device.description = "Monitor of Audio Interno Estéreo Analógico"
                device.class = "monitor"
                alsa.card = "1"
                alsa.card_name = "HD-Audio Generic"
                alsa.long_card_name = "HD-Audio Generic at 0xf0e64000 irq 41"
                alsa.driver_name = "snd_hda_intel"
                device.bus_path = "pci-0000:00:09.2"
                sysfs.path = "/devices/pci0000:00/0000:00:09.2/sound/card1"
                device.bus = "pci"
                device.vendor.id = "1022"
                device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
                device.product.id = "157a"
                device.product.name = "Family 15h (Models 60h-6fh) Audio Controller"
                device.form_factor = "internal"
                device.string = "1"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
  * index: 3
        name: <alsa_input.pci-0000_00_09.2.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: 9039
        volume: front-left: 65540 / 100% / 0,00 dB,   front-right: 65540 / 100% / 0,00 dB
                balance 0,00
        base volume: 6554 /  10% / -60,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
                     Estéreo
        used by: 0
        linked by: 0
        configured latency: 0,00 ms; range is 26,00 .. 2000,00 ms
        card: 1 <alsa_card.pci-0000_00_09.2>
        module: 28
        properties:
                alsa.resolution_bits = "16"
                device.api = "alsa"
                device.class = "sound"
                alsa.class = "generic"
                alsa.subclass = "generic-mix"
                alsa.name = "Generic Analog"
                alsa.id = "Generic Analog"
                alsa.subdevice = "0"
                alsa.subdevice_name = "subdevice #0"
                alsa.device = "0"
                alsa.card = "1"
                alsa.card_name = "HD-Audio Generic"
                alsa.long_card_name = "HD-Audio Generic at 0xf0e64000 irq 41"
                alsa.driver_name = "snd_hda_intel"
                device.bus_path = "pci-0000:00:09.2"
                sysfs.path = "/devices/pci0000:00/0000:00:09.2/sound/card1"
                device.bus = "pci"
                device.vendor.id = "1022"
                device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
                device.product.id = "157a"
                device.product.name = "Family 15h (Models 60h-6fh) Audio Controller"
                device.form_factor = "internal"
                device.string = "front:1"
                device.buffering.buffer_size = "384000"
                device.buffering.fragment_size = "192000"
                device.access_mode = "mmap+timer"
                device.profile.name = "analog-stereo"
                device.profile.description = "Estéreo Analógico"
                device.description = "Audio Interno Estéreo Analógico"
                alsa.mixer_name = "Realtek Generic"
                alsa.components = "HDA:10ec0230,17aa380e,00100002"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
        ports:
                analog-input-internal-mic: Micrófono interno (priority 8900, latency offset 0 usec, available: unknown)
                        properties:
                                device.icon_name = "audio-input-microphone"
                analog-input-mic: Micrófono (priority 8700, latency offset 0 usec, available: no)
                        properties:
                                device.icon_name = "audio-input-microphone"
        active port: <analog-input-internal-mic>

ARECOR -L

$ arecord -l
**** List of CAPTURE Hardware Devices ****
card 1: Generic [HD-Audio Generic], device 0: Generic Analog [Generic Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

Can you help me?

Offline

#2 2020-08-26 19:09:16

saint613
Member
Registered: 2020-06-25
Posts: 11

Re: Microphone works in Audacity, arecord but not in Firefox, Mc Teams.

This one had me stumped on my 320 as well. Sorry I don't have my 320 anymore for screen shots. open the audio mixer and under recording devices (skype, teams or the browsers that is open and in a audio chat session, unlock the right and left channels, lower the right channel to zero and the set the left at about 30-40%. If using a package like Skype you may need to disable the auto volume adjust to stop it from resetting everything you've done. Hope this helps. If I find some of the original threads that helped me I'll update this post.

the wiki has a section the fixing mic (though I didn't use the first link, just set in pulse mixer)  and on disabling mic boost.

https://wiki.archlinux.org/index.php/Pu … ixing_=_no

https://wiki.archlinux.org/index.php/Pu … adjustment

Last edited by saint613 (2020-08-26 19:23:31)

Offline

#3 2020-08-26 21:49:25

ken_bourgouse
Member
Registered: 2020-08-26
Posts: 2

Re: Microphone works in Audacity, arecord but not in Firefox, Mc Teams.

Thanks! It worked!

Last edited by ken_bourgouse (2020-08-26 21:53:24)

Offline

#4 2020-08-26 23:39:31

saint613
Member
Registered: 2020-06-25
Posts: 11

Re: Microphone works in Audacity, arecord but not in Firefox, Mc Teams.

No worries, glad I could help brother! (With my limited knowledge!)

Offline

Board footer

Powered by FluxBB