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?