summaryrefslogtreecommitdiff
path: root/ubuntu
diff options
context:
space:
mode:
authorNicolas Dechesne <nicolas.dechesne@linaro.org>2014-10-24 23:10:32 +0200
committerNicolas Dechesne <nicolas.dechesne@linaro.org>2014-10-24 23:10:32 +0200
commit2c331ce75fb5e395a94feca855d35181d18bf69e (patch)
treecd65c8b727ecdf28d3e2e8bc4299b59b547243ea /ubuntu
parente2aa97bf7b7caed893908b0d427693fbed508d93 (diff)
ubuntu: ifc6410: add notes for audio configuration with alsaucm
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Diffstat (limited to 'ubuntu')
-rw-r--r--ubuntu/ifc6410/README.textile.in20
1 files changed, 20 insertions, 0 deletions
diff --git a/ubuntu/ifc6410/README.textile.in b/ubuntu/ifc6410/README.textile.in
index 96baa7a..2e97266 100644
--- a/ubuntu/ifc6410/README.textile.in
+++ b/ubuntu/ifc6410/README.textile.in
@@ -264,6 +264,26 @@ If you want to permanently use a custom @zImage@, you can update the boot image
bc. abootimg -u boot-ifc6410-##VERSION##.img -k zImage
sudo fastboot flash boot boot-ifc6410-##VERSION##.img
+h4. How to enable audio in the developer image
+
+As mentioned above, when using the Gnome image audio can be configured using the Gnome settings graphical application. When running the developer image, similar audio configuration can be obtain using ALSA UCM command line tool. Proper UCM profile configuration files are available in the image in the folder @/usr/share/alsa/ucm/apq8064-tabla-snd-card/@. To enable HDMI audio or analog audio using the headset output on the board (green jack), you can run the following commands:
+
+bc. # to enable headset output:
+alsaucm -c apq8064-tabla-snd-card set _verb HiFi set _disdev Headphones
+alsaucm -c apq8064-tabla-snd-card set _verb HDMI set _disdev HDMI-stereo
+alsaucm -c apq8064-tabla-snd-card set _verb HiFi set _enadev Headphones
+
+or
+
+bc. # to enable HDMI output:
+alsaucm -c apq8064-tabla-snd-card set _verb HiFi set _disdev Headphones
+alsaucm -c apq8064-tabla-snd-card set _verb HDMI set _disdev HDMI-stereo
+alsaucm -c apq8064-tabla-snd-card set _verb HDMI set _enadev HDMI-stereo
+
+You can use any application to play audio files (Gstreamer, mplayer, ...) or you can simply run:
+
+bc. aplay /usr/share/sounds/alsa/Noise.wav
+
h4. How to get and customize Ubuntu packages source code
This release is based on Ubuntu ##UBUNTU_REL## (aka ##UBUNTU_REL_NICK##), and it is not possible to use a different Ubuntu release (e.g. it is not possible to downgrade to an older Ubuntu release, nor is it possible to use a newer release, such as the one being currently developed).