Sound issue with Raspberry Pi 2 [Solved]

This forum is for topics dealing with problems with software specifically in the ARMv7h repo.

Sound issue with Raspberry Pi 2 [Solved]

Postby MrGreen » Fri Jun 17, 2016 5:41 pm

Am trying to set up mpd on RP2 but cannot get sound device working....

$this->bbcode_second_pass_code('', '[alarm@alarmpi ~]$ mpd
Jun 17 17:38 : server_socket: bind to '0.0.0.0:6600' failed: Address already in use (continuing anyway, because binding to '[::]:6600' succeeded)
Jun 17 17:38 : errno: Failed to open /home/alarm/.config/mpd/database: No such file or directory
Jun 17 17:38 : output: No 'AudioOutput' defined in config file
Jun 17 17:38 : output: Attempt to detect audio output device
Jun 17 17:38 : output: Attempting to detect a alsa audio device
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
Jun 17 17:38 : alsa_output: Error opening default ALSA device: No such file or directory
Jun 17 17:38 : output: Attempting to detect a oss audio device
Jun 17 17:38 : oss_output: Error opening OSS device "/dev/dsp": No such file or directory
Jun 17 17:38 : oss_output: Error opening OSS device "/dev/sound/dsp": No such file or directory
Jun 17 17:38 : output: Attempting to detect a pulse audio device
Assertion 'm' failed at pulse/thread-mainloop.c:241, function pa_threaded_mainloop_get_api(). Aborting.
Jun 17 17:38 : fatal_error: MPD died from signal 6 (core dumped)
')

Some more output

$this->bbcode_second_pass_code('', '[alarm@alarmpi ~]$ alsamixer
cannot open mixer: No such file or directory
[alarm@alarmpi ~]$ lsmod
Module Size Used by
8192cu 532668 0
cfg80211 497999 1 8192cu
bcm2835_rng 2199 0
bcm2835_wdt 3621 0
bcm2835_gpiomem 3718 0
rng_core 8163 1 bcm2835_rng
uio_pdrv_genirq 3591 0
uio 9277 1 uio_pdrv_genirq
sch_fq_codel 8116 6
snd_bcm2835 22495 0
snd_pcm 89121 1 snd_bcm2835
snd_timer 22123 1 snd_pcm
snd 63853 3 snd_bcm2835,snd_timer,snd_pcm
ip_tables 12558 0
x_tables 16694 1 ip_tables
ipv6 369985 22
')

Everything seems ok,,,,,

Packages...

$this->bbcode_second_pass_code('', '[alarm@alarmpi ~]$ pacman -Qq | grep alsa
alsa-firmware
alsa-lib
alsa-oss
alsa-plugins
alsa-utils
zita-alsa-pcmi
')

Have done a few searches and have not found anything that would point too issue..

Am I missing something?
Last edited by MrGreen on Sat Jun 18, 2016 3:05 pm, edited 1 time in total.
MrGreen
 
Posts: 54
Joined: Sun Dec 25, 2011 12:55 pm

Re: Sound issue with Raspberry Pi 2

Postby moonman » Sat Jun 18, 2016 12:28 am

Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: Sound issue with Raspberry Pi 2

Postby MrGreen » Sat Jun 18, 2016 7:20 am

Adding line to config.txt and removing bcm2835 module did nothing. System is fully up to date.

Thanks for your help.
MrGreen
 
Posts: 54
Joined: Sun Dec 25, 2011 12:55 pm

Re: Sound issue with Raspberry Pi 2

Postby moonman » Sat Jun 18, 2016 8:06 am

Did you unmute PCM in alsamixer?

Also to be clear, you added
$this->bbcode_second_pass_code('', 'dtparam=audio=on')
to config.txt ?

https://wiki.archlinux.org/index.php/Raspberry_Pi#Audio
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: Sound issue with Raspberry Pi 2

Postby MrGreen » Sat Jun 18, 2016 8:59 am

Seems I had not added line correctly :oops: sound is working now .... thank you so much
MrGreen
 
Posts: 54
Joined: Sun Dec 25, 2011 12:55 pm


Return to ARMv7h

Who is online

Users browsing this forum: No registered users and 8 guests