Line 1:
Line 1:
−
Making audio devices work in Linux can be complex and frustrating. Here are some tips:
+
To debug audio problems, I access the Linux command line via '''ssh''' and use some command-line utilities to test and configure.
−
Login to the console from another computer.
+
The Linux audio system is called ALSA. You can install '''alsa-utils''' to get some command line tools for testing/configuring audio. Unfortunately, ALSA and Linux audio configuration is complex and hard to figure out.
+
+
Install those utilities by giving the command:
+
+
sudo apt-get install alsa-utils
+
+
Here’s some documentation on ALSA http://www.linuxfromscratch.org/blfs/view/cvs/multimedia/alsa-utils.html1
+
+
One command I use is '''speaker-test'''. This will cause your audio device to make tones, if everything is properly configured.
+
+
Making audio devices work in Linux can be complex and frustrating. Here are some more tips:
−
Use this command to list the audio devices that the system knows about:
+
Login to the console using ssh from another computer. see [[Accessing_Zynthian_from_your_computer]]
+
+
Use the following command to list the audio devices that the system knows about:
aplay -l
aplay -l
Line 15:
Line 27:
alsamixer
alsamixer
−
followed by the Enter key in the terminal/console.
+
(followed by the Enter key in the terminal/console.)
Here’s a tutorial on how to work with sound on a Raspberry Pi (including aslamixer):
Here’s a tutorial on how to work with sound on a Raspberry Pi (including aslamixer):
Line 21:
Line 33:
http://blog.scphillips.com/posts/2013/01/sound-configuration-on-raspberry-pi-with-alsa/
http://blog.scphillips.com/posts/2013/01/sound-configuration-on-raspberry-pi-with-alsa/
−
To debug audio problems, I access the Linux command line via ssh and use some command-line utilities to test and configure.
−
The Linux audio system is called ALSA. You can install '''alsa-utils''' to get some command line tools for testing/configuring audio. Unfortunately, ALSA and Linux audio configuration is complex and hard to figure out.
−
Install those utilities by giving the command:
−
sudo apt-get install alsa-utils
−
−
Here’s some documentation on ALSA http://www.linuxfromscratch.org/blfs/view/cvs/multimedia/alsa-utils.html1
−
−
One command I use is '''speaker-test'''. This will cause your audio device to make tones, if everything is properly configured.
===Bluetooth speakers===
===Bluetooth speakers===