ALSA and Tux Droid
Instructions for running or developing Tux Droid audio applications.
Overview
The following page describes the ALSA requirements for using or developing Tux Droid applications and services. It provides some guidelines for troubleshooting.
ALSA requirements
Tux Droid applications and services that are required:- the ALSA driver version 1.0.6 or higher for using sound applications with Tux Droid
- the latest usb-audio sound card driver
- the alsa-devel library version 1.0.6 or higher
ALSA installation status
You may check if ALSA is installed by typing in a terminal the following command:
$ cat /proc/asound/version
You will get an answer like:
Advanced Linux Sound Architecture Driver Version 1.0.6.
If the /proc/asound directory does not exist, then ALSA is not installed onto your system. If this is the case, or if you have a lower version, visit the official website of you Linux distribution to find out how to install or update ALSA.
ALSA modules load
You may check if the usb-audio sound driver is loaded with the command following command:
$ lsmod | grep snd_usb_audio
You should get the following... If not refer to troubleshooting section.
snd_usb_audio 69696 0
snd_usb_lib 13504 1 snd_usb_audio
snd_hwdep 7044 1 snd_usb_audio
snd_pcm 76296 4 snd_usb_audio,snd_pcm_oss,snd_intel8x0,snd_ac97_codec
snd 43776 12 snd_usb_audio,snd_rawmidi,snd_hwdep,snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss, ....
ALSA recognizing Tux Dongle
You may check if your Linux system is able to recognize the Tux Droid dongle by plugging it in and entering the command:
$ cat /proc/asound/cards
You will get an answer like:
[tux1@localhost ~]$ cat /proc/asound/cards
0 [A5451 ]: ALI5451 - ALI 5451
ALI 5451 at 0x1800, irq 11
1 [default ]: USB-Audio - TUX RF DONGLE
C2ME BELGIUM TUX RF DONGLE at usb-0000:00:0f.0-1, full speed
Installing ALSA drivers and libraries, setting up ALSA or troubleshooting
For driver or libraries installation and basic setup, the ALSA section of your distribution website will provide you with detailed information. Your favorite package manager tools (rpm, yum, pacman, ..) allow an easy download and update of libraries and drivers.
For non-standard ALSA setups or for developing audio applications, better visit ALSA opensrc.org. Up to date source code and brute comments relative to ALSA can be found on the official ALSA website . Very helpful troubleshooting information can be obtained at http://alsa.opensrc.org/TroubleShooting