Two weeks ago I installed FreeBSD on an HP Envy 13. I haven't been able to get the internal microphone working yet.
The HP website describes the microphone as "HP Wide Vision HD Camera with integrated dual array digital microphone".
The internal speaker, which works fine, appears to be pcm1. If I set the default speaker to something else (using for example
But the internal microphone does not work if I set the default to pcm0, pcm1, or pcm2.
I read the snd_hda() manual, especially the section on setting device.hints.
I did a verbose boot to look at the pins:
It seems that pcm0 is the headphone jack and headphone mic, pcm1 is the internal speaker, and pcm2 is an HDMI port. (The laptop doesn't have one---perhaps it means the USB-C port?)
In Thread how-to-unmute.34362 the poster had an internal mic which looked like this:
(I tried the thread's advice of setting each nid to a different association (not 0 or 15), but I still picked up nothing from my mike afterwards.)
I don't seem to have any fixed microphone. The laptop does have a microphone; it's just not detecting it. Perhaps I am missing a driver? I have
I have used a wired USB headset with this computer. The headset's microphone and speaker worked fine, except they were staticky. But the static only happened rarely, so I attribute it to me not having the headset plugged in properly.
I have been using Audacity to check if the microphone is working.
Rarely Audacity will record very very quiet static. If I amplify the static, I don't hear any recognizable noises, so I think perhaps Audacity is trying to listen to a headset when the headset is not plugged in. But usually Audacity records silence.
I have seen some people complain about pulseaudio. I have pulseaudio installed as a dependency of kde5. If I try to uninstall pulseaudio, pkg tries to uninstall kde5. Hence I have left it alone.
I have used
Any advice would be appreciated. I'm curious about what angle of attack to try next: Am I missing a driver? Is pulseaudio at fault? Is my microphone not supported (in which case I'd get an external one)? Something else?
The HP website describes the microphone as "HP Wide Vision HD Camera with integrated dual array digital microphone".
cat /dev/sndstat
tells me this:
Code:
/usr/home/theo $ cat /dev/sndstat
Installed devices:
pcm0: <Realtek ALC285 (Left Analog)> (play/rec)
pcm1: <Realtek ALC285 (Internal Analog Speaker)> (play) default
pcm2: <Intel Kaby Lake (HDMI/DP 8ch)> (play)
No devices installed from userspace.
sysctl hw.snd.default_unit=0
) there is no sound.But the internal microphone does not work if I set the default to pcm0, pcm1, or pcm2.
I read the snd_hda() manual, especially the section on setting device.hints.
I did a verbose boot to look at the pins:
Code:
Oct 12 19:33:15 ribeye kernel: hdaa0: Patched pins configuration:
Oct 12 19:33:15 ribeye kernel: hdaa0: nid 0x as seq device conn jack loc color misc
Oct 12 19:33:15 ribeye kernel: hdaa0: 18 411111f0 15 0 Speaker None 1/8 Rear Black 1 DISA
Oct 12 19:33:15 ribeye kernel: hdaa0: 19 40000000 0 0 Line-out None Unknown 0x00 Unknown 0 DISA
Oct 12 19:33:15 ribeye kernel: hdaa0: 20 411111f0 15 0 Speaker None 1/8 Rear Black 1 DISA
Oct 12 19:33:15 ribeye kernel: hdaa0: 22 411111f0 15 0 Speaker None 1/8 Rear Black 1 DISA
Oct 12 19:33:15 ribeye kernel: hdaa0: 23 90170180 8 0 Speaker Fixed Analog Internal Unknown 1
Oct 12 19:33:15 ribeye kernel: hdaa0: 24 411111f0 15 0 Speaker None 1/8 Rear Black 1 DISA
Oct 12 19:33:15 ribeye kernel: hdaa0: 25 03a11040 4 0 Mic Jack 1/8 Left Black 0
Oct 12 19:33:15 ribeye kernel: hdaa0: 26 411111f0 15 0 Speaker None 1/8 Rear Black 1 DISA
Oct 12 19:33:15 ribeye kernel: hdaa0: 27 411111f0 15 0 Speaker None 1/8 Rear Black 1 DISA
Oct 12 19:33:15 ribeye kernel: hdaa0: 30 411111f0 15 0 Speaker None 1/8 Rear Black 1 DISA
Oct 12 19:33:15 ribeye kernel: hdaa0: 33 03211020 2 0 Headphones Jack 1/8 Left Black 0
Oct 12 19:33:15 ribeye kernel: hdaa0: 3 associations found:
Oct 12 19:33:15 ribeye kernel: hdaa0: Association 0 (2) out:
Oct 12 19:33:15 ribeye kernel: hdaa0: Pin nid=33 seq=0
Oct 12 19:33:15 ribeye kernel: hdaa0: Association 1 (4) in:
Oct 12 19:33:15 ribeye kernel: hdaa0: Pin nid=25 seq=0
Oct 12 19:33:15 ribeye kernel: hdaa0: Association 2 (8) out:
Oct 12 19:33:15 ribeye kernel: hdaa0: Pin nid=23 seq=0
Code:
Oct 12 19:33:15 ribeye kernel: pcm0: <Realtek ALC285 (Left Analog)> at nid 33 and 25 on hdaa0
Code:
Oct 12 19:33:15 ribeye kernel: pcm1: <Realtek ALC285 (Internal Analog Speaker)> at nid 23 on hdaa
Code:
Oct 12 19:33:15 ribeye kernel: pcm2: <Intel Kaby Lake (HDMI/DP 8ch)> at nid 3 on hdaa1
In Thread how-to-unmute.34362 the poster had an internal mic which looked like this:
Code:
hdac0: nid 25 0x90a00110 as 1 seq 0 Mic Fixed jack 0 loc 16 color Unknown misc 1
(I tried the thread's advice of setting each nid to a different association (not 0 or 15), but I still picked up nothing from my mike afterwards.)
I don't seem to have any fixed microphone. The laptop does have a microphone; it's just not detecting it. Perhaps I am missing a driver? I have
snd_driver_load="YES"
in my /boot/loader.conf, which loads many drivers (according to the handbook).I have used a wired USB headset with this computer. The headset's microphone and speaker worked fine, except they were staticky. But the static only happened rarely, so I attribute it to me not having the headset plugged in properly.
I have been using Audacity to check if the microphone is working.
Rarely Audacity will record very very quiet static. If I amplify the static, I don't hear any recognizable noises, so I think perhaps Audacity is trying to listen to a headset when the headset is not plugged in. But usually Audacity records silence.
I have seen some people complain about pulseaudio. I have pulseaudio installed as a dependency of kde5. If I try to uninstall pulseaudio, pkg tries to uninstall kde5. Hence I have left it alone.
I have used
mixer -s vol 100
and similar commands to set various volumes to 100, with no effect.
Code:
Fri Oct 14 21:54:21 /usr/home/theo $ mixer
Mixer vol is currently set to 100:100
Mixer pcm is currently set to 100:100
Mixer speaker is currently set to 100:100
Mixer mic is currently set to 100:100
Mixer rec is currently set to 100:100
Recording source: mic
Any advice would be appreciated. I'm curious about what angle of attack to try next: Am I missing a driver? Is pulseaudio at fault? Is my microphone not supported (in which case I'd get an external one)? Something else?