Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-21-2016, 10:13 AM   #1
LQ Newbie
Registered: Jul 2015
Posts: 22

Rep: Reputation: Disabled
Headless raspberry pi3 and audio output

I have a raspberry pi 3 and I use it to learn more about Linux. In the mean time I would like to connect a set of speakers and play some online radio station. However, I can't get the audio to work. I loaded the snd-bcm2835 kernel module (might not be the right one?), installed alsa-utils and pulseaudio.
MPV for example complains:
(+) Audio --aid=1 --alang=eng (*) (opus)
ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
ALSA lib conf.c:4292:(_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:4292:(_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:4292:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4771:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM default
[ao/alsa] Playback open error: No such file or directory
[ao] Failed to initialize audio driver 'alsa'
Could not open/initialize audio device -> no sound.
Audio: no audio
Dmesg complains:

[34601.971567] snd_bcm2835: Unknown symbol snd_ctl_add (err 0)
[34601.971595] snd_bcm2835: Unknown symbol snd_pcm_new (err 0)
[34601.971627] snd_bcm2835: Unknown symbol snd_card_register (err 0)
[34601.971653] snd_bcm2835: Unknown symbol snd_card_free (err 0)
[34601.971678] snd_bcm2835: Unknown symbol snd_pcm_lib_preallocate_pages_for_all (err 0)
[34601.971721] snd_bcm2835: Unknown symbol snd_ctl_new1 (err 0)
[34601.971738] snd_bcm2835: Unknown symbol snd_card_new (err 0)
[34601.971761] snd_bcm2835: Unknown symbol snd_pcm_lib_malloc_pages (err 0)
[34601.971785] snd_bcm2835: Unknown symbol snd_pcm_lib_ioctl (err 0)
[34601.971802] snd_bcm2835: Unknown symbol snd_pcm_lib_free_pages (err 0)
[34601.971841] snd_bcm2835: Unknown symbol snd_pcm_set_ops (err 0)
[34601.971880] snd_bcm2835: Unknown symbol snd_device_new (err 0)
[34601.971958] snd_bcm2835: Unknown symbol snd_pcm_period_elapsed (err 0)
[34601.971976] snd_bcm2835: Unknown symbol snd_pcm_hw_constraint_step (err 0)
[34601.972013] snd_bcm2835: Unknown symbol snd_pcm_format_width (err 0)
Old 07-22-2016, 03:26 AM   #2
LQ Guru
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 9,905

Rep: Reputation: 2921Reputation: 2921Reputation: 2921Reputation: 2921Reputation: 2921Reputation: 2921Reputation: 2921Reputation: 2921Reputation: 2921Reputation: 2921Reputation: 2921
would be nice to know (at least) what os is installed
Old 08-19-2016, 05:16 AM   #3
LQ Newbie
Registered: Jul 2015
Posts: 22

Original Poster
Rep: Reputation: Disabled
sound was disabled in the kernel's config file (which I didn't know existed, as x86-land, it doesn't)


alsa, pulse, raspberrry pi

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Elementary OS on Raspberry Pi3 (arm processors) ?? Marv_Mark elementary OS 3 12-14-2016 07:04 PM
GPIO output Raspberry pi3 andi968 Programming 2 04-13-2016 02:38 PM
Wireless Networking Problems on Headless Raspberry Pi dmchess Linux - Networking 1 02-28-2013 07:38 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:30 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration