1. Home
  2. Docs
  3. Hardware and Network
  4. Getting information on soundproblems

Getting information on soundproblems

by joekamprad

Sometimes it is a puzzle to get around with a new soundcard, or getting a mix to work, I give some hints on getting information about devices and system here:

First check if alsamixer is enabled so you can use it as a simple source to solve most mute problems, and get a view of what is available:

Pulseaudio is used by default and here are some tools to solve the most common problems:

Configs are here: ~/.config/pulse/ and can easily reset by removing the files and log in again in the DE (rm -R ~/.config/pulse/) as a normal user.

Pulseaudio is started as a per-user service:

So as normal user:

systemctl --user status pulseaudio.socket

systemctl --user restart pulseaudio.socket

systemctl --user stop pulseaudio.socket

systemctl --user start pulseaudio.socket

Will give status / restart /stop and start for pulseaudio…

Auto-Mute:

If the Mode is enabled, it can cause problems for multiple users:

It can be disabled by using alsamixer.

See http://superuser.com/questions/431079/how-to-disable-auto-mute-mode for more.

To save your current settings as the default options, run **alsactl store** as root.

HDA Analyzer to get direct hardware access to hda_intel cards:

This tool allows changing the HDA codec setting using direct hardware access
bypassing driver’s mixer layer.

To learn more about HDA (High Definition Audio), see
http://www.intel.com/standards/hdaudio/ for more details.

Please, if you find how your codec work, send this information to alsa-devel
mailing list – http://www.alsa-project.org .

wget -O run.py http://www.alsa-project.org/hda-analyzer.py

change python to python2.

Change the last line inside run.py in python2 so it looks like this:

os.system("python2 %s" % TMPDIR + '/' + FILES[0] + ' ' + ' '.join(sys.argv[1:]))

and run it:

sudo python2 run.py

you can also use my download here with the fixed script out of the box like this:

wget http://www.kamprad.net/Downloads/hda-analyzer.py && sudo python2 hda-analyzer.py

https://www.alsa-project.org/main/index.php/HDA_Analyzer

Some more tools:

wget http://www.alsa-project.org/alsa-info.sh && sh alsa-info.sh

will give you advanced info about the Soundcards + system and outputs an URL where the info is posted.

pactl list sinks

Lists your active devices.

<code class="EnlighterJSRAW">speaker-test -c 6</code>

The number needs to be changed to your situation.

Follow us
Was this article helpful to you? Yes No

How can we help?