0

Problem configuring AMP+

Hi,
I'm trying to make the Amp+ working but I am getting an

root@MusicBox:~# aplay -l
aplay: device_list:252: no soundcards found...


Error after following the tutorial on the site, maybe someone can help me understanding what I am doing wrong?
I installed pi-musicbox starting from the disk image that they distribute on their site, the server is up, I can connect to the Raspberry and, before trying to configure Amp+, I was also able to play music.

Just to give you an overview of the system:

root@MusicBox:~# uname -r
3.18.3+


I followed the 3.13+ tutorial.

root@MusicBox:~# rpi-update
*** Raspberry Pi firmware updater by Hexxeh, enhanced by AndrewS and Dom
*** Performing self-update
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 7811 100 7811 0 0 7665 0 0:00:01 0:00:01 --:--:-- 25864
*** Relaunching after update
*** Raspberry Pi firmware updater by Hexxeh, enhanced by AndrewS and Dom
*** Your firmware is already up to date


Here is my blacklist file

root@MusicBox:~# cat /etc/modprobe.d/raspi-blacklist.conf
# blacklist spi and i2c by default (many users don't need them)

# blacklist spi-bcm2708
# blacklist i2c-bcm2708


And here is the /etc/modules file

root@MusicBox:~# cat /etc/modules
# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.
# Parameters can be specified after the module name.

# snd_bcm2835
snd_soc_bcm2708_i2s
bcm2708_dmaengine

ipv6
bcm2708_wdog

# 8188eu
# 8192cu

# HiFiBerry Amp+
# snd_soc_bcm2708
# bcm2708_dmaengine
snd_soc_hifiberry_amp


The snd_soc_bcm2708_i2s and bcm2708_dmaengine where already present when I first edited it, replacing snd_soc_bcm2708_i2s with snd_soc_bcm2708 returns an error on boot, so I just added the last line.

Also, /etc/asound.conf was already present, it looks like it is re-created every time I reboot

root@MusicBox:~# cat /etc/asound.conf
pcm.!default {
type hw
card
}
ctl.!default {
type hw
card
}


It is slightly different from the one in the tutorial, but anytime I edit it, it goes back to this content.

And this is the result

root@MusicBox:~# aplay -l
aplay: device_list:252: no soundcards found...


I suppose that there is something that I need to change in the config since I am not using a plain Raspbian installation, but unfortunately I don't know so much about Linux, and following step-by-step a tutorial is the best that I can do.
Maybe someone has some idea on how to make it work?

Also, here is the boot log, that shown that alsa cannot be started.

root@MusicBox:~# cat /var/log/boot
Thu Jan 22 23:40:42 2015: [....] Activating swap...^[[?25l^[[?1c^[7^[[1G[^[[32m ok ^[[39;49m^[8^[[?25h^[[?0cdone.
Thu Jan 22 23:40:42 2015: [....] Checking root file system...fsck from util-linux 2.20.1
Thu Jan 22 23:40:42 2015: /dev/sda1: clean, 31256/483328 files, 235085/1911552 blocks
Thu Jan 22 23:40:42 2015: ^[[?25l^[[?1c^[7^[[1G[^[[32m ok ^[[39;49m^[8^[[?25h^[[?0cdone.
Thu Jan 22 23:40:42 2015: [....] Cleaning up temporary files... /tmp^[[?25l^[[?1c^[7^[[1G[^[[32m ok ^[[39;49m^[8^[[?25h^[[?0c.
Thu Jan 22 23:40:42 2015: [^[[36minfo^[[39;49m] Loading kernel module snd_soc_bcm2708_i2s.
Thu Jan 22 23:40:42 2015: [^[[36minfo^[[39;49m] Loading kernel module bcm2708_dmaengine.
Thu Jan 22 23:40:42 2015: [^[[36minfo^[[39;49m] Loading kernel module ipv6.
Thu Jan 22 23:40:43 2015: [^[[36minfo^[[39;49m] Loading kernel module bcm2708_wdog.
Thu Jan 22 23:40:43 2015: [^[[36minfo^[[39;49m] Loading kernel module snd_soc_hifiberry_amp.
Thu Jan 22 23:40:48 2015: [....] Activating lvm and md swap...^[[?25l^[[?1c^[7^[[1G[^[[32m ok ^[[39;49m^[8^[[?25h^[[?0cdone.
Thu Jan 22 23:40:48 2015: [....] Checking file systems...fsck from util-linux 2.20.1
Thu Jan 22 23:40:48 2015: dosfsck 3.0.13, 30 Jun 2012, FAT32, LFN
Thu Jan 22 23:40:48 2015: /dev/mmcblk0p1: 28 files, 1346/7161 clusters
Thu Jan 22 23:40:48 2015: ^[[?25l^[[?1c^[7^[[1G[^[[32m ok ^[[39;49m^[8^[[?25h^[[?0cdone.
Thu Jan 22 23:40:49 2015: [....] Mounting local filesystems...^[[?25l^[[?1c^[7^[[1G[^[[32m ok ^[[39;49m^[8^[[?25h^[[?0cdone.
Thu Jan 22 23:40:49 2015: [....] Activating swapfile swap...^[[?25l^[[?1c^[7^[[1G[^[[32m ok ^[[39;49m^[8^[[?25h^[[?0cdone.
Thu Jan 22 23:40:50 2015: [....] Cleaning up temporary files...^[[?25l^[[?1c^[7^[[1G[^[[32m ok ^[[39;49m^[8^[[?25h^[[?0c.
Thu Jan 22 23:40:51 2015: [....] Setting kernel variables ...^[[?25l^[[?1c^[7^[[1G[^[[32m ok ^[[39;49m^[8^[[?25h^[[?0cdone.
Thu Jan 22 23:40:51 2015: [....] Configuring network interfaces...FATAL: Module p80211 not found.
Thu Jan 22 23:40:52 2015: Failed to load p80211.ko.
Thu Jan 22 23:40:52 2015: run-parts: /etc/network/if-pre-up.d/linux-wlan-ng-pre-up exited with return code 1
Thu Jan 22 23:40:53 2015: Error for wireless request "Set Power Management" (8B2C) :
Thu Jan 22 23:40:53 2015: SET failed on device wlan0 ; Function not implemented.
Thu Jan 22 23:40:55 2015: ^[[?25l^[[?1c^[7^[[1G[^[[32m ok ^[[39;49m^[8^[[?25h^[[?0cdone.
Thu Jan 22 23:40:56 2015: [....] Cleaning up temporary files...^[[?25l^[[?1c^[7^[[1G[^[[32m ok ^[[39;49m^[8^[[?25h^[[?0c.
Thu Jan 22 23:40:56 2015: [....] Setting up ALSA...warning: 'alsactl restore' failed with error message 'alsactl: load_state:1686: No soundcards found...'...^[[?25l^[[?1c^[7^[[1G[^[[32m ok ^[[39;49m^[8^[[?25h^[[?0cdone.
Thu Jan 22 23:40:56 2015: locale: Cannot set LC_CTYPE to default locale: No such file or directory
Thu Jan 22 23:40:56 2015: locale: Cannot set LC_MESSAGES to default locale: No such file or directory
Thu Jan 22 23:40:56 2015: locale: Cannot set LC_ALL to default locale: No such file or directory
Thu Jan 22 23:40:57 2015: [^[[36minfo^[[39;49m] Setting console screen modes and fonts.
Thu Jan 22 23:40:57 2015: ^[[9;30]^[[14;30][....] Checking if shift key is held down:Error opening '/dev/input/event*': No such file or directory
Thu Jan 22 23:40:57 2015: No. Switching to ondemand scaling governor^[[?25l^[[?1c^[7^[[1G[^[[32m ok ^[[39;49m^[8^[[?25h^[[?0c.
Thu Jan 22 23:40:57 2015: INIT: Entering runlevel: 2
Thu Jan 22 23:40:57 2015: [^[[36minfo^[[39;49m] Using makefile-style concurrent boot in runlevel 2.
Thu Jan 22 23:40:58 2015: 000000000000000000000000000000 localhost syslogd: unknown facility name "-e"
Thu Jan 22 23:40:58 2015: [....] Network Interface Plugging Daemon...skip eth0...skip wlan0...^[[?25l^[[?1c^[7^[[1G[^[[32m ok ^[[39;49m^[8^[[?25h^[[?0cdone.
Thu Jan 22 23:40:58 2015: [....] Starting system log daemon: syslogd^[[?25l^[[?1c^[7^[[1G[^[[32m ok ^[[39;49m^[8^[[?25h^[[?0c.
Thu Jan 22 23:40:59 2015: [....] Starting periodic command scheduler: cron^[[?25l^[[?1c^[7^[[1G[^[[32m ok ^[[39;49m^[8^[[?25h^[[?0c.
Thu Jan 22 23:40:59 2015: [....] Starting Samba daemons: nmbd smbd^[[?25l^[[?1c^[7^[[1G[^[[32m ok ^[[39;49m^[8^[[?25h^[[?0c.
Thu Jan 22 23:41:00 2015: Error opening '/dev/input/event*': No such file or directory
Thu Jan 22 23:41:00 2015: [....] Starting system message bus: dbus^[[?25l^[[?1c^[7^[[1G[^[[32m ok ^[[39;49m^[8^[[?25h^[[?0c.
Thu Jan 22 23:41:01 2015: Starting watchdog keepalive daemon: wd_keepalive.
Thu Jan 22 23:41:01 2015: [....] Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon^[[?25l^[[?1c^[7^[[1G[^[[32m ok ^[[39;49m^[8^[[?25h^[[?0c.
Thu Jan 22 23:41:01 2015: [....] Starting the Winbind daemon: winbind^[[?25l^[[?1c^[7^[[1G[^[[32m ok ^[[39;49m^[8^[[?25h^[[?0c.


Thank you in advance,
Simone

40 comments

Please sign in to leave a comment.