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/10.1 → Sound Configuration/10.1 or type pc-soundconfig from within an xterm.
An example of the "Sound Configuration" screen is shown in Figure 8.16a.
To determine which audio devices are available, click the drop-down menu. In the example shown in Figure 8.16b, 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".
Desktops that include a system tray will have a speaker icon which can be used to fine-tune sound settings. If this icon does not appear in the system tray, type pc-mixer to add it.
If you right-click this icon, you will see a screen similar to Figure 8.16c.
In this example, the volume is less than 100% and sound is currently on or unmuted. Click the button with the red “X” to mute the sound. To see the screen shown in Figure 8.16d, click the "Mixer" button.
This screen provides sliders to modify the left and right channels that control volume, pcm (the sound driver), the speaker, the microphone, the recording level, and the sound provided by the monitor. The drop-down menu is used to determine which of those bars shows when you right-click the speaker icon in the tray.
The "File" menu can be used to quit this mixer screen or to close both this screen and remove the icon from the system tray.
The "Configuration" menu provides options for accessing the "Sound Configuration", "PulseAudio Mixer", and "PulseAudio Settings" utilities. PC-BSD® provides full PulseAudio support and these utilities can be used to configure discoverable network sound devices and mixer levels.
For desktops that do not provide a system tray, type mixer from the command line to see the current settings:
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:
You can make that change permanent by creating a file named .xprofile in your home directory that contains the corrected mixer setting.
If you only get one or two mixer setting, you need to change the default mixer channel. As the superuser, try this command:
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/10.1 to determine which help resources are available. When reporting your problem, include your version of PC-BSD® and the name of your sound card.