modified on 7 May 2016 at 15:44 ••• 18,253 views

HardwareAudioTroubleshooting

From Maties Ubuntu

(Difference between revisions)
Jump to: navigation, search
m (Step 7 - Reload sound card drivers)
m
 
(21 intermediate revisions by one user not shown)
Line 1: Line 1:
==General Checks==
+
<center>
Check that you have connected everything correctly to your computer. Modern sound cards allow various numbers of speakers to be attached. Read the instruction manual that came with your computer or sound card manufacturer to verify the correct connection sequence.
+
'''[[HardwareAudio|Back to Sound]]'''
 +
</center>
  
If you are sure that all speakers and equipment are correctly connected then check volume levels and mute functions by right-clicking on the volume control applet on the taskbar (check for the speaker icon) or check in the system settings panel.
+
;General Checks
 +
#Check that you have connected everything correctly to your computer.
 +
#Modern sound cards allow various numbers of speakers to be attached.
 +
#Read the instruction manual that came with your computer or sound card manufacturer to verify the correct connection sequence.
 +
 
 +
If you are sure that all speakers and equipment are correctly connected then check volume levels and mute functions by clicking on the volume control applet on the top '''menu bar''' panel (check for the speaker icon).
  
 
If all else fails then try:
 
If all else fails then try:
# https://launchpad.net/~ubuntu-audio-dev
+
#https://wiki.ubuntu.com/Audio
 
# https://wiki.ubuntu.com/DebuggingSoundProblems
 
# https://wiki.ubuntu.com/DebuggingSoundProblems
# http://www.ubuntu.sun.ac.za/wiki/index.php/HardwareCompatibility
 
 
==Better Pulseaudio Sound Quality==
 
Edit /etc/pulse/daemon.conf:
 
gksudo gedit /etc/pulse/daemon.conf
 
Find the following line:
 
resample-method = speex-float-1
 
You can change the resampler to any of the following, listed in descending order, from highest quality to lowest quality (and therefore, CPU usage):
 
* src-sinc-best-quality, src-sinc-medium-quality, src-sinc-fastest, speex-float-{10-0}, speex-fixed-{10-0}, ffmpeg, src-zero-order-hold, src-linear, trivial
 
 
Now reboot and enjoy.
 
 
==Advanced Method==
 
===Step 1 - [[HardwareCompatibility|Check that the kernel detects the sound card correctly]]===
 
Click on the heading above.
 
 
===Step 2 - Check audio group membership===
 
You must be a member of the audio group to use the ''/dev/dsp'' file. Add yourself to the audio group by typing the following in a [[Xterm|terminal]];
 
sudo adduser username audio
 
 
Where "username" is the username you use to login to the computer.
 
 
===Step 3 - Check volume muting===
 
Check whether the volume is muted. Right click on the sound icon on the top bar next to the time display. Click on "Mute".
 
 
===Step 4 - Check speaker connections===
 
Check the speaker connections using the program "speaker-test". Type the following in a [[Xterm|terminal]];
 
speaker-test -c2 -t3
 
If you type;
 
speaker-test -c5 -t3
 
all five speakers will be tested.
 
 
===Step 5 - Check for old OSS compatibilty===
 
To use the old open sound system, check the permissions of the ''/dev/dsp'' file. OSS is used mostly for games etc..
 
 
To check this, type the following in a [[Xterm|terminal]];
 
ls -l /dev/dsp
 
If there is no ''/dev/dsp'' file then type the following in a [[Xterm|terminal]];
 
sudo modprobe snd-pcm-oss
 
 
===Step 6 - Turn off IEC functions===
 
Turn off all IEC related options by running alsamixer. IEC is an input to certain high end sound cards that support optical (fiber optic) sound feed from such things as DVD players etc.. To turn off those options, type the following in a [[Xterm|terminal]];
 
alsamixer
 
You can move around each option with your arrow key (right and left key.) Move to every IEC related option and turn off all of those options (use keyboard "m" to turn off.) After turning off hit "Esc" key to save, and type the following in a [[Xterm|terminal]];
 
sudo alsactl store
 
so that the alsamixer settings are saved permanently.
 
  
===Step 7 - [[ALSA|Reload sound card drivers]]===
+
;Tips
Click on the heading above.
+
*http://freedompenguin.com/articles/how-to/pulseaudio-toilet-full-roses
 +
*http://www.ocsmag.com/2015/09/25/cli-quickies-ii-fiddling-with-sound
 +
*https://github.com/yktoo/indicator-sound-switcher
 +
*http://yktoo.com/software/indicatorSoundSwitcher
 +
*http://www.omgubuntu.co.uk/2014/02/sound-switcher-app-ubuntu
 +
*http://www.webupd8.org/2014/02/sound-switcher-ubuntu-indicator.html
 +
[[Category:Hardware]]

Latest revision as of 15:44, 7 May 2016

Back to Sound
General Checks
  1. Check that you have connected everything correctly to your computer.
  2. Modern sound cards allow various numbers of speakers to be attached.
  3. Read the instruction manual that came with your computer or sound card manufacturer to verify the correct connection sequence.

If you are sure that all speakers and equipment are correctly connected then check volume levels and mute functions by clicking on the volume control applet on the top menu bar panel (check for the speaker icon).

If all else fails then try:

  1. https://wiki.ubuntu.com/Audio
  2. https://wiki.ubuntu.com/DebuggingSoundProblems
Tips