PnP Mk II - Superceeded by PnP III (May 2012)

General discussion relating to the O2 Joggler, from the default O2 setup, to alternative operating systems and applications.
Post Reply
User avatar
offbeatdave
Posts: 1046
Joined: Wed Mar 09, 2011 10:43 pm

Re: PnP Mk II - Here it is!

Post by offbeatdave »

chelseagirl wrote:Just done a blog post about PnP mk II, as well as a quick video - to show how far it has come (I've also got a video from O2 showing the original OS)

Blog post is here: http://www.alisonneale.co.uk/my-o2-jogg ... eady-to-go
Loving the review! Would you mind if I popped your link to it in the opening post of this thread so people can see it in action?
"EVERY DAY I'M JOGGLERING!"
Jogglering since Dec '09;
Tinkering with Jogglers since Feb '10 thanks to PMJ, Jogtools, PnP & sqpOS;
Gave something back Feb '12 to Apr '14 with PnP Mk II & PnP III;
Finally 'completed' PnP III Apr '15!
chelseagirl
Posts: 42
Joined: Sat Mar 26, 2011 12:51 pm

Re: PnP Mk II - Here it is!

Post by chelseagirl »

Not at all, go ahead!
User avatar
offbeatdave
Posts: 1046
Joined: Wed Mar 09, 2011 10:43 pm

Re: PnP Mk II - Here it is!

Post by offbeatdave »

If you want to include it, In this attachment you will find the latest busybox Build (1.19.4)
Thanks joh - Happy to add it to a future version, although not really sure what it is! Can you give me an idiots explanation as to what this is?
"EVERY DAY I'M JOGGLERING!"
Jogglering since Dec '09;
Tinkering with Jogglers since Feb '10 thanks to PMJ, Jogtools, PnP & sqpOS;
Gave something back Feb '12 to Apr '14 with PnP Mk II & PnP III;
Finally 'completed' PnP III Apr '15!
User avatar
joh
Posts: 18
Joined: Fri Feb 24, 2012 9:05 pm

Re: PnP Mk II - Here it is!

Post by joh »

offbeatdave wrote:
If you want to include it, In this attachment you will find the latest busybox Build (1.19.4)
Thanks joh - Happy to add it to a future version, although not really sure what it is! Can you give me an idiots explanation as to what this is?
Busybox is a binary which provides striped down versions of popular Unix tools like cp, ls, vi, tar and many more. Busybox is often used on devices that have not much storage space like routers and so on. On the Joggler Busybox is also used, but a version with very few commands (You can configure busybox with fewer commands and smaller size). On PnPII there is already a newer busybox build (1.10) included, but the default file is not replaced.

My build is a replacement for the 1.10 PnPII Binary and offers some more commands and also some more functionality to existing commands. Because busybox is a single binary the typical Unix commands like cd are symlinks to the command "busybox cd". The busybox --install -s creates this symlinks.

I have just looked into the PnP_mkII.shx script and at the end there is

Code: Select all

#UPDATING BUSYBOX
if [ ! -e /media/gforums/busybox ]; then
cd /media/gforums
cp -r /mnt/files/busybox /media/gforums
chmod a+x busybox
fi
So the included busybox file will be copied to /media/gforums/busybox. So you can only use the more advanced busybox if you invoke it via /media/gforums/busybox.

My suggestion is to replace the original busybox build. Install Script should be:

Code: Select all

#UPDATING BUSYBOX
if [ ! -e /media/gforums/busybox ]; then
cp /bin/busybox /bin/busyboxorg
cp -r /mnt/files/busybox /bin/busybox
chmod a+x /bin/busybox
/bin/busybox --install -s
fi
The benefit of the system wide busybox is to have more commands available. One example is to use the cron daemon or syslog daemon or ftp server - everything is included in busybox.
User avatar
offbeatdave
Posts: 1046
Joined: Wed Mar 09, 2011 10:43 pm

Re: PnP Mk II - Here it is!

Post by offbeatdave »

Cheers for that simple explanation. Very clear indeed.

I never really altered or messed with the original busybox bit from the original gforums PnP (other than to copy it from USB instead of online) as I didn't understand it but now I can see that it wouldn't actually be invoked anyway.

EDIT: I have now rectified this as suggested and added your version to the next build, setting it to replace the original version (which is backed up just in case at the moment). A quick test seems to suggest that it works OK.
Last edited by offbeatdave on Sat Mar 10, 2012 12:05 am, edited 2 times in total.
"EVERY DAY I'M JOGGLERING!"
Jogglering since Dec '09;
Tinkering with Jogglers since Feb '10 thanks to PMJ, Jogtools, PnP & sqpOS;
Gave something back Feb '12 to Apr '14 with PnP Mk II & PnP III;
Finally 'completed' PnP III Apr '15!
User avatar
pete
Posts: 2961
Joined: Mon Aug 01, 2011 6:33 am
Location: Time Traveler

Re: PnP Mk II - Here it is!

Post by pete »

chelseagirl,

Very nice Joggler blog post!

offbeatdave,

Busybox is just a set of tools using one executible which do all kinds of stuff. I believe its already there; but I didn't check. An update to busybox would be providing more functionality to existing build.

I've added another application to your base PnP build called FlashXAP. Its a custom programmable home automation application with nice overlays (flash widgets?). Its kind of a neat application.
- 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
User avatar
hawsey
Posts: 2077
Joined: Sun May 22, 2011 11:23 pm
Location: Northumberland

Re: PnP Mk II - Here it is!

Post by hawsey »

pete_c wrote:chelseagirl,

Very nice Joggler blog post!
I've added another application to your base PnP build called FlashXAP. Its a custom programmable home automation application with nice overlays (flash widgets?). Its kind of a neat application.
Pete , how did you put FlashXAP on your joggler ?
Many Thanks
Happy Joggling
User avatar
pete
Posts: 2961
Joined: Mon Aug 01, 2011 6:33 am
Location: Time Traveler

Re: PnP Mk II - Here it is!

Post by pete »

Hawsey,

I followed the directions posted here:

http://www.dbzoo.com/livebox/xapflash

Here is a quickie historical on xapflash.

http://www.automatedhome.co.uk/vbulleti ... php?t=2854

I think the original xapflash was written for the Joggler. Roots of said application started originally with the Joggler.


iServer installation

Code: Select all

# cd /tmp
# wget http://www.dbzoo.com/public/iserver.run
# sh iserver.run
Each Joggler installation will use the last 4 HEX digits of the interface to create a unique UID and Source name. In the example screen shot, the iServer is running on my Joggler and you can see it's using part of my MAC address to make itself unique.

Code: Select all

ra0       Link encap:Ethernet  HWaddr 00:0E:8E:22:9E:F0
The following are placed on your Joggler

Code: Select all

■/etc/init.d/boot.d/S70boot.iServer
■/usr/bin/iServer
xAPFlash installation
If you already have xapflash installed on your Joggler this will perform an upgrade of the graphics and application leaving your XML configuration files intact. If you don't already have it installed, it will additionally modify a configuration file so that the LAUNCH icon appears on your Joggler dashboard. A reboot will be required if installing for the first time. UPDATE: I found that even if just upgrading you needed a reboot for the new version to load.

Code: Select all

# cd /tmp
# wget http://www.dbzoo.com/public/xapflash.run
# sh xapflash.run
To check what version you are running, look for a version number string in the xap-hbeat generated by the application

Code: Select all

xap-hbeat
{
v=13
hop=1
uid=FF.0739:0000
class=xap-hbeat.alive
interval=60
source=UKUSA.xAPFlash.pc
}
Heartbeat
{
Version=beta 0.5g
Logon=Joggler
IP=192.168.1.4
}
If you are not running the iServer on the Joggler itself, you need to modify the config.xml and adjust the IP address from 127.0.0.1 to that of wherever your external iServer is running.

The following files/directories are placed onto your Joggler

Code: Select all

■/media/appshop/xAP
■/media/appshop/applications.xml (modified)
- 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
User avatar
hawsey
Posts: 2077
Joined: Sun May 22, 2011 11:23 pm
Location: Northumberland

Re: PnP Mk II - Here it is!

Post by hawsey »

Cheers Pete,
Looks complicated to me lol
Is there any way I could add this to pnp2 and do a fresh install?
Is there any free space for this on your pnp build Dave?
It looks cool and considering it was written for the joggler it might be a good thing if it could included if there is space for it :-)
Happy Joggling
User avatar
pete
Posts: 2961
Joined: Mon Aug 01, 2011 6:33 am
Location: Time Traveler

Re: PnP Mk II - Here it is!

Post by pete »

I added it a while back; never looked how much space it utilized.

Its basically just an I/O xAP piece and a means (touch objects) to get to the defined transport all based on an around for a long time home automation transport protocol called xAP.

Just a bit more garnish on the cake for PnP Mk II (lol).
- 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
Turvey
Posts: 65
Joined: Mon Aug 01, 2011 1:04 pm
Location: Kirkwall

Re: PnP Mk II - Here it is!

Post by Turvey »

Offbeatdave............................you da man!!! ;)

What a cracking piece of software. Installed first time via a free 1gig memory stick in less than 15 minutes :D

There are a couple of problems though :( There's so much choice in the Squeezeplay radio section that we don't know what to listen to. My wife is delighted to see there are Green Day podcasts from around the world and I've found a couple of Pink Floyd radio stations so we have to take turns to listen to it. (Maybe have to get another one sometime?) :D :D :D

Serious question though, where is the 'Favourites' section on Squeezeplay? I've saved a couple of stations to 'Favourites' but I cant find them!!! Must be an obvious answer somewhere but I cant see it :oops:

Meantime I'm playing it through one of THESE which I bought recently for a tenner. Very pleased with the sound so far. Although it does kinda buzz and hum a bit. I'm putting this down to having to use the 3.5 jack as opposed to the USB connection that is advised. I assume there would have to be drivers etc to get it to play through USB?

Keep up the good work Dave, it really is appreciated ;)
Turvey
Posts: 65
Joined: Mon Aug 01, 2011 1:04 pm
Location: Kirkwall

Re: PnP Mk II - Here it is!

Post by Turvey »

Turvey wrote:Serious question though, where is the 'Favourites' section on Squeezeplay? I've saved a couple of stations to 'Favourites' but I cant find them!!! Must be an obvious answer somewhere but I cant see it :oops:

D'oh!!! :oops: :oops: :oops:

Found it! It's only on the first page of options isn't it? :roll: :lol: :lol: :lol:
gegs
Posts: 1146
Joined: Fri Mar 04, 2011 3:22 pm
Location: Edinburgh

Re: PnP Mk II - Here it is!

Post by gegs »

Turvey wrote:...I assume there would have to be drivers etc to get it to play through USB?
No additional drivers necessary. If you know how to use WinSCP or can SFTP into your Joggler you will find that there are various sound configuration files in /etc on the Joggler. Change the suffix of the 'asound.conf' file and change the name of the files with USB output to 'asound.conf'. Don't worry, offbeatdave has named the various files in an easy to understand way; you'll easily find the file you're after.

The default login for the PnP2 is 'letmeinssh' and the password is 'joggler1234'.

You will need a cheap USB soundcard like this one: http://bit.ly/t57vfi
It's the same kind I use and it's actually pretty good.
Turvey
Posts: 65
Joined: Mon Aug 01, 2011 1:04 pm
Location: Kirkwall

Re: PnP Mk II - Here it is!

Post by Turvey »

Thanks for the reply gegs ;)


It's probably me not explaining things correctly but you can connect this system to a computer either by 3.5mm jack or by USB. I used it for a while with my computer via the USB and was very impressed with the sound quality AND quantity :o

A quote from Wiki....
For instance, it didn't require a sound card installed but actually featured its own integrated sound hardware which could be connected via USB and allowed digital quality playback, synchronized hardware and software volume controls, the use of a 10-band graphic equalizer and Microsoft Surround Sound.
Unfortunately
If you know how to use WinSCP or can SFTP into your Joggler you will find that there are various sound configuration files in /etc on the Joggler. Change the suffix of the 'asound.conf' file and change the name of the files with USB output to 'asound.conf'. Don't worry, offbeatdave has named the various files in an easy to understand way; you'll easily find the file you're after.
didn't mean a lot to me :oops: but I'll maybe have to do my homework and try to get it sorted.

Thanks again.
gegs
Posts: 1146
Joined: Fri Mar 04, 2011 3:22 pm
Location: Edinburgh

Re: PnP Mk II - Here it is!

Post by gegs »

I've posted a link with brief instructions on how to use WinSCP on this page: http://www.jogglerwiki.com/forum/viewto ... nSCP#p1845. It's quite a scroll down but it's my only post on that page.

You can download WinSCP from here http://winscp.net/eng/download.php
I'd recommend not installing the sponsored version if you don't want extraneous other junk. The portable executable should be fine.
User avatar
BuZz
Site Admin
Posts: 1462
Joined: Fri Mar 04, 2011 1:15 am

Re: PnP Mk II - Here it is!

Post by BuZz »

Nice blog post / video review!

I added this thread to the software sticky post - hope thats ok.
User avatar
offbeatdave
Posts: 1046
Joined: Wed Mar 09, 2011 10:43 pm

Re: PnP Mk II - Here it is!

Post by offbeatdave »

BuZz wrote:Nice blog post / video review!

I added this thread to the software sticky post - hope thats ok.
I'm honoured! :)
"EVERY DAY I'M JOGGLERING!"
Jogglering since Dec '09;
Tinkering with Jogglers since Feb '10 thanks to PMJ, Jogtools, PnP & sqpOS;
Gave something back Feb '12 to Apr '14 with PnP Mk II & PnP III;
Finally 'completed' PnP III Apr '15!
skippy
Posts: 1
Joined: Tue Mar 13, 2012 3:30 pm

Re: PnP Mk II - Here it is!

Post by skippy »

Just a quick note of thanks for everyone who has worked on this, it has transformed the way I use the Joggler!
User avatar
lamb.chop
Posts: 24
Joined: Tue Nov 29, 2011 9:11 pm
Location: Warwick UK

Re: PnP Mk II - Here it is!

Post by lamb.chop »

Another big thanks from me too.
Top Job!
Cheers
ordessa
Posts: 79
Joined: Tue Mar 15, 2011 3:25 pm

Re: PnP Mk II - Here it is!

Post by ordessa »

and me... 2 jogglers converted... a line of them coming in..
Post Reply