SqueezePlay OS for Joggler

General discussion relating to the O2 Joggler, from the default O2 setup, to alternative operating systems and applications.
Locked
ilovemyjoggler
Posts: 711
Joined: Sun May 13, 2012 4:42 pm

Re: SqueezePlay OS for Joggler

Post by ilovemyjoggler »

ilovemyjoggler wrote:Hello. I've been listening to music sync'ed between 2 jogglers. It seems to repeatedly stop playing on both jogglers, mostly just a short pause but occasionally doesn't come back at all and I need to restart the track. Is there something I need do to prevent this? I don't have this problem when the jogglers are running independently, just when synchronised. Ta.
I've tried synchronise repeatedly throughout the weekend hoping it was a glitch but this problem happens without fail. One joggler is using the newest squeezeplay os; the other is using the newest PNPIII squeezeplay.

It would be a great shame to be unable to use this brilliant feature as these jogglers feed 3 open plan rooms. Has anyone else come across this?
User avatar
pete
Posts: 2961
Joined: Mon Aug 01, 2011 6:33 am
Location: Time Traveler

Re: SqueezePlay OS for Joggler

Post by pete »

Here I lost my SB Joggler a couple of days ago. Its been just fine for over a month. That said it went to an O2 screen and stayed; never changing.

Never seen this happen with one of my Jogglers.

Rewrote the flash with roobarb!'s stuff and worked just fine. I used a standard USB 4Gb stick.

Initially though tried this new microSD USB thing. I was able to write to the microSD card just fine. Its very small. That said though it would not boot up on the side USB port.
- Pete
O2 Jogglers running EFI Ubuntu / Squeezeplayer
OpenPeak Voip Telephony / Zigbee tabletops hardware modded with Seabios / RTC / Ethernet ROM edits / SSD drives running XPe for automation screens

Auto mater
JohnB
Posts: 2
Joined: Tue Nov 13, 2012 12:11 am

Re: SqueezePlay OS for Joggler

Post by JohnB »

I recently picked up a used Joggler to use as a SqueezePlayer and discovered your wonderfull SqueezePlay OS. It seems like it will be just the ticket. I also picked up a Behringer UCA202 USB/DAC as it seems that many people were having success with it with the Joggler. I installed the internal SqueezePlay OS and all went well until I tried to set it to an External Interface in settings. When I rebooted it, it got into a loop with the the OpenPeak screen for about a second or two and then the SqueezePlay screen and then back to the OpenPeak screen (with a bunch of white lines near the bottom of the screen) and so on at 2 second intervals.

I tried the SqueezePlay OS booting from a USB stick and it fired up just fine but had the same boot loop once I tried to change to the External Interface in settings. I then reflashed it with the original OpenPeak O2 image, which seemed to repartition the memory which I thought was a good thing. It fired up the OpenPeak software just fine. I then tried to reflash with the internal SqueezePlay OS and ran into the same problem of not working after changeing to the External Interface and looping. I then reflashed and reinstalled the SqueezePlay OS internal which works as long I don't change the settings. I SSH in and got the following:

Code: Select all

joggler@joggler:~$ cat /proc/asound/cards
 0 [CODEC          ]: USB-Audio - USB Audio CODEC
                      Burr-Brown from TI USB Audio CODEC at usb-0000:00:1d.1-2, full speed
 1 [USB            ]: USB-Audio - VegaOne USB
                      Philips VegaOne USB at usb-0000:00:1d.1-1, full speed
 2 [MID            ]: HDA-Intel - HDA Intel MID
                      HDA Intel MID at 0xd01c0000 irq 16
joggler@joggler:~$ cat /etc/asound.conf
pcm.!default {
	type plug
	slave.pcm "dmixer"
}

pcm.dmixer  {
 	type dmix
 	ipc_key 1024
 	slave {
		pcm "hw:0,0"
		period_time 0
		period_size 1024
		buffer_size 4096
		rate 44100
	}
	bindings {
		0 0
		1 1
	}
}

ctl.dmixer {
	type hw
	card 0
}
I tried changing card 0 to card 1 which seemed to work. I got sound out of the Behringer, but I was also getting a stactic noise from the internal speakers. So I then tried replacing the asound.conf with a simple acound.conf that was posted earlier:

Code: Select all

pcm.!default {
   type plug
   slave.pcm {
     type hw
     card 1
   }
}
ctl.!default {
   type hw
   card 1
}
With that I got no sound. I went back to the original asound.conf with the card 1 and it now just plays through the speakers!
I just checked the /proc/asound/cards and got:
joggler@joggler:~$ cat /proc/asound/cards
0 [MID ]: HDA-Intel - HDA Intel MID
HDA Intel MID at 0xd01c0000 irq 16
1 [USB ]: USB-Audio - VegaOne USB
Philips VegaOne USB at usb-0000:00:1d.1-1, full speed
2 [CODEC ]: USB-Audio - USB Audio CODEC
Burr-Brown from TI USB Audio CODEC at usb-0000:00:1

It looks like a different order. I am open to any suggestions.
I would like to use the Beringer UCA202 with the internal Squeezeplay OS and turn off the Joggler speakers. Do you have a better configuration for the asound.conf file or any further testing that I can do?
User avatar
Fishy
Posts: 93
Joined: Wed Jun 27, 2012 4:46 pm
Location: Manchester, UK

Re: SqueezePlay OS for Joggler

Post by Fishy »

I have 3 Jogglers all using Behringer UCA202 sound cards.
None of mine had Openpeak OS when bought, all were O2.
In course of progressing up the Joggler learning curve ;) I have reflashed them several times back to original O2 build using roobarb's reflashing tool and the O2 image file, both available on his website.
From that point have then flashed 2 with PnPIII and one with SqPOS.
Have then selecting usb sound options for each OS, (browse to Joggler IP for PNP; sound settings for SqPOS) to enable sound via Behringers.
All have worked fine following steps above without having to adjust anything using putty, SSH, etc etc.

One other point - the Joggler internal memory is limited and if you are using it to host LMS may cause it to crash if your music library is large.
My SqPOS Joggler hosts LMS for access by the PNPIII Jogglers but I have everything on an 8GB usb drive (mounted internally where the wireless card used to be).

Good luck!
Last edited by Fishy on Tue Nov 13, 2012 11:16 am, edited 1 time in total.
User avatar
Fishy
Posts: 93
Joined: Wed Jun 27, 2012 4:46 pm
Location: Manchester, UK

Re: SqueezePlay OS for Joggler

Post by Fishy »

ilovemyjoggler wrote: I've tried synchronise repeatedly throughout the weekend hoping it was a glitch but this problem happens without fail. One joggler is using the newest squeezeplay os; the other is using the newest PNPIII squeezeplay.

It would be a great shame to be unable to use this brilliant feature as these jogglers feed 3 open plan rooms. Has anyone else come across this?
I have 3 Jogglers - 1 with SqPOS and 2 with PNPIII; all on latest versions of software.
Also have a SB Touch and have SqueezePlay on a laptop.
The SqPOS Joggler hosts LMS and acts as the server for all the other devices.
Music is on a LaCie 750GB hard drive attached via ethernet to one of my routers.
I can successfully play all devices (3 Jogglers, SB Touch & laptop) sync'd without the problem you describe - so it can be done!
Thus I think that excludes software issues as the source of your woes.
What you describe indicates to me some sort of "buffering" issue, ie something is struggling to keep up.
Is it your hard drive? - do you get the same problem with music from an external source, eg internet radio?
How good is your network? - in my set up everything is hard-wired. If yours is wireless try hard-wiring key components such as the LMS host and the music hard drive.
See what effects are; that way hopefully you will identify the weak link that is causing the problem.
ilovemyjoggler
Posts: 711
Joined: Sun May 13, 2012 4:42 pm

Re: SqueezePlay OS for Joggler

Post by ilovemyjoggler »

Fishy wrote:I have 3 Jogglers - 1 with SqPOS and 2 with PNPIII; all on latest versions of software.
Also have a SB Touch and have SqueezePlay on a laptop.
The SqPOS Joggler hosts LMS and acts as the server for all the other devices.
Music is on a LaCie 750GB hard drive attached via ethernet to one of my routers.
I can successfully play all devices (3 Jogglers, SB Touch & laptop) sync'd without the problem you describe - so it can be done!
Thus I think that excludes software issues as the source of your woes.
What you describe indicates to me some sort of "buffering" issue, ie something is struggling to keep up.
Is it your hard drive? - do you get the same problem with music from an external source, eg internet radio?
How good is your network? - in my set up everything is hard-wired. If yours is wireless try hard-wiring key components such as the LMS host and the music hard drive.
See what effects are; that way hopefully you will identify the weak link that is causing the problem.
Thanks fishy for confirming that it does work. So clearly it's my set up which is almost identical to yours except all mine are using wifi and music is being read from a usb. Have now got all 3 playing in sync again to see what happens....

Back again. This is bonkers as it's currently playing an unprecedented 16 tracks without stopping once, which is brilliant, but I don't understand how. They all worked fine at the same time albeit independently over the weekend, and yesterday too, but the minute I sync'ed I got no further than a track or 2 at best. I tried various times of day...over various days...

Decorating is planned in the next couple of weeks so the joggler with SqPOS can be moved and attached to the router - hopefully that'll make it more stable. Thanks again!

While I'm at it, roobarb! airplay was picked up almost immediately for me and hasn't failed once (yet...). :)
User avatar
JimbobVFR400
Posts: 264
Joined: Fri Jul 20, 2012 8:39 pm

Re: SqueezePlay OS for Joggler

Post by JimbobVFR400 »

If you're using WiFi it's worth checking there's not loads of other wifi access points in the area using the same channel, and selecting the least used channel on your own router. Use either inSSIDer on your PC or WiFi Analyser on Android and select a better channel based on the results.

There could also be other things causing interference on the 2.4GHz band used by wifi, including cordless phones, microwaves and loads of other things. It's also not unknown for ballasts in fluorescent or energy saver lights to be causing interference. I've even known a fridge to cause issues (just shortly before it went kaput)

I'd also agree that at the least the server machine should be wired rather than wireless.
sutty81
Posts: 3
Joined: Tue Nov 13, 2012 10:30 pm

Re: SqueezePlay OS for Joggler

Post by sutty81 »

Hi All,

I'm new here so apologies if this is obvious. I flashed to the newest openpeak firmware (openpeak small 12-06-04) and installed PNPIII OK. Then decided to go the whole hog and install squeezeplay OS onto the internal flash (so I could try out my native instruments audio 4 DJ card - apparently supported in linux).

I used the reflash tool - with the reflash script, the file for no DHCP detection (as .tgz) along with the mmc squeeze file (as img.gz) and the md5 file. The reflash appeared to go succesfully. Then i powered off, removed the USB and rebooted - only to be faced with the stock O2 operating system?

I have had a search around to little avail. Maybe I am doing something obviously ridiculous. I only got the joggler today so I suppose I am missing something. Thanks for the site and the resources - I have learned a lot already, though my brain is threatening to leak out of my ears! :)

sutty.
User avatar
roobarb!
Posts: 1769
Joined: Sat Mar 05, 2011 1:30 pm
Location: Salford, UK
Contact:

Re: SqueezePlay OS for Joggler

Post by roobarb! »

sutty81 wrote:I'm new here so apologies if this is obvious.
Haha! New blood... ;)
sutty81 wrote:I used the reflash tool - with the reflash script, the file for no DHCP detection (as .tgz) along with the mmc squeeze file (as img.gz) and the md5 file. The reflash appeared to go succesfully. Then i powered off, removed the USB and rebooted - only to be faced with the stock O2 operating system?
That's where you've gone wrong. You only need the .img.gz and .img.gz.md5 in the reflash directory to flash sqpOS. The Reflasher has seen the script and .tgz and defaulted to restoring the O2 system. Remove them and try again.
sutty81 wrote:I have learned a lot already, though my brain is threatening to leak out of my ears! :)
Yeah, that's a known bug with Linux. ;)
BirdsLikeWires - Get fresh builds of Debian Bullseye, Bookworm, and Trixie for OpenFrame with the latest 5.10, 6.1, and 6.12 kernels! 8-)
sutty81
Posts: 3
Joined: Tue Nov 13, 2012 10:30 pm

Re: SqueezePlay OS for Joggler

Post by sutty81 »

Duh, managed to combine the instructions for both instances (O2 and custom firmware).

Thanks, working great now! Off to test my sound cards. I have a behringer on the way but I have a couple of other cards to test in the meantime.

Thanks for the welcome! :)
Wilberforce
Posts: 134
Joined: Sun Apr 15, 2012 4:52 pm

Re: SqueezePlay OS for Joggler

Post by Wilberforce »

JohnB wrote:I recently picked up a used Joggler to use as a SqueezePlayer and discovered your wonderfull SqueezePlay OS. It seems like it will be just the ticket. I also picked up a Behringer UCA202 USB/DAC as it seems that many people were having success with it with the Joggler. I installed the internal SqueezePlay OS and all went well until I tried to set it to an External Interface in settings. When I rebooted it, it got into a loop with the the OpenPeak screen for about a second or two and then the SqueezePlay screen and then back to the OpenPeak screen (with a bunch of white lines near the bottom of the screen) and so on at 2 second intervals.

I tried the SqueezePlay OS booting from a USB stick and it fired up just fine but had the same boot loop once I tried to change to the External Interface in settings. I then reflashed it with the original OpenPeak O2 image, which seemed to repartition the memory which I thought was a good thing. It fired up the OpenPeak software just fine. I then tried to reflash with the internal SqueezePlay OS and ran into the same problem of not working after changeing to the External Interface and looping. I then reflashed and reinstalled the SqueezePlay OS internal which works as long I don't change the settings. I SSH in and got the following:

Code: Select all

joggler@joggler:~$ cat /proc/asound/cards
 0 [CODEC          ]: USB-Audio - USB Audio CODEC
                      Burr-Brown from TI USB Audio CODEC at usb-0000:00:1d.1-2, full speed
 1 [USB            ]: USB-Audio - VegaOne USB
                      Philips VegaOne USB at usb-0000:00:1d.1-1, full speed
 2 [MID            ]: HDA-Intel - HDA Intel MID
                      HDA Intel MID at 0xd01c0000 irq 16
joggler@joggler:~$ cat /etc/asound.conf
pcm.!default {
	type plug
	slave.pcm "dmixer"
}

pcm.dmixer  {
 	type dmix
 	ipc_key 1024
 	slave {
		pcm "hw:0,0"
		period_time 0
		period_size 1024
		buffer_size 4096
		rate 44100
	}
	bindings {
		0 0
		1 1
	}
}

ctl.dmixer {
	type hw
	card 0
}
I tried changing card 0 to card 1 which seemed to work. I got sound out of the Behringer, but I was also getting a stactic noise from the internal speakers. So I then tried replacing the asound.conf with a simple acound.conf that was posted earlier:

Code: Select all

pcm.!default {
   type plug
   slave.pcm {
     type hw
     card 1
   }
}
ctl.!default {
   type hw
   card 1
}
With that I got no sound. I went back to the original asound.conf with the card 1 and it now just plays through the speakers!
I just checked the /proc/asound/cards and got:
joggler@joggler:~$ cat /proc/asound/cards
0 [MID ]: HDA-Intel - HDA Intel MID
HDA Intel MID at 0xd01c0000 irq 16
1 [USB ]: USB-Audio - VegaOne USB
Philips VegaOne USB at usb-0000:00:1d.1-1, full speed
2 [CODEC ]: USB-Audio - USB Audio CODEC
Burr-Brown from TI USB Audio CODEC at usb-0000:00:1

It looks like a different order. I am open to any suggestions.
I would like to use the Beringer UCA202 with the internal Squeezeplay OS and turn off the Joggler speakers. Do you have a better configuration for the asound.conf file or any further testing that I can do?
Maybe you can set up a udev rule to always assign a given usb sound card to an alsa card number. Or you try this applet which will select the sound card by name (remove your asound.conf). If you get sound out of the speakers you can either mute them on the command line using alsamixer, or use this applet to do it within squeezeplay.
alcoheca
Posts: 28
Joined: Fri Mar 04, 2011 12:25 pm
Location: Glasgow

Re: SqueezePlay OS for Joggler

Post by alcoheca »

roobarb! wrote:
alcoheca wrote:..snip..
I had a rethink and ended up recompiling the kernel with the drivers enabled, so you can grab it from

http://birdslikewires.co.uk/download/joggler/kernel

Just fetch the latest one. You'd likely need to recompile the EMGD modules though, so you'll need build-essential packages installed too. I'll have to find time to roll out a new release sometime!
Hi I gave the kernel a whirl, didn't get EMGD compiled properly but risked it, and now the joggler won't boot :) Can you give me a heads up on how to compile the EMGD modules correctly?
User avatar
Fishy
Posts: 93
Joined: Wed Jun 27, 2012 4:46 pm
Location: Manchester, UK

Re: SqueezePlay OS for Joggler

Post by Fishy »

ilovemyjoggler wrote: Thanks fishy for confirming that it does work. So clearly it's my set up which is almost identical to yours except all mine are using wifi and music is being read from a usb. Have now got all 3 playing in sync again to see what happens....
Others may already know about this but discovered the "Play to" command in Windows Media Player this weekend, (highlight a playlist, right mouse click).
Used it to stream a playlist to 3 Jogglers, 1 SB Touch and a laptop over the weekend.
All synch'd and running for approx 5 hours with no hiccups or problems; whole house was rocking.... :lol:
Great for parties because playlists are easier to create.

Have also been using the YouTube plugin recently.
Useful as a cheapskate work-around to avoid having to pay for Spotify Premium.
Can create playlists for it too. :D
ilovemyjoggler
Posts: 711
Joined: Sun May 13, 2012 4:42 pm

Re: SqueezePlay OS for Joggler

Post by ilovemyjoggler »

Fishy wrote:Have also been using the YouTube plugin recently. Useful as a cheapskate work-around to avoid having to pay for Spotify Premium.
Can create playlists for it too. :D
Hello. Are you saying that there is a YouTube plugin for the sqpos? Where do I find it? I've had a look (on the joggler and also gone into lms) but can't find it. Thanks!
User avatar
Fishy
Posts: 93
Joined: Wed Jun 27, 2012 4:46 pm
Location: Manchester, UK

Re: SqueezePlay OS for Joggler

Post by Fishy »

Youtube plugin - log onto LMS, Plugins tab, go to bottom of page, select tick box that enables 3rd party unapproved plugins, Youtube is on the list that then appears.
Basically what it does is lets you select Youtube videos. It strips the music from the video and plays it out on the Joggler.
As most music videos are posted on Youtube it means you can access recent and older music.
Can also add to playlists.
ilovemyjoggler
Posts: 711
Joined: Sun May 13, 2012 4:42 pm

Re: SqueezePlay OS for Joggler

Post by ilovemyjoggler »

Oooh lovely! Will give that nugget a go tomorrow. Thanks again. :)
JohnB
Posts: 2
Joined: Tue Nov 13, 2012 12:11 am

Re: SqueezePlay OS for Joggler

Post by JohnB »

Regarding my difficulty getting my Behringer UCA 202 DAC to work with Squeezeplay OS for Joggler:
Fishy wrote:I have 3 Jogglers all using Behringer UCA202 sound cards.
None of mine had Openpeak OS when bought, all were O2.
In course of progressing up the Joggler learning curve ;) I have reflashed them several times back to original O2 build using roobarb's reflashing tool and the O2 image file, both available on his website.
From that point have then flashed 2 with PnPIII and one with SqPOS.
Have then selecting usb sound options for each OS, (browse to Joggler IP for PNP; sound settings for SqPOS) to enable sound via Behringers.
All have worked fine following steps above without having to adjust anything using putty, SSH, etc etc.
This lead me to think that there might be a connection or hardware problem, so I tested the Behringer UCA202 on my desktop and it worked just fine. Thinking that it might be a hardware connection issue, I decided to buy another Joggler and give it a try, given Fishy's success with three different installs. I can always use a spare.
Wilberforce wrote:Maybe you can set up a udev rule to always assign a given usb sound card to an alsa card number. Or you try this applet which will select the sound card by name (remove your asound.conf). If you get sound out of the speakers you can either mute them on the command line using alsamixer, or use this applet to do it within squeezeplay.
Thanks, Wilberforce, I will give that a try and see if it works.
ilovemyjoggler
Posts: 711
Joined: Sun May 13, 2012 4:42 pm

Re: SqueezePlay OS for Joggler

Post by ilovemyjoggler »

Fishy, thanks very much for that!

Can anyone please let me know why my apps have disappeared from view on the joggler. They are all still there under my apps on LMS and if I select from there they will play but they don't appear under my apps on the joggler itself. If I try to get into them via the app gallery I get the message 'problem connecting' 'failed to parse'.... Very strange. Is there a setting that i've missed? Cheers!
gegs
Posts: 1146
Joined: Fri Mar 04, 2011 3:22 pm
Location: Edinburgh

Re: SqueezePlay OS for Joggler

Post by gegs »

ilovemyjoggler wrote:Can anyone please let me know why my apps have disappeared from view on the joggler.
Are you connected to "squeezebox.com" or "atom"? Different apps will appear in "My Apps" depending on where they are served from.
ilovemyjoggler
Posts: 711
Joined: Sun May 13, 2012 4:42 pm

Re: SqueezePlay OS for Joggler

Post by ilovemyjoggler »

gegs wrote:Are you connected to "squeezebox.com" or "atom"? Different apps will appear in "My Apps" depending on where they are served from.
Hello. Yes - never connect to atom on that one and have double checked to be sure.

BUT the plot thickens. Just went to double check the squeezebox settings and WHAT THE HELL :o :shock: :? ... The squeezebox registration has someone else's email address on it! How is that possible?! The joggler was from ebay but reflashed by me. OS is running off a clean usb, also reformatted & created by me. I'm the only one who has entered all the info onto the joggler. There is only 1 squeezebox registration for the house.

This has totally freaked me out. Should I be worried about my network security?

I'm now going to go back and restore all factory settings and start from scratch and see what happens.
Locked