Reply
 
Thread Tools Display Modes
  #1  
Old 12-22-2011, 03:29 PM
Peter2121 Peter2121 is offline
Member
 
Join Date: Sep 2011
Posts: 86
Thanks: 3
Thanked 1 Time in 1 Post
Default [SOLVED] Microphone does not work
My microphone does not work.
I can see it in mixer, the level is correct. If I try to record any sound I have nothing but small noise. The sound works in any program, the microphone works fine under Windows.
Where should I search?

Last edited by Peter2121; 01-20-2012 at 11:42 AM.
Reply With Quote
  #2  
Old 01-10-2012, 02:31 PM
Peter2121 Peter2121 is offline
Member
 
Join Date: Sep 2011
Posts: 86
Thanks: 3
Thanked 1 Time in 1 Post
Default
It seems that the problem is at the soundcard detection level. There are four cards detected - two NVIDIA cards (probably, for HDMI sound, I did not tested it) and two Intel cards. So, four mixers in system. With the second mixer (sysctl hw.snd.default_unit=2, default) I can playback correctly but I cannot use microphone. With the third mixer (sysctl hw.snd.default_unit=3) I can use microphone for recording (it works!!) but I cannot playback.

Any ideas?
Reply With Quote
  #3  
Old 01-20-2012, 11:41 AM
Peter2121 Peter2121 is offline
Member
 
Join Date: Sep 2011
Posts: 86
Thanks: 3
Thanked 1 Time in 1 Post
Default
Finally I've got help in FreeBSD forum.

In order to get it working one must expose to ALSA all the existent devices. It can be done by modifying the /compat/linux/etc/alsa/pcm/pcm-oss.conf file. In my case the file modified is:

Code:
# PCBSD pcm-oss plugin configuration

pcm.oss {
	type oss
	device /dev/dsp
	hint {
		description "Open Sound System"
	}
}

ctl.oss {
	type oss
	device /dev/mixer
	hint {
		description "Open Sound System"
	}
}

pcm.oss0 {
	type oss
	device /dev/dsp0
	hint {
		description "Open Sound System dsp0"
	}
}

ctl.oss0 {
	type oss
	device /dev/mixer0
	hint {
		description "Open Sound System mixer0"
	}
}

pcm.oss1 {
	type oss
	device /dev/dsp1
	hint {
		description "Open Sound System dsp1"
	}
}

ctl.oss1 {
	type oss
	device /dev/mixer1
	hint {
		description "Open Sound System mixer1"
	}
}

pcm.oss2 {
	type oss
	device /dev/dsp2
	hint {
		description "Open Sound System dsp2"
	}
}

ctl.oss2 {
	type oss
	device /dev/mixer2
	hint {
		description "Open Sound System mixer2"
	}
}

pcm.oss3 {
	type oss
	device /dev/dsp3
	hint {
		description "Open Sound System dsp3"
	}
}

ctl.oss3 {
	type oss
	device /dev/mixer3
	hint {
		description "Open Sound System mixer3"
	}
}
Now I can choose different devices in Skype - one for playback and another - for microphone.
So, it's OK for playback and microphone now.
Reply With Quote
  #4  
Old 05-16-2012, 12:12 AM
sg1efc sg1efc is offline
Senior Member
 
Join Date: Jan 2012
Location: USA
Posts: 247
Thanks: 329
Thanked 7 Times in 7 Posts
Smile Thank you! :)
Thank you very much Peter2121. Found your thread at FreeBSD forum and was able to get mine working also, thanks to mav@'s information.

Info at this link:
http://forums.freebsd.org/showpost.php?p=158948
__________________
PC-BSD totally rocks! Thanks A Lot to everyone who has helped create and improve it.

http://nwbackup.net/wordpress/
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:20 AM.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

Copyright 2005-2010, The PC-BSD Project. PC-BSD and the PC-BSD logo are registered trademarks of iXsystems.
All other content is freely available for sharing under the terms of the Creative Commons Attribution License.