Re: Debian: alternating white and splash screen [was:Debian Install.sh error when run under Qtopia]

2008-08-24 Thread Ganesha Krishna
Thanks that pushed me to look at the right information.

The following links give information on down clocking the SDcard.

 http://markmail.org/message/jlqjkb72peqe457p : this is a patch
submission by Andy Green to add SD card down clocking thru kernel
command line,  (hope it got into the kernel)

http://www.denx.de/wiki/view/DULG/LinuxBootArgs : has some pointers on
setting kernel arguments under uboot.
( have not tested anything above)

My problem turned out to be 'uBoot too old' issue, do not remember
when I last updated it, so flashed the latest one and every thing
seems to be in order.

-GK

On Sat, Aug 23, 2008 at 8:40 PM, Joachim Breitner [EMAIL PROTECTED] wrote:
 Hi,

 Am Samstag, den 23.08.2008, 20:20 +0530 schrieb Ganesha Krishna:
 I found one reference to same problem in the archives
 http://markmail.org/message/45246njb35z77w7y
 Sadly there was no further info.

 here is what I saw when I did a boot from NAND boot-menu

 cmd 0x8 arg 0x1aa flags 0x75
 error after cmd: 0xfffc

 (had to boot many times to see all that info, not sure about the
 number of 'f' s in the cmd. thought it would be a 32 bit command.)

 Greatly appreciate any pointers or links.

 I have no real answer, but others have worked around problems by
 changing the glamo MMC bus speed. I didn't find the concrete command
 right away, but it must be somewhere out there :-)

 Greetings,
 Joachim

 --
 Joachim nomeata Breitner
 Debian Developer
  [EMAIL PROTECTED] | ICQ# 74513189 | GPG-Keyid: 4743206C
  JID: [EMAIL PROTECTED] | http://people.debian.org/~nomeata

 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community



___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


11-20 of Sept. in Boston, want a Freerunner

2008-08-24 Thread Yoni Rabkin

Hello,

Long time lurker on the list and I have a question.

I'll be in Boston, MA between the 11th and 20th of September and I'd
love to pick up a Freerunner while in the states. Anyone know of a way I
can order one and be able to receive it between those dates while in
Boston?

Thanks.

-- 
   Cut your own wood and it will warm you twice


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: 29 hours in suspend = 70% battery left

2008-08-24 Thread Michael 'Mickey' Lauer
Amazing status report, thanks and keep us posted!

 in fso-frameword really helps to get the phone sleep well :-)

:)

-- 
:M:

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


GSoC final status update (Re: Whats the state of pypimd?)

2008-08-24 Thread Michael 'Mickey' Lauer
Am Samstag 23 August 2008 16:35:50 schrieb digger vermont:
 I'm wondering about pypim, I think it was part of SOC.  I've been able
 to find very few references to it and no code.  Is it still being worked
 on?

Code is in git.freesmartphone.org - openmoko-gsoc2008

Please wait for GSoc completely finishing, I expect some final status reports 
from every student then.

-- 
:M:

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Storage of Contacts

2008-08-24 Thread Al Johnson
On Saturday 23 August 2008, Alexander Menk wrote:
 Hi!

 were is contacts data stored in Om 2008.8 (Qtopia). I guess it's not
 Evolution DB format ?

 Alex

/home/user/Applications/Qtopia/qtopia_db.sqlite

http://lists.openmoko.org/pipermail/community/2008-May/017670.html

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: GPS logger / field data collection

2008-08-24 Thread Abdelrazak Younes
Hello Brian,

Brian Wilson wrote:
 Jim wrote:
 I was kind of surprised that gpsd didn't give me a simple way to just get 
 the current location, I
 had to capture 5 sentences to do that simple thing

 I tried to used gpsd with my GPS base station my recollection was that
 it was totally useless for that. I assume that it will be useless for
 this project too but it's a starting point.

No need for gpsd for a binary logger, see below.


 XML would be able to do that but I agree probably too verbose, how about 
 tokenized XML?

 Very interesting idea, could be the way to go, I will look at it.

 On Mon, Aug 18, 2008 at 4:21 PM, Bert Hartmann[EMAIL PROTECTED]  wrote:
 In my toyings with TangoGPS, I know it can produce logs, I don't know the 
 format
 at all, it may just be the raw GPS output or not. I do know it does all the
 pedometer functions you were asking about (maybe not min speed, but 
 definitely
 max and avg.). Perhaps you should look into that project.

 I will, thank you. I have no interest in inventing a new binary
 format. There should be something out there that is open and compact.
 (There should be, he said. Ha)

IMO, just use the raw Ublox binary format. It's rather simple to decode. 
I have already implemented a binary decoder for the Ublox binary format 
based on Ublox open documentation of the protocol. My plan is to release 
this code under the GPL at some point.

Once I receive my free runner I will start by releasing a binary 
decoder. In the time being I can probably release a Windows only 
converter from this Ublox format to a csv format if you are interested.


 I've tried TangoGPS, it's a nice program.

I've read about it on its web site and looked at the source code. 
Problem is that the GUI source code is GTK and very hard to follow IMHO. 
I am personally proficient in Qt4 so I am interested in participating in 
a project that will create a GPS navigation app in C++ using Qt4.

Here is my roadmap more or less:
1) port my Ublox decoder to linux and openmoko. I plan to use CMake as 
the build system.
2) add some logger functionality to the program above so that some Ublox 
logs can be requested.
3) implement an ephemeris and almanac saving and restoring solution
4) do the same as above for some SBAS messages if possible (not sure it is)
5) implement a simple Qt4 navigation program using openmap.

I hope I have something to show next month.

Cheers,
Abdel.


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Recoding sound via gstreamer

2008-08-24 Thread Alexander Menk

Hi!

did anybody manage to record sound via gstreamer?

I'm getting this message:

# gst-launch alsasrc ! filesink location=/tmp/test
Setting pipeline to PAUSED ...
ERROR: Pipeline doesn't want to pause.
ERROR: from element /pipeline0/alsasrc0: Could not open audio device for 
recording.

Additional debug info:
gstalsasrc.c(633): gst_alsasrc_open (): /pipeline0/alsasrc0:
Recording open error on device 'default': Invalid argument
Setting pipeline to NULL ...
FREEING pipeline ...


Alex


smime.p7s
Description: S/MIME Cryptographic Signature
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: 11-20 of Sept. in Boston, want a Freerunner

2008-08-24 Thread John Koenig
I am not sure how you could pull that one off.  I'd imagine you could 
make special arrangements with a UPS/FedEx/DHL Store to hold it at one 
of their facilities here in Boston.  

Otherwise I live in Boston and would be willing to give you a hand.  
Send me an email off list if interested.

John Koenig

Yoni Rabkin wrote:
 Hello,

 Long time lurker on the list and I have a question.

 I'll be in Boston, MA between the 11th and 20th of September and I'd
 love to pick up a Freerunner while in the states. Anyone know of a way I
 can order one and be able to receive it between those dates while in
 Boston?

 Thanks.

   


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


What's Enlightenment doing for so long?

2008-08-24 Thread Rui Miguel Silva Seabra
After de Booting part with a progress report, we get the Boot's again.

But I already can ssh into the Freerunner, and doing a top I see that
it's enlightenment who's taking a bloody huge time loading up. Feels
like about half of the booting time.

I wonder what could be done to speed it up...

Rui

-- 
Kallisti!
Today is Sweetmorn, the 17th day of Bureaucracy in the YOLD 3174
+ No matter how much you do, you never do enough -- unknown
+ Whatever you do will be insignificant,
| but it is very important that you do it -- Gandhi
+ So let's do it...?

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: GPS logger / field data collection

2008-08-24 Thread Abdelrazak Younes
Michael 'Mickey' Lauer wrote:
 Am Sonntag 24 August 2008 14:34:13 schrieb Abdelrazak Younes:
 Here is my roadmap more or less:
 1) port my Ublox decoder to linux and openmoko. I plan to use CMake as
 the build system.
 2) add some logger functionality to the program above so that some Ublox
 logs can be requested.
 3) implement an ephemeris and almanac saving and restoring solution
 4) do the same as above for some SBAS messages if possible (not sure it is)
 5) implement a simple Qt4 navigation program using openmap.

 Sounds like a good plan. Let me note that by just using ogspd from the FSO
 framework, you could skip 1)-3)

Ah? It seems I don't know yet about this... Could you point me to the 
source code please?

 and go right to 5) (dunno about 4).

There's a number of SBAS messages that are worth saving so that the 
receiver can provider an SBAS solution quicker. But I am not sure it is 
possible to give back these messages to the ublox receiver as is 
possible for the GPS ephemerises and almanacs.


 P.S. I love LyX.

;-)

Abdel.


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Micro SDHC card working ?

2008-08-24 Thread Simon Lüke

Hi,

I don't know if it will work with your FreeRunner, but as you are
willing to order in a german shop, here is a cheaper alternative:

http://www.amazon.de/SanDisk-Digital-Capacity-microSDHC-Speicherkarte/dp/B000WH6H1M/ref=pd_ys_iyr1

I ordered it on Saturday and think it will arrive soon. If you wish i
will post here after i could check if it works.

Bye,
Simon 
-- 
View this message in context: 
http://n2.nabble.com/Micro-SDHC-card-working---tp730310p779692.html
Sent from the Openmoko Community mailing list archive at Nabble.com.


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: 29 hours in suspend = 70% battery left

2008-08-24 Thread Timo Juhani Lindfors
Russell Sears [EMAIL PROTECTED] writes:
 What about incoming phone calls during suspend?

Sorry for the delay, didn't actually answer my test call. Now I did
another test (only 1 hour in suspend) and as expected it worked
fine. Ringtone was heard and both parties could hear each other.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Video on Freerunner?

2008-08-24 Thread Tim Dobson
Leonti wrote:
 Here is the page describing how to play videos on Freerunner:
 http://wiki.openmoko.org/wiki/Video_Player
 So I have some questions:
 Did anyone tried to transcode videos on the Freerunner itself? 
 For example: go to youtube - download video to sd card - transcode it to
 the needed format(how long does it take, by the way) - watch it?
 
 Is it useable?
 Does someone watch videos often on the freerunner?
 Are there any new developments for the video playback sinse that wiki page
 is updated?

you tube video are possible on the free runner. though not instantly...

on your home computer install clive and configure it to transcode flv 
to mpg
then copy across and use mplayer and quasar from the angstrom 
repositories to play.

(tested on 2007.4)

Sorry, i don't really have a better answer... it works. but is far from 
perfect...

-- 
www.tdobson.net

If each of us have one object, and we exchange them, then each of us
still has one object.
If each of us have one idea, and we exchange them, then each of us now
has two ideas.   -  George Bernard Shaw

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


wrong architecture error after changing repositorities

2008-08-24 Thread Michael Tansella
Hi,

I installed FSO milestone 2, then I removed all .conf files in /etc/opkg/ and 
added a selfmade one with the following content:

src/gz bearstech-fso-testing-all http://shr.bearstech.com/fso-testing/ipk/all
src/gz bearstech-fso-testing-armv4t 
http://shr.bearstech.com/fso-testing/ipk/armv4t
src/gz bearstech-fso-testing-fic-gta01 
http://shr.bearstech.com/fso-testing/ipk/fic-gta01
src/gz bearstech-fso-testing-neo1973 
http://shr.bearstech.com/fso-testing/ipk/neo1973
src/gz bearstech-fso-testing-om-gta01 
http://shr.bearstech.com/fso-testing/ipk/om-gta01
src/gz bearstech-fso-testing-om-gta02 
http://shr.bearstech.com/fso-testing/ipk/om-gta02


But now when I want to install something I get always the following error:

 * Packages were found, but none compatible with the architectures configured


What does this error message mean? 

Greets
Michael

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Customize Debian image in a mini desktop

2008-08-24 Thread Sebastian Ohl
Hi,

xaos x and I finished our efforts to create a panel plugin to show you
the power states of the FR hardware components without using zhone. it
should be usable in any gtk based panel (i.e. xfce or gnome) and its
based on the frameworkd dbus infrastructure. with this plugin you can
not just show but also disable or enable the hardware components by
clicking on the icons. the battery state is also displayed.

you can get a debianized version from
http://www.ohli.de/download/openmoko-panel-plugin_0.1-1_all.deb or the
source from
http://www.ohli.de/download/openmoko-panel-plugin_0.1-1.tar.gz

-- 
Yours
 Sebastian Ohl



___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Customize Debian image in a mini desktop

2008-08-24 Thread Michele Renda
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I will try it now :)

Sebastian Ohl wrote:
 Hi,
 
 xaos x and I finished our efforts to create a panel plugin to show you
 the power states of the FR hardware components without using zhone. it
 should be usable in any gtk based panel (i.e. xfce or gnome) and its
 based on the frameworkd dbus infrastructure. with this plugin you can
 not just show but also disable or enable the hardware components by
 clicking on the icons. the battery state is also displayed.
 
 you can get a debianized version from
 http://www.ohli.de/download/openmoko-panel-plugin_0.1-1_all.deb or the
 source from
 http://www.ohli.de/download/openmoko-panel-plugin_0.1-1.tar.gz
 

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

iD8DBQFIsX25SIAU/I6SkT0RAtYSAJsG7B2p8q4X/o1k0cnKhbS0WOfFoACgojEc
FapYErauZSAWlsUPQ/t6QWY=
=Y73A
-END PGP SIGNATURE-

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Customize Debian image in a mini desktop

2008-08-24 Thread Joachim Breitner
Hi,

Am Sonntag, den 24.08.2008, 17:21 +0200 schrieb Sebastian Ohl:
 xaos x and I finished our efforts to create a panel plugin to show you
 the power states of the FR hardware components without using zhone. it
 should be usable in any gtk based panel (i.e. xfce or gnome) and its
 based on the frameworkd dbus infrastructure. with this plugin you can
 not just show but also disable or enable the hardware components by
 clicking on the icons. the battery state is also displayed.
 
 you can get a debianized version from
 http://www.ohli.de/download/openmoko-panel-plugin_0.1-1_all.deb or the
 source from
 http://www.ohli.de/download/openmoko-panel-plugin_0.1-1.tar.gz

Screenshots!

And is this a package suitable for inclusion in the Debian archive? Do
you want to maintain it yourself, or rather have someone else do it? Is
there a VCS repository somewhere, or at least the debian source package?

Greetings,
Joachim

-- 
Joachim nomeata Breitner
Debian Developer
  [EMAIL PROTECTED] | ICQ# 74513189 | GPG-Keyid: 4743206C
  JID: [EMAIL PROTECTED] | http://people.debian.org/~nomeata


signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Customize Debian image in a mini desktop

2008-08-24 Thread Fox Mulder
It looks really nice. :)

But i would suggest to change the modifier action from one mouse click
to double click. On a touchscreen it is hard to flew over the icons to
show the quicktip and not activate/deactivate the function. This would
also prevent unintentional acivation or deactivation.

Also it would be really nice if the battery popup (after klicking it)
shows the actual state (charging/discharging and actual current) which
is readable from sysfs. At the moment it only shows the actual battery
state in percent when i'm right.

Keep up the good work. That panel was one of the things i was most
missing in debian till now. :)

Ciao,
 Rainer

Sebastian Ohl wrote:
 Hi,
 
 xaos x and I finished our efforts to create a panel plugin to show you
 the power states of the FR hardware components without using zhone. it
 should be usable in any gtk based panel (i.e. xfce or gnome) and its
 based on the frameworkd dbus infrastructure. with this plugin you can
 not just show but also disable or enable the hardware components by
 clicking on the icons. the battery state is also displayed.
 
 you can get a debianized version from
 http://www.ohli.de/download/openmoko-panel-plugin_0.1-1_all.deb or the
 source from
 http://www.ohli.de/download/openmoko-panel-plugin_0.1-1.tar.gz
 

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Essay about Openmoko

2008-08-24 Thread Markus Schlichting
Hi Christian,
you can find my Bachelor Thesis (which I worte last winter, so it's a little 
out of date) at 
http://www.mynethome.de/2008/03/13/bachelor-of-computer-science/

Another nice article about Openmoko written by Mickey Lauer can be found in 
this year's Opensource yearbook : http://www.opensourcejahrbuch.de/

Another good  thing might be the Openmoko Episode of Chaosradio Express at 
http://chaosradio.ccc.de/cre042.html

or, more recent, an Interveiw with Mickey Lauer at FrOsCon this weekend:
http://cms.radiotux.de/index6.php
http://radiotux.de/interviews/2008-08-23.RadioTux.Michael.Lauer.openmoko.mp3

All resources are in germany, as i assumed by your emailadress that you're 
from germany, too.

Hope that helps you a little bit :)

cheers 
 Markus

Am Montag, 18. August 2008 23:18:39 schrieb Christian Weßel:
 Hello,

 I want to prepare an essay about Mobile Linux with Openmoko, Neo1973 and
 FR for our LUG.

 I want to take focus about history, philosophy and the state of the
 developing (current technic, future).

 For the history and the philosophy of OM I need some nice links where I
 can grap some informations. Who has some? Let me participate. Thanx.


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: raster image + zecke testing branch with gpsdrive

2008-08-24 Thread enaut
Xavier Vens schrieb:
 Hi Rui,

 the gpsd was installed, when i try to start gpsd:
 /etc/init.d/gpsd start
 Starting gpsd: No /dev/ttyS3 GPS device, aborting gpsd startup. Check
 /etc/default/gpsd
   
try this one.
http://wiki.openmoko.org/wiki/Gpsd#GPS_on_GTA02


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: GPS logger / field data collection

2008-08-24 Thread Michael 'Mickey' Lauer
Am Sonntag 24 August 2008 16:15:46 schrieb Abdelrazak Younes:
 Michael 'Mickey' Lauer wrote:
  Am Sonntag 24 August 2008 14:34:13 schrieb Abdelrazak Younes:
  Here is my roadmap more or less:
  1) port my Ublox decoder to linux and openmoko. I plan to use CMake as
  the build system.
  2) add some logger functionality to the program above so that some Ublox
  logs can be requested.
  3) implement an ephemeris and almanac saving and restoring solution
  4) do the same as above for some SBAS messages if possible (not sure it
  is) 5) implement a simple Qt4 navigation program using openmap.
 
  Sounds like a good plan. Let me note that by just using ogspd from the
  FSO framework, you could skip 1)-3)

 Ah? It seems I don't know yet about this... Could you point me to the
 source code please?

git.freesmartphone.org


  and go right to 5) (dunno about 4).

 There's a number of SBAS messages that are worth saving so that the
 receiver can provider an SBAS solution quicker. But I am not sure it is
 possible to give back these messages to the ublox receiver as is
 possible for the GPS ephemerises and almanacs.

Daniel?

-- 
:M:

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: wrong architecture error after changing repositorities

2008-08-24 Thread Dale Maggee
Michael Tansella wrote:
 Hi,

 I installed FSO milestone 2, then I removed all .conf files in /etc/opkg/ and 
 added a selfmade one with the following content:

 src/gz bearstech-fso-testing-all http://shr.bearstech.com/fso-testing/ipk/all
 src/gz bearstech-fso-testing-armv4t 
 http://shr.bearstech.com/fso-testing/ipk/armv4t
 src/gz bearstech-fso-testing-fic-gta01 
 http://shr.bearstech.com/fso-testing/ipk/fic-gta01
 src/gz bearstech-fso-testing-neo1973 
 http://shr.bearstech.com/fso-testing/ipk/neo1973
 src/gz bearstech-fso-testing-om-gta01 
 http://shr.bearstech.com/fso-testing/ipk/om-gta01
 src/gz bearstech-fso-testing-om-gta02 
 http://shr.bearstech.com/fso-testing/ipk/om-gta02


 But now when I want to install something I get always the following error:

  * Packages were found, but none compatible with the architectures configured


 What does this error message mean? 

 Greets
 Michael

   
you shouldn't delete all the conf files from /etc/opkg, because there's 
one file there which would appear to tell opkg about your system 
architecture, deleting it causes the error you describe:

[EMAIL PROTECTED]:~# cat /etc/opkg/arch.conf
arch all 1
arch any 6
arch noarch 11
arch arm 16
arch armv4t 21
arch fic-gta02 26
arch neo1973 31
arch om-gta02 36


cheers,
-Dale

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Video on Freerunner?

2008-08-24 Thread Mikko Rauhala
Quoting Tim Dobson [EMAIL PROTECTED]:
 you tube video are possible on the free runner. though not instantly...

See my earlier mail on Youtube offering mp4 versions of their videos.
I still don't know if anyone's verified how balrog-kun's referenced
glamo-accelerated mplayer plays them (or if the glamo output has received
further finetuning). But anyway, there certainly is potential to play
youtube stuff more or less realtime.

http://lists.openmoko.org/pipermail/community/2008-June/020056.html

-- 
Mikko Rauhala   - [EMAIL PROTECTED] - URL:http://www.iki.fi/mjr/
Transhumanist   - WTA member - URL:http://www.transhumanism.org/
Singularitarian - SIAI supporter - URL:http://www.singinst.org/

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Video on Freerunner?

2008-08-24 Thread arne anka
 See my earlier mail on Youtube offering mp4 versions of their videos.

more interesting would be what parameters are used to encode them, fps,  
resolution, ...

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Customize Debian image in a mini desktop

2008-08-24 Thread arne anka
 xaos x and I finished our efforts to create a panel plugin to show you
 the power states of the FR hardware components without using zhone. it

uhm, how does one use it?

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: FO - how do I get the hardware revision?

2008-08-24 Thread Torfinn Ingolfsen
Hi,

On Sat, Aug 23, 2008 at 4:04 PM, digger vermont [EMAIL PROTECTED] wrote:
 Try mickeyterm.
 http://wiki.openmoko.org/wiki/OpenmokoFramework/mickeyterm

Nice. But how do I exit from mickeyterm?
Do I really have to use Ctrl-D?
-- 
Regards,
Torfinn Ingolfsen

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: FSO testing on Neo 1973

2008-08-24 Thread Torfinn Ingolfsen
Hello,

On Sun, Aug 24, 2008 at 10:42 AM, Rod Whitby [EMAIL PROTECTED] wrote:
 This means you haven't got the
 gpschannel_add_udpchannel_and_filechannel.patch from Trac 49 applied.

You were right. Somehow I botched it while appling the patch manually.
I fixed it, and now the GPS works again (both in zhone and in tangoGPS). Yay!
-- 
Regards,
Torfinn Ingolfsen

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Customize Debian image in a mini desktop

2008-08-24 Thread Fox Mulder
Here it works withput problems. But it isn't displayed at the bottom
where the other panel aplications show up. It is located in the upper
right at the panel which shows all open applications.

Didn't you get any error messages?

Does the process run at all in the background?


arne anka wrote:
 Just start openmoko-panel-plugin in the console and the status panel
 appears in xfce. :)
 
 that's exactly my problem -- i do but the panel doesnt
 
 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community
 

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Customize Debian image in a mini desktop

2008-08-24 Thread Sebastian Ohl
On Sun, 2008-08-24 at 19:06 +0200, arne anka wrote:
 uhm, how does one use it?
It should appear somewhere in your windowmanagers application menu(in
xfce in submenu other) or you can start it on a console
via /usr/bin/openmoko-panel-plugin 
-- 
Yours
 Sebastian Ohl



___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Customize Debian image in a mini desktop

2008-08-24 Thread arne anka
 You must to add a tray icon area to panel!

i had -- the problem was simply that i had a task list applet (or whatever  
the proper name is) and the panel does not obviously not resize entries to  
show everything.
after removal of the applet the panel is shown.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: New openmoko packages database

2008-08-24 Thread Thomas Bertani
the first prealpha of the site is aviable!!!

Please send me a lot of feedbacks (consider that _it isn't finished_ and the
main planned features are listed in the TODO section of the site) :D

at the moment the address is http://www.getipk.tk but as soon as possible
I'll register getipk.net
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: 2008.08 zecke gstreamer errors

2008-08-24 Thread Dylan Reilly
For what its worth, I figured out that the problem was related to how the
music data was stored. The music was being kept on an ext3-formated second
partition of the SD card. Despite having the correct references in fstab and
Qtopia's Storage.conf, the data was not being read correctly. I could,
however, play the music through gstreamer directly and using madplay. When I
changed to a single partition, fat-formatted data store everything magically
worked. I have not done any additional testing to see whether it was the
partitioning or formatting, but I could if anyone is interested.

On Sat, Aug 23, 2008 at 5:36 AM, Nishit Dave [EMAIL PROTECTED]wrote:

 On Sat, Aug 23, 2008 at 12:22 AM, Dylan Reilly [EMAIL PROTECTED]wrote:

 Using the 2008.08 testing repository from zecke, both the openmoko and
 qtopia media players throw gstreamer errors on my device when trying to play
 audio. Possibly related, the qtopia player can not read mp3 tag information
 (all tracks are unknown).

 I have not had time to look into the cause for this yet. Has anyone else
 experienced this and possibly fixed it? Could it be a package or
 configuration related issue?


 You know what's weird?  Before applying the updates from Zecke's testing
 branch today, neither of the openmoko or qtopia mediaplayers were working
 for me.  OM was either throwing up gstreamer errors or did not seem to do
 anything, and the qtopia one didn't play anything and didn't even quit.

 After the updates and installing mplayer, both are working.  The QMP takes
 a while after starting and some cyclic pressing of  - || -  buttons for an
 mp3 file to play.  You could try to reinstall the gstreamer plugins.

 I still wonder what has happened to openmoko-mediaplayer2's volume button.
   And why the FR doesn't have the most basic buttons: call pickup, call
 reject, and volume control.

 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community




-- 
Dylan Maxwell Reilly
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: New openmoko packages database

2008-08-24 Thread enaut
Thomas Bertani schrieb:
 the first prealpha of the site is aviable!!!

 Please send me a lot of feedbacks (consider that _it isn't finished_
 and the main planned features are listed in the TODO section of the
 site) :D http://getipk.net
mhm the app registration is working just fine :) looks somewhat good
after xou are used to the bright purple... but there definately has to
be a edit function for the apps. I think best would be a wiki like thing
with history. So that not the app develloper has to do all the work.

the other thing is, with firefox 3 there are some mouseover bugs. so
every text gets underlined on mouseover thats quite unusual and very
distracting.

enaut



___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: New openmoko packages database

2008-08-24 Thread Rui Miguel Silva Seabra
On Sun, Aug 24, 2008 at 08:03:18PM +0200, Thomas Bertani wrote:
 the first prealpha of the site is aviable!!!
 
 Please send me a lot of feedbacks (consider that _it isn't finished_ and the
 main planned features are listed in the TODO section of the site) :D
 
 at the moment the address is http://www.getipk.tk but as soon as possible
 I'll register getipk.net

I'm terribly sorry, I don't mean this to discourage you but I find this site
highly disturbing. It reeks of those Windows software sites where one
got shady software because on Windows it is so hard to find software.

This also has the very strong problem of incentivating worse practice
actions from users by creating an habit of installing from shady places.

Malicious software is also the natural child of this kind of mentality.

Can't you merely make it an indexer to the official package trees?

Please!

Thanks,
Rui

-- 
You are what you see.
Today is Sweetmorn, the 17th day of Bureaucracy in the YOLD 3174
+ No matter how much you do, you never do enough -- unknown
+ Whatever you do will be insignificant,
| but it is very important that you do it -- Gandhi
+ So let's do it...?

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: 29 hours in suspend = 70% battery left

2008-08-24 Thread Timo Juhani Lindfors
Federico Lorenzi [EMAIL PROTECTED] writes:
 Just wondering if you could try the test again, and see how long it
 lasts before it dies?

I'm sorry but a) I can't have it idle for four days b) I don't want it
to die :-)

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: New openmoko packages database

2008-08-24 Thread Thomas Bertani
ehi it is only the preprepreprealpha :D It is only a start, the css is the
first I found out, there is a lot to work and the todo list is long

2008/8/24 Rui Miguel Silva Seabra [EMAIL PROTECTED]

 On Sun, Aug 24, 2008 at 08:03:18PM +0200, Thomas Bertani wrote:
  the first prealpha of the site is aviable!!!
 
  Please send me a lot of feedbacks (consider that _it isn't finished_ and
 the
  main planned features are listed in the TODO section of the site) :D
 
  at the moment the address is http://www.getipk.tk but as soon as
 possible
  I'll register getipk.net

 I'm terribly sorry, I don't mean this to discourage you but I find this
 site
 highly disturbing. It reeks of those Windows software sites where one
 got shady software because on Windows it is so hard to find software.

 This also has the very strong problem of incentivating worse practice
 actions from users by creating an habit of installing from shady places.

 Malicious software is also the natural child of this kind of mentality.

 Can't you merely make it an indexer to the official package trees?

 Please!

 Thanks,
 Rui

 --
 You are what you see.
 Today is Sweetmorn, the 17th day of Bureaucracy in the YOLD 3174
 + No matter how much you do, you never do enough -- unknown
 + Whatever you do will be insignificant,
 | but it is very important that you do it -- Gandhi
 + So let's do it...?

 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: New openmoko packages database

2008-08-24 Thread Rui Miguel Silva Seabra
On Sun, Aug 24, 2008 at 07:47:17PM +0100, Rui Miguel Silva Seabra wrote:
 Can't you merely make it an indexer to the official package trees?

Merely isn't diminishing, sorry for the bad word. A nice web index to
opkg repositories would be most wellcome!

Rui

-- 
Hail Eris!
Today is Sweetmorn, the 17th day of Bureaucracy in the YOLD 3174
+ No matter how much you do, you never do enough -- unknown
+ Whatever you do will be insignificant,
| but it is very important that you do it -- Gandhi
+ So let's do it...?

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: New openmoko packages database

2008-08-24 Thread Thomas Bertani
I want in a second moment create a repository (maybe repo.getipk.net) so
in the apps review links point to the repo url. ok?

2008/8/24 Rui Miguel Silva Seabra [EMAIL PROTECTED]

 On Sun, Aug 24, 2008 at 07:47:17PM +0100, Rui Miguel Silva Seabra wrote:
  Can't you merely make it an indexer to the official package trees?

 Merely isn't diminishing, sorry for the bad word. A nice web index to
 opkg repositories would be most wellcome!

 Rui

 --
 Hail Eris!
 Today is Sweetmorn, the 17th day of Bureaucracy in the YOLD 3174
 + No matter how much you do, you never do enough -- unknown
 + Whatever you do will be insignificant,
 | but it is very important that you do it -- Gandhi
 + So let's do it...?

 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: New openmoko packages database

2008-08-24 Thread Thomas Bertani
I'll release a new more usefull release of this site on the 6 of september.
It will be better BUT I haven't time to the css and at the moment I have no
time to say istruction to make the css. The php code is more important.

Now what I'm asking you is to wait XD

And if you could help please make a css, it will be usefull with more css,
then users could choose the best one. I'll say istructions about the css on
the 6 semptember, in the meanwhile please be patient...

Thanks and sorry for my bad english
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: New openmoko packages database

2008-08-24 Thread Thomas Bertani
this is another question better to me... this is an openmoko opkg system
issue XD

2008/8/24 Rui Miguel Silva Seabra [EMAIL PROTECTED]

 I'm not talking about the design, but the purpose, maybe you could shift
 its design into a more benefic one?

 Encoraging users, specially the less savvy ones, to install software
 like that is a danger and the reason why Apple's decision is both bad
 and right at the same time.

 The main problem with Apple's decision to only run cryptographically
 signed software, is that you don't own the keys, Apple does. So they
 control what you can install.

 I urge that opkg be modified in order to install packages only if
 they're signed, and that it takes excrutiantingly painful paths in order
 to install something without a signature (if you want an example,
 Firefox's excellent new Bad Certificate warning, many hate it because
 they find it a hinderance to read and learn, but they made the right
 decision).

 Rui

 --
 Wibble.
 Today is Sweetmorn, the 17th day of Bureaucracy in the YOLD 3174
 + No matter how much you do, you never do enough -- unknown
 + Whatever you do will be insignificant,
 | but it is very important that you do it -- Gandhi
 + So let's do it...?

 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: GPS logger / field data collection

2008-08-24 Thread Jim Morris
Michael 'Mickey' Lauer wrote:
 
 Sounds like a good plan. Let me note that by just using ogspd from the FSO 
 framework, you could skip 1)-3) and go right to 5) (dunno about 4).
 

I just ported xgps to Qtopia, this was of course using the client for gpsd.

Qtopia does not currently use frameworkd, do you know if there are plans for 
qtopis to use it? (I'm 
not switching to FSO yet) If not can I install ogpsd standalone? I'd be happy 
to port my qtgps test 
app to use that instead of gpds, although the only thing I like about gpsd is 
the ability to connect 
to it from my destopk so I can develop the UI there, but I guess I can do an 
tcp daemon that talks 
to dbus, unless there is already one.

The code and executable for the current qtgps which seems to gun on Qtopia ok 
with gpsd is here, if 
it helps anyone.
http://blog.wolfman.com/files/qtgps.tar.gz

-- 
Jim Morris, http://blog.wolfman.com

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: GPS logger / field data collection

2008-08-24 Thread Jim Morris
Abdelrazak Younes wrote:
 
 IMO, just use the raw Ublox binary format. It's rather simple to decode. 
 I have already implemented a binary decoder for the Ublox binary format 
 based on Ublox open documentation of the protocol. My plan is to release 
 this code under the GPL at some point.
 

I agree if there is already a compact binary format then we should use that.
Is there currently a way to capture that raw format?

 Here is my roadmap more or less:
 1) port my Ublox decoder to linux and openmoko. I plan to use CMake as 
 the build system.
 2) add some logger functionality to the program above so that some Ublox 
 logs can be requested.
 3) implement an ephemeris and almanac saving and restoring solution
 4) do the same as above for some SBAS messages if possible (not sure it is)
 5) implement a simple Qt4 navigation program using openmap.
 

Sounds good, I made a start with a Qtopia port of xgps, the fact it gets its 
data from gpsd at the 
moment is irrelvant as it could just as easily get the raw data and parse it.

Code is here... (Its needs a bit of work to replace the sprintfs xpgs used to 
the equivalent Qt, but 
I simply copied/pasted that code from xgps).

http://blog.wolfman.com/files/qtgps.tar.gz


-- 
Jim Morris, http://blog.wolfman.com

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


SSD Latency and Throughput

2008-08-24 Thread Esben Stien
Anyone done any measurement on latency and throughput on the internal
256 Mio flash versus any general SD cards?

-- 
Esben Stien is [EMAIL PROTECTED] s  a 
 http://www. s tn m
  irc://irc.  b  -  i  .   e/%23contact
   sip:b0ef@   e e 
   jid:b0ef@n n

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


opkg feed settings with fso-testing at shr.bearstech.com

2008-08-24 Thread Fredrik Wendt
Hi.

I've been pulling the latest image for a couple of days now, running a
script after pushing the image with dfu-util to get my system to where I
think it's usable (and I can demo a few things for people)

However, I'd like to know what to put in /etc/opkg/ to get the feeds to
work properly with http://shr.bearstech.com/fso-testing/ipk/ instead of
having to pull new images every day.

Before I put my head into this black hole of opkg config, trying to
figure it out myself, I'm hoping someone would have the time to show
what's needed.

Thanks in advance,

/ Fredrik




signature.asc
Description: Detta är en digitalt signerad	meddelandedel
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: GPS logger / field data collection

2008-08-24 Thread Abdelrazak Younes
Jim Morris wrote:
 Abdelrazak Younes wrote:
 IMO, just use the raw Ublox binary format. It's rather simple to decode.
 I have already implemented a binary decoder for the Ublox binary format
 based on Ublox open documentation of the protocol. My plan is to release
 this code under the GPL at some point.


 I agree if there is already a compact binary format then we should use that.
 Is there currently a way to capture that raw format?

I don't know which device represents the ublox but, provided that it is 
properly configured, a simple 'cat /dev/ublox ~/log.ubx'

 Here is my roadmap more or less:
 1) port my Ublox decoder to linux and openmoko. I plan to use CMake as
 the build system.
 2) add some logger functionality to the program above so that some Ublox
 logs can be requested.
 3) implement an ephemeris and almanac saving and restoring solution
 4) do the same as above for some SBAS messages if possible (not sure it is)
 5) implement a simple Qt4 navigation program using openmap.


 Sounds good, I made a start with a Qtopia port of xgps, the fact it gets its 
 data from gpsd at the
 moment is irrelvant as it could just as easily get the raw data and parse it.

For this we could just send the binary message in a socket to some 
configurable IP address. I also suggest that you add the ability to 
parse a file. This will offer you replay functionality.


 Code is here... (Its needs a bit of work to replace the sprintfs xpgs used to 
 the equivalent Qt, but
 I simply copied/pasted that code from xgps).

 http://blog.wolfman.com/files/qtgps.tar.gz

I'll try to have a look next week. You should probably put this in some 
SCM. git seems to be in widespread use around here. What about github?

Abdel.


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


GUI for cell ID, signal strenght

2008-08-24 Thread Yorick Moko
I know there is such a program and I have seen screenshots of it a
long time ago, but I can't find it on the wiki/google.
Does anybody know where I can find this program?

Thanks!
y

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Debian on the FreeRunner -- a few questions/solutions

2008-08-24 Thread Fox Mulder
Timo Juhani Lindfors wrote:
 Fox Mulder [EMAIL PROTECTED] writes:
 First thing is that i can't find the setting, when the display dims the
 brightness. The default setting dims it after some minutes (~3-5 min, i
 didn't measure it) what is way to late for battery usage. Also it would
 
 At the moment you need to edit the source:
 
 1) apt-get source fso-frameworkd
 2) edit fso-frameworkd*/framework/subsystems/odeviced/idlenotifier.py around 
 line 58
 3) fakeroot apt-get --build source fso-frameworkd
 4) dpkg -i fso-frameworkd*deb

I downloaded, edited and compiled it on my neo. I changed the values to

else:
self.timeouts = { \
IDLE: 1,
IDLE_DIM: 2,
IDLE_PRELOCK: 3,
LOCK: 4,
SUSPEND: 20, \
}

But i don't really know if these numbers are minutes or something else.
But after installing the new compiled package the result is not exactly
what i hoped for. Within xfce and no thone running the behaviour is the
same as before. Ahen i start zhone the backlight dims after ~25s and
gets complete dark and locks after ~15s more.
I can't figure out what the numbers i changed really do and IF they
really did something or not. :/
But i was hoping to change the behaviour of xfce even when zhone is not
running, what is the condition most of the time at the moment. ;)

 ne nice to set the maximum brightness and not always maximum (63).
 
 1) apt-get source zhone
 2) edit zhone*/src/zhone around line 1924
 3) fakeroot apt-get --build source zhone
 4) dpkg -i zhone*deb

This didn't work at all. When i try to compile it with apt-get --build
source zhone i get an error message that some archives couldn't be
downloaded. I only got zhone_0-git20080809.orig.tar.gz and it also wants
the dsc and diff file.
But i think this affects also only the brightness when zhone is running.
Is there a way to change this setting for xfce?

 Then i wanted to use openoffice, what would make me really happy because
 i only use OO on my desktop as well. But after i inetalled it i can't
 start it. When i try to start any OO app i got the following error message

 /usr/lib/openoffice/program/soffice: line 365:  2088 Illegal instruction
 $sd_prog/$sd_binary $@

 where the second number increases with every try. soffice seems to be
 a start script, but i can't find the problem why it doesn't work. :(
 
 You probably should try openoffice under qemu. If you can reproduce it
 there you should file a bug to bugs.debian.org.
 
 Then i wanted to ask if there exists a recent navit version for debian.
 
 You can create a package easily:
 
 1) wget http://downloads.sourceforge.net/navit/navit-0.0.4.tar.gz
 2) tar zxf navit-0.0.4.tar.gz
 3) cd navit-0.0.4
 4) dh_make -s -f ../navit-0.0.4.tar.gz
 5) edit debian/rules and change line that calls ./configure to read only
 
 ./configure $(CROSS) --prefix=/usr
 
 6) dpkg-buildpackage -rfakeroot
 7) sudo dpkg -i ../navit*deb

This works after reinstalling quite some dev packages. I only couldn't
apply the fast-map-dragging patch with the svn version 1314. It seems
some files have changed and the patch didn't apply successfull. But the
programm runs and that is quite some success. :)

I hope that the fast map dragging patch will be applied to the svn
repository soon, so everybody doesn't have to do the patching on their
own when compiling for themselfs. ;)

 This quick'n'dirty packaking took only a few minutes but the package seems to 
 work:
 
 http://iki.fi/lindi/openmoko/debian-navit1.png
 
 To create armel package you probably want to
 
 qemubuilder --build navit_0.0.4-1.dsc
 
 since building navit on your freerunner might take a while.

Thats's right. The building of navit on my neo takes quite some time.

 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community
 

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: opkg feed settings with fso-testing at shr.bearstech.com

2008-08-24 Thread Torfinn Ingolfsen
Hello,

On Sun, Aug 24, 2008 at 8:50 PM, Fredrik Wendt [EMAIL PROTECTED] wrote:

 Before I put my head into this black hole of opkg config, trying to
 figure it out myself, I'm hoping someone would have the time to show
 what's needed.

Well, this has been answered before on this list, so I guess you could
have googled for it.
But anyway, here is what I use for my Neo 1973 (NOTE WELL: 1973, not
FR. Adapt as necessary!):

[EMAIL PROTECTED]:~# cat /etc/opkg/all-feed.conf
src/gz fso-all http://shr.bearstech.com/fso-testing/ipk/all
[EMAIL PROTECTED]:~# cat /etc/opkg/armv4t-feed.conf
src/gz fso-armv4t http://shr.bearstech.com/fso-testing/ipk/armv4t
[EMAIL PROTECTED]:~# cat /etc/opkg/neo1973-feed.conf
src/gz fso-neo1973 http://shr.bearstech.com/fso-teting/ipk/neo1973
[EMAIL PROTECTED]:~# cat /etc/opkg/om-gta01-feed.conf
src/gz fso-om-gta01 http://shr.bearstech.com/fso-testing/ipk/om-gta01

HTH
-- 
Regards,
Torfinn Ingolfsen

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: FO - how do I get the hardware revision?

2008-08-24 Thread Michael 'Mickey' Lauer
Am Sonntag 24 August 2008 19:09:21 schrieb Torfinn Ingolfsen:
 Hi,

 On Sat, Aug 23, 2008 at 4:04 PM, digger vermont [EMAIL PROTECTED] 
wrote:
  Try mickeyterm.
  http://wiki.openmoko.org/wiki/OpenmokoFramework/mickeyterm

 Nice. But how do I exit from mickeyterm?
 Do I really have to use Ctrl-D?

Yes. Is that unconfortable?

I did not figure out what hardware revision you wanted to get (/proc/info?), 
but if it's the GSM one, the easiest way to do that is by calling

mdbus -s org.freesmartphone.ogsmd /org/freesmartphone/GSM/Device 
org.freesmartphone.GSM.Device.GetInfo

(with the frameworkd running)

-- 
:M:

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Kernel module request: MASQuerade on FR

2008-08-24 Thread Fredrik Wendt
mån 2008-08-11 klockan 00:54 +0200 skrev Holger Freyther:
 On Sunday 10 August 2008 11:50:57 Fredrik Wendt wrote:
 
  iptables said it didn't recognize match/rule/target but SNAT worked with
  the same arguments. Can't get my FreeRunner to boot now (completely
  dead) so I can't give you the exact error message. I will as soon as my
  FreeRunner comes back to life again. :/
 
  The command I used would've been
  'iptables -t nat -A POSTROUTING -s 192.168.0.200 -j MASQUERADE '
 
 
  'iptables -t nat -A POSTROUTING -s 192.168.0.200 -j SNAT --to-source
  83.84.85.68' however did work.
 
 I'm sitting in a ICE to berlin and use GPRS through the neo to send this mail.
 
 iptables -t nat -I POSTROUTING -o ppp+ -j MASQUERADE works fine after 
 installing iptables and allowing ip_forwarding.
 
 z.


Hi. No, I can't get this to work out of the box (fso-testing image from
shr.bear...):

# iptables -t nat -I POSTROUTING -o ppp+ -j MASQUERADE
iptables: No chain/target/match by that name
# lsmod
Module  Size  Used by
iptable_nat 5860  0 
nf_nat 16118  1 iptable_nat
nf_conntrack_ipv4  14344  2 iptable_nat
nf_conntrack   58312  3 iptable_nat,nf_nat,nf_conntrack_ipv4
ip_tables  10344  1 iptable_nat
x_tables   11812  2 iptable_nat,ip_tables
# ls /lib/modules/2.6.24/kernel/net/ipv4/netfilter
ip_tables.ko
iptable_filter.ko
iptable_nat.ko
nf_conntrack_ipv4.ko
nf_nat.ko
# ls /lib/modules/2.6.24/kernel/net/netfilter
nf_conntrack.ko
x_tables.ko
#

What am I missing?

/ Fredrik


signature.asc
Description: Detta är en digitalt signerad	meddelandedel
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: USB keyboards silent in terminal (FSO)

2008-08-24 Thread Fredrik Wendt
ons 2008-08-20 klockan 11:09 +1000 skrev Carsten Haitzler:

 aaah excellent. my hardware keyboard detection works... reported with
 bluetooth and usb... excellent! happiness is me. :)

When is it supposed to kick in? I just can't get it to work ... Under
FSO M2 I got /dev/input/event5 populated (after manually switching to
USB host mode), and it works in console but ran into
http://docs.openmoko.org/trac/ticket/1796 regarding X.

Using
openmoko-openmoko-devel-image-glibc-ipk--20080824-om-gta02.rootfs.jffs2
uImage-2.6.24+git36
+a1e97c611253511ffc2d8c45e3e6d6894fa03fa3-r2-om-gta02.bin
from buildhost/daily/freerunner/ I get zip out of the same keyboard that
worked with FSO M2.

I tried connecting the USB keyboard after my FreeRunner was connected to
my laptop (first: FR connected to laptop, unplug, plug keyboard to FR)
and also have the USB keyboard connected on boot (first: FR is off,
connect keyboard, power on FR).

Not having pand in that devel-image really made things more difficult to
test. I guess I could try getting FR to use wifi and ssh from my
computer to see what's going on, but using bluetooth is just easier to
set up.

/ Fredrik


signature.asc
Description: Detta är en digitalt signerad	meddelandedel
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: GPS logger / field data collection

2008-08-24 Thread Michael 'Mickey' Lauer
Am Sonntag 24 August 2008 22:34:16 schrieb Jim Morris:
 Michael 'Mickey' Lauer wrote:
  Sounds like a good plan. Let me note that by just using ogspd from the
  FSO framework, you could skip 1)-3) and go right to 5) (dunno about 4).

 I just ported xgps to Qtopia, this was of course using the client for gpsd.

 Qtopia does not currently use frameworkd, do you know if there are plans
 for qtopis to use it?

For pure Qtopia (i.e. not 2008.8) unlikely. Trolltech is satisfied with their 
own integrated backend, I don't see any motivation for them to switch to 
anything else.

 (I'm not switching to FSO yet) If not can I install 
 ogpsd standalone?

Most portions of the frameworkd work fine in parallel with Qtopia. Just 
install frameworkd and edit its init script to launch it with -s 
ogspd,odeviced,ousaged.

-- 
:M:

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: FO - how do I get the hardware revision?

2008-08-24 Thread Torfinn Ingolfsen
Hello,

On Mon, Aug 25, 2008 at 12:47 AM, Michael 'Mickey' Lauer
[EMAIL PROTECTED] wrote:
 Yes. Is that unconfortable?

Well, it is more that not being able to exit an app with Ctrl-C is
 unusual, at least for me. Don't worry about it, I'll just update
the wiki.

 I did not figure out what hardware revision you wanted to get (/proc/info?),

It started with me discovering this page:
http://wiki.openmoko.org/wiki/Finding_hardware_revision

and discovering that libgsmd-tool didn't exist  in fso. :)

 but if it's the GSM one, the easiest way to do that is by calling

 mdbus -s org.freesmartphone.ogsmd /org/freesmartphone/GSM/Device
 org.freesmartphone.GSM.Device.GetInfo

I didn't know about this one. This is the same as the one you get with
at+cgmr, right?
It certainly looks like it, even if the output is a bit, er...
machine-orieted...:
[EMAIL PROTECTED]:~# mdbus -s org.freesmartphone.ogsmd
/org/freesmartphone/GSM/Device org.freesmartphone.GSM.Device.GetInfo
/org/freesmartphone/GSM/Device: GetInfo -
dbus.Dictionary({dbus.String(u'imei'): dbus.String(u'354651011308881',
variant_level=1), dbus.String(u'model'): dbus.String(u'Neo1973 GTA01
Embedded GSM Modem', variant_level=1), dbus.String(u'revision'):
dbus.String(u'HW: GTA01Bv4, GSM:
gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0-Moko1',
variant_level=1), dbus.String(u'manufacturer'):
dbus.String(u'FIC/OpenMoko', variant_level=1)},
signature=dbus.Signature('sv'))

Thanks!
It is worth noting that ther is a space between ...GSM/Device and
org.freesm...
-- 
Regards
Torfinn Ingolfsen

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: FO - how do I get the hardware revision?

2008-08-24 Thread Michael 'Mickey' Lauer
Am Montag 25 August 2008 01:07:43 schrieb Torfinn Ingolfsen:
  but if it's the GSM one, the easiest way to do that is by calling
 
  mdbus -s org.freesmartphone.ogsmd /org/freesmartphone/GSM/Device
  org.freesmartphone.GSM.Device.GetInfo

 I didn't know about this one. This is the same as the one you get with
 at+cgmr, right?

Correct.

 It certainly looks like it, even if the output is a bit, er...
 machine-orieted...:

Hehe, point taken. If you have the latest git version, it looks like that:

[EMAIL PROTECTED]:/local/pkg/fso/python-helpers/mickeydbus# ./mdbus -s 
org.freesmartphone.ogsmd /org/freesmartphone/GSM/Device 
org.freesmartphone.GSM.Device.GetInfo
{
'imei':'354651011602234'
'model':'Neo1973 Embedded GSM Modem'
'revision':'HW: GTA, GSM: 
gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0-Moko9-beta1'
'manufacturer':'FIC/OpenMoko'
}

Better? ;)

-- 
:M:

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Backup rootfs and turn it into flasheable image

2008-08-24 Thread David Samblas
Hi there I need some help hero because I have done some test but nothing
really works.

I want to be able to create a flaseable rootfs image from the actual
content of te neo, due dfu-util is no usable for this (see
http://wiki.openmoko.org/wiki/Dfu-util#--upload) I can guess the way
would be an scp copy to pc, and create a jffs2 image from the result of
the scp copy.
but, two cuestion arise and I'm still not found a solution 
how to avoid special dirs (dev, sys, proc...) or only  not to copy the
content of directories like media or mnt?
how to create a jffs2 image from the content of a directory?

I will be happy to put all this on a script a have a one-command backup
image, and due the size of the result (a max 256 Mb) will be a good
project to have repository of users image files to show what they have
done and some pimp configurations/applications.

I am working on a image like an idea I have read on some post here to
have an demo-image that in spite of will be in very alpha stage can show
in a demo a bit of the capabilities of the neo, (not debian allowed I'm
talking about only using the nand :), I'm waiting for my 2Gb Sandisk to
arrive and install Debian at fulltrottel :) ), now I'm using the
Raster-Zecke tandem and I have installed succesfully tangogps (gps works
maps not showed), numptyphisics,orrery,om-console and rotate(simplier
than gestures only rotates the screen) I will like to make pu ic the
result of the backup to save time to anyone that needs a quick demo to
show , any sugestion of other wow software will be really apreciaeted.

Regards and hugs
David




___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Gutenflash

2008-08-24 Thread Gilles Casse
Hello,

For info, a new ipk for Gutenflash (Rapid text reader) is available:
http://wiki.openmoko.org/wiki/Gutenflash

Gilles

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Kernel module request: MASQuerade on FR

2008-08-24 Thread Michael 'Mickey' Lauer
Am Sonntag 24 August 2008 21:10:45 schrieb Fredrik Wendt:
 mån 2008-08-11 klockan 00:54 +0200 skrev Holger Freyther:
  On Sunday 10 August 2008 11:50:57 Fredrik Wendt wrote:
   iptables said it didn't recognize match/rule/target but SNAT worked
   with the same arguments. Can't get my FreeRunner to boot now
   (completely dead) so I can't give you the exact error message. I will
   as soon as my FreeRunner comes back to life again. :/
  
   The command I used would've been
   'iptables -t nat -A POSTROUTING -s 192.168.0.200 -j MASQUERADE '
  
  
   'iptables -t nat -A POSTROUTING -s 192.168.0.200 -j SNAT --to-source
   83.84.85.68' however did work.
 
  I'm sitting in a ICE to berlin and use GPRS through the neo to send this
  mail.
 
  iptables -t nat -I POSTROUTING -o ppp+ -j MASQUERADE works fine after
  installing iptables and allowing ip_forwarding.
 
  z.

 Hi. No, I can't get this to work out of the box (fso-testing image from
 shr.bear...):

 # iptables -t nat -I POSTROUTING -o ppp+ -j MASQUERADE
 iptables: No chain/target/match by that name
 # lsmod
 Module  Size  Used by
 iptable_nat 5860  0
 nf_nat 16118  1 iptable_nat
 nf_conntrack_ipv4  14344  2 iptable_nat
 nf_conntrack   58312  3 iptable_nat,nf_nat,nf_conntrack_ipv4
 ip_tables  10344  1 iptable_nat
 x_tables   11812  2 iptable_nat,ip_tables
 # ls /lib/modules/2.6.24/kernel/net/ipv4/netfilter
 ip_tables.ko
 iptable_filter.ko
 iptable_nat.ko
 nf_conntrack_ipv4.ko
 nf_nat.ko
 # ls /lib/modules/2.6.24/kernel/net/netfilter
 nf_conntrack.ko
 x_tables.ko
 #

 What am I missing?

Please install kernel-module-ipt-masquerade. Next version of FSO will include 
this by default.

-- 
:M:

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: SSD Latency and Throughput

2008-08-24 Thread Harald Koenig
On Aug 25, Esben Stien wrote:

 Anyone done any measurement on latency and throughput on the internal
 256 Mio flash versus any general SD cards?

only read throughput so far:

 http://lists.openmoko.org/nabble.html#nabble-td669004


Harald
-- 
I hope to die  ___   _
before I *have* to use Microsoft Word.,   0--,|/OOO\
Donald E. Knuth, 02-Oct-2001 in Tuebingen._/  /  /OOO\
\  \/OOO\
  \ O|//
   \/\/\/\/\/\/\/\/\/
Harald Koenig   //  / \\  \
[EMAIL PROTECTED] ^   ^

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: BT keyboards with FR?

2008-08-24 Thread Dan Staley
I use the iGo/Stowaway bluetooth keyboard and it works great!  There is
a program written by scaredycat (btkb) that makes a nice gui for
connecting to bluetooth keyboards.  Very easy to connect to and use!

See my post at www.bufferunderflow.com?entry=6 for more info, and
screenshots/videos.

-Dan Staley

On Sun, 2008-08-24 at 16:54 -0400, Ben Holt wrote:
  I am considering buying a portable BT keyboard to go with my
 FreeRunner and would appreciate hearing from anyone who is already
 using a BT keyboard and can comment on how well it is working and what
 keyboard you have.  Any recommendations would be greatly
 appreciated  :-).
 
 Many thanks,
 
 - Ben


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Debian on the FreeRunner -- a few questions/solutions

2008-08-24 Thread Eli
On Thursday 21 August 2008 02:06:59 pm Fox Mulder wrote:
 First of all i must say that i'm quite impressed with debian on the
 freerunner. It runs quite smooth most of the time and the software
 choices are realy nice. :)

 There is a thing what i found out about the matchbox keyboard. The
 standard layout is quite bad so i tried my customized from 2007.2 which
 doesn't work at all (i already read about this problem). After a long
 try and error session i found out why it doesn't work. The matchbox
 keyboard which comes with debian seems not to get along with the
 action=modifier:layout tag. After i found out i removed all
 alternative layouts and it worked with my nice german layout with f-keys
 and everithing which is on the keyboard. :)
 If someone is interested in the german layout with f-keys i attached.


 Now to the questions i couldn't solve myself until now and i hope
 somebody has a few hints for me.

 First thing is that i can't find the setting, when the display dims the
 brightness. The default setting dims it after some minutes (~3-5 min, i
 didn't measure it) what is way to late for battery usage. Also it would
 ne nice to set the maximum brightness and not always maximum (63).

/etc/frameworkd.conf
[odeviced.idlenotifier]
# add inut nodes to ignore for idle activity
ignoreinput = 2,3,4
# configure timeouts (in seconds) here. A value of 0
# means 'never fall into this state' (except programatically)
idle = 10
idle_dim = 30
idle_prelock = 10
lock = 1
suspend = 0

That help?

Eli
--. If it ain't broke now,
Eli Carter \  it will be soon. -- crypto-gram
[EMAIL PROTECTED] `-

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: QtGps for Trolltechs Qtopia

2008-08-24 Thread Marco Trevisan (Treviño)
Jim Morris wrote:
 Marco Trevisan (Treviño) wrote:
 Jim Morris wrote:
 Attached is the source and binary, if you have Qtopia, just copy the binary 
 qtgps to your FR, and 
 run it from the file manager or terminal. (I'll figure out how to package 
 it soon).

 Oh you also need to install gpsd (opkg install gpsd).

 If you have problems let me know, I'll put up a blog entry on how to 
 compile this with Trolltechs 
 toolchain.
 Launching it from the filemanager I get an error saying Can't open 
 gpsd, while gpsd is installed, configured and running correctly in my 
 phone. :o

 
 Hmm, can you do a gpspipe -r from the command line and see what happens? You 
 may need to install 
 gpsd_utils.

Sorry for late answer, btw after a first reboot of the device, qtGps 
started. Thanks a lot!

-- 
Treviño's World - Life and Linux
http://www.3v1n0.net/


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Backup rootfs and turn it into flasheable image

2008-08-24 Thread Eli
On Sunday 24 August 2008 06:43:21 pm David Samblas wrote:
 Hi there I need some help hero because I have done some test but nothing
 really works.

 I want to be able to create a flaseable rootfs image from the actual
 content of te neo, due dfu-util is no usable for this (see
 http://wiki.openmoko.org/wiki/Dfu-util#--upload) I can guess the way
 would be an scp copy to pc, and create a jffs2 image from the result of
 the scp copy.
 but, two cuestion arise and I'm still not found a solution
 how to avoid special dirs (dev, sys, proc...) or only  not to copy the
 content of directories like media or mnt?
 how to create a jffs2 image from the content of a directory?

Read the Create rootfs and kernel images section of 
http://wiki.debian.org/DebianOnFreeRunner/MovingToFlash

 I will be happy to put all this on a script a have a one-command backup
 image, and due the size of the result (a max 256 Mb) will be a good
 project to have repository of users image files to show what they have
 done and some pimp configurations/applications.

 I am working on a image like an idea I have read on some post here to
 have an demo-image that in spite of will be in very alpha stage can show
 in a demo a bit of the capabilities of the neo, (not debian allowed I'm
 talking about only using the nand :),

Heh.  Read _all_ of 
http://wiki.debian.org/DebianOnFreeRunner/MovingToFlash ... Debian fits on 
NAND.

 I'm waiting for my 2Gb Sandisk to 
 arrive and install Debian at fulltrottel :) ), now I'm using the
 Raster-Zecke tandem and I have installed succesfully tangogps (gps works
 maps not showed), numptyphisics,orrery,om-console and rotate(simplier
 than gestures only rotates the screen) I will like to make pu ic the
 result of the backup to save time to anyone that needs a quick demo to
 show , any sugestion of other wow software will be really apreciaeted.

HTH,

Eli
--. If it ain't broke now,
Eli Carter \  it will be soon. -- crypto-gram
[EMAIL PROTECTED] `-

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Debian -- better screen locking

2008-08-24 Thread Eli
All,

When the screen goes blank, and you tap it, the tap is not swallowed... it is 
seen by the application you were running, and that app may do something you 
didn't intend.

Here's how I got around that for now:

Installed wmctrl with apt-get.

Modified zhone to rise to the top and kill the keyboard when it locks.  This 
will make zhone get the tap that wakes up the FR and show it's lock screen.  
(Hit the AUX to get your keyboard, and alt-tab as normal)

--- /usr/bin/zhone.orig 2008-08-24 12:03:33.0 +
+++ /usr/bin/zhone  2008-08-24 23:47:34.0 +
@@ -1417,6 +1417,10 @@
 for id in range( 1, 5 ):
 self.signal_emit( deactivate_%i % id,  )
 self.signal_emit( visible,  )
+   # and close the keyboard if it's running
+   os.system(kill -s KILL `pidof /usr/bin/matchbox-keyboard`)
+   # Bring us to the top of the stack
+   os.system(wmctrl -a zhone)
 
 def deactivate( self ):
 self.signal_emit( invisible,  )

Then, modified the idle timeouts (the timeout for lock in particular):
--- /etc/frameworkd.conf.orig   2008-08-23 18:59:39.0 +
+++ /etc/frameworkd.conf2008-08-24 12:29:10.0 +
@@ -17,9 +17,9 @@
 # configure timeouts (in seconds) here. A value of 0
 # means 'never fall into this state' (except programatically)
 idle = 10
-idle_dim = 20
-idle_prelock = 12
-lock = 2
+idle_dim = 30
+idle_prelock = 10
+lock = 1
 suspend = 0
 
 [odeviced.input]

Since zhone is now killing the keyboard, the matchbox-keyboard-toggle utility 
needs to be more robust and detect if the keyboard is running or not, so I 
patched it like this:
--- /usr/bin/matchbox-keyboard-toggle.orig  2008-08-24 12:15:20.0 
+
+++ /usr/bin/matchbox-keyboard-toggle   2008-08-24 14:36:22.0 +
@@ -8,17 +8,9 @@
 
 import os
 
-keyboard_shown=False
-
 def signal_handler(name, action, seconds):
-global keyboard_shown
-
 if name == AUX and action == pressed:
-if keyboard_shown:
-os.system(kill -s KILL `pidof /usr/bin/matchbox-keyboard`)
-else:
-os.system(matchbox-keyboard )
-keyboard_shown = not keyboard_shown
+   os.system(pidof /usr/bin/matchbox-keyboard /dev/null || 
(matchbox-keyboard 
)  kill -s KILL `pidof /usr/bin/matchbox-keyboard`)
 
 
 bus = dbus.SystemBus()


Feedback welcome and appreciated.  Also, if there's an upstream that wants 
these, let me know where to send them.

Eli
-- 
--. If it ain't broke now,
Eli Carter \  it will be soon. -- crypto-gram
[EMAIL PROTECTED] `-

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: FSO testing on Neo 1973

2008-08-24 Thread Ernst Skribbler
Rod wrote:
This means you haven't got the gpschannel_add_udpchannel_and_filechannel.patch 
from Trac 49 applied.

Any idea when the patches that fix GPS will be available in the
testing images?  Thanks.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: USB keyboards silent in terminal (FSO)

2008-08-24 Thread The Rasterman
On Mon, 25 Aug 2008 00:48:24 +0200 Fredrik Wendt [EMAIL PROTECTED] babbled:

 ons 2008-08-20 klockan 11:09 +1000 skrev Carsten Haitzler:
 
  aaah excellent. my hardware keyboard detection works... reported with
  bluetooth and usb... excellent! happiness is me. :)
 
 When is it supposed to kick in? I just can't get it to work ... Under
 FSO M2 I got /dev/input/event5 populated (after manually switching to
 USB host mode), and it works in console but ran into
 http://docs.openmoko.org/trac/ticket/1796 regarding X.

oh i just worried about detecting a real physical keyboard is there. didn't
worry about it actually delivering events in x... :)

 Using
 openmoko-openmoko-devel-image-glibc-ipk--20080824-om-gta02.rootfs.jffs2
 uImage-2.6.24+git36
 +a1e97c611253511ffc2d8c45e3e6d6894fa03fa3-r2-om-gta02.bin
 from buildhost/daily/freerunner/ I get zip out of the same keyboard that
 worked with FSO M2.
 
 I tried connecting the USB keyboard after my FreeRunner was connected to
 my laptop (first: FR connected to laptop, unplug, plug keyboard to FR)
 and also have the USB keyboard connected on boot (first: FR is off,
 connect keyboard, power on FR).
 
 Not having pand in that devel-image really made things more difficult to
 test. I guess I could try getting FR to use wifi and ssh from my
 computer to see what's going on, but using bluetooth is just easier to
 set up.
 
 / Fredrik
 


-- 
Carsten Haitzler (The Rasterman) [EMAIL PROTECTED]

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: ASU - out of memory?

2008-08-24 Thread The Rasterman
On Fri, 22 Aug 2008 11:13:19 +0200 Tilman Baumann [EMAIL PROTECTED] babbled:

 Pardon.
 I don't care for the warm and fuzzy feeling you get by having malloc  
 fail on you.

the problem is.. it doesn't say it failed. it says it succeeded. it returns a
pointer. program now moves on and should be able to safely assume that the
memory it asked for is it's to use. overcommit makes success from malloc a
gamble. it may or may not provide you with usable memory. this makes any kind
of attempt to do error checking pretty useless. as success can also be an
error that is not detectable (until it's too late and you've segv'd).
 
 It does not give you a bit more system stability! The one app  
 receiving malloc errors is just not app of many. They all have a  
 problem then.
 Imagine, the browser catches a failed malloc, because some other  
 stupid app has eaten almost all ram.
 What is the benefit of telling the browser about low mem? It could  
 only safe itself from crashing. Well done.

and that is what it SHOULD do. programs SHOULD check the return of their malloc
()'s and unwind safely and remain in a safe non-crashing state. they may
inform the user of such an issue or may chose some other method to deal with
it, but it is the job of every app to deal with it as gracefully as possible.

 And malloc btw. never gives you bad memory. You just have to check,  
 even with overcommit.

with overcommit it CAN give you bad memory. without it can't (or shouldn't - if
it did - it'd be a bug). NULL = no memory could be given to you of the size
you asked for. deal with it, anything else is giving you the memory you asked
for.

with overcommit it SAYS it gives you that memory - but once you try and access
it (read or write) at ANY time, you may or may not segv. because the kernel may
have overcommitted and decided to throw out that memory because it thinks it is
not used (for whatever reason), but now you want to use it.

let me give an example:

my app starts - i alloc 64kb for a quick lookup-table for a dictionary. (this
is a real-life thing i actually do btw.) this lets me find words in a
dictionary file when you type to match quickly (as opposed to do a full linear
search of the file). this lets me jump to a subsection (block) of the file
quickly based on the first few letters of a word then do a limited linear
search. this is low on memory usage as its a limited lookup table. this gets
set up on app start. now. lets say you don't type anything for a while - hours
or days. in the meantime you run apps (dialler, address lookup etc.) and just
passively browse the web (no entering fields - just using bookmarks). lots of
memory is allocated and freed, but the pages of ram for the keyboard dictionary
are untouched. it hasn't needed them. now you use your browser and it teats up
gobs of ram. well what happens now you need to type. you bring up the keyboard
and type in your name in an entry field. as it does this it may need to lookup a
dictionary. the kernel has since overcommitted and thrown away some pages in
the 64kb lookup table for the dictionary. it decided that since they werre idle
- they may aswell be ditched as it REALLY needed that ram for that background
jpeg in the web page! this was new, urgent and active. well - now as you type
the keyboard code tries to do a lookup.. and finds the pages of its dictionary
gone! kernel took them away. they were successfully allocated and filled, but
now have been nuked. result? keyboard segv's. no bug in kbd. it did everything
right. it gets punished for the memory hogging of another app. THAT is what
overcommit does.

 It's just so that you have to be aware that the kernel who is watching  
 over all resources (the evil MCP muahahah)
 may need to lay off some programms in a critical system condition.  
 (oom_kill)
 No one wants this, so the strategy is to avoid this. We are talking  
 here about the same thing. We need some userspace helper to clean up  
 before it gets critical.

yes. agreed. and we need to not use overcommit. you can't go punish apps that
have done everything right and by the book. overcommit does this.

 Yes, it sounds bad to have a error handling for out of memory and then  
 never use it.
 Ask my mon, she will tell you this is horrible. But my mom does not  
 know the whole picture.

its not just the error handling -the SUCCESS case is also now broken. see
above. you are liable to be able to segv if you handle the error case or not.

 And once again. Not having overcommit wastes memory. Why do you think  
 this is worth it?

and having it makes apps segv that would not have segv'd before. it wastes
developers chasing gdb backtraces and bug reports for something that doesn't
even exist as a bug. see above. you'd get an utterly bizarre crash somewhere it
just doesn't make sense - you'd possibly spend days or weeks hunting it to no
avail as it just isn't what you think it is! the kernel literally has removed
your ram from you! there is no bug to hunt!.

 

Re: ASU - out of memory?

2008-08-24 Thread The Rasterman
On Fri, 22 Aug 2008 12:36:52 -0400 Chris Wright [EMAIL PROTECTED] babbled:

 On the other hand, let's say your process allocates some memory and
 doesn't use it for a while. In the meantime, some memory is freed.
 This doesn't help if malloc() returned null, but it does help if the
 kernel overcommitted memory instead.
 
 I don't think that's as useful. But you could instead define a malloc:
 void* _malloc(size_t length)
 {
void* pointer = malloc(length);
if (!mlock(pointer, length)) return null; // or abort
return pointer;
 }

unfortunately... this isn't practical. only root can mlock(). sure. on om we
run all as root - but that is something that probably should change and is not
a sane solution. :)

-- 
Carsten Haitzler (The Rasterman) [EMAIL PROTECTED]

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: ASU - out of memory?

2008-08-24 Thread The Rasterman
On Fri, 22 Aug 2008 16:53:15 +0200 Clemens Kirchgatterer [EMAIL PROTECTED]
babbled:

 Carsten Haitzler (The Rasterman) [EMAIL PROTECTED] wrote:
 
   Problem is, your might not have the memory to trawl those .desktop
   files.
  
  thus my original write a root daemon - setsched() to realtime
  priority and mlock() memory space down! (and of course read every
  page of memory to make sure it's paged in) :)
 
 from man mlock:
 
 mlock() locks pages in the address range starting at addr and
 continuing for len  bytes. All  pages that contain a part of the
 specified address range are guaranteed to be resi‐ dent in RAM when the
 call returns successfully; the pages are guaranteed to stay in  RAM
 until later unlocked.
 
 so reading every page seams unnessesary to me.

aaah yes. that saves the read :)

-- 
Carsten Haitzler (The Rasterman) [EMAIL PROTECTED]

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: What's Enlightenment doing for so long?

2008-08-24 Thread The Rasterman
On Sun, 24 Aug 2008 14:33:22 +0100 Rui Miguel Silva Seabra [EMAIL PROTECTED]
babbled:

 After de Booting part with a progress report, we get the Boot's again.
 
 But I already can ssh into the Freerunner, and doing a top I see that
 it's enlightenment who's taking a bloody huge time loading up. Feels
 like about half of the booting time.
 
 I wonder what could be done to speed it up...

it's
1. loading config
2. connecting to x and querying stuff, settign up atoms and properties
3. loading data (theme) files
4. scanning disk for .desktop files (as these are all the applications)
5. scanning fonts for use
6. setting up ipc
7. testing runtime breakages (eg you removed the png, jpeg or eet loaders from
evas as they are runtime replacable modules)
8. dbusinit and connect
9. query some hal info (removable devices etc.)
10. loading its own modules and letting them all do their init.

also note it only gets a fraction of the resources - qpe (and its tools like
mediaserver and quicklancher) all are fighting over cpu - the animated splash
uses a bit too, so as such it's left with about 15-20% of the cpu at least for
itself to do its init. the splash of course could be simpler and use less cpu.
no plash and u'd just have a blank screen for a while (its a config option of
course).

-- 
Carsten Haitzler (The Rasterman) [EMAIL PROTECTED]

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Googlemaps + tangoGPS

2008-08-24 Thread Marco Trevisan (Treviño)
Yorick Moko wrote:
 Has anybody been able to use googlemaps with tangoGPS?

I did.
Look at this [1].

[1] http://forum.telefoninux.org/index.php/topic,174.0.html

-- 
Treviño's World - Life and Linux
http://www.3v1n0.net/


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: GPS logger / field data collection

2008-08-24 Thread Brian Wilson
On Sun, Aug 24, 2008 at 6:02 AM, Timo Juhani Lindfors
[EMAIL PROTECTED] wrote:
 For editing openstreetmap it is also useful to capture short audio
 comments. This can be easily done by starting recording when AUX is
 pressed and stopping it when it is released.

I think this is a good idea for any field data collector. I added it
to the wiki page.

Brian

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: GPS logger / field data collection

2008-08-24 Thread Brian Wilson
 IMO, just use the raw Ublox binary format. It's rather simple to decode.
 I have already implemented a binary decoder for the Ublox binary format
 based on Ublox open documentation of the protocol. My plan is to release
 this code under the GPL at some point.

The only GPS receiver that I have that does u-blox binary format is
the one in the Freerunner, and the others are Trimble and Garmin and
SiRF and NMEA. So I'd be limited to using only one receiver out of my
collection. Especially I'd love to be able to use the fancy Trimble
ProXH via bluetooth and not be forced to use the Windows Mobile device
they expect you to use. (Trimble Recon) So I was looking for a more
general solution.

But it's a starting point anyway, and hey, I work on this about 10
minutes a day so I'd say dive in!

Brian

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community