My Microphone is not working on firefox and for all other application. and sound card is Advanced Micro Devices [AMD/ATI] Raven/Raven2/Fenghuang HDMI/DP Audio

I am searching for ans for quite a time now and finally to post a question on this. I am using Hp laptop an recently switched to manjaro. I did all other basic setup but this audio thing is bugging me and i can find solution. In nutshell i have amd audio cards and using snd_hda_intell driver but it's not working upto the output i used to get on windows and also my microphone is not working which is pain as all things shifted to online.

output of inxi -Fxxxz :

"Audio: Device-1: Advanced Micro Devices [AMD/ATI] Raven/Raven2/Fenghuang HDMI/DP Audio vendor: Hewlett-Packard
driver: snd_hda_intel v: kernel bus ID: 03:00.1 chip ID: 1002:15de
Device-2: Advanced Micro Devices [AMD] Family 17h HD Audio vendor: Hewlett-Packard driver: snd_hda_intel v: kernel
bus ID: 03:00.6 chip ID: 1022:15e3
Sound Server: ALSA v: k5.6.19-2-MANJARO "

and pactl list card :

"Card #0
Name: alsa_card.pci-0000_03_00.1
Driver: module-alsa-card.c
Owner Module: 6
Properties:
alsa.card = "0"
alsa.card_name = "HD-Audio Generic"
alsa.long_card_name = "HD-Audio Generic at 0xfe788000 irq 56"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:03:00.1"
sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:03:00.1/sound/card0"
device.bus = "pci"
device.vendor.id = "1002"
device.vendor.name = "Advanced Micro Devices, Inc. [AMD/ATI]"
device.product.id = "15de"
device.product.name = "Raven/Raven2/Fenghuang HDMI/DP Audio Controller"
device.string = "0"
device.description = "Raven/Raven2/Fenghuang HDMI/DP Audio Controller"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
Profiles:
output:hdmi-stereo: Digital Stereo (HDMI) Output (sinks: 1, sources: 0, priority: 5900, available: no)
output:hdmi-surround: Digital Surround 5.1 (HDMI) Output (sinks: 1, sources: 0, priority: 800, available: no)
output:hdmi-surround71: Digital Surround 7.1 (HDMI) Output (sinks: 1, sources: 0, priority: 800, available: no)
off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
Active Profile: off
Ports:
hdmi-output-0: HDMI / DisplayPort (priority: 5900, latency offset: 0 usec, not available)
Properties:
device.icon_name = "video-display"
Part of profile(s): output:hdmi-stereo, output:hdmi-surround, output:hdmi-surround71

Card #1
Name: alsa_card.pci-0000_03_00.6
Driver: module-alsa-card.c
Owner Module: 7
Properties:
alsa.card = "1"
alsa.card_name = "HD-Audio Generic"
alsa.long_card_name = "HD-Audio Generic at 0xfe780000 irq 57"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:03:00.6"
sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:03:00.6/sound/card1"
device.bus = "pci"
device.vendor.id = "1022"
device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
device.product.id = "15e3"
device.product.name = "Family 17h (Models 10h-1fh) HD Audio Controller"
device.string = "1"
device.description = "Family 17h (Models 10h-1fh) HD Audio Controller"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
Profiles:
input:analog-stereo: Analog Stereo Input (sinks: 0, sources: 1, priority: 65, available: yes)
output:analog-stereo: Analog Stereo Output (sinks: 1, sources: 0, priority: 6500, available: yes)
output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (sinks: 1, sources: 1, priority: 6565, available: yes)
off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
Active Profile: output:analog-stereo
Ports:
analog-input-internal-mic: Internal Microphone (priority: 8900, latency offset: 0 usec)
Properties:
device.icon_name = "audio-input-microphone"
Part of profile(s): input:analog-stereo, output:analog-stereo+input:analog-stereo
analog-input-mic: Microphone (priority: 8700, latency offset: 0 usec, not available)
Properties:
device.icon_name = "audio-input-microphone"
Part of profile(s): input:analog-stereo, output:analog-stereo+input:analog-stereo
analog-output-speaker: Speakers (priority: 10000, latency offset: 0 usec)
Properties:
device.icon_name = "audio-speakers"
Part of profile(s): output:analog-stereo, output:analog-stereo+input:analog-stereo
analog-output-headphones: Headphones (priority: 9900, latency offset: 0 usec, not available)
Properties:
device.icon_name = "audio-headphones"
Part of profile(s): output:analog-stereo, output:analog-stereo+input:analog-stereo"

and link to alsa-info.sh --upload :
http://alsa-project.org/db/?f=ca1a03d4f160acfd85f4062db60863eb6f90dd44

welcome to Manjaro @syrous

Pulseaudio profile for device HD-Audio Generic is set to output only

Active Profile: output:analog-stereo

to make audio capture from microphone available in pulseaudio requires this profile

output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (sinks: 1, sources: 1, priority: 6565, available: yes)

suggest change card Profile in from Analog Stereo Output to Analog Stereo Duplex
not sure if KDE GUI controls for pulseaudio include access to Profiles
may need to install pavucontrol-qt so profile can be changed in pavucontrol --tab 5

also this...

probably need to remove the user-created ALSA configuration file ~/.asoundrc

!!ALSA configuration files
!!User specific config file (~/.asoundrc)

pcm.!default {
    type plug
    slave.pcm "asymed"
}


pcm.asymed {
    type asym
    playback.pcm {
        @func getenv
        vars [ ALSAPCM ]
        default "dmix"
    }
    capture.pcm "dsnoop"
}

Manjaro usually has an ALSA configuration to use pulseaudio as default
package pulseaudio-alsa creates a file - /etc/alsa/conf.d/99-pulseaudio-default.conf
user should not need to create another configuration (/etc/asound.conf or ~/.asoundrc)

and also this...

websearch on the audio device vendorID:productID (103c:84e7) found a kernel patch for this laptop model

[PATCH] ALSA: hda/realtek - Add quirk for HP Pavilion 15

HP Pavilion 15 (AMD Ryzen-based model) with 103c:84e7 needs the same
quirk like HP Envy/Spectre x360 for enabling the mute LED over Mic3 pin

  • SND_PCI_QUIRK(0x103c, 0x84e7, "HP Pavilion 15", ALC269_FIXUP_HP_MUTE_LED_MIC3),

to add this patch to system

echo 'options snd-hda-intel hp-mute-led-mic3' | sudo tee --append /etc/modprobe.d/alsa-base.conf
1 Like

@nikgnomic Thanks for reply but i tried as you mentioned but it didn't solved my problem. i deleted ~/.asoundrc file and changed profile to duplex but i didnt work. i also added patch you told me about.

how to check if that quirk is added to the system or not!

updated alsa-info.sh file link
http://alsa-project.org/db/?f=cbaa89dea46b2af8267239b744e319b7fded4f38

new alsa-info data confirms modprobe option has been added and .asoundrc removed

ALSA appears to be ok and error-free

so any problem may only be in pulseaudio

please post response to

pacmd dump | grep -E 'set|suspend'

i tried this but there was no such flag as -e so ran without it. following is the output of :
pacmd dump grep 'set|suspend

### Configuration dump generated at Sat Aug  8 10:01:19 2020

load-module module-device-restore
load-module module-stream-restore
load-module module-card-restore
load-module module-augment-properties
load-module module-switch-on-port-available
load-module module-udev-detect
load-module module-alsa-card device_id="0" name="pci-0000_03_00.1" card_name="alsa_card.pci-0000_03_00.1" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes avoid_resampling=no card_properties="module-udev-detect.discovered=1"
load-module module-alsa-card device_id="1" name="pci-0000_03_00.6" card_name="alsa_card.pci-0000_03_00.6" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes avoid_resampling=no card_properties="module-udev-detect.discovered=1"
load-module module-jackdbus-detect channels=2
load-module module-bluetooth-policy
load-module module-bluetooth-discover
load-module module-bluez5-discover
load-module module-dbus-protocol
load-module module-native-protocol-unix
load-module module-gsettings
load-module module-combine 
load-module module-combine-sink 
load-module module-default-device-restore
load-module module-rescue-streams
load-module module-always-sink
load-module module-intended-roles
load-module module-suspend-on-idle
load-module module-console-kit
load-module module-systemd-login
load-module module-position-event-sounds
load-module module-role-cork
load-module module-filter-heuristics
load-module module-filter-apply
load-module module-x11-publish display=:0
load-module module-x11-xsmp display=:0 session_manager=local/codehiem:@/tmp/.ICE-unix/1263,unix/codehiem:/tmp/.ICE-unix/1263
load-module module-cli-protocol-unix

set-sink-volume alsa_output.pci-0000_03_00.6.analog-stereo 0xc003
set-sink-mute alsa_output.pci-0000_03_00.6.analog-stereo no
suspend-sink alsa_output.pci-0000_03_00.6.analog-stereo yes
set-sink-volume combined 0xe149
set-sink-mute combined no
suspend-sink combined yes

set-source-volume alsa_output.pci-0000_03_00.6.analog-stereo.monitor 0x10000
set-source-mute alsa_output.pci-0000_03_00.6.analog-stereo.monitor no
suspend-source alsa_output.pci-0000_03_00.6.analog-stereo.monitor yes
set-source-volume alsa_input.pci-0000_03_00.6.analog-stereo 0x10000
set-source-mute alsa_input.pci-0000_03_00.6.analog-stereo no
suspend-source alsa_input.pci-0000_03_00.6.analog-stereo yes
set-source-volume combined.monitor 0xfffd
set-source-mute combined.monitor no
suspend-source combined.monitor yes

set-card-profile alsa_card.pci-0000_03_00.1 off
set-card-profile alsa_card.pci-0000_03_00.6 output:analog-stereo+input:analog-stereo

set-default-sink combined
set-default-source alsa_input.pci-0000_03_00.6.analog-stereo

### EOF

command i posted was incorrect but only the grep part to reduce amount of information in response

but it is fortunate that it didn't work because data shows another problem that would have been missed

there are 2 modules that appear to have been added to default pulseaudio

load-module module-combine
load-module module-combine-sink

module-combine was replaced by module-combine-sink from pulseaudio v1.0 (in 2011)
freedesktop.org/wiki/Software/PulseAudio/Documentation/User/Modules/#module-combine
i suspect that module-combine was added to system based on outdated information from another Linux distribution (ubuntu?)

pulseaudio may have added module-combine-sink because module-combine is deprecated
but this module is only likely to break pulseaudio functions in this situation
This module is intended to be used to "combine two or more sinks into one"
(may be useful if audio playback was needed to analog output + HDMI to speakers on a monitor, but the HDMI audio device is turned off in pulseaudio)
there is only one sink available in pulseaudio so module-combine-sink is unable to work as intended
default-sink is set to combined

suggest you find where these modules were added (either /etc/pulse/default.pa or ~/.config/pulse/default.pa) and remove them

then reboot system and check there are no combine modules present in pacmd dump

contents of /etc/pulse/default.pa have no load-module with module-combine or module-combine-sink and ~/.config/pulse/default.pa doesn't exist.

I can't tell where it got added but they are not in /etc/pulse/default.pa

#!/usr/bin/pulseaudio -nF
#
# This file is part of PulseAudio.
#
# PulseAudio is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# PulseAudio is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with PulseAudio; if not, see <http://www.gnu.org/licenses/>.

# This startup script is used only if PulseAudio is started per-user
# (i.e. not in system mode)

.fail

### Automatically restore the volume of streams and devices
load-module module-device-restore
load-module module-stream-restore
load-module module-card-restore

### Automatically augment property information from .desktop files
### stored in /usr/share/application
load-module module-augment-properties

### Should be after module-*-restore but before module-*-detect
load-module module-switch-on-port-available

### Load audio drivers statically
### (it's probably better to not load these drivers manually, but instead
### use module-udev-detect -- see below -- for doing this automatically)
#load-module module-alsa-sink
#load-module module-alsa-source device=hw:1,0
#load-module module-oss device="/dev/dsp" sink_name=output source_name=input
#load-module module-oss-mmap device="/dev/dsp" sink_name=output source_name=input
#load-module module-null-sink
#load-module module-pipe-sink

### Automatically load driver modules depending on the hardware available
.ifexists module-udev-detect.so
load-module module-udev-detect
.else
### Use the static hardware detection module (for systems that lack udev support)
load-module module-detect
.endif

### Automatically connect sink and source if JACK server is present
.ifexists module-jackdbus-detect.so
.nofail
load-module module-jackdbus-detect channels=2
.fail
.endif

### Automatically load driver modules for Bluetooth hardware
.ifexists module-bluetooth-policy.so
load-module module-bluetooth-policy
.endif

.ifexists module-bluetooth-discover.so
load-module module-bluetooth-discover
.endif

### Load several protocols
load-module module-dbus-protocol
.ifexists module-esound-protocol-unix.so
load-module module-esound-protocol-unix
.endif
load-module module-native-protocol-unix

### Network access (may be configured with paprefs, so leave this commented
### here if you plan to use paprefs)
#load-module module-esound-protocol-tcp
#load-module module-native-protocol-tcp
#load-module module-zeroconf-publish

### Load the RTP receiver module (also configured via paprefs, see above)
#load-module module-rtp-recv

### Load the RTP sender module (also configured via paprefs, see above)
#load-module module-null-sink sink_name=rtp format=s16be channels=2 rate=44100 sink_properties="device.description='RTP Multicast Sink'"
#load-module module-rtp-send source=rtp.monitor

### Load additional modules from GSettings. This can be configured with the paprefs tool.
### Please keep in mind that the modules configured by paprefs might conflict with manually
### loaded modules.
.ifexists module-gsettings.so
.nofail
load-module module-gsettings
.fail
.endif


### Automatically restore the default sink/source when changed by the user
### during runtime
### NOTE: This should be loaded as early as possible so that subsequent modules
### that look up the default sink/source get the right value
load-module module-default-device-restore

### Automatically move streams to the default sink if the sink they are
### connected to dies, similar for sources
load-module module-rescue-streams

### Make sure we always have a sink around, even if it is a null sink.
load-module module-always-sink

### Honour intended role device property
load-module module-intended-roles

### Automatically suspend sinks/sources that become idle for too long
load-module module-suspend-on-idle

### If autoexit on idle is enabled we want to make sure we only quit
### when no local session needs us anymore.
.ifexists module-console-kit.so
load-module module-console-kit
.endif
.ifexists module-systemd-login.so
load-module module-systemd-login
.endif

### Enable positioned event sounds
load-module module-position-event-sounds

### Cork music/video streams when a phone stream is active
load-module module-role-cork

### Modules to allow autoloading of filters (such as echo cancellation)
### on demand. module-filter-heuristics tries to determine what filters
### make sense, and module-filter-apply does the heavy-lifting of
### loading modules and rerouting streams.
load-module module-filter-heuristics
load-module module-filter-apply

### Make some devices default
#set-default-sink output
#set-default-source input

@nikgnomic
I reinstalled manjaro linux full version as effect of it, my internal microphone started working but when connect my headphones, that mic cannot detect my audio.

new alsa info link :
http://alsa-project.org/db/?f=99f1b041a4911dd599223e82ffe688c83320af46

and pacmd dump :

### Configuration dump generated at Sun Aug  9 12:07:37 2020

load-module module-device-restore
load-module module-stream-restore
load-module module-card-restore
load-module module-augment-properties
load-module module-switch-on-port-available
load-module module-udev-detect
load-module module-alsa-card device_id="0" name="pci-0000_03_00.1" card_name="alsa_card.pci-0000_03_00.1" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes avoid_resampling=no card_properties="module-udev-detect.discovered=1"
load-module module-alsa-card device_id="1" name="pci-0000_03_00.6" card_name="alsa_card.pci-0000_03_00.6" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes avoid_resampling=no card_properties="module-udev-detect.discovered=1"
load-module module-jackdbus-detect channels=2
load-module module-bluetooth-policy
load-module module-bluetooth-discover
load-module module-bluez5-discover
load-module module-dbus-protocol
load-module module-native-protocol-unix
load-module module-gsettings
load-module module-default-device-restore
load-module module-rescue-streams
load-module module-always-sink
load-module module-intended-roles
load-module module-suspend-on-idle
load-module module-console-kit
load-module module-systemd-login
load-module module-position-event-sounds
load-module module-role-cork
load-module module-filter-heuristics
load-module module-filter-apply
load-module module-x11-publish display=:0
load-module module-x11-xsmp display=:0 session_manager=local/codehiem:@/tmp/.ICE-unix/1335,unix/codehiem:/tmp/.ICE-unix/1335
load-module module-cli-protocol-unix

set-sink-volume alsa_output.pci-0000_03_00.6.analog-stereo 0xe8e6
set-sink-mute alsa_output.pci-0000_03_00.6.analog-stereo no
suspend-sink alsa_output.pci-0000_03_00.6.analog-stereo yes

set-source-volume alsa_output.pci-0000_03_00.6.analog-stereo.monitor 0x10000
set-source-mute alsa_output.pci-0000_03_00.6.analog-stereo.monitor no
suspend-source alsa_output.pci-0000_03_00.6.analog-stereo.monitor yes
set-source-volume alsa_input.pci-0000_03_00.6.analog-stereo 0x10000
set-source-mute alsa_input.pci-0000_03_00.6.analog-stereo no
suspend-source alsa_input.pci-0000_03_00.6.analog-stereo yes

set-card-profile alsa_card.pci-0000_03_00.1 off
set-card-profile alsa_card.pci-0000_03_00.6 output:analog-stereo+input:analog-stereo

set-default-sink alsa_output.pci-0000_03_00.6.analog-stereo
set-default-source alsa_input.pci-0000_03_00.6.analog-stereo

### EOF
!!HDA-Intel Codec information

Codec: Realtek ALC295

Vendor Id: 0x10ec0295
Subsystem Id: 0x103c84e7

websearch using ID number of audio codec found a kernel patch

Merge tag 'sound-5.3-rc8' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound

SND_PCI_QUIRK(0x103c, 0x84e7, "HP Pavilion 15", ALC269_FIXUP_HP_MUTE_LED_MIC3),

to add this patch to system

echo 'options snd-hda-intel model= hp-mute-led-mic3' | sudo tee -a /etc/modprobe.d/alsa-hda.conf

also suggest add kernel v5.7 as kernel v5.6 has been marked End Of Life
manjaro-settings-manager -m msm_kernel

@nikgnomic
Man i appreciate your efforts, thanks for sticking with me in this. But that patch didn't helped. I also tried to run discord after applying that patch but mic didn't catch any audio from headsets that i connected
here is log from discord app:

Discord 0.0.11
Starting app.
Starting updater.
[Modules] Modules initializing
[Modules] Distribution: remote
[Modules] Host updates: enabled
[Modules] Module updates: enabled
[Modules] Module install path: /home/syrous/.config/discord/0.0.11/modules
[Modules] Module installed file path: /home/syrous/.config/discord/0.0.11/modules/installed.json
[Modules] Module download path: /home/syrous/.config/discord/0.0.11/modules/pending
[2220:0809/153940.871920:ERROR:buffer_manager.cc(488)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : glBufferData: <- error from previous GL command
[Modules] No updates to install
[Modules] Checking for host updates.
[Modules] Host is up to date.
[Modules] Checking for module updates at https://discord.com/api/modules/stable/versions.json
[Modules] No module updates available.
[2220:0809/153941.733098:ERROR:raster_decoder.cc(114)] [.RenderWorker-0x73c4ee82800]GL ERROR :GL_INVALID_OPERATION : RasterDecoderImpl::DoCopySubTextureINTERNAL: <- error from previous GL command
[000:000] [2315] (audio_device_generic.cc:66): SetRecordingDevice: Not supported on this platform
[Modules] Starting to install discord_krisp...
[000:002] [2315] (audio_device_generic.cc:61): SetPlayoutDevice: Not supported on this platform
[Modules] Fetching discord_krisp@0 from https://discord.com/api/modules/stable/discord_krisp/0
[Modules] Streaming discord_krisp@0 to /home/syrous/.config/discord/0.0.11/modules/pending/discord_krisp-0.zip
[000:137] [2315] (audio_device_generic.cc:66): SetRecordingDevice: Not supported on this platform
[000:140] [2315] (audio_device_generic.cc:61): SetPlayoutDevice: Not supported on this platform
Error downloading with electron net: HTTP Error: Status Code 403
Falling back to node net library..
[Modules] Failed fetching module discord_krisp@0: Error: HTTP Error: Status Code 403
[Modules] Finished module downloads. [success: 0] [failure: 1]
(electron) 'setBadgeCount function' is deprecated and will be removed. Please use 'badgeCount property' instead.
[002:505] [2315] (audio_send_stream.cc:285): Failed to set up send codec state.
[002:532] [2315] (audio_send_stream.cc:285): Failed to set up send codec state.
[002:532] [2315] (audio_device_generic.cc:31): BuiltInAECIsAvailable: Not supported on this platform
[002:650] [2315] (audio_send_stream.cc:285): Failed to set up send codec state.


please get ALSA information

 sudo alsa-info.sh --upload

and post link to data uploaded to alsa-project

and post pulseaudio information

systemctl --user --no-pager -l status pulseaudio.socket pulseaudio.service

http://alsa-project.org/db/?f=45195e64768fed47ea33b861a5847a6378443358

and output of :

● pulseaudio.socket - Sound System
     Loaded: loaded (/usr/lib/systemd/user/pulseaudio.socket; enabled; vendor preset: enabled)
     Active: active (running) since Sun 2020-08-09 16:22:43 IST; 5min ago
   Triggers: ● pulseaudio.service
     Listen: /run/user/1000/pulse/native (Stream)
     CGroup: /user.slice/user-1000.slice/user@1000.service/pulseaudio.socket

Aug 09 16:22:43 codehiem systemd[1270]: Listening on Sound System.

● pulseaudio.service - Sound Service
     Loaded: loaded (/usr/lib/systemd/user/pulseaudio.service; disabled; vendor preset: enabled)
     Active: active (running) since Sun 2020-08-09 16:22:45 IST; 5min ago
TriggeredBy: ● pulseaudio.socket
   Main PID: 1447 (pulseaudio)
     CGroup: /user.slice/user-1000.slice/user@1000.service/pulseaudio.service
             ├─1447 /usr/bin/pulseaudio --daemonize=no
             └─1590 /usr/lib/pulse/gsettings-helper

Aug 09 16:22:44 codehiem systemd[1270]: Starting Sound Service...
Aug 09 16:22:45 codehiem systemd[1270]: Started Sound Service.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.

Forum kindly sponsored by