You are not logged in.
Hi everyone, I’m new to archlinux, so forgive me for eventually making mistakes.
I have a big problem with my computer’s microphone. This is the name of the microphone: HDA Intel PCH: ALC295 Analog. Opening Audacity the microphone is correctly displayed and record. Instead opening Google Meet from Google Chrome the microphone is not recognized. I can’t fix this issue. I hope someone can help me. Thank you very much in advance.
Last edited by Gim00 (2024-07-21 16:27:46)
Offline
In Chrome go to Settings -> Privacy and Security -> Site settings -> Microphone
Ensure the option "Sites can ask to use your microphone" is selected.
The microphone should be set to "System default", but if you click on that drop-down do you see your microphone listed in there?
Are you using pipewire or not?
Desktop: Ryzen 7 1800X | AMD 7800XT | KDE Plasma
MacbookPro-2012 | MATE
Offline
Some client, this might be the case for your Google Meet, requires WebRTC protocol that is assuming you're using Pipewire. Have a look.
https://wiki.archlinux.org/title/PipeWire
EDIT: The wiki did mention Google Meet requiring WebRTC. Check your setup here.
Last edited by d_fajardo (2024-07-17 15:38:16)
Offline
Hi everyone and thanks a lot for the answers. Yes I have pipe wire. I've checked writing on the terminal "pactl info" and it give me this info:
"Server Name: PulseAudio (on PipeWire 1.2.1)
Server Version: 15.0.0
Default Sample Specification: float32le 2ch 48000Hz
Default Channel Map: front-left,front-right
Default Sink: alsa_output.pci-0000_00_1f.3.analog-stereo
Default Source: alsa_output.pci-0000_00_1f.3.analog-stereo.monitor
Cookie: b4fa:5673"
I've checked also with this site https://mozilla.github.io/webrtc-landing/gum_test.html and the Camera works perfectly but the microphone is not recognised. It says "NotFoundError: Requested device not found".
It's just like the browser doesn't see the microphone but others app yes. For example, in audacity it works.
Offline
i've noticed that there is alsa_output but not alsa_input. Can this info be important to fix the issue?
Offline
i've checked the input devices with the command "arecord -L" and it says this:
null
Discard all samples (playback) or generate zero samples (capture)
lavrate
Rate Converter Plugin Using Libav/FFmpeg Library
samplerate
Rate Converter Plugin Using Samplerate Library
speexrate
Rate Converter Plugin Using Speex Resampler
jack
JACK Audio Connection Kit
oss
Open Sound System
pipewire
PipeWire Sound Server
pulse
PulseAudio Sound Server
speex
Plugin using Speex DSP (resample, agc, denoise, echo, dereverb)
upmix
Plugin for channel upmix (4,6,8)
vdownmix
Plugin for channel downmix (stereo) with a simple spacialization
default
Default ALSA Output (currently PipeWire Media Server)
usbstream:CARD=NVidia
HDA NVidia
USB Stream Output
sysdefault:CARD=PCH
HDA Intel PCH, ALC295 Analog
Default Audio Device
front:CARD=PCH,DEV=0
HDA Intel PCH, ALC295 Analog
Front output / input
usbstream:CARD=PCH
HDA Intel PCH
USB Stream Output
But when I tested the microphone with command "arecord -vv -f dat /dev/null" it says:
ALSA <-> PipeWire PCM I/O Plugin
Its setup is:
stream : CAPTURE
access : RW_INTERLEAVED
format : S16_LE
subformat : STD
channels : 2
rate : 48000
exact rate : 48000 (48000/1)
msbits : 16
buffer_size : 24000
period_size : 6000
period_time : 125000
tstamp_mode : ENABLE
tstamp_type : GETTIMEOFDAY
period_step : 1
avail_min : 6000
period_event : 0
start_threshold : 1
stop_threshold : 24000
silence_threshold: 0
silence_size : 0
boundary : 6755399441055744000
Recording WAVE '/dev/null' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo
#+ | 00%
and stuck on 00%
Offline
It's just like the browser doesn't see the microphone but others app yes. For example, in audacity it works.
Did you actually setup your browser for WebRTC as in the link I posted above?
Also please update your posts and put them in code tags.
Offline
I've solved the problem.
I write below the procedure I followed so that it can help others.
First I compiled an alsa.conf file and put it in the /etc/modprobe. I've edited the file in this way:
options snd slots=snd_hda_intel,snd_usb_audio
options snd_hda_intel index=0
options snd_usb_audio index=1
Then i've reboot the system.
Finally i've set the primary audio source with the command
pacmd set-source-port alsa_input.pci-0000_00_1f.3.analog-stereo analog-input-mic
Anyway thanks for the help
Offline
Modprobe configs are largely irrelevant to pipewire configuration, and could even be detrimental (less so since you also supplied slots, but you can get into trouble with multiple USB devices). It will have no effect for the default selection you've done (which you should've always been able to do, see also
pactl set-default-source alsa_input.pci-0000_00_1f.3.analog-stereo
and friends.
But if you do consider this [SOLVED] please mark it as such by editing the title thread.
Offline