You are not logged in.

#1 2016-08-19 16:56:08

Demon
Member
From: Republic of Srpska, BA
Registered: 2008-03-02
Posts: 246

[SOLVED] Webcam microphone (connected to rear panel) PA problems

Reference: https://bbs.archlinux.org/viewtopic.php?id=204265

Today I switched to pulseaudio having previously used pure alsa.

Installed: pulseaudio, pulseaudio-bluetooth, pulseaudio-alsa, alsa-plugins

Everything works, except for my webcam microphone (always) connected to rear panel. It worked fine with previous configuration. In pavucontrol it is listed as disconnected. Tested it and no stream is recorded. The headset microphone connected to front panel works alright. Actually this is the reason why I don't use pulseaudio (I tried once but had the same problem).


pacmd list-cards:

% pacmd list-cards
2 card(s) available.
    index: 0
        name: <alsa_card.pci-0000_00_05.0>
        driver: <module-alsa-card.c>
        owner module: 7
        properties:
                alsa.card = "0"
                alsa.card_name = "HDA NVidia"
                alsa.long_card_name = "HDA NVidia at 0xdfef4000 irq 22"
                alsa.driver_name = "snd_hda_intel"
                device.bus_path = "pci-0000:00:05.0"
                sysfs.path = "/devices/pci0000:00/0000:00:05.0/sound/card0"
                device.bus = "pci"
                device.vendor.id = "10de"
                device.vendor.name = "NVIDIA Corporation"
                device.product.id = "03f0"
                device.product.name = "MCP61 High Definition Audio (M4N68T series motherboard)"
                device.form_factor = "internal"
                device.string = "0"
                device.description = "Унутрашњи звук"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
        profiles:
                input:analog-stereo: Аналогни стерео Input (priority 60, available: unknown)
                output:analog-stereo: Аналогни стерео Output (priority 6000, available: unknown)
                output:analog-stereo+input:analog-stereo: Двосмерни аналогни стерео (priority 6060, available: unknown)
                output:hdmi-stereo: Digital Stereo (HDMI) Output (priority 5400, available: unknown)
                output:hdmi-stereo+input:analog-stereo: Digital Stereo (HDMI) Output + Аналогни стерео Input (priority 5460, available: unknown)
                off: Искључено (priority 0, available: unknown)
        active profile: <output:analog-stereo+input:analog-stereo>
        sinks:
                alsa_output.pci-0000_00_05.0.analog-stereo/#0: Унутрашњи звук Аналогни стерео
        sources:
                alsa_output.pci-0000_00_05.0.analog-stereo.monitor/#0: Monitor of Унутрашњи звук Аналогни стерео
                alsa_input.pci-0000_00_05.0.analog-stereo/#1: Унутрашњи звук Аналогни стерео
        ports:
                analog-input-front-mic: Front Microphone (priority 8500, latency offset 0 usec, available: unknown)
                        properties:
                                device.icon_name = "audio-input-microphone"
                analog-input-rear-mic: Rear Microphone (priority 8200, latency offset 0 usec, available: no)
                        properties:
                                device.icon_name = "audio-input-microphone"
                analog-input-linein: Линија у (priority 8100, latency offset 0 usec, available: no)
                        properties:

                analog-output-lineout: Line Out (priority 9900, latency offset 0 usec, available: yes)
                        properties:

                analog-output-headphones: Аналогне слушалице (priority 9000, latency offset 0 usec, available: unknown)
                        properties:
                                device.icon_name = "audio-headphones"
                hdmi-output-0: HDMI / DisplayPort (priority 5900, latency offset 0 usec, available: unknown)
                        properties:
                                device.icon_name = "video-display"
    index: 1
        name: <alsa_card.pci-0000_02_00.1>
        driver: <module-alsa-card.c>
        owner module: 8
        properties:
                alsa.card = "1"
                alsa.card_name = "HDA ATI HDMI"
                alsa.long_card_name = "HDA ATI HDMI at 0xdffec000 irq 28"
                alsa.driver_name = "snd_hda_intel"
                device.bus_path = "pci-0000:02:00.1"
                sysfs.path = "/devices/pci0000:00/0000:00:09.0/0000:02:00.1/sound/card1"
                device.bus = "pci"
                device.vendor.id = "1002"
                device.vendor.name = "Advanced Micro Devices, Inc. [AMD/ATI]"
                device.product.id = "aa20"
                device.product.name = "RV635 HDMI Audio [Radeon HD 3600 Series]"
                device.string = "1"
                device.description = "RV635 HDMI Audio [Radeon HD 3600 Series]"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
        profiles:
                output:hdmi-stereo: Digital Stereo (HDMI) Output (priority 5400, available: unknown)
                output:hdmi-surround: Digital Surround 5.1 (HDMI) Output (priority 300, available: unknown)
                output:hdmi-surround71: Digital Surround 7.1 (HDMI) Output (priority 300, available: unknown)
                off: Искључено (priority 0, available: unknown)
        active profile: <off>
        ports:
                hdmi-output-0: HDMI / DisplayPort (priority 5900, latency offset 0 usec, available: no)
                        properties:
                                device.icon_name = "video-display"

pacmd list-sources:

% pacmd list-sources
2 source(s) available.
    index: 0
        name: <alsa_output.pci-0000_00_05.0.analog-stereo.monitor>
        driver: <module-alsa-card.c>
        flags: DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
        state: SUSPENDED
        suspend cause: IDLE 
        priority: 1950
        volume: front-left: 65536 / 100% / 0,00 dB,   front-right: 65536 / 100% / 0,00 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 44100Hz
        channel map: front-left,front-right
                     Стерео
        used by: 0
        linked by: 0
        configured latency: 0,00 ms; range is 0,50 .. 1999,82 ms
        monitor_of: 0
        card: 0 <alsa_card.pci-0000_00_05.0>
        module: 7
        properties:
                device.description = "Monitor of Унутрашњи звук Аналогни стерео"
                device.class = "monitor"
                alsa.card = "0"
                alsa.card_name = "HDA NVidia"
                alsa.long_card_name = "HDA NVidia at 0xdfef4000 irq 22"
                alsa.driver_name = "snd_hda_intel"
                device.bus_path = "pci-0000:00:05.0"
                sysfs.path = "/devices/pci0000:00/0000:00:05.0/sound/card0"
                device.bus = "pci"
                device.vendor.id = "10de"
                device.vendor.name = "NVIDIA Corporation"
                device.product.id = "03f0"
                device.product.name = "MCP61 High Definition Audio (M4N68T series motherboard)"
                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_05.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: 65535 / 100% / -0,00 dB,   front-right: 65535 / 100% / -0,00 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
                     Стерео
        used by: 0
        linked by: 0
        configured latency: 0,00 ms; range is 0,50 .. 1837,33 ms
        card: 0 <alsa_card.pci-0000_00_05.0>
        module: 7
        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 = "0"
                alsa.card_name = "HDA NVidia"
                alsa.long_card_name = "HDA NVidia at 0xdfef4000 irq 22"
                alsa.driver_name = "snd_hda_intel"
                device.bus_path = "pci-0000:00:05.0"
                sysfs.path = "/devices/pci0000:00/0000:00:05.0/sound/card0"
                device.bus = "pci"
                device.vendor.id = "10de"
                device.vendor.name = "NVIDIA Corporation"
                device.product.id = "03f0"
                device.product.name = "MCP61 High Definition Audio (M4N68T series motherboard)"
                device.form_factor = "internal"
                device.string = "front:0"
                device.buffering.buffer_size = "352768"
                device.buffering.fragment_size = "176384"
                device.access_mode = "mmap+timer"
                device.profile.name = "analog-stereo"
                device.profile.description = "Аналогни стерео"
                device.description = "Унутрашњи звук Аналогни стерео"
                alsa.mixer_name = "VIA Generic"
                alsa.components = "HDA:11060397,10438415,00100000"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
        ports:
                analog-input-front-mic: Front Microphone (priority 8500, latency offset 0 usec, available: unknown)
                        properties:
                                device.icon_name = "audio-input-microphone"
                analog-input-rear-mic: Rear Microphone (priority 8200, latency offset 0 usec, available: no)
                        properties:
                                device.icon_name = "audio-input-microphone"
                analog-input-linein: Линија у (priority 8100, latency offset 0 usec, available: no)
                        properties:

        active port: <analog-input-rear-mic>

----

Note: All settings are on defaults, I only added:

### Automatically switch to newly-connected devices
load-module module-switch-on-connect

to the /etc/pulse/default.pa.

Last edited by Demon (2016-08-22 18:08:44)

Offline

#2 2016-08-21 23:15:38

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,665

Re: [SOLVED] Webcam microphone (connected to rear panel) PA problems

Let's get the low hanging fruits first, have you already tried switching between all three of the possible source ports? If you can't switch between them in pavucontrol because they are marked as unavailable

pacmd set-source-port alsa_input.pci-0000_00_05.0.analog-stereo $PORTNAME

should do the trick. Can you post

amixer -c0

as well?

Offline

#3 2016-08-22 18:08:03

Demon
Member
From: Republic of Srpska, BA
Registered: 2008-03-02
Posts: 246

Re: [SOLVED] Webcam microphone (connected to rear panel) PA problems

I'm not sure how or why this happened, but it works now! I did the system upgrade few times, perhaps that helped (kf5-frameworks). Anyway, thanks for help. smile

Offline

Board footer

Powered by FluxBB