ALSA Installation
From ArmadeusWiki
- On your Host select ALSA compilation in Linux configuration:
[armadeus]$ make linux26-menuconfig Device Drivers ---> <M> Sound card support Device Drivers ---> <M> Sound card support ---> <M> Advanced Linux Sound Architecture Device Drivers ---> <M> Sound card support ---> <M> Advanced Linux Sound Architecture ---> [*] ARM sound devices ---> <M> i.MX1/L TSC2102 alsa driver
<M> Advanced Linux Sound Architecture < > Sequencer support (NEW) <M> OSS Mixer API <M> OSS PCM (digital audio) API [*] OSS PCM (digital audio) API - Include plugin system (NEW) [ ] Dynamic device file minor numbers (NEW) [*] Support old ALSA API (NEW) [ ] Verbose procfs contents (NEW) [ ] Verbose printk [ ] Debug [ ] Debug [ ] Generic sound devices ---> [*] ARM sound devices ---> [ ] SPI sound devices ---> [ ] USB sound devices ---> < > ALSA for SoC audio support --->
- in Buildroot configuration, select the user space packages for ALSA:
[armadeus]$ make menuconfig Package Selection for the target-> Audio libraries: --- Audio libraries and applications [*] alsa-lib [*] alsa-utils ALSA utils selection ---> [ ] asterisk [*] aumix [ ] libmad --- libid3tag --- libmad [ ] libmad headers in target [ ] libsndfile --- libvorbis requires the package libogg to build [*] madplay [ ] mpg123
in ALSA utils selection ---> [*] alsaconf [*] alsactl [*] alsamixer [ ] amidi [*] amixer [*] aplay [ ] arecord [ ] iecset [ ] aconnect [ ] aplaymidi [ ] arecordmidi [ ] aseqdump [ ] aseqnet [*] speaker-test
- save your configuration and rebuild your rootfs:
[armadeus]$ make
- reflash your rootfs and your Linux kernel. Go here if you need more infos on how to install Linux drivers.