Using Nokia770/N800 as a Plutohome Orbiter

IMG_6272

Preface

Nokia770/N800 is the best Linux-based WiFi enabled device. It’s good candidate to use it as smart remote control. This brief manual explains how to setup your Nokia770/N800 to use as Plutohome Orbiter.

Preparation

First of all you need to flash your device by latest OS2006 or OS2007 image (for Nokia770 you may use OS2007 Hacker Edition). After that let’s do following:

  • Enable Research & Development mode. The easiest way is to use flasher IMHO:
    ./flasher3.0 –enable-rd-mode -R
    After that you can became a root just run that command:
    # sudo gainroot
  • Define additional repositories to get development libraries (we need at least Maemo repository):

    Web address http://repository.maemo.org/
    Distribution bora
    Components free non-free extras

    and

    Web address http://repository.maemo.org/extras/
    Distribution bora
    Components free non-free

    Note: you have to replace ‘bora’ by ‘mistral’ if you use OS2006!

  • Activate Red Pill Mode to install system packages via Application Manager.
  • Install xterm, SSH, wireless-tools (need iwconfig) packages.

The common part is finished. Now you can use your Nokia770/N800 more efficient. So, let’s do preparation to run Plutohome Orbiter.
1. First of all we have to install all dependencies:

The first 6 packages were built under maemo 3.1 and placed to the maemo garage. You should download them to your device and install them using Application Manager option ‘Install From File’. The rest package are placed to the maemo repository.

UPDATED: All packages now are in the maemo repository except mysql-common and libmysqlclient!

Note: If you cannot see those packages in list of packages which can be installed the Application Manager probably you didn’t activate Red-Pill mode or packages are already installed.

2. Plutohome Orbiter expects to have TrueType fonts in the
/usr/share/fonts/truetype/msttcorefonts/. The easiest way to get them is a copy from your core (they placed in the same directory).

Note: without those fonts you won’t see any dynamic created captions!

3. Now download Plutohome Orbiter and untar it using xterm to some directory (/home/user/work, for example). The Orbiter directory contains two subdirectory – bin and lib. So, you have to add lib to the $LD_LIBRARY_PATH:
export $LD_LIBRARY_PATH=LD_LIBRARY_PATH:./lib
To avoid that definition each time when you want to run the Orbiter add this like into ~/.profile but be carefully. If you specify LD_LIBRARY_PATH not correct you won’t be able to boot your device anymore. There is only one way to fix that – re-flashing!

UPDATED: Debian packages is available for os2006 and os2007 respectively here.

4. We need also add the Orbiter for Nokia770/N800 to your Plutohome installation:

  • Add new resolution for Nokia770 if you don’t find it in the dropdown list on the Orbiter page. Login to the pluto_main database and run this query:
    insert into Size (Description,Width,Height,ScaleX,ScaleY) VALUES('Nokia770',800,480,376,300);
    Quick reload router.
  • Add a new Orbiter and chose correct resolution.
  • After the Orbiter generation is finished quick reload router.

Well, everything is done. Now let’s start using Plutohome Orbiter.

Using

  • Run xterm.
  • Go to Orbiter’s directory and run that command:
    ./bin/Orbiter -r your.core.ip -d Orbiter.ID
    Additionally you can specify log file to store debug information:
    ./bin/Orbiter -r your.core.ip -d Orbiter.ID -l /tmp/orbiter.log
    The rest Orbiter’s parameters like full-screen option, screen size are ignore.
    Make sure that your device is connected to the WiFi network!
UPDATED: If you installed the Orbiter package just choose it from the application menu ‘Extra’!

Support

Please, submit all bugs to the maemo tracker or contact me via that form.

See also

Orbiter on Nokia N800

Nokia-N800-Orbiter