Sound does not work on BeagleBoard (rev C5) with Ubuntu 14.04.3

Skip to first unread message

Sep 19, 2015, 9:35:55 PM9/19/15
to BeagleBoard
Hi all,

Unfortunately I cannot get the sound to work on my BeagleBoard (rev C5) with Ubuntu 14.04.3. I try to use the internal stereo out jack.

Playing any file fails with the following error:

abarth@arm:~$ aplay /usr/share/sounds/alsa/Front_Left.wav
ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
ALSA lib conf.c:4248:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4248:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:4248:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4727:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM default
aplay: main:722: audio open error: No such file or directory

The sound card does not seem to be recognized:
abarth@arm:~$ aplay -l
aplay: device_list:268: no soundcards found...

However, in /proc/asound, I see a card0:

abarth@arm:~$ ls /proc/asound
card0  cards  devices  modules  omap3beagle  oss  pcm  seq  timers  version

Sound kernel modules seem to be loaded:

abarth@arm:~$ lsmod  | grep snd
snd_soc_twl4030        42147  1
snd_soc_omap_mcbsp     25505  2
snd_soc_omap            3125  1 snd_soc_omap_mcbsp
snd_soc_omap_twl4030     7256  0
snd_seq_midi            6165  0
snd_seq_midi_event      7274  1 snd_seq_midi
snd_soc_core          191982  4 snd_soc_omap_twl4030,snd_soc_omap,snd_soc_omap_mcbsp,snd_soc_twl4030
snd_compress           13928  1 snd_soc_core
snd_pcm_dmaengine       5682  2 snd_soc_core,snd_soc_omap
snd_pcm_oss            41006  0
snd_rawmidi            24220  1 snd_seq_midi
snd_mixer_oss          15253  1 snd_pcm_oss
snd_pcm                97788  6 snd_pcm_oss,snd_soc_core,snd_soc_omap,snd_soc_omap_mcbsp,snd_pcm_dmaengine,snd_soc_twl4030
snd_seq                67850  2 snd_seq_midi_event,snd_seq_midi
snd_seq_device          5368  3 snd_seq,snd_rawmidi,snd_seq_midi
snd_timer              22978  2 snd_pcm,snd_seq
snd                    72286  9 snd_pcm_oss,snd_soc_core,snd_timer,snd_pcm,snd_seq,snd_rawmidi,snd_seq_device,snd_compress,snd_mixer_oss
soundcore               8445  1 snd

I have the following alsa packages installed:

abarth@arm:~$ dpkg -l | grep alsa
ii  alsa-base                           1.0.25+dfsg-0ubuntu4                    all          ALSA driver configuration files
ii  alsa-utils                                       armhf        Utilities for configuring and using ALSA

Some more info on my system:

abarth@arm:~$ uname -a
Linux arm 4.1.5-armv7-x2 #1 SMP Tue Aug 11 21:04:06 UTC 2015 armv7l armv7l armv7l GNU/Linux
abarth@arm:~$ cat /etc/issue
Ubuntu 14.04.3 LTS \n \l console Ubuntu Image 2015-08-17

Any help or directions would be greatly appreciated!


Jul 8, 2016, 11:29:12 AM7/8/16
to BeagleBoard,
sudo usermod -a -G $USER audio

Alexander Barth

Jul 20, 2016, 4:14:01 PM7/20/16
to, BeagleBoard
Thank you very much, Joshua, this solved indeed my problem!
Reply all
Reply to author
0 new messages