Difference between revisions of "Sound Configuration/9.2"

From PC-BSD Wiki
Jump to: navigation, search
m (no, i am not (a bug) :-D)
(17 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<noinclude>{{NavHeader|back=Mount Tray|forward=Display}}</noinclude>
+
<noinclude><translate>
  
Beginning with PC-BSD 9.1, a Sound Configuration icon is available which automatically determines which audio devices are available and provides a button to play a test sound. To access this utility, use Control Panel ➜ Sound Configuration or type '''pc-soundconfig.'''
+
<!--T:1-->
 +
{{NavHeader|back=Mount Tray|forward=Display}}</noinclude>
  
An example of the Sound Configuration screen is shown in Figure 8.10a.
+
<!--T:2-->
 +
Beginning with PC-BSD®&nbsp;9.1, a "Sound Configuration" icon is available which automatically determines which audio devices are available and provides a button to play a test sound. To access this utility, use ''[[Control Panel]]'' ➜ ''[[Sound Configuration]]'' or type '''pc-soundconfig''' from within an xterm.[[File:Sound.png|thumb|393px|'''Figure 8.11a: Sound Configuration Utility''']]
  
'''Figure 8.10a: Sound Configuration Utility'''
+
<!--T:3-->
 +
An example of the "Sound Configuration" screen is shown in Figure 8.11a.
  
[[File:Sound.png]]
+
<!--T:4-->
 +
To determine which audio devices are available, click the drop-down menu. In the example shown in Figure 8.11b, this system has four available sound devices with the FreeBSD device names ''pcm0'' to ''pcm3''. The default device is the Conexant CX20590 on ''pcm2''.
  
To determine which audio devices are available, click the drop-down menu. In the example shown in Figure 8.10b, this system has four available sound devices with the FreeBSD device names ''pcm0'' to ''pcm3''. The default device is the Conexant CX20590 on ''pcm2''.
+
<!--T:5-->
 +
To change the default audio device, select the desired device from the drop-down menu and test that it works by clicking the "Test sound" button. To make the change permanent, click the "Apply" button.
  
'''Figure 8.10b: Selecting the Audio Device'''
+
<!--T:6-->
 +
If you connect a USB headset, PC-BSD® will detect the new device and will automatically change the audio device to the USB input. At this time, if you insert a headset into an audio jack, the system will not detect the new input so you will have to manually change the default device using "Sound Configuration". [[File:Sound1.png|thumb|393px|'''Figure 8.11b: Selecting the Audio Device''']]
  
[[File:Sound1.png]]
+
=== Troubleshooting Sound === <!--T:7-->
  
To change the default audio device, select the desired device from the drop-down menu and test that it works by clicking the "Test sound" button. To make the change permanent, click the "Apply" button.
+
<!--T:8-->
 +
If you are unable to get sound working using the sound configuration utility, you can try using '''mixer''' from the command line. As your regular user, type '''mixer''' to see your current settings:
  
If the desired device does not appear in the drop-down menu, it means that PC-BSD did not recognize the device. These resources may help you to pinpoint the problem:
+
<!--T:9-->
 +
{{txtbox|box='''mixer'''
 +
Mixer vol      is currently set to  0:0
 +
Mixer pcm      is currently set to 100:100
 +
Mixer mic      is currently set to  50:50
 +
Mixer mix      is currently set to  60:60
 +
Mixer rec      is currently set to  75:75
 +
Mixer igain    is currently set to 100:100
 +
Mixer ogain    is currently set to 100:100}}
  
* {{citelink|url=http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/sound-setup.html|txt=FreeBSD Handbook: Sound Setup}}
+
<!--T:10-->
 +
If any of these settings are set to '''0''', set them to a higher value, by specifying the name of the mixer setting and a percentage value up to '''100''':
  
* {{citelink|url=https://wiki.freebsd.org/Sound|txt=FreeBSD: Wiki Sound}}
+
<!--T:11-->
 +
{{txtbox|box='''mixer vol 100'''
 +
Setting the mixer vol from 0:0 to 100:100.}}
  
If you still have problems with sound, see the section on [[Finding Help]] to determine which help resources are available. When reporting your problem, include your version of PC-BSD and the name of your sound card.
+
<!--T:12-->
 +
If you only get one or two mixer settings instead of the example output shown above, you need to change the default mixer channel. As the superuser, try this command:
  
<noinclude>{{refheading}}</noinclude>
+
<!--T:13-->
 +
{{txtbox|box='''sysctl -w hw.snd.default_unit=1'''}}
 +
 
 +
<!--T:14-->
 +
To see if that changed to the correct channel, type '''mixer''' again. If you still only have one or two mixer settings, try setting the sysctl value to '''2''', and if necessary, to '''3'''.
 +
 
 +
<!--T:15-->
 +
Once you have all of the mixer settings and none are set to '''0''', your sound should work. If it still doesn't, these resources may help you to pinpoint the problem:
 +
 
 +
<!--T:16-->
 +
* {{citelink|fbsdh|url=sound-setup.html|txt=FreeBSD Handbook: Setting Up the Sound Card}}
 +
 
 +
<!--T:17-->
 +
* {{citelink|fbsd|url=Sound|txt=FreeBSD Wiki: Sound}}
 +
 
 +
<!--T:18-->
 +
If you still have problems with sound, see the section on [[Finding Help]] to determine which help resources are available. When reporting your problem, include your version of PC-BSD® and the name of your sound card.
 +
 
 +
<!--T:19-->
 
<noinclude>
 
<noinclude>
[[category:handbook]]
+
{{refheading}}
[[category:Control Panel]]
+
 
[[category:Sound Configuration]]
 
[[category:Sound Configuration]]
 +
[[category:Control Panel]]
 +
[[category:handbook]]
 +
</translate>
 +
<languages/>
 
</noinclude>
 
</noinclude>

Revision as of 22:14, 23 April 2013

(Sorry for the inconvenience)

Contents

Beginning with PC-BSD® 9.1, a "Sound Configuration" icon is available which automatically determines which audio devices are available and provides a button to play a test sound. To access this utility, use Control PanelSound Configuration or type pc-soundconfig from within an xterm.
Figure 8.11a: Sound Configuration Utility

An example of the "Sound Configuration" screen is shown in Figure 8.11a.

To determine which audio devices are available, click the drop-down menu. In the example shown in Figure 8.11b, this system has four available sound devices with the FreeBSD device names pcm0 to pcm3. The default device is the Conexant CX20590 on pcm2.

To change the default audio device, select the desired device from the drop-down menu and test that it works by clicking the "Test sound" button. To make the change permanent, click the "Apply" button.

If you connect a USB headset, PC-BSD® will detect the new device and will automatically change the audio device to the USB input. At this time, if you insert a headset into an audio jack, the system will not detect the new input so you will have to manually change the default device using "Sound Configuration".
Figure 8.11b: Selecting the Audio Device

Troubleshooting Sound

If you are unable to get sound working using the sound configuration utility, you can try using mixer from the command line. As your regular user, type mixer to see your current settings:

mixer

Mixer vol is currently set to 0:0 Mixer pcm is currently set to 100:100 Mixer mic is currently set to 50:50 Mixer mix is currently set to 60:60 Mixer rec is currently set to 75:75 Mixer igain is currently set to 100:100

Mixer ogain is currently set to 100:100

If any of these settings are set to 0, set them to a higher value, by specifying the name of the mixer setting and a percentage value up to 100:

mixer vol 100 Setting the mixer vol from 0:0 to 100:100.

If you only get one or two mixer settings instead of the example output shown above, you need to change the default mixer channel. As the superuser, try this command:

sysctl -w hw.snd.default_unit=1

To see if that changed to the correct channel, type mixer again. If you still only have one or two mixer settings, try setting the sysctl value to 2, and if necessary, to 3.

Once you have all of the mixer settings and none are set to 0, your sound should work. If it still doesn't, these resources may help you to pinpoint the problem:

If you still have problems with sound, see the section on Finding Help to determine which help resources are available. When reporting your problem, include your version of PC-BSD® and the name of your sound card.


References


  1. http://www.freebsd.org/doc/en/books/handbook/sound-setup.html
  2. http://wiki.freebsd.org/Sound
Other languages:German 19% • ‎English 100% • ‎French 10%
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox