I have a couple of O2 Jogglers that I use solely as touch controllers in a couple of locations around the house. I'm running Squeezeplay OS on them, but an unwanted side-effect is that each Joggler shows up as a player in LMS. It was suggested to me (in this thread) that I should try to get Jivelite running instead, since the interface would be the same, but without the software players.
I have very little Linux experience, but I've been having a go this evening. I've made some progress, but have hit some snags, and I'm hoping some on here might be able to help me with them.
I started by making a bootable USB stick with the ext4 Ubuntu base/server image from here. My reason for going for a base/server image was that I thought I could fit one of those images into the 1GB of flash storage on the Joggler, but since it wouldn't boot up after trying to 'reflash' that image (probably because the image expands to ~2GB) I have switched to booting off a USB stick. It might therefore have made more sense to start with a more complete image, so that more packages/features are available from the start, but I do still hope to fit the finished setup into the flash memory, so a smaller starting point is better. So one question I have is what would be the best (smallest?) starting point to base this install on, or is there an easy way to remove stuff from a working system to leave just what's needed to run Jivelite? Whoever created Squeezeplay OS must have done something like that I guess.
Then I followed the instructions for compiling and installing Lua and Jivelite, as given in step 4 here. I had to connect the Joggler via an ethernet cable, since I've been unable to get the wifi connected (a task for later). So another question - any tips for getting the wifi going? I followed instructions that I found on a couple of different sites, but nothing has worked so far.
The Jivelite and Lua compilations went OK in the end though - no warnings or errors. But Jivelite won't start. It gives me an "Invalid width or height" error. I figured this might be due to the wallpaper. The Hagensieker site has some files for the 800x480 screen size of the Joggler, so I copied those into the specified locations (without checking whether they were actually any different from the existing versions of those files), and on looking through SetupWallpaper.lua I noticed that the 800x480 wallpaper names should have a 'PCP_' prefix. In my wallpapers folder I only had files with BB_, FAB4_ and JIVE_ prefixes, so I copied all the PCP_ files from a pCP installation. But no joy - I still get the "Invalid width or height" error.
So my main question is therefore, what's causing this "Invalid height or width" error, and how do I go about fixing it?
Maybe my first question should have been "Is there already a flashable image for a Joggler that simply runs Jivelite?"?
Results 1 to 10 of 347
Thread: Jivelite on a Joggler
-
2019-01-15, 15:27 #1
Jivelite on a Joggler
-
2019-01-16, 03:53 #2
- Join Date
- Jan 2011
- Location
- Staffordshire. UK
- Posts
- 5,092
Ther's hope at the end of the tunnel
ronnie
-
2019-01-16, 05:31 #3
Thanks Ronnie
If that's Jivelite running on that Joggler (rather than Squeezeplay), then it's not encouragement that I need - I need the Dummies' Guide!
How did you get to that point? I don't see a USB stick in the side of the Joggler, so whatever it is it's running from flash memory.
I'm thinking that TinyCore might be a good place to start, partly to fit it into the 1GB Joggler flash (is 512mb of RAM going to be enough for TinyCore?), and partly so that, like pCP, I can kill the power without worrying about corruption. Could an option to backup the device configuration (wifi, Jivelite Menu configuration etc) be added as an Applet?
-
2019-01-16, 06:33 #4
- Join Date
- Jan 2011
- Location
- Staffordshire. UK
- Posts
- 5,092
Well, the problem i have at the moment is to get jivelite to autostart.
I can start it from a script, but I want to put a link in "Autostart" and I can't find where that is at the moment.
Also the image (joggler skin) is the wrong size (the bottom part with the controls is missing) as it is not fully expanded.
The version on the desktop I did yesterday.
It's running on an old shuttle I have with Raspberry Pi Desktop for PC and Mac installed. I can get that to autostart.
I'll post a little how to in a bit
ronnie
-
2019-01-16, 07:26 #5
Thanks - it would be good to compare notes.
I've made progress. The Hagensieker site had some notes on how to make an RPi installation work with a smaller screen here. The line that worked was this one (edited to suit my folder structure):
Code:sudo SDL_FBDEV=/dev/fb0 ./triode-jivelite/bin/jivelite
The touch screen needs calibrating, and there's a long todo list (wifi, flash memory, autostart), but it's progress.
Last edited by chill; 2019-01-16 at 08:02.
-
2019-01-16, 07:43 #6
- Join Date
- Jan 2011
- Location
- Staffordshire. UK
- Posts
- 5,092
This is full screen on the joggler but started from another computer via ssh.
-
2019-01-16, 07:54 #7
- Join Date
- Jan 2011
- Location
- Staffordshire. UK
- Posts
- 5,092
this is me hacking about, props to jeffwhatsisname,ralphy, and others
Download and burn image with Etcher used 16gb usb2 stick
Attached a usb2 hub and connected mouse,keyboard and usb stick, then powered up.
Found the IP address from my router and connected from my windows desktop using putty.
did
Code:sudo apt-get update
Code:sudo apt-get install git-core libluajit-5.1-dev libsdl1.2-dev libsdl-ttf2.0-dev libsdl-gfx1.2-dev libsdl-image1.2-dev libexpat1-dev
------------------------------------------------------------------------------------------------------------
Code:cd mkdir luajit cd luajit git clone http://luajit.org/git/luajit-2.0.git cd luajit-2.0 make sudo make install sudo ldconfig
and then
------------------------------------------------------------------------------------------------
Code:cd git clone https://github.com/ralph-irving/jivelite.git cd jivelite sudo make PREFIX=/usr/local
rebooted the joggler and connected via ssh from my windows desktop
pasted
Code:sudo /home/joggler/jivelite/bin/jivelite
That's where I am at the moment.
To connect wireless, click on the two up/down arrows on the Joggler Desktop on the top banner, right hand side.
ronnie
taking a break from it nowLast edited by Man in a van; 2019-01-16 at 08:00.
-
2019-01-16, 08:26 #8
- Join Date
- Jan 2011
- Location
- Staffordshire. UK
- Posts
- 5,092
I shutdown the joggler and rebooted with only the usb stick connected.
Started putty and pasted the command to get the full jivelite screen.
Control and selection using my fat finger is impossible, what a disappointment
Also it was very easy to loose the screen altogether, no persistence, so that's a dead end.
I'll maybe play some more later in the week
ronnieLast edited by Man in a van; 2019-01-16 at 08:29.
-
2019-01-16, 08:49 #9Michael
"It doesn't work - what shall I do?" - "Please check your server.log and/or scanner.log file!"
(LMS: Settings/Information)
-
2019-01-16, 09:30 #10
Ah, ok. The instructions I followed specified these:
Code:sudo apt-get install git libsdl1.2-dev libsdl-ttf2.0-dev libsdl-image1.2-dev libsdl-gfx1.2-dev libexpat1-dev . git clone http://luajit.org/git/luajit-2.0.git . git clone https://github.com/ralph-irving/triode-jivelite.git
Code:sudo apt-get install git-core libluajit-5.1-dev libsdl1.2-dev libsdl-ttf2.0-dev libsdl-gfx1.2-dev libsdl-image1.2-dev libexpat1-dev . git clone http://luajit.org/git/luajit-2.0.git . git clone https://github.com/ralph-irving/jivelite.git
No matter, I'm going to start again anyway, maybe with TinyCore as the starting point.