FredBloggs
Posts: 10
Joined: Sat Mar 03, 2012 3:49 pm

Re: squeezeplug for raspberry pi is the business

Sat Jul 07, 2012 9:23 pm

New to Pi, Linux and Squeezebox so any help appreciated!

I'm running the Logitech server on my Netgear ReadyNAS - my Samsung TV picks it up a DLNA source and will play the music - so I think that side of things is working.

I've put the Squeezeplug image on my SD card, booted and selected Raspberry Pi for the first setup, gone to Network and LAN and selected Yes through to reboot, then gone to Misc and installed SqueezeSlave which claims to have installed ok

After a reboot I was expecting some kind of message to say it was running....

The Logitech Squeezebox app on my Android can't find a player.

Am I missing something?

Any help appreciated!

Brian.

User avatar
truehl
Posts: 642
Joined: Sun Mar 04, 2012 6:47 pm
Contact: Website

Re: squeezeplug for raspberry pi is the business

Sun Jul 08, 2012 8:40 am

FredBloggs wrote:After a reboot I was expecting some kind of message to say it was running....

The Logitech Squeezebox app on my Android can't find a player.

Am I missing something?

Any help appreciated!

Brian.
Hi Brian, no, as far as I can see there is nothing missing. Could you please type "top" to see if you have a process running named SqueezeSlave? Or type: "top |grep squeeze"
truehl
http://www.squeezeplug.de

User avatar
Paul Webster
Posts: 817
Joined: Sat Jul 30, 2011 4:49 am
Location: London, UK
Contact: Twitter

Re: squeezeplug for raspberry pi is the business

Sun Jul 08, 2012 9:25 am

If you cannot see SqueezeSlave running (ps -ef | grep squeezeslave) then it might be that SqueezeSlave cannot find an audio device.
You can run it by hand with -L parameter (if it is not already running) and it will List the audio devices that it can find.

FredBloggs
Posts: 10
Joined: Sat Mar 03, 2012 3:49 pm

Re: squeezeplug for raspberry pi is the business

Sun Jul 08, 2012 8:25 pm

Thanks for your help, just got time to be able to check!

Squeezeslave is listed in when I type ps

When I run it with the -L I get

PortAudio Error7: No output device found.

Any help appreciated!
Last edited by FredBloggs on Sun Jul 08, 2012 8:54 pm, edited 1 time in total.

User avatar
truehl
Posts: 642
Joined: Sun Mar 04, 2012 6:47 pm
Contact: Website

Re: squeezeplug for raspberry pi is the business

Sun Jul 08, 2012 8:40 pm

Please try:
echo "snd-bcm2835" >> /etc/modules
and reboot
truehl
http://www.squeezeplug.de

FredBloggs
Posts: 10
Joined: Sat Mar 03, 2012 3:49 pm

Re: squeezeplug for raspberry pi is the business

Sun Jul 08, 2012 8:46 pm

Ok - the echo command didn't return anything - just back to the prompt
Rebooted - still nothing....
Same error when I do a -L : No Output device

User avatar
truehl
Posts: 642
Joined: Sun Mar 04, 2012 6:47 pm
Contact: Website

Re: squeezeplug for raspberry pi is the business

Sun Jul 08, 2012 9:01 pm

FredBloggs wrote:Ok - the echo command didn't return anything - just back to the prompt
Rebooted - still nothing....
Same error when I do a -L : No Output device
and what does "modprobe snd_bcm2835" ?
truehl
http://www.squeezeplug.de

FredBloggs
Posts: 10
Joined: Sat Mar 03, 2012 3:49 pm

Re: squeezeplug for raspberry pi is the business

Sun Jul 08, 2012 9:03 pm

No message back - just a new command line

User avatar
truehl
Posts: 642
Joined: Sun Mar 04, 2012 6:47 pm
Contact: Website

Re: squeezeplug for raspberry pi is the business

Sun Jul 08, 2012 9:15 pm

FredBloggs wrote:No message back - just a new command line
And SqueezeSlave still don't work? If yes I would start from the beginning. Did you choose the device "raspberry Pi" at the initial start?
truehl
http://www.squeezeplug.de

FredBloggs
Posts: 10
Joined: Sat Mar 03, 2012 3:49 pm

Re: squeezeplug for raspberry pi is the business

Sun Jul 08, 2012 9:24 pm

Still nothing. When I so squeezeslave -l it shows my server so it seems to work ok, but -L gives the audio error.

I'm sure I picked Raspberry PI during installation!

I'll give it another try and report back tomorrow - thanks for your help.

User avatar
Paul Webster
Posts: 817
Joined: Sat Jul 30, 2011 4:49 am
Location: London, UK
Contact: Twitter

Re: squeezeplug for raspberry pi is the business

Sun Jul 08, 2012 9:49 pm

If SquezeSlave is already running then don't run it again with the -L ... because the other SqueezeSlave has already taken control of the audio (which is why the 2nd one can't find an audio device).
The fact that it is already running shows the SqueezeSlave thinks that it has audio output available (it exits if it cannot find any).

So the implication is that the problem is elsewhere.

You could kill the running one and try running from command line to see what, if anything it reports.
(I have never seen anything go into the log file)
I am not near RPi at the moment - so this is from memory ...

Code: Select all

/etc/rc2.d/S01squeezeslave stop
Then run it by hand as you were trying before.

filou
Posts: 8
Joined: Mon Jul 09, 2012 6:40 pm

Re: squeezeplug for raspberry pi is the business

Mon Jul 09, 2012 6:44 pm

I am experiencing exactly this problem. It's the second time I have tried squeezebox and I hit the same wall then.

I'll be following this thread with interest because it looks like a great piece of software and I'd love to get it running!

FredBloggs
Posts: 10
Joined: Sat Mar 03, 2012 3:49 pm

Re: squeezeplug for raspberry pi is the business

Mon Jul 09, 2012 6:53 pm

Sorry - I'm away from home this week so won't be able to try anything else until the weekend....

startreksteve
Posts: 44
Joined: Tue Mar 13, 2012 10:23 am

Re: squeezeplug for raspberry pi is the business

Tue Jul 10, 2012 1:23 pm

Im trying to install raspi-update, but I keep getting the error "/boot/start.elf doesnt exist"

User avatar
truehl
Posts: 642
Joined: Sun Mar 04, 2012 6:47 pm
Contact: Website

Re: squeezeplug for raspberry pi is the business

Tue Jul 10, 2012 1:30 pm

rpi-update is already installed, there is no need to install it!

You can start it with "rpi-update"!
truehl
http://www.squeezeplug.de

ddg
Posts: 31
Joined: Tue Jul 10, 2012 2:18 pm

Re: squeezeplug for raspberry pi is the business

Tue Jul 10, 2012 2:37 pm

wow! this is a very cool project. The install went very well except I still need to figure out my USB wifi. I'd like to make one of my sd cards as the os of a battery powered airtunes/airplay speaker (audio only). So far this comes a close as it gets with squeezeslave. I am eager to try the shairport plugin. However, I'd really like to see an Airfoil Speakers for Linux plugin option too. My experience is it is more in sync with other speakers than using shairport. The downside is you need Airfoil to transmit to the Airfoil speakers. It is currently a command line application. Please consider this.
Thanks

User avatar
truehl
Posts: 642
Joined: Sun Mar 04, 2012 6:47 pm
Contact: Website

Re: squeezeplug for raspberry pi is the business

Wed Jul 11, 2012 7:21 am

ddg wrote:wow! this is a very cool project. The install went very well except I still need to figure out my USB wifi. I'd like to make one of my sd cards as the os of a battery powered airtunes/airplay speaker (audio only). So far this comes a close as it gets with squeezeslave. I am eager to try the shairport plugin. However, I'd really like to see an Airfoil Speakers for Linux plugin option too. My experience is it is more in sync with other speakers than using shairport. The downside is you need Airfoil to transmit to the Airfoil speakers. It is currently a command line application. Please consider this.
Thanks
What about Airfoil, is there an implementation for Raspberry Pi?
truehl
http://www.squeezeplug.de

startreksteve
Posts: 44
Joined: Tue Mar 13, 2012 10:23 am

Re: squeezeplug for raspberry pi is the business

Wed Jul 11, 2012 7:42 am

truehl wrote:rpi-update is already installed, there is no need to install it!

You can start it with "rpi-update"!
Thats was the problem, it wouldnt run as start.elf was missing!

I managed to download it elsewhere, stuck it on a USB stick and copy it to /boot

All working now, although I'm a dab hand in the terminal, I find Midnight Commander invaluable to cut down on the typing!

User avatar
Paul Webster
Posts: 817
Joined: Sat Jul 30, 2011 4:49 am
Location: London, UK
Contact: Twitter

Re: squeezeplug for raspberry pi is the business

Wed Jul 11, 2012 8:08 am

I wonder if the problem was that /boot was not mounted.
We're their other files in /boot when start.elf was not present?

ddg
Posts: 31
Joined: Tue Jul 10, 2012 2:18 pm

Re: squeezeplug for raspberry pi is the business

Wed Jul 11, 2012 12:23 pm

They still don't have a server/streamer edition of Airfoi for linux. But they do have a Linux version that receives the stream, http://rogueamoeba.com/airfoil/speakers.php/

They have a Debian package. But I have had no luck with it. Mostly dependencies (mono)

Thanks

User avatar
truehl
Posts: 642
Joined: Sun Mar 04, 2012 6:47 pm
Contact: Website

Re: squeezeplug for raspberry pi is the business

Wed Jul 11, 2012 1:26 pm

Hi,
got it installed:

Code: Select all

cd /tmp
wget http://www.rogueamoeba.com/airfoil/download/AirfoilSpeakersLinux.all.deb
dpkg -i AirfoilSpeakersLinux.all.deb
apt-get --yes install -f
Ignore the error messages after "apt-get --yes install -f" it's because the dependencies. You will fix this by the next command.

So far it seems to be installed, an now? I can't see any Air Play device from my iPad. I've tried the windows version and it works great. How do I start Airfoil ???
truehl
http://www.squeezeplug.de

ddg
Posts: 31
Joined: Tue Jul 10, 2012 2:18 pm

Re: squeezeplug for raspberry pi is the business

Wed Jul 11, 2012 1:47 pm

I just read Apple stripped that capability to stream from stream airfoil protocol from within iOS. IOS will still recieve streams from Airfoil mac/windows. bummed about that.
I throughput squeezeplay via airfoil on a Mac server with LMS.
I'll try your install and let you know what happens.

filou
Posts: 8
Joined: Mon Jul 09, 2012 6:40 pm

Re: squeezeplug for raspberry pi is the business

Wed Jul 11, 2012 2:35 pm

Hi

I'm not having any luck with the installation and I wondered if anyone can help. I have tried the installation many times and always have the same problem. I have two rpis and a couple of sd cards so I have tried the same process with different hardware. I have also had despotify working on Raspbian so I know that my rpi is not damaged and can produce sound through the analogue output.

I have an LMS running on my NAS, on the same network as my rpi. I booted from the squeezeplug image and chose the rpi option.

Then I set the network to DHCP and rebooted.

Then I installed squeezeslave and rebooted.

I did

Code: Select all

ps aux | grep squeezeslave
to check squeezeslave was running.

My android device could not detect squeezeslave.

Then I tried squeezeslave on my rpi

And it returned the error

Code: Select all

 PortAudio error7: No output devices found.
Alsamixer is installed and it lists bcm2835 ALSA as the soundcard, with volume turned up.

I'm new to streaming music through a media server and a linux novice so I guess I'm probably just making a stupid mistake. Hope someone can help! TIA.

ddg
Posts: 31
Joined: Tue Jul 10, 2012 2:18 pm

Re: squeezeplug for raspberry pi is the business

Wed Jul 11, 2012 3:10 pm

Thanks for the help.
I still couldn't get Airfoil speakers to install. It looks like it's dependencies are either unstable of experimental packages. I'll fiddle with this airfoil a bit more later.

Code: Select all

airfoilspeakers depends on mono-runtime (>= 2.10.5); however:
  Version of mono-runtime on system is 2.6.7-5.
 airfoilspeakers depends on libmono-corlib4.0-cil (>= 2.10.5); however:
  Package libmono-corlib4.0-cil is not installed.
 airfoilspeakers depends on libmono-system4.0-cil (>= 2.10.5); however:
  Package libmono-system4.0-cil is not installed.
 airfoilspeakers depends on libmono-system-runtime4.0-cil (>= 2.10.5); however:
  Package libmono-system-runtime4.0-cil is not installed.
 airfoilspeakers depends on libmono-system-windows-forms4.0-cil (>= 2.10.5); however:
  Package libmono-system-windows-forms4.0-cil is not installed.
 airfoilspeakers depends on libmono-system-xml-linq4.0-cil (>= 2.10.5); however:
  Package libmono-system-xml-linq4.0-cil is not installed.

ddg
Posts: 31
Joined: Tue Jul 10, 2012 2:18 pm

Re: squeezeplug for raspberry pi is the business

Wed Jul 11, 2012 7:10 pm

Filou,
I had an issue with finding squeezeslave too. I had installed Logitech Media Server on the pi with squeezeslave. I used a another computer's web browser and went to the server control and settings address with a browser. ie 192.168.x.x:9000. After setting it up and signing into squeezebox.com it found it no problem. Everything seems fine. One exception is tunein radio app (plays back too fast, sounds like The Chimpmunks)

Return to “Media centres”