Hi,
I have tried Hifiberry with Volumio and everything is working fine, also with Shairport. The problem is I want to listen to Spotify, some radios and make multiroom and it is impossible (with iOS) , for the moment, with Volumio.
So I have also tried with Squeezeplug. Squezelite and Squeezeslave work fine with Hifiberry but not Shairport. I have tried to comment the line "bcm2835" in the /etc/modules with nano but Shairport does not work after this...
Can anyone help me ? I am not an expert in code.
Regards
Date
Votes
11 comments
-
HiFiBerry team Please run the check script as shown at the end of this page:
http://www.hifiberry.com/products/dac/hifiberry-dac-software/
Post the output here.
Best regards
Daniel -
Benjamin Vandenbulcke Hifiberry is detected but I don't understand why It is working with Squeezelite and not with Shairport
Checking system
Linux squeezeplug 3.10.33+ #658 PREEMPT Tue Mar 18 17:35:55 GMT 2014 armv6l GNU/Linux
Kernel: 3.10.33+
PRETTY_NAME="Raspbian GNU/Linux 7 (wheezy)"
NAME="Raspbian GNU/Linux"
VERSION_ID="7"
VERSION="7 (wheezy)"
ID=raspbian
ID_LIKE=debian
ANSI_COLOR="1;31"
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
Sound cards
**** List of PLAYBACK Hardware Devices ****
card 1: sndrpihifiberry [snd_rpi_hifiberry_dac], device 0: HifiBerry DAC HiFi pcm5102a-hifi-0 []
Subdevices: 0/1
Subdevice #0: subdevice #0
card 2: ALSA [bcm2835 ALSA], device 0: bcm2835 ALSA [bcm2835 ALSA]
Subdevices: 8/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
Playing WAVE 'sin1000_48khz.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo -
HiFiBerry team Looks like you have configured the system for the DAC, not the Digi (also my mistake as I have linked the test script for the DAC).
Please use the test script from here:
http://www.hifiberry.com/products/digi-connect-your-external-dac/hifiberry-digi-software-installation/
I guess /etc/modules is not correct. -
Benjamin Vandenbulcke Hi Daniel,
I have made a mistake when I posted. I have effectively the Dac and not the Digi. So if you can change the place of my message.
Thus, the script you gave me is correct.
regards -
HiFiBerry team try to remove the wm8804 and the hifiberry digi driver in /etc/modules if they are configured there. -
bechter Hello Daniel
i have the same issue with the DAC+. It runs on a RasPi B+ under Squeezeplug 7.50.
SqueezeLite is running and sounding well, but Shairport always stops due to device being busy. I haven't installed MPD - do i need to install it as secondary player? Doesn't it run with the same SqueezeLite-Player.
On our elder RasPi B with squeezeplug 7.7 it ran simultaneously through the earphone plug.
Grüsse an Ihre Frau! Ich hatte bei der Bestellung mit ihr zu tun (Fa. Manser Lömmenschwil)
Christian -
HiFiBerry team Dear Christian,
I guess SqueezeLite always connects to the DAC. As the DAC can't handle simultaneous connections, the driver is blocked for other processes if SqueezeLite is running. You have to stop the process.
The onboard sound interface might be able to support multiple connections, the DAC does not. This is a general limitation of the I2S sound driver.
Some people use pulseaudio as a virtual sound card for this kind of applications. However running pulseaudio on the Raspberry Pi is not trivial and often creates problems with a high CPU load.
Best regards
Daniel -
bechter Hi Daniel
Thank you for the quick answer!
Isn't ist possible to close the SqueezeLite-Connection to the DAC while it's open but not not playing? Then Shairport could make the connection.
Schöne Obig! -
HiFiBerry team Hi Christian,
this depends how SqueezeLite is programmed internally. It has to release the connection to the sound card if no stream is being played. However many playback software just opens the connection to the sound card on startup and never releases them. The combination of mpd/shairport also needs some tricks to make sure only one program is using the card. I'm not sure if somebody did this for SqueezeLite/shairport before.
Best regards
Daniel -
Benjamin Vandenbulcke Hi, I confirm it is possible to make Squeezelite and Shairport working together. I do not have found a solution to stop shairport before launching squeezelite but it will not crash. Check my explanation on Volumio forum
http://volumio.org/forum/install-squeezelite-volumio-rasppi-t657-30.html -
HiFiBerry team Hi Benjamin,
thank you very much for this feedback.
Best regards
Daniel
Please sign in to leave a comment.