• Home
  • pcDuino
  • WiKi
  • Store
  • Distributors
  • Home
  • pcDuino
  • WiKi
  • Store
  • Distributors
HomepcDuinoA10 based pcDuino1/pcDuino2/pcDuino lite/pcDuino lite wifiHow to modify the default audio output
Previous Next

How to modify the default audio output

Posted by: Alvin Jin , January 22, 2014

The default audio output is to HDMI. Some times our monitor does not have  speaker, we need use USB sound card.

This tutorial will show you how to change the audio output

1. Check the sound system

ubuntu@ubuntu:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Device [Generic USB Audio Device], device 0: USB Audio [USB Audio]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 1: sun4isndhdmi [sun4i-sndhdmi], device 0: SUN4I-HDMIAUDIO sndhdmi-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0

There are 2 sound cards in the system.

 

2. Set the USB sound card as default sound

$vim /etc/asound.conf

Shows

  1. default.pcm.card 0
  2. default.pcm.device 0
  3. default.ctl.card 0

card 0: USB sound card

card 1: HDMI

You can choose which you like.

Then reboot pcDuino by using:

$ sudo reboot

Tags: A10 based pcDuino1/pcDuino2/pcDuino lite/pcDuino lite wifi

Share!
Tweet

Alvin Jin

About the author

Leave a Reply Cancel reply

You must be logged in to post a comment.

Category

  • Home
  • pcDuino
  • WiKi
  • Store
  • Distributors