Page 7 of 12

Re: PnP Mk II - Here it is!

Posted: Fri Mar 09, 2012 9:39 pm
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?

Re: PnP Mk II - Here it is!

Posted: Fri Mar 09, 2012 11:03 pm
by chelseagirl
Not at all, go ahead!

Re: PnP Mk II - Here it is!

Posted: Fri Mar 09, 2012 11:04 pm
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?

Re: PnP Mk II - Here it is!

Posted: Fri Mar 09, 2012 11:57 pm
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.

Re: PnP Mk II - Here it is!

Posted: Sat Mar 10, 2012 12:00 am
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.

Re: PnP Mk II - Here it is!

Posted: Sat Mar 10, 2012 12:04 am
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.

Re: PnP Mk II - Here it is!

Posted: Sat Mar 10, 2012 12:24 pm
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

Re: PnP Mk II - Here it is!

Posted: Sat Mar 10, 2012 5:11 pm
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)

Re: PnP Mk II - Here it is!

Posted: Sat Mar 10, 2012 5:42 pm
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 :-)

Re: PnP Mk II - Here it is!

Posted: Sat Mar 10, 2012 6:11 pm
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).

Re: PnP Mk II - Here it is!

Posted: Sun Mar 11, 2012 2:13 pm
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 ;)

Re: PnP Mk II - Here it is!

Posted: Sun Mar 11, 2012 4:21 pm
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:

Re: PnP Mk II - Here it is!

Posted: Sun Mar 11, 2012 11:27 pm
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.

Re: PnP Mk II - Here it is!

Posted: Mon Mar 12, 2012 12:23 am
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.

Re: PnP Mk II - Here it is!

Posted: Mon Mar 12, 2012 12:36 am
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.

Re: PnP Mk II - Here it is!

Posted: Tue Mar 13, 2012 6:28 am
by BuZz
Nice blog post / video review!

I added this thread to the software sticky post - hope thats ok.

Re: PnP Mk II - Here it is!

Posted: Tue Mar 13, 2012 8:17 am
by offbeatdave
BuZz wrote:Nice blog post / video review!

I added this thread to the software sticky post - hope thats ok.
I'm honoured! :)

Re: PnP Mk II - Here it is!

Posted: Wed Mar 14, 2012 9:39 am
by skippy
Just a quick note of thanks for everyone who has worked on this, it has transformed the way I use the Joggler!

Re: PnP Mk II - Here it is!

Posted: Wed Mar 14, 2012 10:58 am
by lamb.chop
Another big thanks from me too.
Top Job!
Cheers

Re: PnP Mk II - Here it is!

Posted: Thu Mar 15, 2012 12:03 am
by ordessa
and me... 2 jogglers converted... a line of them coming in..