A Java Virtual Machine on the Nokia 770?

2007-03-01 Thread Mohamed a.

Hello everybody

Since now two weeks, I'm trying to find and install a JVM on the Nokia 770
and a SDK which allows to make cross-compliation. Obviously, there is no
official tools provided by Nokia and maemo.
As it is advised in [1] by maemo, I try to install JamVM package without
success : when executing the jamvm command, the prompt shows this error
message "command not founf". Maybe it's because the package isn't an
officiel maemo product?
I try to install this packages [2] but with the same problem. Did someone
already meet this issue? Are there others JVMs that I can try on the Nokia
770? And which SDK should I use to make cross-compilation on Nokia 770?

Thank you for your attention.

[1]
http://maemo.org/maemowiki/ApplicationCatalogWip#head-8e2703f17a054249a7314ed42d4678593f599702
[2]
http://maemo.org/maemowiki/ApplicationCatalogWip#head-8658c40953e4fa90069387d68ba23273706a79f4
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: N800 WLAN driver installation problem

2007-03-01 Thread kalle ahokangas

Hi,

I'm using the umac.ko from device not the dummy one.
I only copy the cx3110.ko file to the device.

Kalle can you help me with this?

- Kalle

2007/3/1, Paul Klapperich <[EMAIL PROTECTED]>:


On 3/1/07, kalle ahokangas <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> The self compiled WLAN driver (cx3110x.ko) for N800 doesn't work
> properly.
>
> This is what I did:
>
> 1. compile the driver
> 2. copy it to device and rmmod umac.ko and cx3110x.ko
> 3. insmod original umac.ko (which is copied to another directory) and
> cx3110.ko. dmesg tells that driver is installed perfectly.


Origional umac.ko? Huh? The umac.ko in the developer environment is a
dummy module to compile against. The umac.ko on the device is the only one
to use. Please see this thread [1] from the archive.

[1] http://www.mail-archive.com/maemo-developers@maemo.org/msg08315.html

--Paul


___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: Maemo roadmap, SDK improvements...

2007-03-01 Thread Quim Gil
Here we go: http://test.maemo.org/community/roadmap.html

It's in the test website (to be released as new site soon), it looks
ugly (I'll leave to others the beautification) but the information
contained is fresh and 100% real.


On Fri, 2007-01-26 at 10:59 +0200, Gil Quim (Nokia-M/Helsinki) wrote:
> http://maemo.org/platform/docs/roadmap.html 
> 
> This page needs an update. I will help getting this page on shape.
> This update is also a good opportunity to discuss possible futures.

-- 
Quim Gil - http://maemo.org

___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: Maemo at Google's Summer of Code 2007?

2007-03-01 Thread Quim Gil
Sorry, I missed to add this important link:

http://code.google.com/p/google-summer-of-code/wiki/AdviceforMentors

Please read that page before submitting an idea or offering yourself as
mentor.

-- 
Quim Gil - http://maemo.org

___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: Maemo at Google's Summer of Code 2007?

2007-03-01 Thread Quim Gil
Let's decide something around this proposal whether it's YES or NO. Do
you want a YES? Keep reading till the end and be active afterward.

If we want to apply for the program we need to do it between March 5-12.
Today is the 2nd, do the math.

Applying is not an effortless exercise, specially considering that
Google says that they will be keeping supporting 100 programs (the same
than last year = A LOT OF COMPETITION FOR NEWCOMERS LIKE US). On the
other hand, I'm still not sure if a company like Nokia can apply. Maemo
has no legal entity by its own. I will ask Google. And Nokia.

We need to provide proper answers to 17 questions:
http://code.google.com/support/bin/answer.py?answer=60303&topic=10727 .
I can work in most of them. But it is *entirely* up to you to take part
in these answers:

7. What is the URL for your ideas page? = WE NEED IDEAS
12. Who will your mentors be? Please include Google Account Information.
= WE NEED MENTORS
13. What criteria did you use to select these individuals as mentors?
Please be as specific as possible. = MENTORS TEAM NEEDS TO BE CONVINCING

Let's agree some rules for this game:

- This is a maemo community project. Ideas, projects and mentors are
pushed by the community. Support to the approved projects will come from
the community.

- Nokia will only put the basic infrastructure (basically authorization
to act in the name of maemo and someone to apply as administrator).
Nokia has no responsibility over the management and results of the
program. Nokia won't add/influence ideas for projects and won't mix it's
own agenda with the proposals of the community.

- Nokia employees can participate as mentors, with their maemo community
hat. Their role in Nokia is irrelevant, their time and skills is what
matters, just like for anybody else mentoring.

- If we have more mentors than approved projects, community mentors will
have a preference and Nokia employees will act as backup.

- Approved projects will be developed in garage.maemo.org with total
visibility.

- Nokia and Nokia employees won't receive/keep a cent for this program.
Any income originated will be automatically redirected to the community,
in the terms the community agrees (legal and compatible with Nokia's
accountants, although the best thing would be to avoid any payment to
Nokia).

If you want to clarify more points now it's the right time.

Reasons not to apply for the program can be:

- Google saying Nokia can't apply and not providing alternatives.
- Not enough/convincing ideas & mentors.
- Nokia and Google accountant systems being incompatible (i.e. Google
needing to pay to Nokia and not individuals and Nokia not being able to
justify payments to the community afterward)


On Wed, 2007-02-28 at 12:38 +0200, ext Daniel Stone wrote:
> Mentoring takes a lot more time than you'd think; if you want to get
> somewhere, you really need to be able to put a fair bit of time into
> mentoring, as X.Org discovered last year.

-- 
Quim Gil - http://maemo.org

___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Fwd: Re: DBUS / EDS Confusion

2007-03-01 Thread Adam L

On Thursday 01 March 2007 16:21, you wrote:
> On Thu, 2007-03-01 at 15:05 -0600, Adam L wrote:
> > Here is the offending code, within a static void section linked to a menu
> > action:
> > [CODE]
> > EBook *mybook = e_book_new_from_uri("/home/adam/books/adambook", &err);
> > if (mybook == NULL)
> > {
> >   hildon_banner_show_information(GTK_WIDGET(app->window), NULL,
> > err->message); }
> > [/CODE]
>
> Note that unless you really want to, you should use
> e_book_new_system_addressbook () instead of hard-coding a path.  This
> way you re-use the existing addressbook.

There's a reason for wanting to use other books.  But, that aside, this
 method should still work (in theory).

> >From a single line of source it's tricky to debug... can you publish the
>
> source?

There's nothing to the source. It's just a simple app with 2 menu items.


#include 
#include 
#include 
#include 

#include 

#include 
#include 
#include 




static void window_destroy (GtkWidget* widget, gpointer data)
{
gtk_main_quit();
}


static void  dump_books(GtkWidget* widget, gpointer data)
{
AppData *app;
GList *contacts, *c;
GError *err = NULL;
int count;

app = data;

EBook *mybook = 
e_book_new_from_uri("/home/adam/books/adambook", &err);
if (mybook == NULL)
{
hildon_banner_show_information(GTK_WIDGET(app->window), 
NULL,
 err->message); }
/**
gboolean created = e_book_open(mybook, FALSE, &err);
if (!created)
{ printf("wasn't able to open the book\n"); }
else {printf("opened the book\n");}
**/

}


int main(int argc, char *argv[])
{

GtkWidget *vbox, *label, *button;
GtkMenu *menu;
GtkMenuItem *item_close;
GtkMenuItem *item_nothin;
GdkPixbuf *icon;
GError *error = NULL;
osso_return_t result;



appData.context = osso_initialize("ihello", "1.0", FALSE, NULL);
if (appData.context == NULL)
{
printf("context was null\n");
}
else
{
printf("context was good\n");
}

gtk_init(&argc, &argv);


/* Init abook */
if (!osso_abook_init (&argc, &argv, appData.context))
{
g_critical ("Error initializing libosso-abook");
  osso_deinitialize (appData.context);
  return 1;
}


menu = GTK_MENU(gtk_menu_new());
item_close = GTK_MENU_ITEM(gtk_menu_item_new_with_label("Close app"));
item_nothin = GTK_MENU_ITEM(gtk_menu_item_new_with_label("Does nothing in
 app")); g_signal_connect(G_OBJECT(item_close), "activate",
 GTK_SIGNAL_FUNC(window_destroy), NULL);
 g_signal_connect(G_OBJECT(item_nothin), "activate",
 GTK_SIGNAL_FUNC(dump_books), &appData);

gtk_menu_append(menu, GTK_WIDGET(item_close));
gtk_menu_append(menu, GTK_WIDGET(item_nothin));

appData.program = hildon_program_get_instance();
g_set_application_name("application level title");
hildon_program_set_common_menu(appData.program, menu);
hildon_program_set_can_hibernate(appData.program, TRUE);


mainWindow = HILDON_WINDOW(hildon_window_new());




gtk_widget_set_name(GTK_WIDGET(mainWindow), "main window");


hildon_program_add_window(appData.program, mainWindow);


gtk_widget_show_all (GTK_WIDGET(mainWindow));

gtk_main();

osso_deinitialize(appData.context);

return 0;
}


***
vars.h

#include 


/* Application UI data struct */
 typedef struct _AppData AppData;
 struct _AppData {

  /* View items */
  HildonProgram *program;
  HildonWindow *window;

  osso_context_t *context;

  /* Toolbar */
  GtkWidget *main_toolbar;
  /* Find toolbar */
//  HildonFindToolbar *find_toolbar;

  /* Is Find toolbar visible or not */
  gboolean find_visible;
  };

HildonWindow *mainWindow;
gboolean   windowMax;
AppData   appData;

---
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: DBUS / EDS Confusion

2007-03-01 Thread Ross Burton
On Thu, 2007-03-01 at 15:05 -0600, Adam L wrote:
> Here is the offending code, within a static void section linked to a menu 
> action:
> [CODE]
> EBook *mybook = e_book_new_from_uri("/home/adam/books/adambook", &err);
> if (mybook == NULL)
> {
>   hildon_banner_show_information(GTK_WIDGET(app->window), NULL, err->message);
> }
> [/CODE]

Note that unless you really want to, you should use
e_book_new_system_addressbook () instead of hard-coding a path.  This
way you re-use the existing addressbook.

>From a single line of source it's tricky to debug... can you publish the
source?

Ross
-- 
Ross Burton mail: [EMAIL PROTECTED]
  jabber: [EMAIL PROTECTED]
 www: http://www.burtonini.com./
 PGP Fingerprint: 1A21 F5B0 D8D0 CFE3 81D4 E25A 2D09 E447 D0B4 33DF



___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


DBUS / EDS Confusion

2007-03-01 Thread Adam L
I'm attempting to access EDS services, and running into an obstacle.

When attempting to access, a supposedly synchronous call, to EDS, I'm 
receiving an error message of:

   Message did not receive a reply (timeout by message bus)

Here is the offending code, within a static void section linked to a menu 
action:
[CODE]
EBook *mybook = e_book_new_from_uri("/home/adam/books/adambook", &err);
if (mybook == NULL)
{
  hildon_banner_show_information(GTK_WIDGET(app->window), NULL, err->message);
}
[/CODE]



I'm hoping some guru can lend a hand or direction.  I'm running this under 
2.2, scratchbox 1, with a PC target.  I've tried running dbus-monitor (i 
swear i used to be able to use the keyboard from within the xterm app under 
scratchbox), but I really don't know what I'm looking for.  I do see calls to 
the addressbook and said factories.

I hope I've provided enough information to go on  Thanks for any help!

For the sake of brevity, all tests to make sure things are initialized aren't 
pasted in here.. but, they're in the code, and they come back a success.

Initialization code, tried with and without "TRUE":
[CODE]
appData.context = osso_initialize("myapplication", "1.0", TRUE, NULL);
[/CODE]

osso abook init code (tried with and without)
[CODE]
if (!osso_abook_init (&argc, &argv, appData.context))
[/CODE]


myapplication.desktop:
[CODE]
Encoding=UTF-8
Version=1.0
Name=AddressApp
Comment=Address Book stuff
Exec=/home/adam/hello-world-gtk/hildpc/src/ihello
Icon=terminal
Terminal=false
Type=Application
Categories=User;Contact
X-HildonDesk-ShowInToolbar=true
X-Osso-Service=myapplication
X-Osso-Type=application/x-executable
[/CODE]

com.nokia.myapplication.service
[CODE]
[D-BUS Service]
Name=com.nokia.myapplication
Exec=/home/adam/hello-world-gtk/hildpc/src/ihello
[/CODE]


Here's the output from dbus-monitor, if it helps, when running the 
e_book_new_from_uri().

with the null destination lines, I can't help but wonder if there's something 
broken in my dbus registrations.

[CODE]
method call sender=:1.6 -> dest=org.freedesktop.DBus 
interface=org.freedesktop.DBus; member=StartServiceByName
 string "org.gnome.evolution.dataserver.AddressBook"
uint32 0
signal sender=org.freedesktop.DBus -> dest=(null destination) 
interface=org.freedesktop.DBus; member=NameOwnerChanged
 string ":1.7"
string ""
string ":1.7"
method call sender=:1.7 -> dest=org.freedesktop.DBus 
interface=org.freedesktop.DBus; member=Hello
method call sender=:1.7 -> dest=org.freedesktop.DBus 
interface=org.freedesktop.DBus; member=AddMatch
 
string 
"type='signal',sender='org.freedesktop.DBus',path='/org/freedesktop/DBus',interface='org.freedesktop.DBus',member='NameOwnerChanged'"
method call sender=:1.7 -> dest=org.freedesktop.DBus 
interface=org.freedesktop.DBus; member=AddMatch
 
string 
"type='signal',sender='org.freedesktop.DBus',path='/org/freedesktop/DBus',interface='org.freedesktop.DBus'"
method call sender=:1.7 -> dest=org.freedesktop.DBus 
interface=org.freedesktop.DBus; member=GetNameOwner
 string "org.freedesktop.DBus"
signal sender=org.freedesktop.DBus -> dest=(null destination) 
interface=org.freedesktop.DBus; member=NameOwnerChanged
 string "org.gnome.evolution.dataserver.AddressBook"
string ""
string ":1.7"
method call sender=:1.7 -> dest=org.freedesktop.DBus 
interface=org.freedesktop.DBus; member=RequestName
 string "org.gnome.evolution.dataserver.AddressBook"
uint32 0
method call sender=:1.6 -> dest=org.freedesktop.DBus 
interface=org.freedesktop.DBus; member=GetNameOwner
 string "org.gnome.evolution.dataserver.AddressBook"
method call sender=:1.6 -> dest=org.freedesktop.DBus 
interface=org.freedesktop.DBus; member=AddMatch
 
string 
"type='signal',sender='org.freedesktop.DBus',path='/org/freedesktop/DBus',interface='org.freedesktop.DBus',member='NameOwnerChanged'"
method call sender=:1.6 -> dest=org.freedesktop.DBus 
interface=org.freedesktop.DBus; member=AddMatch
 
string 
"type='signal',sender=':1.7',path='/org/gnome/evolution/dataserver/addressbook/BookFactory',interface='org.gnome.evolution.dataserver.addressbook.BookFactory'"
method call sender=:1.7 -> dest=org.freedesktop.DBus 
interface=org.freedesktop.DBus; member=AddMatch
 
string 
"type='signal',sender='com.nokia.backup',path='/com/nokia/backup',interface='com.nokia.backup'"
signal sender=org.freedesktop.DBus -> dest=(null destination) 
interface=org.freedesktop.DBus; member=NameOwnerChanged
 string "org.gnome.evolution.dataserver.AddressBook"
string ":1.7"
string ""
signal sender=org.freedesktop.DBus -> dest=(null destination) 
interface=org.freedesktop.DBus; member=NameOwnerChanged
 string ":1.7"
string ":1.7"
string ""

[/CODE]
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: Maemo as a basic OS????????

2007-03-01 Thread Klaus Rotter

Vikas Murthy wrote:
1)  After installing Maemo( and its library stack)  on a hardware 
reference board(with an LCD display, used for development) can I use 
that platform itself as an internet tablet??


That is, Can I use internet (for browsing, mailing, VoIP,
etc) through the hardware platform with just Maemo3.0.


You need at least a linux kernel for that machine and please keep in 
mind that most standard applications are not free, e.g. opera and the 
mailer.


--
Klaus Rotter * klaus  rotters  de * www.rotters.de
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Wlan question

2007-03-01 Thread Armin03
hello,
I have two asks :
1. Support Nokia 770 wlan card  WMM (Wireless Multimedia) ?
2. there is for “Conexant CX3110x wireless chip (wlan map on nokia) a Madwiffi 
driver ?

Thanks in advance.
Amin
-- 
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Dirty installation maemo bora

2007-03-01 Thread Carlos GP

Hi,
this is adressed for anyone who have troubles installing from the
script the SDK_X86 target.

When I installed from the script and I wanted to run an app. I
received a "execl: no such a file or directory", and the program
didn't work.

So I decided to install from sctrach, but using the manual installation.
The programs runned, but it seems that it didn't install the libraries
(or I couldn't!!!)

So what I did was:
- Install from manual installation
- Install from script

copy all the target/usr directorty from script installation to manual
installation. And this is it!!!

It sound dirty, I know, but it was the only way I could solve the problem.

Regards!

--
Carlos GP
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: RE : Re: RE : Re: Question about WLAN API

2007-03-01 Thread Andrew J. Barr
On Thu, 2007-03-01 at 13:16 +0100, magda chelly wrote:
> Sorry but I must do it in JAVA, it's possible with
> this tools?

Java is currently not supported on the Nokia tablets. This may change in
the future as Java is/will be open source but as it stands now, no.

This is a FAQ, BTW.

HTH,
Andrew Barr

> Chelly Magda,
> 
> 
>   
>   
>   
> ___ 
> Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! 
> Profitez des connaissances, des opinions et des expériences des internautes 
> sur Yahoo! Questions/Réponses 
> http://fr.answers.yahoo.com
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: Problem with Maemo Development VMware appliance

2007-03-01 Thread Kimmo Hämäläinen
On Wed, 2007-02-28 at 20:45 -0500, ext Acadia Secure Networks wrote:
...
> Any help on this will be much appreciated:
> 
> 
> > Shell restarting...
> > [sbox-SDK_X86: ~] > apt-get update
> > Hit http://repository.maemo.org bora/free Packages
> > Get:1 http://repository.maemo.org bora/free Release [105B]
> > Hit http://repository.maemo.org bora/non-free Packages
> > Get:2 http://repository.maemo.org bora/non-free Release
> > [109B]
> > Hit http://repository.maemo.org bora/extras Packages   
> > Get:3 http://repository.maemo.org bora/extras Release [107B]
> > Get:4 http://repository.maemo.org bora/free Sources [33.7kB]
> > Hit http://repository.maemo.org bora/free Release
> > Hit http://repository.maemo.org bora/non-free Sources  
> > Ign http://repository.maemo.org bora/non-free Release  
> > Hit http://repository.maemo.org bora/extras Sources
> > Ign http://repository.maemo.org bora/extras Release
> > Fetched 34.0kB in 3s (8596B/s) 
> > Reading Package Lists... Done
> > [sbox-SDK_X86: ~] > fakeroot apt-get -f install

Should you run "fakeroot apt-get upgrade" here instead? That retrieves
and installs the latest versions.

BR; Kimmo

> > Reading Package Lists... Done
> > Building Dependency Tree... Done
> > 0 upgraded, 0 newly installed, 0 to remove and 8 not
> > upgraded.
> > [sbox-SDK_X86: ~] > sb-menu
> 
> -- 
> 
> 
> Best Regards,
> 
>  
> 
> John Holmblad
> 
>  
> 
> Acadia Secure Networks
> 
> GSEC Gold, GCWN Gold, GGSC-0100, NSA-IAM, NSA-IEM
> serving the digital home, entrepreneurial enterprise, and emerging
> carrier markets
> 
>  
> 
> (M)703 407 2278
> 
> (F) 703 620 5388
> 
> primary email address:  [EMAIL PROTECTED]
> 
> backup email address:  [EMAIL PROTECTED]
> 
>  
> 
> 
> ___
> maemo-developers mailing list
> maemo-developers@maemo.org
> https://maemo.org/mailman/listinfo/maemo-developers
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: N800 WLAN driver installation problem

2007-03-01 Thread Paul Klapperich

On 3/1/07, kalle ahokangas <[EMAIL PROTECTED]> wrote:


Hi,

The self compiled WLAN driver (cx3110x.ko) for N800 doesn't work properly.

This is what I did:

1. compile the driver
2. copy it to device and rmmod umac.ko and cx3110x.ko
3. insmod original umac.ko (which is copied to another directory) and
cx3110.ko. dmesg tells that driver is installed perfectly.



Origional umac.ko? Huh? The umac.ko in the developer environment is a dummy
module to compile against. The umac.ko on the device is the only one to use.
Please see this thread [1] from the archive.

[1] http://www.mail-archive.com/maemo-developers@maemo.org/msg08315.html

--Paul
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: Maemo as an OS????

2007-03-01 Thread Mathias Uebelacker

Hello,

is it right, that you will build a target system which should be work like a
standalone system and where you have the possibility to develop
end-user-applications?

br
Mathias

2007/3/1, Vikas Murthy <[EMAIL PROTECTED]>:



Hi.

In that case,

A kernel, library stack and Maemo on top of it.

In this order

Hildon-Topmost layer

GTK+, D-Bus

X Window System

Debian

GNU/Linux-Bottommost layer


Can I build a basic internet tablet and also use its internet
functionalities( Browze, Mail, VoIP, etc)?

Can u please tell me all the softwares/Source-codes I will have to install
on the bare hardware reference board

Is my software stack I have mentioned above correct???

Thank you all again.

Vikas N.R


*From:* Mathias Uebelacker [mailto:[EMAIL PROTECTED]<[EMAIL PROTECTED]>
]
***Sent:* Thursday, March 01, 2007 5:34 PM
***To:* Vikas Murthy
***Cc:* maemo-developers@maemo.org
***Subject:* Re:

Hello,

Maemo alone will not work. You need the also a small basis in form of a
small kernel.

br
Mathias

2007/3/1, Vikas Murthy <* [EMAIL PROTECTED]<[EMAIL PROTECTED]>
>:

Hi.

I thank you all for the answers given to me.

Things are now clear.

Maemo is a development platform to develop applications for Nokia 770 and
n800 .

There is just one curiosity:

1)  After installing Maemo( and its library stack)   on a hardware
reference board(with an LCD display, used for development) can I use that
platform itself as an internet tablet??

   That is, Can I use internet (for browsing, mailing, VoIP, etc) through
the hardware platform with just Maemo3.0.

In a simpler way, can maemo3.0 itself serve as a
very basic OS??

I await a reply.

Thank you all in advance ,




Tech Mahindra, formerly Mahindra-British Telecom.

Disclaimer:

This message and the information contained herein is proprietary and
confidential and subject to the Tech Mahindra policy statement, you may
review at http://www.techmahindra.com/Disclaimer.html externally and
http://tim.techmahindra.com/Disclaimer.html internally within Tech
Mahindra.




___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Application not appearing in task manager

2007-03-01 Thread Neal H. Walfield
GPE Starling does not show up in the task manager.  It starts fine but
I cannot figure out why it doesn't appear in the task bar.  The code
(and package) is here: http://linuxtogo.org/~neal/maemo/ .  (The
dependencies can be found at
http://downloads.kernelconcepts.de/maemo2/ .)

Any insights would be appreciated.


Here is the output of dbus-monitor when starting Starling from the
application menu:

  signal sender=org.freedesktop.DBus -> dest=(null destination)
  interface=org.freedesktop.DBus; member=NameOwnerChanged
   string ":1.62"
  string ""
  string ":1.62"
  method call sender=:1.62 -> dest=org.freedesktop.DBus
  interface=org.freedesktop.DBus; member=Hello
  signal sender=org.freedesktop.DBus -> dest=(null destination)
  interface=org.freedesktop.DBus; member=NameOwnerChanged
   string "com.nokia.starling"
  string ""
  string ":1.62"
  method call sender=:1.62 -> dest=org.freedesktop.DBus
  interface=org.freedesktop.DBus; member=RequestName
   string "com.nokia.starling"
  uint32 1

It looks okay but I'm not a d-bus expert.

The perhaps relevant start up code:

  #define APPLICATION_DBUS_SERVICE "starling"
  
  ...
  
  #ifdef IS_HILDON
osso_context_t *osso_context;
  
/* Initialize maemo application */
osso_context = osso_initialize(APPLICATION_DBUS_SERVICE, "1.0",
TRUE, NULL);
  
/* Check that initialization was ok */
if (osso_context == NULL)
  {
g_critical ("Failed to initialize OSSO context!");
return OSSO_ERROR;
  }
  #endif
  
  ...

  char *iconname = DATADIR "/pixmaps/bass.png";
  GdkPixbuf *icon = gdk_pixbuf_new_from_file (iconname, &err);
  if (err)
{
  fprintf (stderr, "Loading %s: %s\n", iconname, err->message);
  g_error_free (err);
}
  else
gtk_window_set_default_icon (icon);



/usr/share/applications/hildon/starling.desktop:

[Desktop Entry]
Encoding=UTF-8
Version=1.0
Type=Application
Name=Audio player
Comment=Starling
Exec=/usr/bin/starling
Terminal=false
Icon=bass
X-HildonDesk-ShowInToolbar=true
X-Osso-Type=application/x-executable
X-Osso-Service=starling
StartupWMClass=starling


/usr/share/dbus-1/services/com.nokia.starling.service:

[D-BUS Service]
Name=com.nokia.starling
Exec=/usr/bin/starling


___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: Python libosso bindings and ICd not working

2007-03-01 Thread Luciano M. Wolf

Hi Erik,

I had the same problem testing here. At this moment we are migrating
the PyMaemo repository to garage.maemo.org and this will take some
time. Finishing this task we will take a look on this problem in osso
bindings. Could you file a bug in pymaemo bugzilla[1]? Thanks in
advance!

Regards,
Luciano
-INdT-

[1]
pymaemo.garage.maemo.org



On 2/28/07, Erik Walthinsen <[EMAIL PROTECTED]> wrote:

I've got a control panel app that must have a constant network connection in
order to function (button press -> UDP packet).  For the moment I've faked
up a wrapper script that uses a preload'd ping, but it's very lame and
doesn't work consistently, which is not good in this situation.

I'm trying to use the libosso bindings to connect, and eventually listen to
status_changed so I can reconnect and reinitialize my network sockets.  It's
not even coming close to working ;-(

Figuring the bindings would be better, I started by grabbing the latest
pymaemo2.5.  Then I tried the following script:

=
#!/usr/bin/env python

import osso
import gtk

osso_c = osso.Context("icconnect", "0.0.1", False)
osso_rpc = osso.Rpc(osso_c)
try:
   retval = osso_rpc.rpc_run(
 "com.nokia.icd",
 "/com/nokia/icd",
 "com.nokia.icd",
 "connect",
 ("omegacs.net",0),
 True,
 True)
except Exception, inst:
   print "failed with exception "+repr(inst)
else:
   print "retval is %s" % retval
=

I get the following error:

failed with exception SystemError('error return without exception set',)

AFAICT this is an internal Python error that means the bindings have a bug.

OTOH, calling "disconnect" with ("omegacs.net",) returns with "omegacs.net"
and no error, but does nothing.

This is rather critical to my application, and any other potential Python
program, so I would appreciate hints as to either what I'm doing wrong, or
what in pymaemo needs to be worked on so it can function.

As a side note, I tried to use the DBus bindings directly, which also failed
miserably.  I was told that Maemo's DBus doesn't support introspection, yet
the python bindings will not function without introspection, making the
bindings completely worthless.  Is this really true?

TIA,
Omega
aka Erik Walthinsen
[EMAIL PROTECTED]
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: Maemo as an OS????

2007-03-01 Thread Vikas Murthy


Hi.

In that case,

A kernel, library stack and Maemo on top of it.
In this order


Hildon-Topmost layer
GTK+, D-Bus 
X Window System
Debian 
GNU/Linux-Bottommost layer



Can I build a basic internet tablet and also use its internet
functionalities( Browze, Mail, VoIP, etc)?


Can u please tell me all the softwares/Source-codes I will have to
install on the bare hardware reference board
Is my software stack I have mentioned above correct???


Thank you all again.
Vikas N.R



From: Mathias Uebelacker [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 01, 2007 5:34 PM
To: Vikas Murthy
Cc: maemo-developers@maemo.org
Subject: Re:

Hello,

Maemo alone will not work. You need the also a small basis in form of a
small kernel.

br
Mathias
2007/3/1, Vikas Murthy < [EMAIL PROTECTED]
 >:
Hi.
I thank you all for the answers given to me.
Things are now clear.
Maemo is a development platform to develop applications for Nokia 770
and n800 .

There is just one curiosity:
1)  After installing Maemo( and its library stack)   on a hardware
reference board(with an LCD display, used for development) can I use
that platform itself as an internet tablet?? 
That is, Can I use internet (for
browsing, mailing, VoIP, etc) through the hardware platform with just
Maemo3.0.
In a simpler way, can maemo3.0 itself
serve as a very basic OS??

I await a reply.
Thank you all in advance ,






Tech Mahindra, formerly Mahindra-British Telecom.
 
Disclaimer:

This message and the information contained herein is proprietary and 
confidential and subject to the Tech Mahindra policy statement, you may review 
at http://www.techmahindra.com/Disclaimer.html";>http://www.techmahindra.com/Disclaimer.html
 externally and http://tim.techmahindra.com/Disclaimer.html";>http://tim.techmahindra.com/Disclaimer.html
 internally within Tech Mahindra.

___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re:

2007-03-01 Thread Mathias Uebelacker

Hello,

Maemo alone will not work. You need the also a small basis in form of a
small kernel.

br
Mathias

2007/3/1, Vikas Murthy <[EMAIL PROTECTED]>:


 Hi.

I thank you all for the answers given to me.

Things are now clear.

Maemo is a development platform to develop applications for Nokia 770 and
n800.

There is just one curiosity:

1)  After installing Maemo( and its library stack)  on a hardware
reference board(with an LCD display, used for development) can I use 
thatplatformitself as an internet
tablet??

   That is, Can I use internet (for browsing, mailing, VoIP, etc)through the 
hardware platform with just
  Maemo3.0.

  In a simpler way, can maemo3.0 itself serve as a very basic
  OS??


I await a reply.

Thank you all in advance,

Vikas N.R



Tech Mahindra, formerly Mahindra-British Telecom.

Disclaimer:

This message and the information contained herein is proprietary and
confidential and subject to the Tech Mahindra policy statement, you may
review at http://www.techmahindra.com/Disclaimer.html externally and
http://tim.techmahindra.com/Disclaimer.html internally within Tech
Mahindra.




___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: Maemo as a basic OS????????

2007-03-01 Thread Kimmo Hämäläinen
On Thu, 2007-03-01 at 16:27 +0530, ext Vikas Murthy wrote:
> 
> Hi.
> 
> I thank you all for the answers given to me.
> 
> Things are now clear.
> 
> Maemo is a development platform to develop applications for Nokia 770
> and n800.
> 
> 
> There is just one curiosity:
> 
> 1)  After installing Maemo( and its library stack)  on a hardware
> reference board(with an LCD display, used for development) can I use
> that platform itself as an internet tablet??
> 
> That is, Can I use internet (for browsing, mailing,
> VoIP, etc) through the hardware platform with just
> Maemo3.0.
> 
> In a simpler way, can maemo3.0 itself serve as a very
> basic OS??

No, Maemo itself is not enough, you also need a compatible kernel (such
as the Linux kernel).

BR; Kimmo

> 
> 
> 
> I await a reply.
> 
> Thank you all in advance,
> 
> Vikas N.R
> 
> 
> 
> Tech Mahindra, formerly Mahindra-British Telecom.
> 
> Disclaimer:
> 
> This message and the information contained herein is proprietary and
> confidential and subject to the Tech Mahindra policy statement, you
> may review at http://www.techmahindra.com/Disclaimer.html externally
> and http://tim.techmahindra.com/Disclaimer.html internally within Tech
> Mahindra.
> 
> 
> 
> ___
> maemo-developers mailing list
> maemo-developers@maemo.org
> https://maemo.org/mailman/listinfo/maemo-developers
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


N800 WLAN driver installation problem

2007-03-01 Thread kalle ahokangas

Hi,

The self compiled WLAN driver (cx3110x.ko) for N800 doesn't work properly.

This is what I did:

1. compile the driver
2. copy it to device and rmmod umac.ko and cx3110x.ko
3. insmod original umac.ko (which is copied to another directory) and
cx3110.ko. dmesg tells that driver is installed perfectly.
4. Go to Connection manager and scan for connections. Connections are
scanned perfectly.
3. Select connection from list -> 'Network connection error. Try again?'

So the scanning works perfectly but I cannot connect to any APs.

Can anyone tell if I'm doing something wrong here and what should I do to
get the driver to work.
Is there any way to install the driver in the boot sequence?

I'm using dev rootfs and device is in rd mode.

- Kalle
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Maemo as a basic OS????????

2007-03-01 Thread Vikas Murthy


Hi.

I thank you all for the answers given to me.

Things are now clear.
Maemo is a development platform to develop applications for Nokia 770
and n800.


There is just one curiosity:
1)  After installing Maemo( and its library stack)  on a hardware
reference board(with an LCD display, used for development) can I use
that platform itself as an internet tablet??
That is, Can I use internet (for browsing, mailing,
VoIP, etc) through the hardware platform with just Maemo3.0.
In a simpler way, can maemo3.0 itself serve as a very
basic OS??


I await a reply.

Thank you all in advance,
Vikas N.R




Tech Mahindra, formerly Mahindra-British Telecom.
 
Disclaimer:

This message and the information contained herein is proprietary and 
confidential and subject to the Tech Mahindra policy statement, you may review 
at http://www.techmahindra.com/Disclaimer.html";>http://www.techmahindra.com/Disclaimer.html
 externally and http://tim.techmahindra.com/Disclaimer.html";>http://tim.techmahindra.com/Disclaimer.html
 internally within Tech Mahindra.

___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


(no subject)

2007-03-01 Thread Vikas Murthy

Hi.

I thank you all for the answers given to me.

Things are now clear.
Maemo is a development platform to develop applications for Nokia 770
and n800.


There is just one curiosity:
1)  After installing Maemo( and its library stack)  on a hardware
reference board(with an LCD display, used for development) can I use
that platform itself as an internet tablet??
That is, Can I use internet (for browsing, mailing,
VoIP, etc) through the hardware platform with just Maemo3.0.
In a simpler way, can maemo3.0 itself serve as a very
basic OS??


I await a reply.

Thank you all in advance,
Vikas N.R




Tech Mahindra, formerly Mahindra-British Telecom.
 
Disclaimer:

This message and the information contained herein is proprietary and 
confidential and subject to the Tech Mahindra policy statement, you may review 
at http://www.techmahindra.com/Disclaimer.html";>http://www.techmahindra.com/Disclaimer.html
 externally and http://tim.techmahindra.com/Disclaimer.html";>http://tim.techmahindra.com/Disclaimer.html
 internally within Tech Mahindra.

___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers