Author Topic: Run Opie Or Gpe On The Nokia 770  (Read 9229 times)

disturbedsaint

  • Newbie
  • *
  • Posts: 2
    • View Profile
Run Opie Or Gpe On The Nokia 770
« on: May 13, 2006, 12:07:45 pm »
First of all I have to say that I am quiet new to all this, so I could be asking stupid questions.
Hope you all are willing to forgive me

My main question is quiet simple actually:
Would it be possible (or is it already possible) to run a full OPIE or GPE "install" on the Nokia 770?
If it isn't (yet) possible, what is the reason for it and will it ever be possible?

lpotter

  • Sr. Member
  • ****
  • Posts: 450
    • View Profile
    • http://qtopia.net
Run Opie Or Gpe On The Nokia 770
« Reply #1 on: May 13, 2006, 01:47:57 pm »
Opie is not yet ready for the 770, but there is a gpe image somewhere...
Software Engineer, Systems Group, MES, Trolltech
irc.freenode.net #qtopia
http://qtopia.net

disturbedsaint

  • Newbie
  • *
  • Posts: 2
    • View Profile
Run Opie Or Gpe On The Nokia 770
« Reply #2 on: May 13, 2006, 03:16:00 pm »
Quote
Opie is not yet ready for the 770, but there is a gpe image somewhere...
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]
Do you mean the Ångström based GPE-image?
[a href=\"http://www.angstrom-distribution.org/node/7]http://www.angstrom-distribution.org/node/7[/url]

Or the regular OpenEmbedded based GPE-image?
http://downloads.kernelconcepts.de/maemo-oe.txt

I have not found any experiences or images of both, so I don't know if (and how well) they work.


Just to understand things right:
Opie or GPE are something like GNOME or KDE right?
Ie consisting of a separate window manager, theme engine and a set of applications?

How does the (x-)window-server fit in?

And the stock Nokia 770 runs:
- Which window-server ???
- Matchbox window-manager (http://projects.o-hand.com/matchbox/)
- Sapwood: GTK+ theme engine (how does this relate to the window-manager?
« Last Edit: May 13, 2006, 03:16:55 pm by disturbedsaint »

pogi

  • Newbie
  • *
  • Posts: 1
    • View Profile
Run Opie Or Gpe On The Nokia 770
« Reply #3 on: May 19, 2006, 09:24:42 pm »
if you(or someone) could post the latest Ã…ngström image for the 770, that would be awesome.  

« Last Edit: May 19, 2006, 09:27:12 pm by pogi »

Mickeyl

  • Hero Member
  • *****
  • Posts: 1495
    • View Profile
    • http://www.Vanille.de
Run Opie Or Gpe On The Nokia 770
« Reply #4 on: May 20, 2006, 08:08:25 am »
The maemo team will soon release version 2 of the platform with many changes. We will add it to OE then.
Cheers,

Michael 'Mickey' Lauer | Embedded Linux Freelancer | www.Vanille-Media.de
Consider donating, if you like the software I contribute to.

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Run Opie Or Gpe On The Nokia 770
« Reply #5 on: May 22, 2006, 06:38:30 am »
If you have a working OE setup then you can just build a gpe-image (or opie-image? I'm not sure.)

Note that after speaking to florian (#gpe), the nokia kernel doesn't like passing control to init if it's a symlink, so you have to make sure it's presumably either a hardlink or an actual file (this is what I remember anyway.) This may have been sorted out by now (in the OE metadata), but I'm not sure.

The problems are:

* Backlight control doesn't work very well - it works (writing and reading from /sys entry) for a second or two, however then the nokia stuff grabs control back and changes the backlight up to full brightness again. To fix this, you'd need to send dbus commands to change the backlight. The format has been documented afaik, so it just requires some reasonably simple patches to minilite (or libopie2 for opie.)

* Sound doesn't work - This ought to be hackable, the dsp needs to be initialised, looking at the contents of the maemo image, this should be reasonably easy - just a case of copying scripts and the .bin file across.

* Power management - if anything keeps a clock running, the power management won't kick in (dyntick to be exact). Therefore you can't have the clock open as an applet on the gpe taskbar. I imagine other apps will also cause this kind of problem. Also note that maemo probably has far better control of the peripheral devices, so it's power management may be better (though that stuff may run from the initfs anyway so would work with a gpe-image, I'm not sure.)

* No battery power reporting - battery reporting is handled by dbus again. I think someone's decoded the readings, however it doesn't have very fine granularity which is a shame. I was wondering how easy/hard it would be to intercept the calls made to the tavho (name? iirc) device - any ideas?

Regarding getting Opie running, realistically, you'd need to add dbus support into libopie2 (which handles the hardware specifics.) I don't know how much effort this would be.

Oh yes, it may be worth writing a zaurusd style daemon to handle the lid closing events, and hardware buttons (which iirc, didn't work.)

That's about all I can remember. All in all, sounds like a bit of fun


Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva