Reply
Thread Tools
Sera's Avatar
Posts: 8 | Thanked: 0 times | Joined on Mar 2008
#1
Hi!

I've been planning to start developing applications for Maemo and set up a Maemo 2.2 environment by following precisely the procedure described in this page.

Well, I got the thing working somehow but the emulator doesn't work as it should... There are some items missing from the left bar and some menu items don't seem to respond at all. Check the screenshot.

http://img245.imageshack.us/img245/5...eenshothp0.jpg

I start Xephyr with the command Xephyr :2 -host-cursor -screen 800x480x16 -dpi 96 -ac

And the output is like this:
Code:
Extended Input Devices not yet supported. Impelement it at line 625 in ../../../../hw/kdrive/src/kinput.c
Could not init font path element /usr/share/fonts/X11/cyrillic, removing from list!
FreeFontPath: FPE "/usr/share/fonts/X11/misc" refcount is 2, should be 1; fixing.
Extended Input Devices not yet supported. Impelement it at line 625 in ../../../../hw/kdrive/src/kinput.c
Could not init font path element /usr/share/fonts/X11/cyrillic, removing from list!
Actually I have made the file start-xephyr.sh with these contents:

Code:
#!/bin/sh -e
prefix=/scratchbox/users/${LOGNAME}/targets/SDK_PC/usr
export LD_LIBRARY_PATH=${prefix}/lib; export LD_LIBRARY_PATH
exec ${prefix}/bin/Xephyr :2 -host-cursor -screen 800x480x16 -dpi 96 -ac
I tried Xephyr with that also but it didn't work. The results were the same.

After running the command af-sb-init.sh start (first of course the export DISPLAY=:2 command) Scratchbox gives this output:

Code:
Note: For remote X connections DISPLAY should contain hostname!
Sample files present.
Starting DBUS system bus
Starting D-BUS session bus daemon
Starting Maemo Launcher: maemo-launchermaemo-launcher: error rising the oom shield for pid=8092 status=5632
.
Starting Sapwood image server
sapwood-server[8105]: GLIB INFO default - server started
Starting Matchbox window manager
Starting clipboard-manager
Starting Keyboard
maemo-launcher: invoking '/usr/bin/hildon-input-method.launch'
hildon-input-method[8144]: GLIB MESSAGE default - keyboard up and running
Starting MAEMO AF Desktop
maemo-launcher: invoking '/usr/bin/maemo_af_desktop.launch'
[sbox-SDK_PC: ~] > TRACE LOG: status_bar_main: 1 g_new0
TRACE LOG: status_bar_main: 2 check panel ptr
TRACE LOG: status_bar_main: 3: init dock
TRACE LOG: status_bar_main: 4 add prespecified items
TRACE LOG: status_bar_main: 5 add user items
TRACE LOG: status_bar_main: 6 gtk widget show all
TRACE LOG: status_bar_main: 7 if rpc...
TRACE LOG: status_bar_main: 8, status bar initialized successfully
I'm using Ubuntu 7.10. The scratchbox's core version is 1.0.7. The Maemo SDK rootstrap I'm using is Maemo_Dev_Platform_v2.2_i386-rootstrap.tgz. Xephyr's version I don't know but I installed it yesterday with the command sudo apt-get install xserver-xephyr.
If you need more information, just ask.


What might be wrong with my system?

Thank you,
- Sami
 
GeneralAntilles's Avatar
Posts: 5,478 | Thanked: 5,222 times | Joined on Jan 2006 @ St. Petersburg, FL
#2
Why in the world are you setting up a 2.2 SDK? That's almost 2 years out of date now.
 

The Following User Says Thank You to GeneralAntilles For This Useful Post:
Bundyo's Avatar
Posts: 4,708 | Thanked: 4,649 times | Joined on Oct 2007 @ Bulgaria
#3
He has a 770?
 
Sera's Avatar
Posts: 8 | Thanked: 0 times | Joined on Mar 2008
#4
Because I'm getting the 770. That's my first internet tablet.
 
GeneralAntilles's Avatar
Posts: 5,478 | Thanked: 5,222 times | Joined on Jan 2006 @ St. Petersburg, FL
#5
Originally Posted by Sera View Post
Because I'm getting the 770. That's my first internet tablet.
Not much point sinking your time and effort into a dead product. Personally, I'd recommend getting 4.0 running and installing OS2008HE so your work doesn't go totally to waste.
 
Bundyo's Avatar
Posts: 4,708 | Thanked: 4,649 times | Joined on Oct 2007 @ Bulgaria
#6
Ya ya...

OS2008HE is totally usable with some tweaks. The quiet speaker is the only issue i've run into so far. Everything works, only slower.
 
Sera's Avatar
Posts: 8 | Thanked: 0 times | Joined on Mar 2008
#7
Every product will be dead some day. I program for fun and for learning so I'm not doing any serious business with this.

I programmed with OPL onto Symbian Series 80 v1.0 a long time after the whole Series 80 (and OPL) had been extinct.

If I can't get this SDK working, I'll have to install OS2007HE or OS2008HE.
 
Reply


 
Forum Jump


All times are GMT. The time now is 02:10.