Internal Microphone not working correctly

External microphone works normally when plugged in, however my laptops internal microphone does not work unless set sysctl hw.snd.default_unit=1, the default being 0. However when I set hw.snd.default_unit to 1, the speakers do not work as mixer only shows up rec and monitor, with recording source set to monitor. Monitor is not available with hw.snd.default_unit set to 0.
Any help is appreciated, thanks.
 
Code:
FreeBSD Audio Driver (newpcm: 32bit 2009061500/i386)
Installed devices:
pcm0: <HDA Realtek ALC272 PCM #0 Analog> (play/rec)
pcm1: <HDA Realtek ALC272 PCM #1 Analog> (rec) default
 
anonymous_shyster said:
Code:
FreeBSD Audio Driver (newpcm: 32bit 2009061500/i386)
Installed devices:
pcm0: <HDA Realtek ALC272 PCM #0 Analog> (play/rec)
pcm1: <HDA Realtek ALC272 PCM #1 Analog> (rec) default

This does not help. See the snd_hda(4) manual page about the association number (as). I think you can try to change the 'AS' of the pin affected to the internal microphone to group it with the external microphone pin in the same pcm device. (see the examples in the manual)

To dump the pin configuration, boot in verbose mode.
HTH.
 
anonymous_shyster said:
Thanks, gave it a try, but alas it did not help...

What do you mean by that? Do you still have two pcm devices? You should have one, but on pcm0 record you should have two recording sources: mic and monitor. The last is built-in mic. Choose it with:
Code:
mixer =rec monitor
 
Ah, I see now, thank you! I have got monitor on device one, and device two is gone.

The only problem I'm having is with this:

Code:
% mixer =rec monitor
mixer: unknown device: /usr/local/bin/rec
Any ideas on what is causing that? Perhaps a bad install of sox? Rec, it appears, is a symlink to sox...
 
Back
Top