i have some trouble to run phat dac on rpi2 with dist samplerbox.
Roughly, this dist is based on jessie. It is a read only dist but i have remounted it before making changes of course.
I have followed the tuto: "Setting up pHAT DAC"
But i get no sound.
root@samplerbox:~# aplay -l
**** List of PLAYBACK Hardware Devices ****
root@samplerbox:~#
Following the conf files
file /etc/modprobe.d/raspi-blacklist.conf does not exist
root@samplerbox:~# more /boot/config.txt
dtoverlay=hifiberry-dac
root@samplerbox:~# more /etc/asound.conf
pcm.!default {
type hw
card 0
}
ctl.!default {
type hw
card 0
}
root@samplerbox:~#
root@samplerbox:~# more /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.
> i2c-dev
> #snd_bcm2835
certainly something wrong with the samplerbox image i used.
I had run pimeroni script on it and double check the config, all was fine
i then decided to go from a standard raspbian distib, then set up the phat dac: that time, all went fine
and finally install the samplerbox appli
and now everything works fine
by the way, this samplerbox is great to use with phat dac. It is a great sampler that allows you to play whatever sound from a midi device connected to the Rpi
The kernel used in the original Samplerbox distro is to old.
I replaced it bij the latest Jessie kernel. Download the image and unpack it with 7Zip. Than place your SD-card in your Windows PC en the Boot partition shows up. Save the cmdline.txt and config.txt and replace al the other files. After boot run apt-get update and apt-get upgrade an my Phat Dac works in Samplerbox.
Overwrite everything in the boot partition with the boot-partition of the latest version of Jessie Lite:
a) the boot partition is the partition you can read when you insert the SD-card in a windows PC
b) you can unzip the Jessie Lite with 7-Zip
Use the cmdline and config.txt as I placed here above
Boot your pi
remount the filesystems in read/write ( mount -o remount,rw / ) and run apt-get update and apt-get upgrade (and reboot the pi)
boot seems to be greater in jessie dist than in wheezy one.
Thus, i can not overwrite boot ofmy samplerbox dist: boot volume is too small (63.8 Mo for 79 Mo needed for jessie lite boot)
For information:
i use w32diskimage to burn my image
After you burned the Samplerbox image, you must replace the contents of the boot-partition by hand. The contents of Jessie-lite boot partition is about 20 MB.
You have to unzip the Jessie image:
Open the image with 7-Zip and unzip it.
There should be a 0.fat and a 1.img
Open the 0.fat with 7-Zip and unzip it.
this is the contents of the Boot-partition and can be copied to the SD-card.
You only need win32diskimager to burn the Samplerbox image.