2012-09-01
Slitaz -- raspi-alsa
BCM2835 ALSA
1.
root@slitaz:~# modprobe snd-bcm2835
### snd_bcm2835_alsa_probe c05e0958 ############### PROBING FOR bcm2835 ALSA device (0):(1) ###############
Creating card...
Creating device/chip ..
Adding controls ..
Registering card ....
bcm2835 ALSA CARD CREATED!
### BCM2835 ALSA driver init OK ###
2.
root@slitaz:~# spk-ls --short | grep alsa
alsa-lib 1.0.25
alsa-utils 1.0.25
3.
root@slitaz:~# ls -l /usr/share/sounds/alsa
total 1205
-rw-r--r-- 1 root root 137134 Jun 1 2012 Front_Center.wav
-rw-r--r-- 1 root root 142128 Jun 1 2012 Front_Left.wav
-rw-r--r-- 1 root root 146990 Jun 1 2012 Front_Right.wav
-rw-r--r-- 1 root root 135202 Jun 1 2012 Noise.wav
-rw-r--r-- 1 root root 130096 Jun 1 2012 Rear_Center.wav
-rw-r--r-- 1 root root 126064 Jun 1 2012 Rear_Left.wav
-rw-r--r-- 1 root root 146480 Jun 1 2012 Rear_Right.wav
-rw-r--r-- 1 root root 134868 Jun 1 2012 Side_Left.wav
-rw-r--r-- 1 root root 129966 Jun 1 2012 Side_Right.wav
4.
root@slitaz:~# aplay /usr/share/sounds/alsa/Front_Center.wav
Playing WAVE '/usr/share/sounds/alsa/Front_Center.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono
root@slitaz:~# aplay /usr/share/sounds/alsa/Rear_Center.wav
Playing WAVE '/usr/share/sounds/alsa/Rear_Center.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono
5.
root@slitaz:~# amixer scontrols
Simple mixer control 'PCM',0
root@slitaz:~# amixer scontents
Simple mixer control 'PCM',0
Capabilities: pvolume pvolume-joined penum
Playback channels: Mono
Limits: Playback -10240 - 2303
Mono: Playback 100 [82%] [1.00dB]
root@slitaz:~#