Table of Contents

Audio Tester

Author

Bill Giannikos

Introduction

This is a simple utility that will attempt to fix sound problems you are having with Linux. It is quite common for new laptops and desktops to encounter the issue where Linux seems like it has configured the audio properly but no sound is actually produced. This script attempts to fix this issue.

Requirements

First you must ensure that your system is running the latest software updates. It is possible that these updates may fix your sound issues.

You should also install the latest version of ALSA on your system. See the guides section on this site for instructions on doing so in various Linux distributions.

Current Version

The current version is 0.1. Build date is 2009-02-02.

This script is still in an early stage. If you encounter any problems with it please leave a comment below.

Files

Download the following two files and put them in the same directory:
Download Program Here
Download Audio File Here

Usage

First you need to ensure you have exited every application which uses audio. If during execution you see Module snd_hda_intel is in use then some program is still attached to the audio device.

As the administrator (root) user, type the following into a terminal window to run the program:

bash audiotester.sh

In Ubuntu you may enter the following:

sudo bash audiotester.sh

Now follow the on screen instructions. Hopefully by the end you will have a working audio system.





Discussion

uli, Friday 07 of August, 2009 [15:38:26]

Hi,
I ran audiotester on a Dell Latitude D820 using SUSE 11.1. I could hear the sound right away. Audiotester recommended to me to adjust the volume settings in my mixer. I set everything to 100 in alsamixer and still can't hear any sound. What do I have to do?
Thank you for your help.

Keith Rennie, Wednesday 10 of June, 2009 [00:46:13]

Does this information help? this shows which sound modules are linked to which others (not sure if it is dynamic, at this point I have rhythmbox up and running to try to get playback through speakers or headphone - without any more success)

$ lsmod |grep snd
snd_seq_dummy 10756 0
snd_seq_oss 37760 0
snd_seq_midi 14336 0
snd_hda_intel 434484 3
snd_rawmidi 29696 1 snd_seq_midi
snd_seq_midi_event 15104 2 snd_seq_oss,snd_seq_midi
snd_pcm_oss 46336 0
snd_mixer_oss 22656 1 snd_pcm_oss
snd_seq 56880 6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_pcm 83204 2 snd_hda_intel,snd_pcm_oss
snd_seq_device 14988 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
snd_timer 29704 2 snd_seq,snd_pcm
snd 62628 15 snd_seq_oss,snd_hda_intel,snd_rawmidi,snd_pcm_oss,snd_mixer_oss,snd_seq,snd_pcm,snd_seq_device,snd_timer
soundcore 15200 1 snd
snd_page_alloc 16904 2 snd_hda_intel,snd_pcm

Keith Rennie, Tuesday 09 of June, 2009 [14:39:13]

I need help!

I cant find the problem that is causing the error message on every option:

Module snd_hda_intel is in use

I have closed everything that I can think of. Please advise how to identify / fix the problem.

(Running Ubuntu 9.04 on Dell 17) No sound of any kind. Sound worked on 8.10 and works on Vista (still using dual boot until all issues on this distribution are resolved).

Bill Giannikos, Tuesday 09 of June, 2009 [14:47:57]

Try rebooting the system and instead of logging in to your desktop normally press Ctrl+Alt+F1 and log in via the console. Then run the command from there.

Keith Rennie, Tuesday 09 of June, 2009 [17:52:37]

I did that, and the error persists in command line operation.
What should I try next?
Thanks for your prompt response

Keith Rennie, Wednesday 10 of June, 2009 [00:48:19]

Does this information help? (not sure if it is dynamic, I have rhythmbox running to try to get playback, but still without success)

$ lsmod |grep snd
snd_seq_dummy 10756 0
snd_seq_oss 37760 0
snd_seq_midi 14336 0
snd_hda_intel 434484 3
snd_rawmidi 29696 1 snd_seq_midi
snd_seq_midi_event 15104 2 snd_seq_oss,snd_seq_midi
snd_pcm_oss 46336 0
snd_mixer_oss 22656 1 snd_pcm_oss
snd_seq 56880 6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_pcm 83204 2 snd_hda_intel,snd_pcm_oss
snd_seq_device 14988 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
snd_timer 29704 2 snd_seq,snd_pcm
snd 62628 15 snd_seq_oss,snd_hda_intel,snd_rawmidi,snd_pcm_oss,snd_mixer_oss,snd_seq,snd_pcm,snd_seq_device,snd_timer
soundcore 15200 1 snd
snd_page_alloc 16904 2 snd_hda_intel,snd_pcm

Keith Rennie, Wednesday 10 of June, 2009 [01:25:29]

IT WORKS NOW. :)
Thanks for your audio tester.

I finally disabled snd-hda-intel on boot by adding it to the blacklist file in /etc/modprobe.d
After boot, I added the module manually on the command line

   $ sudo modprobe snd-hda-intel] and ran the audio tester


The audio tester told me the audio system would work if I switched off the external amplifier.

I did this by running alsamixer on the first card (Dell 1735 has two)

    $ alsamixer -c0


and figuring out by trial and error which channel to mute.

Enter your comment
BAQQX
 
audio+tester.txt · Last modified: Monday 02 of February, 2009 [07:26:05] by billg
Contact Us Sister Sites Privacy Policy Terms of Use
Copyright © 2006-2010 Linwik.com and other authors