[maemo-developers] modifying root filesystem
I tried the instructions and scripts for modifying the root filesystem, http://maemo.org/platform/docs/howtos/howto_use_flasher_rootfs.html It seems the rootfs.packages and sources.list are out of date, or there are a few packages missing (hildon-status-bar-display). The make_rootimage.sh script seems a bit unfinished, as it's help lists --outprefix and --jffs2 which do not work. (looking at the script, it seems there are a few missplaced 'x' characters, and variable not all caps) I manually tar.gz the resulting root filesystem (the web page doesn't mention the need to do this part), and ran the tar2jffs2.sh, script, flashed the device, but the device keeps rebooting.. ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] modifying root filesystem
ext Lorn Potter wrote: I tried the instructions and scripts for modifying the root filesystem, http://maemo.org/platform/docs/howtos/howto_use_flasher_rootfs.html It seems the rootfs.packages and sources.list are out of date, or there are a few packages missing (hildon-status-bar-display). The make_rootimage.sh script seems a bit unfinished, as it's help lists --outprefix and --jffs2 which do not work. (looking at the script, it seems there are a few missplaced 'x' characters, and variable not all caps) I manually tar.gz the resulting root filesystem (the web page doesn't mention the need to do this part), and ran the tar2jffs2.sh, script, flashed the device, but the device keeps rebooting.. ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers make sure you dont miss this step below The reference root filesystem includes some binary modules that can be downloaded separately. These packages are not necessary, you may create a root filesystem without them, but some functionality will be missing. To download these packages, please follow this link http://maemo.org/downloads/d2.php. http://maemo.org/downloads/d2.php If you have successfuly downloaded those packages, then create a workarounds/ directory under your rootfs working directory and copy the binary packages there. Devesh ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] Maemo Wiki - Application Catalog.
Hi, SDK version 1.1 comes with a new version of qemu, it is now possibleto execute programs in arm target! Regards, Henry On 1/16/06, Antonio Gomes [EMAIL PROTECTED] wrote: hi there,First of all, if you wanna to run apps in a desktop box, you have to have an i386 target set up ... Regarding the error, try to set you LD_LIBRARY_PATH to your target directory (it is not the best way, but works) e.g. ./configure *--prefix=/usr* make make installLD_LIBRARY_PATH=/usr/lib/gpe_webbrowser_libs_path:$LD_LIBRARY_PATH*run-it*regards On 1/14/06, Edlinoor Syahril Ramlan [EMAIL PROTECTED] wrote: Yup, it could run but I keep on getting this error when i click on theapplication in the xephyr window: /var/lib/install/usr/bin/gpe-mini-browser: error while loading sharedlibraries: libgpewidget.so.1 : cannot open shared object file: No such file ordirectoryI've been trying everything: 1) Installing the latest version of libgpewidget1_0.105m1-1_arm.deb2) Manually installed libgpewidget1_0.105m1-1_arm.deb by unpacking it manually and add libgpewidget.so.1 into /var/lib/install/usr/lib3) changing ld.so.confat /scratchbox/users/edlinoor/targets/SDK_ARM/etc/ld.so.conf andadding /var/lib/install/usr/lib into it4) executing fakeroot ldconfig before i execute af-sb-init.sh start All failed!I don't understand what is going on.By the way I just upgradingthe SDK to version 1.1.Does that have anything to do with the error?Iguest not.The application that I wanted to install is gpe-mini-browser. Need help please... any idea?Ed.On Friday 13 January 2006 04:44, you wrote: On Fri, 2006-01-13 at 18:21 +0800, Edlinoor Syahril Ramlan wrote: Hi, I've been browsing maemo wiki and found that the Application Catalog listed quite a number of applications that I found interesting. But: 1) Is it possible for me to download those applications and install them into the Maemo SDK installed in my PC? In other words is it possible to install those applications in scratchbox? 2) Can I run and use the application by using the Xephyr? absolutely. Switch to ARM target and then, [beagle SDK_ARM] app-installer-tool install uber-maemo-app_arm.deb -- --Antonio Gomeshttp:// tonikitoo (dot) blogspot (dot) com (slash)Nokia Technology Institute (INdT)___ maemo-developers mailing listmaemo-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-developers] Porting ipsec-tools (POSSIBLY SOLVED)
On Fri, 13 Jan 2006, Vladislav Grinchenko wrote: Mika, you might want to try relative path instead. In a nutshell: I'm trying to port ipsec-tools. After satisfying a set of build-dependencies and dancing around a few more by selectively mangling build scripts, I'm a bit stumped. After all the efforts, it is ipsec-tools package itself that fails to build, which I can't help but appreciate with certain sense of irony. The proposed solution would be optimal, but I could not figure out how to achieve it. The following (rather brutal) patch is all that is needed to build ipsec-tools inside scratchbox (pulled from subversion): I will feed the patch upstream as well, in hopes that it will eventually evolve to a proper fix. Take care. Index: configure === --- configure (revision 9138) +++ configure (revision 9139) @@ -24267,7 +24267,7 @@ fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext - CPPFLAGS_ADD=$CPPFLAGS_ADD -I./\${top_srcdir}/src/racoon/missing + CPPFLAGS_ADD=$CPPFLAGS_ADD -I\${top_srcdir}/src/racoon/missing fi Index: debian/control === --- debian/control (revision 9138) +++ debian/control (revision 9139) @@ -2,7 +2,7 @@ Section: net Priority: extra Maintainer: Ganesan Rajagopal [EMAIL PROTECTED] -Build-Depends: debhelper (= 4.0.0), flex, bison, libssl-dev (= 0.9.6), libreadline5-dev +Build-Depends: debhelper (= 4.0.0), flex, bison, libssl-dev (= 0.9.6), libreadline4-dev Build-Conflicts: bison++ Standards-Version: 3.6.2 Index: src/racoon/nattraversal.h === --- src/racoon/nattraversal.h (revision 9138) +++ src/racoon/nattraversal.h (revision 9139) @@ -47,6 +47,14 @@ #defineNON_ESP_MARKER_LEN sizeof(u_int32_t) #defineNON_ESP_MARKER_USE(iph1)((iph1)-natt_flags NAT_ADD_NON_ESP_MARKER) +/* Required for building inside scratchbox (Maemo, Nokia N770's + * development kit.) This is usually found in linux/udp.h but is not + * defined in scratchbox (as of Maemo 1.1) + */ +#ifndef UDP_ENCAP_ESPINUDP_NON_IKE +#define UDP_ENCAP_ESPINUDP_NON_IKE 1 /* draft-ietf-ipsec-nat-t-ike-00/01 */ +#endif + /* These are the values from parsing remote {} block of the config file. */ #define NATT_OFF FLASE /* = 0 */ -- Mika Boström \-/ World peace will be achieved [EMAIL PROTECTED] Xwhen the last man has killed +358 40 759 0016 /-\ the second-to-last. -anon? signature.asc Description: Digital signature ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] swapfile is a huge improvement!
On 1/14/06, Juha Yrjölä [EMAIL PROTECTED] wrote: On Sat, 2006-01-14 at 10:33 +, ext Clemens Eisserer wrote: But keep in mind that a swap-file means meany reads/writes to the same areas of flash which will for sure lead to the death of the mmc later or sooner. Not really, since the flash controller on an MMC card is supposed to do wear-levelling. The FAT blocks, for example, would die pretty quickly otherwise, since they're written to very often. So, is there any benefit to JFFS2 on MMC other than compression (which I guess for swap is either not necessary or even counter-productive)? Dave ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
[maemo-developers] Gpe-mini-browser (web browser based on
Hi Phillippe, First sorry for my pool english. That's the problem: I check out gpe-mini-browser from gpe cvs :pserver:[EMAIL PROTECTED]:/cvs and download gtk-webcore from gtk-webcore.sourceforge.net. But when i build gpe-mini-browser, it seems webi.h can't find. I find no webi.h in gtk-webcore. Could you tell me how to build gpe-mini-browser succeed. Thank you!___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] Nokia 770 thinks my MMC card is corrupted
Hi, If this happens with W47 or newer rootfs, please make a bug to: https://maemo.org/bugzilla/. Early software versions didn't support MMCs without partition tables, but it is now fixed. BR, Kimmo On Fri, 2006-01-13 at 19:07, ext Israel Herraiz wrote: Hi everybody, I have just flashed my device with the last firmware available from nokia.com, I am having a strange behaviour. Each time I put in the MMC card in the device, a message tells me that Memory card is corrupted or unformatted. However, if I plug in the USB cable, I can mount the card in my computer. Also, I can mount /media/mmc1 in the device and look inside with a terminal. In fact, I copied everything from the card to my computer and all the files are right. So MMC card seems to be right. If I try to format it with the File Manager, it tells me that No card is inserted. As I can mount the card, it does not seem to be a hardware problem (it worked fine before the upgrade). Any idea? Regards, Israel Herraiz __ ___ 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-developers] Nokia 770 thinks my MMC card is corrupted
I had the same problem while i partitionned the mmc in two parts, then formated with Mac OSX tool. The N770 didn't like it. Even after partitionning back with one partition. The only way i had to get it back was to format the mmc with a Nokia Series 60 SymbianOS phone. so i think the N770 lacks a feature that could permit to format a card back to a clean state. ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
[maemo-developers] Usage of hildon_appview_add_with_scrollbar()
Hi,I'm porting an app to Maemo and I came to a point where it seems convenient to use hildon_appview_add_with_scrollbar function from hildon-lgp.Original code after minimal and preliminary hildonization looks like this: [code] main = HILDON_APPVIEW (hildon_appview_new (Main view)); hildon_appview_set_fullscreen_key_allowed(main, TRUE ); gtk_widget_show (GTK_WIDGET (main)); main_icon_pixbuf = create_pixbuf ( grsync.png); if (main_icon_pixbuf) { gtk_window_set_icon (GTK_WINDOW (main), main_icon_pixbuf); gdk_pixbuf_unref (main_icon_pixbuf); } scrolledwindow1 = gtk_scrolled_window_new (NULL, NULL); gtk_container_add (GTK_CONTAINER (main), scrolledwindow1); gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow1), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC); gtk_widget_show (scrolledwindow1); viewport1 = gtk_viewport_new (NULL, NULL); gtk_widget_show (viewport1); gtk_container_add (GTK_CONTAINER (scrolledwindow1), viewport1);[end code]Of course to viewport1 are added all the widget used by the application and the HildonAppView is added to a HildonApp object. It works unmodified, but then I tried to avoid using the scrolled window: Maemo API documentation for HildonAppView (http://www.maemo.org/platform/docs/api/hildon-docs/lgpl-html/HildonAppView.html ) states thathildon_appview_add_with_scrollbar ()voidhildon_appview_add_with_scrollbar(HildonAppView *self, GtkWidget *child); Adds the child to the self(HildonAppView) and creates a scrollbar to it. Similar as adding first a GtkScrolledWindow and then the child to it.Resulting code is:[code] main = HILDON_APPVIEW (hildon_appview_new (Main view)); hildon_appview_set_fullscreen_key_allowed(main, TRUE ); gtk_widget_show (GTK_WIDGET (main)); main_icon_pixbuf = create_pixbuf (grsync.png); if (main_icon_pixbuf) { gtk_window_set_icon (GTK_WINDOW (main), main_icon_pixbuf); gdk_pixbuf_unref (main_icon_pixbuf); } viewport1 = gtk_viewport_new (NULL, NULL); gtk_widget_show (viewport1); hildon_appview_add_with_scrollbar(main, viewport1); [/end code]It produces no compiler error, but by running it (inside scratchbox and on the real device) produces only a blank window with no widget drawn. What am I doing wrong?Luca Donaggio ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] Usage of hildon_appview_add_with_scrollbar()
On 1/16/06, Luca Donaggio [EMAIL PROTECTED] wrote: [code] main = HILDON_APPVIEW (hildon_appview_new (Main view)); hildon_appview_set_fullscreen_key_allowed(main, TRUE ); gtk_widget_show (GTK_WIDGET (main)); main_icon_pixbuf = create_pixbuf (grsync.png); if (main_icon_pixbuf) { gtk_window_set_icon (GTK_WINDOW (main), main_icon_pixbuf); gdk_pixbuf_unref (main_icon_pixbuf); } viewport1 = gtk_viewport_new (NULL, NULL); gtk_widget_show (viewport1); hildon_appview_add_with_scrollbar(main, viewport1); [/end code] It produces no compiler error, but by running it (inside scratchbox and on the real device) produces only a blank window with no widget drawn. What am I doing wrong? My guess is that you don't do gtk_widget_show_all() on the HildonApp? The add_with_scrollbar creates a ScrolledWindow but does not show() it. Btw, you don't need to use the viewport with add_with_scrollbar(), it does basically the same thing that your first code snippet (it's not an error though). -- Kalle Vahlman, [EMAIL PROTECTED] Powered by http://movial.fi Interesting stuff at http://syslog.movial.fi ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] Gwconnect problem search BT
On Mon, Jan 16, 2006, Kimmo Hämäläinen wrote: On Sat, 2006-01-14 at 15:25, ?? ??? wrote: simple a button,press it then begin to BT search I do like this: button_clicked_cb { osso_rpc_run_with_defaults(osso_context,btsearch,start_search,NULL,NULL, DBUS_TYPE_INVALID); ); } the problem is how I should write to get the signal from com.nokia.btsearch.signal interface. anybody help me? thanks very much!! I think you have to use the DBus API directly. For example, use dbus_connection_add_filter() to register a callback function and subscribe to the signal with dbus_bus_add_match(). You can get the DBus connection from Libosso with osso_get_sys_dbus_connection(). Also, are you sure that osso_rpc_run_with_defaults uses the system bus? (btsearch currently doesn't work with the session bus) Johan ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] Usage of hildon_appview_add_with_scrollbar()
2006/1/16, Kalle Vahlman [EMAIL PROTECTED]: On 1/16/06, Luca Donaggio [EMAIL PROTECTED] wrote: [code] main = HILDON_APPVIEW (hildon_appview_new (Main view)); hildon_appview_set_fullscreen_key_allowed(main, TRUE ); gtk_widget_show (GTK_WIDGET (main)); main_icon_pixbuf = create_pixbuf (grsync.png); if (main_icon_pixbuf) { gtk_window_set_icon (GTK_WINDOW (main), main_icon_pixbuf); gdk_pixbuf_unref (main_icon_pixbuf); } viewport1 = gtk_viewport_new (NULL, NULL); gtk_widget_show (viewport1); hildon_appview_add_with_scrollbar(main, viewport1); [/end code] It produces no compiler error, but by running it (inside scratchbox and on the real device) produces only a blank window with no widget drawn. What am I doing wrong? My guess is that you don't do gtk_widget_show_all() on the HildonApp?The add_with_scrollbar creates a ScrolledWindow but does not show()it.Btw, you don't need to use the viewport with add_with_scrollbar(), it does basically the same thing that your first code snippet (it's notan error though).--Kalle Vahlman, [EMAIL PROTECTED]Powered by http://movial.fi Interesting stuff at http://syslog.movial.fiThanks Kalle,you're right I just did a gtk_widget_sow() on the HildonApp!Regarding the viewport, I think it acts like a container for all subsequent widgets in this app - to avoid using it I've to set up another container for those widgets and add_with_scrollbar() it to the appview. Or is there another way? Luca Donaggio ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] Usage of hildon_appview_add_with_scrollbar()
On 1/16/06, Luca Donaggio [EMAIL PROTECTED] wrote: Thanks Kalle, you're right I just did a gtk_widget_sow() on the HildonApp! Regarding the viewport, I think it acts like a container for all subsequent widgets in this app - to avoid using it I've to set up another container for those widgets and add_with_scrollbar() it to the appview. Or is there another way? Both HildonAppView and GtkViewPort are GtkBins (able to hold only one child), so you need to have some additional container for multiple widgets anyway, it's just a matter of having the viewport in between made by you or automatically. I would guess that the application you are porting puts more than one widget in the viewport so it probabl already has a suitable toplevel container (most likely either a VBox or a HBox) that you can pack into the appview instead of the viewport. -- Kalle Vahlman, [EMAIL PROTECTED] Powered by http://movial.fi Interesting stuff at http://syslog.movial.fi ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] Wavemon or other monitoring application for WLAN
ext Dirk Kuijsten [EMAIL PROTECTED] writes: Other topic: I noticed the connection manager will configure an autoconf IP address (APIPA 169.254.x.x) very fast. When connecting to access points with a moderate signal strength the 770 sometimes doesn't get an IP address. But it will not retry to get a good IP address via DHCP. But the connection manager and iwconfig show the client is connected to the AP, thus should be able to do networking. Maybe this is just a problem with those AP's and could be solved, so I will test this again later, because DHCP always works for my home AP. If not, my suspicion goes to a possible timeout used with the DHCP client. The DHCP client asks for address from a DHCP server four times before it sets an IPv4 link-local address. And after that it will try once a minute to get an address from a DHCP server. If that's not happening, something is wrong and you should file a bug to bugzilla. Which AP were you using? -- Kalle Valo ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] Maemo Alarm/Notifier Interface
Le lundi 16 janvier 2006 à 14:24 +0100, Nils Faerber a écrit : -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Igor Stoppa schrieb: These small details make the difference between a device for hackers only and a device that can leverage the benefits of running linux and yet provide a good user experience even to the regular users. Well, comparing with today's other PDA like devices this behaviour seems pretty normal for me - a switched off PocketPC will be off, no matter what (even worse, some of them cannot be switched of at all in the first place causing their batteries to be drained 100% whan not taken care of! This is very bad with devices with fixed built in batteries which is why I guess that Nokia implemented the Switch-Off). I also guess that most Palms and alike behave the same - off is off. Only exception from that rule I know of are (some) mobile phones. No, all PalmOS PDA (I'm not sure about smartphones based on PalmOS) can't be turned off. They are always in standby mode and are always able to wake up for alarms. -- Frederic Crozat [EMAIL PROTECTED] ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] swapfile is a huge improvement!
On Mon, 2006-01-16 at 13:55 +0200, ext Urho Konttori wrote: This is just a suggestion, but could the following be safe enough for consumer grade swap use on Nokia 770: If user has swapon. User opens MMC door. System pops up a large RED GUI that states: You have swap active. Please turn off swap before removing MMC from the slot. GUI would have one large button (turn off swap). After swapoff, GUI would turn green and say, it's safe to detach MMC now. We really can't rely on the user nicely waiting for any kind of permission from our UI. There _will_ be cases when the MMC is abruptly removed. It is unacceptable for an end-user device to go down in flames whenever this happens. The issues regarding what happens when a swap device disappears from underneath have to fixed first. Cheers, Juha ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] swapfile is a huge improvement!
Well it is solvable but hard. You could halt everything and display something like 'Poor human, give me my card back or I will reboot'. But this has to be done in low level (kernel thread?, direct framebuffer access?) because anything in userspace can segfault when swap is removed. I know similar things worked on Amiga. You removed floppy when writing and it opened a dialog 'error writing sector x, please insert disk' and when you gave it back it worked and continued. Or when the disk was full in the middle of writing of one file you could let the dialog be, delete other files and click continue and it worked. Never seen this type of recovery later on any newer system :-) Frantisek Juha Yrjölä wrote: We really can't rely on the user nicely waiting for any kind of permission from our UI. There _will_ be cases when the MMC is abruptly removed. It is unacceptable for an end-user device to go down in flames whenever this happens. The issues regarding what happens when a swap device disappears from underneath have to fixed first. Cheers, Juha ___ 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-developers] Maemo Alarm/Notifier Interface
Nils Faerber wrote: I also guess that most Palms and alike behave the same - off is off. Only exception from that rule I know of are (some) mobile phones. No in PalmOS off is not off. On Tungsten T2 you can set it to be waked up by initiating bluetooth connection with it when it is 'off'. You can also schedule alarm procedure which gets executed and the display is even not waked up if you wish. Unlike with N770 you really can't shutdown PalmOS and battery is not removable in most units so there is not this type of problem there. Solution for N770 would be to remove the poweroff item to make it behave like PalmOS and maybe also implement suspend in kernel which pauses all tasks and powers off unneeded hardware. But the current system is also good, just don't let users shutdown the device so easily. Frantisek ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
[maemo-developers] Developer Device Program
Hello, I'm interested in developing applications for Maemo Platform. Although I know about Maemo for quite some time now, I've just recently heard about the Developer Device Program from a friend that is already part of the program. Since I haven't been involved yet in any open source projects, I want to know what are my chances of getting a device. I am considering buying one, but I can't afford to buy it from Romania since it's much more expensive. I'm using Linux since 2003. I'm mainly interested in gtk, Mono Platform and gtk#. Currently I'm working on a personal project which makes use of gtk# ant other Mono libraries. Currently I am student of Gh. Asachi Technical University of Iasi, Faculty of Automatic Control and Computers, Romania. I apologize if this was the wrong place to ask this kind of questions. Radu ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
[maemo-developers] g_signal_connect and show signal not working in hildon applications (Maemo 1.1)?
It seems that the following doesn't work:[code]g_signal_connect (G_OBJECT (main), show, G_CALLBACK (on_main_create), NULL);[/end code] where main is a HildonAppView object. Basically it should execute on_create_main() for initial configuration stuff upon displaying the AppView. Printing of debugging messages to console shows that on_main_create() is never executed, maybe on Maemo the show signal is not defined / recognized / fired up when showing a widget (I've tried with other widget than an HildonAppView too, withaout any result so far) ? Luca Donaggio ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] Maemo Alarm/Notifier Interface
On mån, 2006-01-16 at 15:58 +0100, ext Frantisek Dufka wrote: Nils Faerber wrote: I also guess that most Palms and alike behave the same - off is off. Only exception from that rule I know of are (some) mobile phones. No in PalmOS off is not off. On Tungsten T2 you can set it to be waked up by initiating bluetooth connection with it when it is 'off'. You can also schedule alarm procedure which gets executed and the display is even not waked up if you wish. Unlike with N770 you really can't shutdown PalmOS and battery is not removable in most units so there is not this type of problem there. Solution for N770 would be to remove the poweroff item to make it behave like PalmOS and maybe also implement suspend in kernel which pauses all tasks and powers off unneeded hardware. But the current system is also good, just don't let users shutdown the device so easily. Why?!? A mechanism for wake-up from power-off exists (yes, it's a bit sucky, so we'll have to have a workaround for alarms 24h into the future, but at least it's possible) -- check Power management efficient enough to make suspend meaningless -- check I cannot really understand why a lot of people here seem to want crippled functionality just because other platforms have limitations. Regards: David Weinehall ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] Building Maemo from scratch
Hi, Russell Geldmacher wrote: 1. Is Maemo going to be maintained in OE? lets say i hope so. I started to do some work into this direction, but my free time is a little bit limited at the moment. What we currently suffer from is the problem that OE doesn't have a mechanism to build the packages from the original sources directly without adding all the included patches to OE manually. I started to code such a bitbake class, but like mentioned before it takes some time. Having such a tool it becomes much easier maintaining the packages in OE. 2. I've been working a little from the Maemo/OE document available at: http://downloads.kernelconcepts.de/maemo-oe.txt -- is the author of that document on this list, and available for me to ask some questions to? Oh... that document is missing a name. I wrote that, and of course i'll try to answer questions as good and fast as possible. :-) Greetings Florian -- The dream of yesterday Florian Boor is the hope of todayTel: 0271-771091-14 and the reality of tomorrow.Fax: 0271-771091-19 [Robert Hutchings Goddard, 1904][EMAIL PROTECTED] 6C 44 30 4C 43 20 6B 61 16 07 0F AA E6 97 70 A8 ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] Maemo Alarm/Notifier Interface
On 1/16/06, Igor Stoppa [EMAIL PROTECTED] wrote: That's not really desired in a consumer device. I can see I'm going to run a risk here of alienating myself early from the Nokia employees on the list, as I keep coming to this same point when reading a lot of the posts here, and think it still remains an open question (hopefully my comments will be received in the enthusiastic and constructive light with which they're intended): Is the 770 a consumer device? I mean _right_now_, is it a hit w/ consumers? How many internet appliances have made it in the marketplace? Larry Ellison would be a rich man if that whole paradigm were as valuable to consumers as tech pundits think ;-) These small details make the difference between a device for hackers only and a device that can leverage the benefits of running linux and yet provide a good user experience even to the regular users. Well, 10 years ago, PC's running linux were device[s] for hackers only. Now companies run parellel virtualized Linux instances on massive big iron systems to run their businesses. Did we get to that point because IBM massively invested early in making the Linux-on-server user experience good? It was possible in the firstplace to leverage the benefits of Linux because it spent a decade as a _totally_ open platform for experimentation. Those areas where it lagged, it often lagged precisely because of the closed nature of some piece or other or hardwre (think winmodems, think graphics, think ahem wireless). If making a device for hackers isn't the leverage that attaches to running linux, what is (besides low cost and OS vendor lock-in)? I'm really interested in the answer of both Nokia people and other developers to this question, but since I've brought it up more than once on this list OT, I'll shut up about it now except to ask, is anyone else interested in having the conversation, and if so, where? Dave ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] modifying root filesystem
On 1/16/06, Devesh Kothari [EMAIL PROTECTED] wrote: ext Lorn Potter wrote: I tried the instructions and scripts for modifying the root filesystem, http://maemo.org/platform/docs/howtos/howto_use_flasher_rootfs.html It seems the rootfs.packages and sources.list are out of date, or there are a few packages missing (hildon-status-bar-display). snip make sure you dont miss this step below The reference root filesystem includes some binary modules that can be downloaded separately. These packages are not necessary, you may create a root filesystem without them, but some functionality will be missing. To download these packages, please follow this link http://maemo.org/downloads/d2.php. http://maemo.org/downloads/d2.php If you have successfuly downloaded those packages, then create a workarounds/ directory under your rootfs working directory and copy the binary packages there. I tried this part too, but I think that part of the instructions seem a little confusing or misleading; without the binary-only packages, the make_rootimage.sh command fails when dpkg hits the missing dependancies (and what's even worse, it seems to delete everything under the actual contents of the rootfs from the rootstrap image). Dave ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] swapfile is a huge improvement!
On Mon, 2006-01-16 at 11:12 -0500, Dave Neuer wrote: But, where a developed market for the device doesn't exist, one has to seriously ask the question whether simplicity and reliability are a substitute for flexibility and openess to experimentation, with the risk that the complexities inherent in a flexible, not-as-intuitive-as-a-phone device will sometimes cause problems for some users. We're not going to start limiting anyone's experimentation. Maemo is a very open platform and experimentation with it rather easy. The users can make their devices as complex they want (and possibly as unstable). We're responsible of keeping the software _we_ ship stable. The issues regarding what happens when a swap device disappears from underneath have to fixed first. Is there a roadmap for solving that problem? Will it be solved on LKML, or by Nokia in-house? Or will Nokia open up the device specs software more so developers can experiment with neat little tricks when the door opens/cards are inserted, etc. so that anyone is able to happily stumble upon the right solution? _More_? What on earth could you still want? We use standard kernel interfaces as much as possible, and the kernel source is freely available. Even loading and booting a custom kernel is extremely simple: # flasher -k /path/to/zImage -lb User-space will get notifications about the MMC events through the standard uevent interface. As for where this problem might be solved, LKML is definitely the right place. I'm not yet personally convinced on the merits of having swap on MMC, but anyone who is can of course start the thread. It's cool to me precisely because it's a computer but fits in my pocket, and I can do almost anything with it that I can do with my computer. It's cool to me precisely for the same reason. But, as you probably realize, different people value different things. Cheers, Juha ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] swapfile is a huge improvement!
On 1/16/06, Dave Neuer [EMAIL PROTECTED] wrote: I think Nokia has done a lot of things right w/ the 770, but I do have to say that I think the idea that the 770 will be a huge consumer success by being more like a phone than like a computer is wrong. Yeah, the huge consumer success they prepared for by manufacturing a big batch of devices straight off so everyone would get theirs. Oh, wait! ;) Most of the people I've showed the 770 to have been confused about what it would be useful for. Judging from the LugRadio interview while back, the guys just hacked around and it suddenly became the 770. So I'm not so sure even Nokia has a clear goal for the device (apart from the obvious web applications) but are instead hoping it would find one with the help of open source community. And I've already heard dozens of interesting ideas how it could be utilized, so it's probably working :) (Obligatory disclaimer: this is a personal view and not connected in any way to the company mentioned below) -- Kalle Vahlman, [EMAIL PROTECTED] Powered by http://movial.fi Interesting stuff at http://syslog.movial.fi ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] swapfile is a huge improvement!
Urho If user has swapon. User opens MMC door. System pops up a large RED GUI that states: You have swap active. Please turn off swap before removing MMC from the slot. GUI would have one large button (turn off swap). After swapoff, GUI would turn green and say, it's safe to detach MMC now. if a user opens the door, you must assume they are going to eject the card. this is what nokia does with the fat partition. you should pop up your gui and make a beep and run swapoff. the message should say 'do not eject the card yet' i believe it's possible for swapoff to fail if memory is overcommitted, so you have another case to worry about. the device should tell you you'll have to close apps or turn off the nokia first and possibly give you buttons to do that. On USB cable insertion, the same GUI would popup and tell user that MMC cannot be mounted on PC until swap is off. Again, nice large button to turn swap off. why bother the user? we should be using a swap partition--not a swapfile on the fat fs--right? every usb-host OS will leave the swap partition alone by default. When MMC inserted back from either USB connection or physically, system would check if previous state was swapon and popup a gui asking if swap should be resumed. i would make the swapon automatic whenever a swap partition is found on rsmmc, but then it could be a 'remember this decision' checkbox on your gui. brad ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
[maemo-developers] swapfile is a huge improvement!
On 1/16/06, Juha Yrjölä [EMAIL PROTECTED] wrote: On Mon, 2006-01-16 at 11:12 -0500, Dave Neuer wrote: The users can make their devices as complex they want (and possibly as unstable). We're responsible of keeping the software _we_ ship stable. That's completely reasonable, and I'd expect the same from every computer vendor or Linux distributor (w/ the intro of the 770, Nokia has become both). The issues regarding what happens when a swap device disappears from underneath have to fixed first. Is there a roadmap for solving that problem? Will it be solved on LKML, or by Nokia in-house? Or will Nokia open up the device specs software more so developers can experiment with neat little tricks when the door opens/cards are inserted, etc. so that anyone is able to happily stumble upon the right solution? _More_? What on earth could you still want? Source, or comprehensive docs for the flasher tool? An explanation of what each of the FIASCO image compenents is and does? A list of any proprietary kernel modules (which may or may not be legal) and a description of what they do/why they're neccessary? A list of same for non-kernel software modules in the initfs and rootfs images? Waiver from Nokia of the prohibition against me reverse-engineering their non-OSS software? # flasher -k /path/to/zImage -lb Will this work if I use the latest OMAP 2.6.15 from Linus' git repo? What about ensuring that the kernel is compatible w/ the initfs? User-space will get notifications about the MMC events through the standard uevent interface. Does this include the door is open/closed information? Where is that documented? As for where this problem might be solved, LKML is definitely the right place. I'm not yet personally convinced on the merits of having swap on MMC, but anyone who is can of course start the thread. It's cool to me precisely because it's a computer but fits in my pocket, and I can do almost anything with it that I can do with my computer. It's cool to me precisely for the same reason. But, as you probably realize, different people value different things. I do realize that, and like I said, I think Nokia have released a very cool device. I sincerely hope it takes off. The size and orientation of the screen, user-replaceable, (somewhat) standard battery and the built-in expansion slot are huge improvements over previous entries into this computer in your hand product category. I'm simply saying that absent much of the inrormation in my response to your question what more, the ability of developers (at least this one) to feel comfortable experimenting with the device is less than than it could be. E.g., I asked for pointers to info like the above before (even just a description of the FIASCO components and info like size constraints), and the only answer I got was someone I believe was not a Nokia employee and which said search the mail archives and had a pointer to the flasher-tool howto. Cheers, Juha Likewise, Dave ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] swapfile is a huge improvement!
On 1/16/06, Dave Neuer [EMAIL PROTECTED] wrote: E.g., I asked for pointers to info like the above before (even just a description of the FIASCO components and info like size constraints), and the only answer I got was someone I believe was not a Nokia employee and which said search the mail archives and had a pointer to the flasher-tool howto. My apologies to Devesh, who upon review appears to be a Nokia employee and whose answer (also upon review) was a little more informative and helpful than I recalled. Also thanks to Israel for his follow-up to this thread. Dave ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] Maemo Alarm/Notifier Interface
Weinehall David (Nokia-M/Tampere) wrote: No in PalmOS off is not off. On Tungsten T2 you can set it to be waked up by initiating bluetooth connection with it when it is 'off'. You can also schedule alarm procedure which gets executed and the display is even not waked up if you wish. Unlike with N770 you really can't shutdown PalmOS and battery is not removable in most units so there is not this type of problem there. Solution for N770 would be to remove the poweroff item to make it behave like PalmOS and maybe also implement suspend in kernel which pauses all tasks and powers off unneeded hardware. But the current system is also good, just don't let users shutdown the device so easily. Why?!? Why not let users shutdown easily? Because you keep the state and don't need to boot the device through tons of /etc/rcx.D/* (and do it in advance without user noticing anything) to handle single alarm and then shutdown it again. Because with proper suspend (or should it be called standby?) instead of poweroff you may save enough battery to have it look like real poweroff without any ill effects. Because this is a PDA or 'Internet Tablet' not unix server that can take minutes to boot or shutdown and noone cares because you do it once per several years. Current 'Switch off!' mode should be something people should do only when the want to put the device to drawer for months and want the battery charged (which you could do by removing battery anyway). On ipaq you have very awkward key combo for this mode buried deep in manual on page noone reads. Not directly in menu on device. And yes in this mode alarms are not supposed to wake up the device :-) Power management efficient enough to make suspend meaningless If the suspend is taken as replacement of poweroff the reason is here because it should pause the device in the midle of playing video or sound. Take it as the current 'Lock touchscreen and keys' plus pausing sound and network plus anything that takes power or keeps state that is useless after couple of minutes. Maybe suspending tasks is not needed after all just send them different signal so they know device will be paused for many minutes and may wake up in different environment so they should really finish/stop what they do. So it is probably about more device modes than current offline or flight mode (are they same?) and normal. I cannot really understand why a lot of people here seem to want crippled functionality just because other platforms have limitations. Instant poweron and proper pausing of everything when you press one button is not crippled functionality but very simple and neat thing Palm devices do and people expect. Regards, Frantisek ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] g_signal_connect and show signal not working in hildon applications (Maemo 1.1)?
Luca Donaggio kirjoitti 16.1.2006 kello 17.09: It seems that the following doesn't work: [code] g_signal_connect (G_OBJECT (main), show, G_CALLBACK (on_main_create), NULL); [/end code] Hi, I'd assume it works, but only if you connect the handler before showing the widget. Show is anyway not the most useful of signals, since it's synchronously and only ever emitted when you gtk_widget_show (main). In this case, it probably gains you nothing, since you could as well write: gtk_widget_show (main); on_main_create (main, NULL); Instead, you could try something like: g_signal_connect_after (main, map, G_CALLBACK (on_main_create), NULL); If that does not do the trick, adding a low priority idle function with a return value of FALSE might help. BR, Lassi ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
[maemo-developers] Bluetooth keyboard update
Hi,A new version of the Bluetooth keyboard plugin is available from http://770.fs-security.com/keyboards.htmlNew stuff:- You can search for keyboards and choose a specific one to connect to. - You can pair the keyboard to the 770. Once paired, powering on the keyboard will associate it with the 770 and you can simply start typing away. Convenient!- You can choose a keyboard layout, currently I have a Scandinavian and a German layout bundled. Send me your layout if you want it included (see the hacking section on the homepage).- Matthew's screen blanking fix is integrated (thanks!), but it doesn't seem to work all the time, needs some looking into. Regards,Tomas ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] swapfile is a huge improvement!
On Sat, 2006-01-14 at 01:30 -0700, Brad Midgley wrote: hey I decided to try the swap partition on my flash card and it made a HUGE difference. Even with only 25mb swap (30mb wouldn't work for me), now memory is not nearly the concern it was. I can run multiple apps, look at complex pdf documents, etc. Just like I expected my 770 to do in the first place! What do you mean 30mb wouldn't work? I put a 32meg swapFILE on the 64meg mmc I received and it worked fine (/proc/meminfo and /proc/swaps showed swap usage, and I could get numerous things running with out problems. Now I'm trying to partition a 512meg MMC into two partitions, and neither 128meg nor 64meg of swap as a dedicated partition (/dev/mmcblk0p2) works. As soon as I issue swap on, the low on memory, close some applications window pops up. I can immediately exit the shell, but if I wait too long, I start getting sh: can't fork (a usual OOM sign). If I can get back to the home interface, I can't do anything and it keeps telling me Not enough memory or some such. It did hardcrash, auto-reboot at one point also (I assume an OOM condition). Is there some upper limit on the size of the allowed swap file on this arch? I could get 32meg to work, but you say you couldn't get 30? I swear I saw something about the max size of the swap file for the 770, but I can't find it now. -- Andy [EMAIL PROTECTED] ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
RE: [maemo-developers] Missing control panel
Hi, there are issues with QEMU on Red Hat. However, this should affect the ARM rootstrap only, so there was probably something else wrong with the environment. Out of curiousity: did you try to re-install the rootstrap? Also, make sure you run the right rootstrap inside the right Scratchbox target. Installing an i386 rootstrap on an ARM target is usually a bad idea, but possible ;-) Tip of the day: Maemo development on Debian-based systems is highly recommended ;-) Regards, - Pete - -Original Message- From: [EMAIL PROTECTED] on behalf of Matti Reijonen Sent: Mon 1/16/2006 3:57 PM To: Hagg Peter; maemo-developers@maemo.org Subject: RE: [maemo-developers] Missing control panel Hello, I decided to go other way and installed Ubuntu, I was previously using Red Hat, now control panel and also everything else (I had also trouble with app-installer..) seems to be working fine. It just seems that maemo sdk works much better with Ubuntu.. I dont know what was the problem,.. but ..anyway, thanks for your help. - Matti ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] modifying root filesystem
On Monday 16 January 2006 19:04, Devesh Kothari wrote: ext Lorn Potter wrote: I tried the instructions and scripts for modifying the root filesystem, http://maemo.org/platform/docs/howtos/howto_use_flasher_rootfs.html It seems the rootfs.packages and sources.list are out of date, or there are a few packages missing (hildon-status-bar-display). The make_rootimage.sh script seems a bit unfinished, as it's help lists --outprefix and --jffs2 which do not work. (looking at the script, it seems there are a few missplaced 'x' characters, and variable not all caps) I manually tar.gz the resulting root filesystem (the web page doesn't mention the need to do this part), and ran the tar2jffs2.sh, script, flashed the device, but the device keeps rebooting.. ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers make sure you dont miss this step below The reference root filesystem includes some binary modules that can be downloaded separately. These packages are not necessary, you may create a root filesystem without them, but some functionality will be missing. To download these packages, please follow this link http://maemo.org/downloads/d2.php. http://maemo.org/downloads/d2.php If you have successfuly downloaded those packages, then create a workarounds/ directory under your rootfs working directory and copy the binary packages there. Devesh Must be something missing in the scripts. I mounted and extracted the dev platform v1.1 rootfilesystem and used the mkfs.jffs2 and sumtool lines out of tar2jffs2.sh script to make an image... which didn't boot and acted like the other rootimages I tried to make (reboot over and over). The resulting file wasn't even the same size as the 'official'. Must be some magic not in the scripts or documents. ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] g_signal_connect and show signal not working in hildon applications (Maemo 1.1)?
2006/1/16, Lassi Syrjälä [EMAIL PROTECTED]: Luca Donaggio kirjoitti 16.1.2006 kello 17.09: It seems that the following doesn't work: [code] g_signal_connect (G_OBJECT (main), show, G_CALLBACK (on_main_create), NULL); [/end code]Hi,I'd assume it works, but only if you connect the handler beforeshowing the widget. Show is anyway not the most useful of signals, since it's synchronously and only ever emitted when yougtk_widget_show (main). In this case, it probably gains you nothing,since you could as well write:gtk_widget_show (main);on_main_create (main, NULL); Instead, you could try something like:g_signal_connect_after (main, map, G_CALLBACK (on_main_create), NULL);If that does not do the trick, adding a low priority idle functionwith a return value of FALSE might help. BR,LassiThanks a lot Lassi, g_signal_connect_after() works smoothly!Luca Donaggio ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers