Erik Walthinsen | 1 Mar 2007 02:11

Python libosso bindings and ICd not working

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:
(Continue reading)

Acadia Secure Networks | 1 Mar 2007 02:45
Picon
Favicon

Problem with Maemo Development VMware appliance

All,

I am pleased to report that the Maemo Development VMware appliance installed very easily on my Windows XP SP2 system running VMware Player. Thanks to all who worked to make that resource available. I installed/enabled SAMBA to make it easier to share files with the XP host and the Ubuntu guest OS.

Following the instructions in the readme.text I went to update both the X86 and the ARMEL target environments but the updates did not seem to take. Below is the text from the terminal window indicating what did and did not happen.  As you can see it indicates that

     "8 not upgraded".

Does this mean that I already have the latest versions of these packages already installed, or is there some other explanation?


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
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,

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:  jholmblad <at> aol.com

backup email address:  jholmblad <at> verizon.net

 

_______________________________________________
maemo-developers mailing list
maemo-developers <at> maemo.org
https://maemo.org/mailman/listinfo/maemo-developers
Simo Hosio | 1 Mar 2007 06:36
Picon
Picon
Favicon

Re: maemo UI is okay, but looks weird


> On Fri, Feb 23, 2007 at 08:12:09AM +0100, Xi Chen wrote:
>> I managed to install maemo based on the official tutorial. After I started
>> maemo UI, it's ok except not having Application Manager and contacts icon
>> which should be residing in the task navigator bar. It's different than the
>> screenshot from maemo official site.
>
> I installed the Bora SDK with the installer script.  I have also
> installed the proprietary Nokia binaries with apt-get install
> maemo-explicit.  I have both App Manager and Contacts in my task
> navigator.    Both in SDK_X86 and in SDK_ARMEL targets.
>
> Marius Gedminas
> -- 
> If nothing else helps, read the documentation.

Xi Chen is not alone with this one, I guess :) I have the same issue as 
well, although i don't have a pecific problem with it anyway since I am 
scripting away mostly with python and using ssh..No need for them in my 
case.

But anyway, it would be nice to know how to get them working? I am using 
Scirocco and installed it with the installer script from 
maemo.org..everything else worked out just fine with it. Somebody knows?

Simo Hosio
Vikas Murthy | 1 Mar 2007 11:18

(no subject)

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 externally and http://tim.techmahindra.com/Disclaimer.html internally within Tech Mahindra.

============================================================================================================================
_______________________________________________
maemo-developers mailing list
maemo-developers <at> maemo.org
https://maemo.org/mailman/listinfo/maemo-developers
Vikas Murthy | 1 Mar 2007 11:57

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


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 externally and http://tim.techmahindra.com/Disclaimer.html internally within Tech Mahindra.

============================================================================================================================
_______________________________________________
maemo-developers mailing list
maemo-developers <at> maemo.org
https://maemo.org/mailman/listinfo/maemo-developers
kalle ahokangas | 1 Mar 2007 12:52
Picon

N800 WLAN driver installation problem

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 <at> maemo.org
https://maemo.org/mailman/listinfo/maemo-developers
Kimmo Hämäläinen | 1 Mar 2007 13:01
Picon

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

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 <at> maemo.org
> https://maemo.org/mailman/listinfo/maemo-developers
Mathias Uebelacker | 1 Mar 2007 13:04
Gravatar

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 < vikasm <at> techmahindra.com>:

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 externally and http://tim.techmahindra.com/Disclaimer.html internally within Tech Mahindra.

============================================================================================================================

_______________________________________________
maemo-developers mailing list
maemo-developers <at> maemo.org
https://maemo.org/mailman/listinfo/maemo-developers
Vikas Murthy | 1 Mar 2007 13:17

Re: Maemo as an OS????


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:m.uebelacker <at> googlemail.com]
Sent: Thursday, March 01, 2007 5:34 PM
To: Vikas Murthy
Cc: maemo-developers <at> 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 < vikasm <at> techmahindra.com>:

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 <at> maemo.org
https://maemo.org/mailman/listinfo/maemo-developers
Neal H. Walfield | 1 Mar 2007 14:33

Application not appearing in task manager

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

Gmane