Hello everyone
I would like to use the Logitech Media Server for my multiroom audio solution. For this reason I equpped my B+ with the squeezeblug and a HiFiBerry Amp+.
I was not able to get it running.
If I type aplay -l I got the following result:
**** List of PLAYBACK Hardware Devices ****
card 0: ALSA [bcm2835 ALSA], device 0: bcm2835 ALSA [bcm2835 ALSA]
Subdevices: 7/8
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2
Subdevice #3: subdevice #3
Subdevice #4: subdevice #4
Subdevice #5: subdevice #5
Subdevice #6: subdevice #6
Subdevice #7: subdevice #7
card 0: ALSA [bcm2835 ALSA], device 1: bcm2835 ALSA [bcm2835 IEC958/HDMI]
Subdevices: 1/1
Subdevice #0: subdevice #0
So there is no HiFiBerry board found! I already tried to update via rsb-update, but no changes.
Does anyone know if this should work or if I need some kind of driver?
-georg
Date
Votes
10 comments
-
HiFiBerry team Hi Georg,
you always need to configure the right driver. What kernel version are you using?
Check out the guides here:
https://www.hifiberry.com/guides/hifiberry-software-configuration/
https://www.hifiberry.com/guides/configuring-linux-3-18-x/
3.18.x for the Amp is still a bit rough, you might need to configure the overlay file AND the modules in /etc/modules. You also should remove the driver for the onboard sound.
Best regards
Daniel -
gfg Hi Daniel
Thank you for you fast reply! My kernel version seems to be 3.18.5+.
I did follow the instructions on your 2nd link.
The aplay -l now delivers
aplay: device_list:252: no soundcards found...
Did I miss something?
This is what I did:
-------
from /etc/modprobe.d/raspi-blacklist.conf
# blacklist spi and i2c by default (many users don't need them)
# blacklist spi-bcm2708
# blacklist i2c-bcm2708
------
from /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
------
Created /etc/asound.conf
------
edit /boot/config.txt //added as last line
device_tree_overlay=overlays/hifiberry-amp-overlay.dtb
----- -
wolexie I am experiencing the same issue too..
What is the way forward? -
HiFiBerry team The workaround is
device_tree=
in config.txt (not device_tree_overlay and just device_tree= without an overlay file) and configuring the modules like in 3.12.x
Best regards
Daniel -
wolexie Thanks Daniel.
It worked!
Once I get the sound coming through the attached speakers, I'd post my steps... -
wolexie I finally got everything to work!
I had to change the power supply to a 12V and it worked immediately.
SqueezePlug Installation
My steps:
Download the squeezeplug from http://www.squeezeplug.eu/.
Use any disk imager to install squeezeplug unto the SD card (I used Win32DiskImager).
Once completed, pop it into the raspberry pi
Follow the instructions on screen (Expand to fill the card first, set the hostname and change the password if necessary)
Don't install squeezeplug/squeezelite yet!
Quit setup
Using winscp, open the raspberry pi.
Follow the advice on- Update the blacklist file
- Update /etc/modules file -<br/> Add
- snd_soc_bcm2708
- bcm2708_dmaengine
- snd_soc_hifiberry_digi
- Create asound.conf and set the contents to Configure ALSA section in guide
- In /boot/config.txt, make sure to use device_tree=
Save and reboot - run rpi-update
- Once done, run aplay -l to find out what cards are initialized.
- Run apt-get install mplayer (You may have to run, apt-get update if it fails)
- Copy any *.wav/mp3 file into /media/
- Run mplayer -ao alsa:device=hw=1.0 /media/yourfile.mp3
- If everything is fine, sound should emit from your amp+ now (if no sound, check that the power supply is atleast a 12V)
- Run setup again and install squeezeplug server
- Install squeezelite afterwards.
- I could not select the Hifiberry amp in the card to use for squeezelite, so I selected the hifiberry dac
This broke my installation so I had to amend the modules file again with the above...
Then from a browser go to the squeezeplug server and complete the installation.
It's all good!!!
Thanks Daniel for pointing in the right direction for the configuration... -
HiFiBerry team Hi,
what power supply did you use before? We plan to sell a nice 18V Meanwell power supply in our shop soon:
https://www.hifiberry.com/product/meanwell-gs60a18-p1j/
Best regards
Daniel -
wolexie I used a 5V power supply but it powered the pi only... -
gfg HI
I finally found some time to give it another try. Thanks to wolexie and of course daniel, it works perfect now!
All the Best
Georg -
HiFiBerry team Good to hear this.
Enjoy your sound!
Daniel
Please sign in to leave a comment.