RE: Maemo's glib version, lobbying for GIO

2008-02-13 Thread Tommi Komulainen
On Tue, 2008-02-12 at 18:46 +0200, ext
[EMAIL PROTECTED] wrote:
 Philip wrote:
  Therefore I wonder about what the plan is for Maemo's glib 
  version.
 
 Upgrading glib generally speaking breaks the entire toolchain and scares
 everyone (for some releases it's attempted and rejected because too many
 things break). So it should never be done in the middle of a release
 cycle.

Umm, glib generally has nothing to do with toolchain. glib != glibc


-- 
Tommi Komulainen[EMAIL PROTECTED]
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Maemo's glib version, lobbying for GIO

2008-02-13 Thread Tommi Komulainen
On Tue, 2008-02-12 at 17:21 +0100, ext Philip Van Hoof wrote:
 My questions ...
 
 Therefore I wonder about what the plan is for Maemo's glib version. How
 soon will Maemo upgrade? What can we do to help speeding up GIO's
 inclusion into Maemo? Would a standalone version be acceptable?

In general we prefer stable releases (personally I'd say starting
from .6 or so) but we also backport specific things. At the moment there
is no strong demand for GIO so it's not too high up in priority list.
We'll get GIO latest when we upgrade to 2.16.

Then again GIO is just an add-on so it could be easily introduced
without breaking anything, but all work requires resources we could
currently use more elsewhere.

I mean you'd need to do things like coming up with a migration path from
no-GIO - glib-without-official-GIO - glib-with-GIO, figure out when to
introduce what (taking into account release plans we're not at liberty
to discuss - duh!), how/who would deal with bugfixes and periodical
catchup with upstream, etc.


-- 
Tommi Komulainen[EMAIL PROTECTED]
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Wifi scanning trouble

2008-02-13 Thread Klaus Anderson
ext Udayan Kumar wrote 02/12/2008 10:51 PM:
 Is there a way to bypass the powering down of the card? or is there any
 other method which can be used to scan the Access Points continously?

take a look at wlancond, which has a d-bus interface for scanning. Not
really documented or official, but at least source code is available.

klaus

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


Re: Maemo's glib version, lobbying for GIO

2008-02-13 Thread Philip Van Hoof

On Wed, 2008-02-13 at 08:14 +, Tommi Komulainen wrote:
 On Tue, 2008-02-12 at 17:21 +0100, ext Philip Van Hoof wrote:
  My questions ...
  
  Therefore I wonder about what the plan is for Maemo's glib version. How
  soon will Maemo upgrade? What can we do to help speeding up GIO's
  inclusion into Maemo? Would a standalone version be acceptable?
 
 In general we prefer stable releases (personally I'd say starting
 from .6 or so) but we also backport specific things. At the moment there
 is no strong demand for GIO so it's not too high up in priority list.
 We'll get GIO latest when we upgrade to 2.16.

Strong demand will happen as soon as people start picking it up, of
course. People will be picking it in during the following weeks, during
the Berlin Hackfest and after the hackfest.

I'm confident the conference at FOSDEM will make people even more aware
of the benefits of standardising on for example async APIs, stream APIs
and etcetera.

I promised one of the developers in #nautilus to give him my 770 if he
maintains and ports gio and gvfs. He sounded very enthusiastic about
this. I also made a quick port of just GIO myself which you can find
here: http://pvanhoof.be/files/gio-ugly-maemo-port.tar.gz


 Then again GIO is just an add-on so it could be easily introduced
 without breaking anything, but all work requires resources we could
 currently use more elsewhere.

That's right. So far only goffset is a newly used type that Maemo's
glib doesn't have a typedef for.

 I mean you'd need to do things like coming up with a migration path from
 no-GIO - glib-without-official-GIO - glib-with-GIO, figure out when to
 introduce what (taking into account release plans we're not at liberty
 to discuss - duh!), how/who would deal with bugfixes and periodical
 catchup with upstream, etc.

Ok. So I promised my 770 to somebody if he gets GIO and GVFS packaged in
maemo-extras. He promised me he'll maintain it after that too. His name:
A. Walton. I don't yet know whether he'll succeed/proceed of course.

If not, I might do it.


-- 
Philip Van Hoof, freelance software developer
home: me at pvanhoof dot be 
gnome: pvanhoof at gnome dot org 
http://pvanhoof.be/blog
http://codeminded.be




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


GtkTreeView problem on Maemo

2008-02-13 Thread Raviprasad Sharma
Hi All,

I am facing a color issue with GtkTreeView on both Nokia 770 and 800.
on 770 for selected color, base[NORMAL] color isjavascript:SetCmd(cmdSend);
displayed.
On GTK-2.0 expected behaviour comes.
on 800 only default selected color is displayed.
I have pasted my program here. I kept it as gtk because i have seen hildon
also supports gtk programming.
/**/
#include gtk/gtk.h
enum
{
  COL_NAME = 0,
  COL_AGE,
  NUM_COLS
};
static GtkTreeModel *
create_and_fill_model (void)
{
  GtkListStore *store;
  GtkTreeIteriter;
  store = gtk_list_store_new (NUM_COLS, G_TYPE_STRING, G_TYPE_UINT);
  /* Append a row and fill in some data */
  gtk_list_store_append (store, iter);
  gtk_list_store_set (store, iter,
  COL_NAME, Heinz El-Mann,
  COL_AGE, 51,
  -1);
  /* append another row and fill in some data */
  gtk_list_store_append (store, iter);
  gtk_list_store_set (store, iter,
  COL_NAME, Jane Doe,
  COL_AGE, 23,
  -1);
  /* ... and a third row */
  gtk_list_store_append (store, iter);
  gtk_list_store_set (store, iter,
  COL_NAME, Joe Bungop,
  COL_AGE, 91,
  -1);
  return GTK_TREE_MODEL (store);
}
static GtkWidget *
create_view_and_model (void)
{
  GtkCellRenderer *renderer;
  GtkTreeModel*model;
  GtkWidget   *view;
  view = gtk_tree_view_new ();
  gtk_widget_set_name(view, aud_view);
  /* --- Column #1 --- */
  renderer = gtk_cell_renderer_text_new ();
  gtk_tree_view_insert_column_with_attributes (GTK_TREE_VIEW (view),
   -1,
   Name,
   renderer,
   text, COL_NAME,
   NULL);
  /* --- Column #2 --- */
  renderer = gtk_cell_renderer_text_new ();
  gtk_tree_view_insert_column_with_attributes (GTK_TREE_VIEW (view),
   -1,
   Age,
   renderer,
   text, COL_AGE,
   NULL);
  model = create_and_fill_model ();
  gtk_tree_view_set_model (GTK_TREE_VIEW (view), model);
  gtk_widget_set_name(model, aud_view);
  /* The tree view has acquired its own reference to the
   * model, so we can drop ours. That way the model will
   * be freed automatically when the tree view is destroyed */
  g_object_unref (model);
  return view;
}

int
main (int argc, char **argv)
{
  GtkWidget *window;
  GtkWidget *view;
  gtk_init (argc, argv);
  window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
  gtk_rc_parse(tree_resource.rc);
  g_signal_connect (window, delete_event, gtk_main_quit, NULL); /* dirty */
  view = create_view_and_model ();
  gtk_container_add (GTK_CONTAINER (window), view);
  gtk_widget_show_all (window);
  gtk_main ();


  return 0;
}
/*/

The resource file:

style aud-treeview
{
GtkTreeView::odd_row_color = #F5F2ED
GtkTreeView::even_row_color = #FAF9F7

fg[NORMAL]= #ff
fg[PRELIGHT]  = #ff
fg[ACTIVE]= #ff
fg[SELECTED]  = #ff
fg[INSENSITIVE]   = #ff

bg[NORMAL]= #ff
bg[PRELIGHT]  = #ff
bg[ACTIVE]= #ff
bg[SELECTED]  = #ff
bg[INSENSITIVE]   = #ff

base[NORMAL]  = #ff
base[PRELIGHT]= #ff
base[ACTIVE]  = #ff
base[SELECTED]= #ff
base[INSENSITIVE] = #ff

text[NORMAL]  = #00
text[PRELIGHT]= #00
text[ACTIVE]  = #00
text[SELECTED]= #00
text[INSENSITIVE] = #00
}
widget *.aud_view style aud-treeview
/**/
here for selected row, it displays only white color.

What can be the option to solve this problem ?

Thanks.
Best Regards,
Raviprasad Sharma K


DISCLAIMER:
This message (including attachment if any) is confidential and may be 
privileged. If you have received this message by mistake please notify the 
sender by return e-mail and delete this message from your system. Any 
unauthorized use or dissemination of this message in whole or in part is 
strictly prohibited.
E-mail may contain viruses. Before opening attachments please check them for 
viruses and defects. While MindTree Consulting Limited (MindTree) has put in 
place checks to minimize the risks, MindTree will not be responsible for any 
viruses or defects or any forwarded attachments emanating either from within 
MindTree or outside.
Please note that e-mails are susceptible to change and MindTree shall not be 
liable for any improper, untimely or incomplete transmission.
MindTree reserves the right to monitor and 

Fullscreen and Flash

2008-02-13 Thread Carlos Pinto
Hi everyone,
i published the newest issue of my maemo ezine yesterday and had two ideas,
wishes and questions :)

1st: Is there a way to force the browser to go Fullscreen without the
address
field at the bottom of the screen?

2nd: Is it possible to display Flash on the today-screen aka desktop?

Big hugs and in case you would like to read the newest atarashi issue:
http://www.cyberholic.de/atarashi

You slide the pages with your fingers and sliding from top to bottom
brings up a small menu.

Carlos

-- 
---
endorphinum -//- cyberholic -//- vato

Carlos Pinto
Gärtnerstrasse 22 Haus1
20253 Hamburg

T 0049-40-226 11 399
M 0049-174-7446776
SKYPE cyberholicde

[EMAIL PROTECTED]

www.cyberholic.de
www.endorphinum.de

XING  www.xing.com/profile/Carlos_Pinto2
---
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: EAL Example (attempt)

2008-02-13 Thread tonikitoo (Antonio Gomes)
Hi,

IIRC, page_size and finish_status values were hardcoded in open
chinook release timeframe. But it has been fixed in latest versions
(microb svn). I am running microb-engine/eal from the svn (latest
snapshot) , ran your example and things worked fine:

* start, title, stop, url changed signals got fired fine (see console
output bellow)

Start Loading signal, with url: file:///bin
Url changed signal, new url is: file:///bin
MOZMOZEAL:title_changed_cb:1698: Embed:0x822c878, Title: 'file:///bin'
Title changed signal, new title is: file:///bin
Url changed signal, new url is: file:///bin
Finished Loading signal with status 0, and page size 4255

* page_size is properly shwon for each load.

* file:/// page was rendered properly and I am able to browser through
links (local folders).

So try building microb-engine/eal and browser-eal by your hands from
the svn ...  issues are fixed.

regards


On Feb 12, 2008 4:45 PM, Andrew Gatt [EMAIL PROTECTED] wrote:
 OK so i'm trying to hack together an EAL example, it seems to be firing
 up the mozilla-eal, the finished loading signal is triggered, but i'm
 not getting anything on the display. The finish_status is 0 and the page
 size is 15000 everytime, so i'm sure i'm doing something wrong.

 Can anyone spot what i'm missing? This is all done under the chinook
 sdk. I had to apt-get install browser-eal, browser-eal-dev and
 microb-eal. I also did an apt-get install microb-engine and
 microb-engine-dev.

 I'd really appreciate some help on this if anyone has got any

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


Re: stack size

2008-02-13 Thread Tilman Vogel
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Chris Dobbs schrieb:
 This leads me to belive that I have run into a stack size problem and so
 I am asking here if anyone can advise on what the limits are ?

ulimit -a

shows all the limits. You can set the stack size to unlimited with

ulimit -s unlimited

Regards,

Tilman

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iD8DBQFHsuyR9ZPu6Yae8lkRAqxlAKCD81wfv45bEjZ9usgQPOQ4MTVrwQCgo7NE
fqTkq9ovhwSvsDy0QnFvYx0=
=qdR+
-END PGP SIGNATURE-
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: WebKit Incremental Layout

2008-02-13 Thread Alp Toker
zaheer ahmad wrote:
 hi,
 can somebody suggest websites where we can see a considerable difference 
 using LOW_BANDWIDTH_DISPLAY or the FOUC  problem.  i dont seem to see 
 the difference  with  most  links i have tried.

The WebKit FOUC with LOW_BANDWIDTH_DISPLAY is quite distracting to me 
both on the desktop and on mobile devices, so much so that I don't think 
it's even worth supporting as an official configure flag right now.

If you didn't notice it, the only possibility I can think of is that you 
passed the wrong CPPFLAGS. It needs to be precisely:

-DWTF_USE_LOW_BANDWIDTH_DISPLAY=1

So, if you are using the configure script and compiling for the Maemo 
mobile platform:

CPPFLAGS=-DMOBILE=1 -DWTF_USE_LOW_BANDWIDTH_DISPLAY=1 ./configure 
--prefix=/opt/webkit --enable-video --disable-xslt --with-hildon

I actually think a throbber or other load notification system is much 
more effective. When users see unstyled content (HTML without CSS), they 
immediately consider it a bug in the browser. Not good.

So in summary, -DMOBILE=1 is good, -DWTF_USE_LOW_BANDWIDTH_DISPLAY=1 is 
not so good. The loader in current builds is significantly faster and 
better at scheduling than those in other mobile browsers so I don't 
think we need hacks like this. Try it out and see what you think :-)
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Application closes if launchaed over dbus

2008-02-13 Thread Alberto Garcia
On Wed, Feb 13, 2008 at 03:48:55PM +0100, Pavel Rojtberg wrote:

 If I start the application this way, everything works, except that
 the application closes after 20s.
 
 Everything works fine w/o the service line.
 Where should I start debugging?

Here :)

http://maemo.org/development/documentation/tutorials/maemo_4-0_tutorial.html#Maemo-Initialization

-- 
Alberto García González
http://people.igalia.com/berto/
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


RNDIS host driver

2008-02-13 Thread Bin Chen
Hello,

My gadget are using a Linux kernel compiled with USB gadget CDC
ethernet driver. Using Document/usb/linux.inf, now I can use Windows
XP to connect to my gadget, but when I plug the gadget into the Linux
PC, no things happened, but I really want to use USB LAN between Linux
PC and Linux gadget.

Any one knows how to do this? Which I need to install?

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


Re: Fullscreen and Flash

2008-02-13 Thread Nadav Aharony

Hi Carlos,

I've also been working with a full-screen flash app.

For the MicroB browser, go to:
main menu (top left corner of the screen) -- view -- show toolbar
There you can choose to hide or show the toolbar in Normal screen mode 
or Full Screen. Just turn off whichever you want.


Regards,
Nadav

Carlos Pinto wrote:

Hi everyone,
i published the newest issue of my maemo ezine yesterday and had two 
ideas,

wishes and questions :)

1st: Is there a way to force the browser to go Fullscreen without 
the address

field at the bottom of the screen?

2nd: Is it possible to display Flash on the today-screen aka desktop?

Big hugs and in case you would like to read the newest atarashi issue:
http://www.cyberholic.de/atarashi

You slide the pages with your fingers and sliding from top to bottom
brings up a small menu.

Carlos

--
---
endorphinum -//- cyberholic -//- vato

Carlos Pinto
Gärtnerstrasse 22 Haus1
20253 Hamburg

T 0049-40-226 11 399
M 0049-174-7446776
SKYPE cyberholicde

[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]

www.cyberholic.de http://www.cyberholic.de
www.endorphinum.de http://www.endorphinum.de

XING  www.xing.com/profile/Carlos_Pinto2 
http://www.xing.com/profile/Carlos_Pinto2

---


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


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


Application closes if launchaed over dbus

2008-02-13 Thread Pavel Rojtberg
Hi,

I added the serive line to get the startup notification bubble to the
desktop file of my app:
X-Osso-Service=net.madman2k.youamp

the service file reads:
Name=net.madman2k.youamp
Exec=/usr/bin/youamp-player

If I start the application this way, everything works, except that the
application closes after 20s.

Everything works fine w/o the service line.
Where should I start debugging?

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


Re: WebKit Incremental Layout

2008-02-13 Thread Alp Toker
David Carson wrote:
 the main issue that it tries to address is that on really really slow 
 networks, the user goes to a site and takes a long time to load, and 
 they think the browser has stopped working or is not doing anything and 
 give up and cancel the load.
 By showing some content, some progress, the user can see that there is 
 activity and will continue to wait for the page to load.
 Again, this is for slow network connections (ie low bandwidth)

I used this on a real mobile device with a slow connection for a couple 
of weeks to get a feel for it.

As a browser developer, the feature at first seemed neat. But as an end 
user I found that the appearance of styling up to ~10/20 seconds later 
was annoying, since by that point I'd already started reading the 
unstyled content and was getting the information I needed. The 
subsequent CSS load often meant I had to find the newly-styled paragraph 
and start reading it all over again.

Maybe it's subjective, and maybe there's a technical solution to make 
the transition from unstyled to styled content less distracting. I've 
pinged some other mobile browser developers to get their thoughts on this.
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Input method questions

2008-02-13 Thread Marcin Juszkiewicz

I have N810 with OS2007.50.2 installed.

During last week I tried to get Polish keymap for hardware keyboard. Used 
ukeyboard by Jiri Benc with my fast-hacked Polish keymaps. But it was not 
what I wanted to get.

I can live with English on-screen keyboard as it gives Polish national 
chars on accents subpages. But to have Polish hardware keyboard I need to 
have also Polish onscreen keyboard (according to that how I undestand 
documentation). So I created one, compiled with vkb compiler and put on 
device. 

For hardware keyboard I created one which use Compose (Chr) key to enter 
national chars. But on N810 Compose key is already intercepted for all 
national chars...

So questions time:

1. How to edit list of national chars so with my keymap (or my package so 
postinst script magic can be) Chr+o will be ó (and then rest of 
national keys if repeated)?

2. Will there be a way to use additional keymaps for hardware keyboard 
without replacing Control Panel - Regional settings with ukeyboard one?

3. Will there be a way to select more then one layout for hardware 
keyboard? With onscreen something like that is possible.


Why, why N810 has two LShift keys instead of LShift and RShift...

-- 
JID: hrw-jabber.org
OpenEmbedded developer/consultant

To be or not to be that is the question.:
 every programmer knows the answer $2b or (not $2b) is $ff.


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


Re: Input method questions

2008-02-13 Thread Darius Jack
Ok, 
I can help you but need your keyboard library code in the form of 
Finite-State-Machine block scheme.
What you have created for hardware keyboard will not work for on-screen 
keyboard.
I can suggest you approach and solution coming from iPhone/iPod Touch.
The same for kinetic rulers.

Darius

Marcin Juszkiewicz [EMAIL PROTECTED] wrote: 
I have N810 with OS2007.50.2 installed.

During last week I tried to get Polish keymap for hardware keyboard. Used 
ukeyboard by Jiri Benc with my fast-hacked Polish keymaps. But it was not 
what I wanted to get.

I can live with English on-screen keyboard as it gives Polish national 
chars on accents subpages. But to have Polish hardware keyboard I need to 
have also Polish onscreen keyboard (according to that how I undestand 
documentation). So I created one, compiled with vkb compiler and put on 
device. 

For hardware keyboard I created one which use Compose (Chr) key to enter 
national chars. But on N810 Compose key is already intercepted for all 
national chars...

So questions time:

1. How to edit list of national chars so with my keymap (or my package so 
postinst script magic can be) Chr+o will be ó (and then rest of 
national keys if repeated)?

2. Will there be a way to use additional keymaps for hardware keyboard 
without replacing Control Panel - Regional settings with ukeyboard one?

3. Will there be a way to select more then one layout for hardware 
keyboard? With onscreen something like that is possible.


Why, why N810 has two LShift keys instead of LShift and RShift...

-- 
JID: hrw-jabber.org
OpenEmbedded developer/consultant

To be or not to be that is the question.:
 every programmer knows the answer $2b or (not $2b) is $ff.


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


 Send instant messages to your online friends http://uk.messenger.yahoo.com ___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Using the contacts app in the maemo SDK

2008-02-13 Thread Michael R. Head
On Tue, 2008-02-12 at 16:02 -0500, Michael R. Head wrote:
 Greetings,
 
 I've installed the maemo 4.0 SDK and have added the extra nokia binaries
 (maemo-explicit). I have the icon for the Contacts app in the left-bar
 (a blue torso in front of a purple torso). 
 
 When I click it, I can View Contacts. Unfortunately, I'm unable to add
 any accounts. I'd really like to jabber, google-talk, or SIP accounts to
 the app so I can test my app (which uses mission control and
 telepathy). 
 
 
 Unfortunately, I'm unable to do this, and all my testing must take place
 on my N810 device, rather than inside scratchbox.
 
 There's a mc-account program, but it doesn't seem to be helpful (no
 profiles are available to create an account).
 
 Is there a way to add accounts to the Contacts app when in the Maemo
 SDK?

After experimenting with mission control a bit more, I'm seeing that,
with telepathy-gabble installed, I've got a McManager and a McProtocol
for gabble/jabber. 

In addition/alternative to my first question, is there a way to create a
McProfile for which I can create an McAccount so I can try making
telepathy channels in the Maemo SDK without having to go to the device
to test?

-- 
Michael R. Head [EMAIL PROTECTED]
http://www.core.binghamton.edu/~burner/new/resume.html


smime.p7s
Description: S/MIME cryptographic signature
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


project page got moved from os2008 to os2007

2008-02-13 Thread Frank Banul
Hi,

I was trying to add some updated screen shots to my project (tabletsb)
and somehow managed to move the OS2008 project to OS2007. Now there
are two OS2007 pages for TabletBridge and none for OS2008. I went as
far as trying to re-create the OS2008 page and that seemed to work but
when I went back, it was gone. When I try the Move menu entry, the
maemo site gives me an error.

What do I need to do to fix this?

thanks,
Frank
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


libpcap not found?

2008-02-13 Thread Kwan Hong Lee
Hi,

I passed the host-gcc problem by using python2.5 setup.py build and by
following:
http://maemogeek.blogspot.com/2007/11/installing-qemu-arm-eabi-patch-into.html

But even after I did apt-get install libpcap0.8 and even though /usr/lib
contains libpcap.so
I get the following error that the library is not found.  /usr/lib is
specified in the library path.

Any ideas???  Thank you.

g++ -pthread -shared build/temp.linux-armv5tel-2.5/pcapdumper.o
build/temp.linux-armv5tel-2.5/bpfobj.o build/temp.linux-armv5tel-2.5/pcapy.o
build/temp.linux-armv5tel-2.5/pcapobj.o
build/temp.linux-armv5tel-2.5/pcap_pkthdr.o
-L/lib -L/usr/lib -L/usr/lib/python2.5 -L/usr/lib -lpcap -lpython2.5 -o
build/lib.linux-armv5tel-2.5/pcapy.so
/scratchbox/compilers/cs2005q3.2-glibc2.5-arm/bin/../lib/gcc/arm-none-linux-gnueabi/3.4.4/../../../../arm-none-linux-gnueabi/bin/ld:
cannot find -lpcap
collect2: ld returned 1 exit status
error: command 'g++' failed with exit status 1

-kwan


-- 
http://www.media.mit.edu/~kwan/info.html
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: WLAN Horrible Roaming Performance (N800, OS2008), Software or Hardware Problem ?

2008-02-13 Thread Kalle Valo
ext Benno Senoner [EMAIL PROTECTED] writes:

  The question is could it be that the socket remains stuck due to the
  roaming and is not able to recover ?

 TCP doesn't fit wireless networks that well, it usually takes a long
 time to cover from packet lost. Most probably what happens for you is
 that some packets are lost due to roaming, and TCP thinks that there's
 congestion and stops sending packets for a while.

 Most probably the connection would recover after a while, and the
 while here being several minutes with the default TCP settings.


 You think those time outs are really that long ?

Yeah, they are quite long. I have heard about long timeouts with other
applications using TCP.

An easy way to confirm, if this is a TCP problem or something else, is
to run ping in the background and see how long timeouts (ie. how much
you see packet loss) you get with it. ICMP ping does not have any of
problems that TCP has.

 the strange thing is if I go around the area with my Dell Laptop
 (under Windows) with VNC open it does not suffer from those extreme
 slow downs.

I'm guessing that the laptop is roaming more aggressively than the
N800 and TCP works fine because of that.

 iwconfig is handy. Also checkout iwevent, for example you can easily
 follow whenever roaming to different AP happens.


 so does iwevent emit an event when the n800 roams ?

Yes. 

 yes it could be useful, tanks for the tip I wil try.

I usually run 'iwevent ' to get it running in the background so
that I can easily see what's happening. Very handy.

 Aaah, I did not know that wlancond would overwrite those values, thanks alot
 I will try to use the method you proposed, perhaps it will help.

 gconftool-2 --set --type int
 '/system/osso/connectivity/IAP/bgscan_threshold' '70'
 gconftool-2 --set --type int
 '/system/osso/connectivity/IAP/bgscan_interval' '20'

Sorry, I made a mistake here! Unit of bgscan_interval is milliseconds,
not seconds as I say above. So the correct way to set background scan
interval is this:

gconftool-2 --set --type int \
 '/system/osso/connectivity/IAP/bgscan_interval' '2'

I'm sorry about this.

 As for the network lock ups we are experiencing (you have to
 disable,enable wlan on the n800 to make it work again)

Does ping work when that happens? For example, you could try to ping
your gateway. Also can you send me the output from dmesg after you
experience this, please?

 other users reported it too as Luca Olivetti pointed out. and it
 seems like the problem and fix is described here:

 http://internettablettalk.com/forums/showpost.php?p=134914postcount=15

 at least for the 770 the fix seems to exist,

What I read from the link, someone had written a workaround to try
again whenever the chip is responding. That would good a feature, but
I would like to get more information about what's happening in this
case.

 I hope it is not hard to implement this on the N800 too. I have a
 few 770 too so I can try to apply the fix described in the forum and
 see if my wlan lockup problems disappear.

770 has quite old software, so I would prefer if you can send me more
information with N800.

 Since the 770 is out of production and we will buy n800 and
 successors it is fundamental that the n800 (OS 2008) gets this fix
 ASAP.

With WLAN driver changes ASAP usually means quite a long time due to
all the risks, testing and certification involved. 

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


OS2008 and gstreamer

2008-02-13 Thread Fadi Almasalha
Hi , 

 

 

I am trying to download these libs on n800 tablet , I have openSSH and root
access 

 

*   gst-plugins-farsight 
*   gstreamer-tools 
*   gstreamer0.10-3gp-osso 
*   gstreamer0.10-adpcm-osso 
*   gstreamer0.10-ffmpeg-osso 
*   gstreamer0.10-gnomevfs 
*   gstreamer0.10-hantro 
*   gstreamer0.10-id3lib-osso 
*   gstreamer0.10-mpeg1demux-osso 
*   gstreamer0.10-mpegstream-osso 
*   gstreamer0.10-plugins-base 
*   gstreamer0.10-plugins-base-extra 
*   gstreamer0.10-plugins-good 
*   gstreamer0.10-plugins-good-dbg 
*   gstreamer0.10-plugins-good-extra 
*   gstreamer0.10-plugins-good-extra-dbg 
*   gstreamer0.10-tools 
*   gstreamer0.10-wma 

I have no idea how to download them , I have tried the manager but there are
not exist there 

 

 

So please any help how to get them on n800 device , and what should I do if
I want to change some code on them and download it to n800 again 

 

 

 

Yours 

 

Fadi 

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