Page 15 of 23
SqueezePlay OS (Version 2) for OpenFrame
Posted: Mon Apr 07, 2014 10:53 am
by palindrom
If you like to have a nice image of you Joggler included within the LMS
settings page like this:

- LMS Player-Settings (HTTP)
- LMS.jpg (5.09 KiB) Viewed 13618 times
just copy the attached PNG (
OpenFrame1.png) to your LMS Server:

- OpenFrame1.png

- OpenFrame2.png
/Squeezebox/server/HTML/EN/html/images/Players (Same directory where
baby.png can be found)
Edit on your device:
/opt/squeezeplay/share/jive/jive/slim/LocalPlayer.lua
search for:
local DEVICE_MODEL = "SqueezePlay"
and change to:
local DEVICE_MODEL = "OpenFrame1"
or
local DEVICE_MODEL = "OpenFrame2"
Alternatively to editing
LocalPlayer.lua you could install/deploy the little applet I have attached.
Just copy the files included in
Applet.zip to
/opt/squeezeplay/share/jive/applets/JogglerUpdateModel/
@roobarb!: With reference change log V2.06 - How can I quickly read then OpenFrame type?
Edit1: Updated Applet - The App is now OpenFrame 1/2 aware. (THX: roobarb!)
Re: SqueezePlay OS (Version 2) for OpenFrame
Posted: Tue Apr 08, 2014 12:25 am
by roobarb!
palindrom wrote:@roobarb!: With reference change log V2.06 - How can I quickly read then OpenFrame type?
There's a file in /tmp with a reasonably descriptive name that I can't remember at the moment. The contents of that file will be a '1' or a '2' depending on the detected system.
Re: SqueezePlay OS (Version 2) for OpenFrame
Posted: Tue Apr 08, 2014 8:25 am
by palindrom
roobarb! wrote:palindrom wrote:@roobarb!: With reference change log V2.06 - How can I quickly read then OpenFrame type?
There's a file in /tmp with a reasonably descriptive name that I can't remember at the moment. The contents of that file will be a '1' or a '2' depending on the detected system.
THX:
Code: Select all
cat /tmp/openframe.ver 2>/dev/null | tr -d "\n"
This code is used within my
SqueezePlay Model Detect/Update Applet
http://www.jogglerwiki.com/forum/downlo ... php?id=626
After Installation the SqueezePlay Model is changed within SqueezePlay environment according to the HW.
This is a global var and available to all applets and the LMS (CLI: player model
<playerindex|playerid> ? ).
(Be aware that SqueezePlay and LMS mix up the naming of those variables)
Code: Select all
local LocalPlayer = require("jive.slim.LocalPlayer")
...
DEVICE_MODEL = "OpenFrame1" -- or "OpenFrame2" old value is "SqueezePlay"
DEVICE_NAME = "SqueezePlay"
If you find this applet useful, just include it into any future release of SQPOS.
Re: SqueezePlay OS (Version 2) for OpenFrame
Posted: Sun Apr 13, 2014 8:55 pm
by dmitri
Hi
I have installed the latest internal memory version of squeezeplay OS and got it working beautifully with LMS running on my laptop pointing to the music files stored there. I have tried to get it working with LMS installed on the Joggler itself using an external USB drive to plugged in to the Joggler to hold the music library - but with no success. I cannot get LMS to find the USB drive. On the Joggler I have Switched Library to 'openframe' and I've accessed the LMS in a browser on my laptop. But when I try to set the Music Folder to be the folder on the USB drive, the drive just doesn't appear in the list (I am looking in media/usb or usb0 or usb1). I have tried two different drives with no success. The drives are formatted to NTFS and have a mix of FLAC and mp3 files.
I see a lot of people have managed this so I realise it is me doing something wrong or else not doing something. I have no clue about Ubuntu and am fairly clueless generally - although I have managed to use PUTTY to get into to the Joggler and am capable of following elementary instructions. If someone could help I would be really grateful.
Thanks
Re: SqueezePlay OS (Version 2) for OpenFrame
Posted: Mon Apr 14, 2014 1:13 am
by roobarb!
dmitri wrote:The drives are formatted to NTFS and have a mix of FLAC and mp3 files.
There's your problem. Format to FAT and all your problems will vanish!

Re: SqueezePlay OS (Version 2) for OpenFrame
Posted: Mon Apr 14, 2014 8:21 am
by dmitri
Thanks very much!! Just tried it on a 4GB USB stick and it worked perfectly. Will try reformatting the larger drive later when I get time.
I'm really grateful to you for sharing your expertise and knowledge like this.
Re: SqueezePlay OS (Version 2) for OpenFrame
Posted: Tue Apr 15, 2014 12:03 am
by roobarb!
Friendly Warning!
Just a little warning that the OpenSSL software in SQPOSv2 is vulnerable to the
Heartbleed bug. If for some reason you've connected your Joggler directly to the internet (i.e. you've opened ports on your router and pointed them to your Joggler or you have public IP addresses to burn) then you should update the software. SSH in and run these:
Code: Select all
sudo apt-get update
sudo apt-get install libpango1.0-0
sudo apt-get upgrade
If you're using SQPOSv2 behind a router (this is almost certainly the case) and you haven't deliberately tunnelled ports to it (you should know if you have) then don't fret.
Update: libpango added to avoid a problem with generating the boot splash screen.
Re: SqueezePlay OS (Version 2) for OpenFrame
Posted: Tue Apr 15, 2014 6:31 pm
by Paul Webster
I did try an upgrade (running from USB).
Most went OK - but did have a problem
Setting up initramfs-tools (0.99ubuntu13.5) ...
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools ...
ln: failed to create hard link `/boot/initrd.img-3.10.29op1.dpkg-bak' => `/boot/initrd.img-3.10.29op1': Operation not permitted
update-initramfs: Generating /boot/initrd.img-3.10.29op1
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168g-3.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168g-2.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8106e-2.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8106e-1.fw for module r8169
cp: cannot stat `/usr/lib/i386-linux-gnu/pango/1.6.0/module-files.d/libpango1.0-0.modules': No such file or directory
cp: cannot stat `/usr/lib/i386-linux-gnu/pango/1.6.0/modules/pango-basic-fc.so': No such file or directory
E: /usr/share/initramfs-tools/hooks/plymouth failed with return 1.
update-initramfs: failed for /boot/initrd.img-3.10.29op1 with 1.
dpkg: error processing initramfs-tools (--configure):
subprocess installed post-installation script returned error exit status 1
No apport report written because MaxReports is reached already
Errors were encountered while processing:
initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)
Re: SqueezePlay OS (Version 2) for OpenFrame
Posted: Tue Apr 15, 2014 7:09 pm
by castalla
Hmmm .... I did the same on 1.09 (forgot that was the installed version!). Got a load of errors (which I didn't copy!). End result was LMS got screwed - going to the web-gui threw up the first-time use wizard ....???? Had to reset all the music library details.
Re: SqueezePlay OS (Version 2) for OpenFrame
Posted: Tue Apr 15, 2014 9:20 pm
by roobarb!
Paul Webster wrote:I did try an upgrade (running from USB).
Most went OK - but did have a problem
cp: cannot stat `/usr/lib/i386-linux-gnu/pango/1.6.0/module-files.d/libpango1.0-0.modules': No such file or directory
Give it this:
Code: Select all
sudo apt-get install libpango1.0-0
That library must have been removed as unnecessary during the cleanup of the OS for release, but it is obviously required to regenerate the boot splash. The initramfs should be updated again when libpango is installed.
Re: SqueezePlay OS (Version 2) for OpenFrame
Posted: Tue Apr 15, 2014 9:21 pm
by roobarb!
castalla wrote:Hmmm .... I did the same on 1.09 (forgot that was the installed version!). Got a load of errors (which I didn't copy!). End result was LMS got screwed - going to the web-gui threw up the first-time use wizard ....???? Had to reset all the music library details.
Sorry to hear that. Canne help without the errors, though!

Re: SqueezePlay OS (Version 2) for OpenFrame
Posted: Tue Apr 15, 2014 10:16 pm
by castalla
Never mind - seems to ne running okay now.
Just a point: any chance we could have a resize card routine?
Also, I still can't get 2.06 running wifi in the same location as 1.06 - the wifi range is definitely reduced.
Re: SqueezePlay OS (Version 2) for OpenFrame
Posted: Wed Apr 16, 2014 7:01 am
by Paul Webster
roobarb! wrote:
Give it this:
Code: Select all
sudo apt-get install libpango1.0-0
That library must have been removed as unnecessary during the cleanup of the OS for release, but it is obviously required to regenerate the boot splash. The initramfs should be updated again when libpango is installed.
Thanks - that did it (had to run "sudo apt-get upgrade" again to make it work though - which I thought was odd).
Re: SqueezePlay OS (Version 2) for OpenFrame
Posted: Thu Apr 17, 2014 12:36 pm
by wcndave
I just tried the latest version off your website of the onboard version
http://birdslikewires.co.uk/download/jo ... of1.img.gz and it got to some linux error message where then the screen goes blank and back to a slightly different error message and loops for an hour.
Then tried different USB drive, same thing.
Then tried a different joggler, and it got to the squeezeplay logo, which then flashed in and out of view. Left it overnight and still doing it 12 hours later...
This is my first time installing to the built in memory, as opposed to an external USB, I use the exact same process of unzipping and then using winwriter to write to USB and then plug and go. Is there something else i need to do? I could see nothing on your website.
Thanks
Dave
Re: SqueezePlay OS (Version 2) for OpenFrame
Posted: Fri Apr 18, 2014 11:10 pm
by roobarb!
wcndave wrote:I just tried the latest version off your website of the onboard version
http://birdslikewires.co.uk/download/jo ... of1.img.gz and it got to some linux error message where then the screen goes blank and back to a slightly different error message and loops for an hour.
We're going to need those error messages to be able to tell what's going on!
wcndave wrote:Then tried a different joggler, and it got to the squeezeplay logo, which then flashed in and out of view. Left it overnight and still doing it 12 hours later...
This is my first time installing to the built in memory, as opposed to an external USB, I use the exact same process of unzipping and then using winwriter to write to USB and then plug and go. Is there something else i need to do? I could see nothing on your website.
Everything that's needed is on the site - grab the reflash utility, write that to stick, mount stick, copy .img.gz and .img.gz.md5 into 'reflash' directory, eject, boot Joggler with stick.
You are writing the correct image to the internal memory, aren't you? You must write the 'OpenFrame 1 Internal Memory' version - not the external one.
Re: SqueezePlay OS (Version 2) for OpenFrame
Posted: Fri Apr 18, 2014 11:38 pm
by wcndave
I did external many times with no problem at all.
The internal one came up with lots of messages but no way realistically to tell you unless I video them and try freeze frame.
As it turned out my mate wanted to listen to radio with nas turned off so we did an external install anyway.
Add ever I am amazingly grateful for the ability to run Logitech system like this so thank you again.
Re: SqueezePlay OS (Version 2) for OpenFrame
Posted: Sat Apr 19, 2014 10:44 pm
by roobarb!
castalla wrote:Just a point: any chance we could have a resize card routine?
Never say never, but I'm not planning on investing any time on this at the moment. Not everyone wants the OS partition to take up the whole of their storage and using GParted (either through a Linux OS or the live CD) is so straightforward that it's never felt worth the effort.
I would be interested to see how they do it on the Raspberry Pi, though. That's always been very quick and neat, but I've never had chance to dig into the code and see how they make it nice and reliable.
Re: SqueezePlay OS (Version 2) for OpenFrame
Posted: Sun Apr 20, 2014 6:54 pm
by jimeney
This is not strictly spPOS related, but I thought worth a post here in case anyone else came across the same issue.
I've been trying (and failing) to use the recent android image on a USB stick with sqPOS installed to eMMC and pulling my hair out trying to get it to boot.
The process of elimination, and a couple of subtle clues lead me to flashing the joggler back to stock as there were plenty of reports of success.
Anyway, this worked, and now I can boot quite happily into android, so, something in the chain of events required to boot into sqPOS is interfering with successfully booting into another OS (or maybe just Android).
Any ideas on how to work around this?
Re: SqueezePlay OS (Version 2) for OpenFrame
Posted: Mon Apr 21, 2014 6:34 am
by dwl99
Can bluetooth be made to work with this build?
Re: SqueezePlay OS (Version 2) for OpenFrame
Posted: Sat Apr 26, 2014 12:33 pm
by palindrom
wcndave wrote:I just tried the latest version off your website of the onboard version
http://birdslikewires.co.uk/download/jo ... of1.img.gz and it got to some linux error message where then the screen goes blank and back to a slightly different error message and loops for an hour.
Then tried different USB drive, same thing.
Then tried a different joggler, and it got to the squeezeplay logo, which then flashed in and out of view. Left it overnight and still doing it 12 hours later...
This is my first time installing to the built in memory, as opposed to an external USB, I use the exact same process of unzipping and then using winwriter to write to USB and then plug and go. Is there something else i need to do? I could see nothing on your website.
Thanks
Dave
Did you created an USB image out of
"sqpos206_of1.img.gz"?
You need to create a USB image from
"joggler_reflash_109.img" and to proceed with "Flashing an Alternative OS"
see:
http://birdslikewires.co.uk/articles/jogglerflash