how do I get the microphone to work?

Recently started using the system, but I don't understand how to make the microphone work, a friend says he did it through virtual_oss, but there are almost no guides on it or I don't see them.

/dev/sndstat
Code:
pcm0: <Realtek ALC256 (Internal Analog)> (play/rec)
pcm1: <Realtek ALC256 (Left Analog Headphones)> (play) default
pcm2: <Intel Kaby Lake (HDMI/DP 8ch)> (play)

/etc/rc.conf
Code:
hostname="bsd"
ifconfig_ue0="DHCP"
ifconfig_ue0_ipv6="inet6 accept_rtadv"
ntpd_enable="YES"
moused_nondefault_enable="NO"
dumpdev="AUTO"
kld_list="i915kms nvidia-modeset nullfs"
dbus_enable="YES"
acpi_asus_load="YES"
acpi_asus_wmi_load="YES"
linux_enable="YES"
sound_load="YES"
snd_driver_load="YES"
snd_hda_load="YES"
cuse_load="YES"
 
Your /dev/sndstat output shows that the device you're using is pcm1, which is called Left Analog Headphones, which a playback-only device (see play label). Could you try setting the default device to pcm0 and let us know if your problem is solved?
Code:
mixer -d pcm0
 
dear all:
cat /dev/sndstat
Installed devices:
pcm0: <Realtek ALC236 (Analog 2.0/4ch)> (play/rec) default
pcm1: <Realtek ALC236 (Front Analog Headphones)> (play)
pcm2: <Intel Tiger Lake (HDMI/DP 8ch)> (play)
No devices installed from userspace.
that was my micphone, how to let it work ? do you have some way ? thanks.
 
Back
Top