Go Back   maemo.org - Talk > OS / Platform > Development
 
Register FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
  #1  
Old 2010-05-28, 11:49
rontti rontti is offline
 
Join Date: Dec 2009
Location: Finland, Kerava
Posts: 62
Thanks!: 11
Thanked 97 Times in 38 Posts
Post MADDE with N900 emulator

There is N900 emulator with MADDE since version 0.6.72.
Download MADDE from here:
http://tablets-dev.nokia.com/MADDE.php

An emulator instance needs to created before it can be used. It is done by command:

Code:
  mad-admin create rx51-fremantle-pr12
It takes a while to start up.
After creation an instance can be started and stopped by commands:

Code:
 mad remote -r rx51-fremantle-pr12 poweroff
 mad remote -r rx51-fremantle-pr12 poweron
Try also these. All commands should be work same way than
with real N900 device runtime.

Code:
  mad remote -r rx51-fremantle-pr12 ping
Code:
  mad remote  -r rx51-fremantle-pr12 shell
Code:
  mad remote  -r rx51-fremantle-pr12 mount <some directory>
If you wanna take backup from your emulator state you should first
stop it (poweroff). Then you are able to clone your instance by command.
Code:
 mad-admin clone -r rx51-fremantle-pr12 my_backup
Now you have two emulator instances rx51-fremantle-pr12 and
my_backup.

Note! if 'mad list' shows that runtime is default you don't need
-r <name> option with commands.

- MADDE team

Last edited by rontti; 2010-05-28 at 12:00.
Reply With Quote
The Following 13 Users Say Thank You to rontti For This Useful Post:
  #2  
Old 2010-06-16, 12:53
Spazzymoto Spazzymoto is offline
 
Join Date: Dec 2009
Posts: 7
Thanks!: 0
Thanked 4 Times in 3 Posts
Default Re: MADDE with N900 emulator

Hey i wonder if u can help? i run mad remote -r n900 poweron and i recieve this error "/madlib/ma-remote.sh: line 102: qemu: unbound variable"
Reply With Quote
  #3  
Old 2010-06-16, 17:47
jessi3k3 jessi3k3 is offline
 
Join Date: Oct 2009
Posts: 304
Thanks!: 203
Thanked 176 Times in 84 Posts
Default Re: MADDE with N900 emulator

Hi rontti. I would like to know if there is a way to improve the speed at which the emulator runs. I know at the moment MADDE is a tech preview but the emulator runs super slow. The emulator updates the frame once every 2-3 seconds and is very unresponsive to clicks due to this.

My dev env:
Windows 7 prof x64
4 gb ram, 2.0 ghz core2duo
Nvidia GeForce 7900GS

Last edited by jessi3k3; 2010-06-16 at 18:16.
Reply With Quote
  #4  
Old 2010-06-19, 10:26
nicolai's Avatar
nicolai nicolai is offline
 
Join Date: Apr 2009
Location: Germany
Posts: 1,637
Thanks!: 1,650
Thanked 4,424 Times in 1,023 Posts
Send a message via ICQ to nicolai Send a message via MSN to nicolai Send a message via Skype™ to nicolai
Default Re: MADDE with N900 emulator

Is there any way to see syslog messages?
And It would help to see all the debugging messages,
which are normally seen when working with
scratchbox and xephyr.

regards nicoai
Reply With Quote
  #5  
Old 2010-06-20, 07:33
Diph Diph is offline
 
Join Date: May 2010
Posts: 180
Thanks!: 17
Thanked 76 Times in 58 Posts
Default Re: MADDE with N900 emulator

I have the same problem. It might take more than 5 seconds to open a menu etc.

Ubuntu 10.04.
3 GHz Core 2 Duo.
Ati Radeon HD 4850.

I will add more information later...
Reply With Quote
  #6  
Old 2010-06-20, 16:00
TheAccountant TheAccountant is offline
 
Join Date: Feb 2010
Posts: 53
Thanks!: 17
Thanked 51 Times in 12 Posts
Default Re: MADDE with N900 emulator

I believe that it could be due to how the acceleration mode used by xorg.conf.

Take a copy of /etc/X11/xorg.conf in case it breaks and you need to restore it!

add the line:
Code:
Option "AccelMethod" "EXA"
In Section "Device"

EDIT::

If that doesnt work, try

Code:
Option "AccelMethod" "XAA"

You could also try adding the following section into xorg.

Code:
Section "Extensions"
    Option "Composite" "enable"
EndSection
Thanks.

Last edited by TheAccountant; 2010-06-20 at 16:05.
Reply With Quote
  #7  
Old 2010-06-20, 23:12
jessi3k3 jessi3k3 is offline
 
Join Date: Oct 2009
Posts: 304
Thanks!: 203
Thanked 176 Times in 84 Posts
Default Re: MADDE with N900 emulator

Quote:
Originally Posted by TheAccountant View Post
I believe that it could be due to how the acceleration mode used by xorg.conf.

Take a copy of /etc/X11/xorg.conf in case it breaks and you need to restore it!

add the line:
Code:
Option "AccelMethod" "EXA"
In Section "Device"

EDIT::

If that doesnt work, try

Code:
Option "AccelMethod" "XAA"

You could also try adding the following section into xorg.

Code:
Section "Extensions"
    Option "Composite" "enable"
EndSection
Thanks.
Hi, where can i find such file in windows 7?
Reply With Quote
  #8  
Old 2010-06-21, 10:37
jrx jrx is offline
 
Join Date: Jun 2010
Posts: 1
Thanks!: 0
Thanked 1 Time in 1 Post
Default Re: MADDE with N900 emulator

Quote:
Originally Posted by nicolai View Post
Is there any way to see syslog messages?
And It would help to see all the debugging messages,
which are normally seen when working with
scratchbox and xephyr.
You can use ctrl+alt+3 keycombo to switch to the root console of the emulated device. Ctrl+alt+1 will bring you back to the graphics display.
Reply With Quote
The Following User Says Thank You to jrx For This Useful Post:
  #9  
Old 2010-06-21, 11:11
too's Avatar
too too is offline
 
Join Date: Dec 2009
Location: Helsinki
Posts: 122
Thanks!: 64
Thanked 135 Times in 63 Posts
Default Re: MADDE with N900 emulator

Quote:
Originally Posted by Spazzymoto View Post
Hey i wonder if u can help? i run mad remote -r n900 poweron and i recieve this error "/madlib/ma-remote.sh: line 102: qemu: unbound variable"
You are poweron:ing device runtime ?

But good point; poweron command should complain
in this case.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 19:35.