Re: [openBmap] Version 0.2.0 released of the GSM cell, GPS logger

2009-04-05 Thread Onen
Robin Paulson wrote:
 > 2009/4/5 Onen :
 >> Did you use the packages directly from the FSO or SHR feeds, or manually
 >> downloaded the ipk?
 >
 > i got it from opkg.org, with the command-line supplied there:
 >
 > opkg install http://www.opkg.org/packages/openbmap-logger_0.2.0_all.ipk
 >
 > btw, i'm using 2008.12 - is that an issue?
 >

Well I think it is. OpenBmap works on top of the freesmartphone.org 
framework (FSO), and if I recall correclty, the 2008.12 distribution is 
not based on it.

 >> The module is provided directly by the package and should be located 
under
 >> [python site-package directory]/openbmap/logger.py
 >
 > sorry, i don't understand what [python site-package directory] means
 >
 > are you saying the path to logger.py is hard-coded in? if it's in a
 > location included in $PATH, does it need to be hard-coded?
 >

The 'site-package' location contains python packages and modules. This 
is in the path when you run python apps, for what I have understood. The 
ipk try to put his package into this place, and expects the directory 
structure given in my last email. This is hardcoded in the package, I 
don't know how I can easily make the ipk to put it dynamically under the 
current python site package path (maybe with pre/post script).
So this is hardcoded in the ipk where to put the logger.py, but this not 
hardcoded in the program that the logger.py should be anywhere specific 
(if found in the path, it works).

Hope I have been clear enough ;-) Let me know if this helps...

Onen

 >> Under FSO 5.1 this is:
 >> /usr/lib/python2.6/site-packages/openbmap/logger.py
 >>
 >> But the FSO team has moved from older version of python to the 2.6 in
 >> release 5.0, if I recall correctly. Before the path was sth like:
 >> /usr/lib/python2.X/site-packages/openbmap/logger.py
 >>
 >> So if you have downloaded manually the package, and installed it 
under an
 >> image where this is not the path, you would have to move the content of
 >> [...]/site-packages/openbmap/ to the right path of your installation.


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


Re: [openBmap] Version 0.2.0 released of the GSM cell, GPS logger

2009-04-05 Thread Onen
Hi Robin,

thanks for trying it out :-)

Did you use the packages directly from the FSO or SHR feeds, or manually 
downloaded the ipk?

The module is provided directly by the package and should be located 
under [python site-package directory]/openbmap/logger.py

Under FSO 5.1 this is:
/usr/lib/python2.6/site-packages/openbmap/logger.py

But the FSO team has moved from older version of python to the 2.6 in 
release 5.0, if I recall correctly. Before the path was sth like:
/usr/lib/python2.X/site-packages/openbmap/logger.py

So if you have downloaded manually the package, and installed it under 
an image where this is not the path, you would have to move the content 
of [...]/site-packages/openbmap/ to the right path of your installation.

Let me know if that helps,

Onen

Robin Paulson wrote:
> 2009/3/31 Onen :
> i tried the new version of openbmap today, and got this error when i ran it:
> 
> import openbmap.logger
> ImportError: No module named openbmap.logger
> 
> am i missing a dependency?
> 
> ___
> 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: [openBmap] Version 0.2.0 released of the GSM cell, GPS logger

2009-04-04 Thread Robin Paulson
2009/3/31 Onen :
i tried the new version of openbmap today, and got this error when i ran it:

import openbmap.logger
ImportError: No module named openbmap.logger

am i missing a dependency?

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


Re: [openBmap] Version 0.2.0 released of the GSM cell, GPS logger

2009-04-04 Thread kimaidou
Hi

Thanks a lot for this !
I will report bugs if I see any.

Cheers
Kimaidou

2009/4/3 Onen 

> Hello,
>
> ok, thanks for the explanations.
>
> Here you go:
> http://www.opkg.org/package_186.html
>
> Let me know if you see errors, possible improvements, etc...
>
> Onen
>
> kimaidou wrote:
> > Hi
> > About the advantages of opkg.org 
> > * a software dedicated website, so that I can easily know the new and
> > updated softs with rss feeds (I don't have to filter the new entries in
> > the openmoko wiki and get lost among the amount of information)
> > * a small description for each software (you can do this on a wiki page,
> > I know), and each soft has the same description page template
> > * at the moment, there is a small number of distro (SHR and OM are the
> > most used), but this does not say that it will stay forever, so it could
> > be hard to ask the developper of each new platform to integrate it on
> > the repos
> > * a lot of visitors
> > * you do not have to store the ipk on opkg. A link or description to
> > your repo is OK . So you can do both : put a description on opkg, and
> > put the package in the distro feeds
> >
> >   I believe a portal containing a updated list of all softwares is great
> > for the users who are not always connected to the mailing lists and
> > wikis. For example, I saw the Hackable:A developpers have released a
> > great rss reader application (
> > https://trac.hackable1.org/trac/wiki/FeedReader ) . It could be used by
> > users using another debian based distribution (fyp or other), but there
> > is no way for them to know. If this app was in opkg, everyone would know
> > (I know, this is not a good examplen, as opkg is only for ipk package
> > and not deb, but you understand the meaning :D )
> >
> > Cheers
> > Kimaidou
>
>
> ___
> 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: [openBmap] Version 0.2.0 released of the GSM cell, GPS logger

2009-04-03 Thread Onen
Hello,

ok, thanks for the explanations.

Here you go:
http://www.opkg.org/package_186.html

Let me know if you see errors, possible improvements, etc...

Onen

kimaidou wrote:
> Hi
> About the advantages of opkg.org 
> * a software dedicated website, so that I can easily know the new and 
> updated softs with rss feeds (I don't have to filter the new entries in 
> the openmoko wiki and get lost among the amount of information)
> * a small description for each software (you can do this on a wiki page, 
> I know), and each soft has the same description page template
> * at the moment, there is a small number of distro (SHR and OM are the 
> most used), but this does not say that it will stay forever, so it could 
> be hard to ask the developper of each new platform to integrate it on 
> the repos
> * a lot of visitors
> * you do not have to store the ipk on opkg. A link or description to 
> your repo is OK . So you can do both : put a description on opkg, and 
> put the package in the distro feeds
> 
>   I believe a portal containing a updated list of all softwares is great 
> for the users who are not always connected to the mailing lists and 
> wikis. For example, I saw the Hackable:A developpers have released a 
> great rss reader application ( 
> https://trac.hackable1.org/trac/wiki/FeedReader ) . It could be used by 
> users using another debian based distribution (fyp or other), but there 
> is no way for them to know. If this app was in opkg, everyone would know 
> (I know, this is not a good examplen, as opkg is only for ipk package 
> and not deb, but you understand the meaning :D )
> 
> Cheers
> Kimaidou


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


Re: [openBmap] Version 0.2.0 released of the GSM cell, GPS logger

2009-04-02 Thread kimaidou
Hi
About the advantages of opkg.org
* a software dedicated website, so that I can easily know the new and
updated softs with rss feeds (I don't have to filter the new entries in the
openmoko wiki and get lost among the amount of information)
* a small description for each software (you can do this on a wiki page, I
know), and each soft has the same description page template
* at the moment, there is a small number of distro (SHR and OM are the most
used), but this does not say that it will stay forever, so it could be hard
to ask the developper of each new platform to integrate it on the repos
* a lot of visitors
* you do not have to store the ipk on opkg. A link or description to your
repo is OK . So you can do both : put a description on opkg, and put the
package in the distro feeds

  I believe a portal containing a updated list of all softwares is great for
the users who are not always connected to the mailing lists and wikis. For
example, I saw the Hackable:A developpers have released a great rss reader
application ( https://trac.hackable1.org/trac/wiki/FeedReader ) . It could
be used by users using another debian based distribution (fyp or other), but
there is no way for them to know. If this app was in opkg, everyone would
know (I know, this is not a good examplen, as opkg is only for ipk package
and not deb, but you understand the meaning :D )

Cheers
Kimaidou

2009/4/2 Onen 

> Hi,
>
> if you have comments and/or suggestions about this release or future
> evolution feel free to contact me!
>
> Well so far what I have tried is to get the package directly into the
> feeds. This is the case for OM:
>
> http://downloads.openmoko.org/repository/unstable/armv4t/openbmap-logger_0.2.0-r1_armv4t.ipk
>
> I am talking to SHR guys to get it in their repository too.
>
> But if opkg.org brings something more, I will gladly do this. Thus,
> would you explain me what creating a page on opkg.org would bring more?
>
> Thanks,
>
> Onen
>
> kimaidou wrote:
> > Hi
> >
> > Thanks a lot for this new version. I would like to know if you could
> > create a new page in opkg.org  for easily follow,
> > install and upgrade it !
> >
> > Thanks in advance
> >
> > Kimaidou
> >
> > 2009/3/30 Onen http://onen.om>@free.fr >
> >
> > Hello,
> >
> > the new version of the logger is out. This is a major step: you can
> now
> > do the complete process (log, upload, delete processed logs)
> > graphically! No need to edit any file.
> >
> > WHAT'S NEW SINCE 0.1?
> >
>
>
> ___
> 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


[SHR] [openBmap] GSM cell, GPS logger now in SHR unstable! (Was: [openBmap] Version 0.2.0 released of the GSM cell, GPS logger)

2009-04-02 Thread Onen
Klaus 'mrmoku' Kurzmann wrote:
> Am Donnerstag 02 April 2009 18:09:41 schrieb Onen:
>>
>> I am talking to SHR guys to get it in their repository too.
> shr-unstable has it now :-)
> 

Thanks for that!

Onen


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


Re: [openBmap] Version 0.2.0 released of the GSM cell, GPS logger

2009-04-02 Thread Klaus 'mrmoku' Kurzmann
Am Donnerstag 02 April 2009 18:09:41 schrieb Onen:
> Hi,
>
> if you have comments and/or suggestions about this release or future
> evolution feel free to contact me!
>
> Well so far what I have tried is to get the package directly into the
> feeds. This is the case for OM:
> http://downloads.openmoko.org/repository/unstable/armv4t/openbmap-logger_0.
>2.0-r1_armv4t.ipk
>
> I am talking to SHR guys to get it in their repository too.
shr-unstable has it now :-)

>
> But if opkg.org brings something more, I will gladly do this. Thus,
> would you explain me what creating a page on opkg.org would bring more?
>
> Thanks,
>
> Onen
>
> kimaidou wrote:
> > Hi
> >
> > Thanks a lot for this new version. I would like to know if you could
> > create a new page in opkg.org  for easily follow,
> > install and upgrade it !
> >
> > Thanks in advance
> >
> > Kimaidou
> >
> > 2009/3/30 Onen http://onen.om>@free.fr >
> >
> > Hello,
> >
> > the new version of the logger is out. This is a major step: you can
> > now do the complete process (log, upload, delete processed logs)
> > graphically! No need to edit any file.
> >
> > WHAT'S NEW SINCE 0.1?
>

Klaus 'mrmoku' Kurzmann


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


Re: [openBmap] Version 0.2.0 released of the GSM cell, GPS logger

2009-04-02 Thread Onen
Hi,

if you have comments and/or suggestions about this release or future 
evolution feel free to contact me!

Well so far what I have tried is to get the package directly into the 
feeds. This is the case for OM:
http://downloads.openmoko.org/repository/unstable/armv4t/openbmap-logger_0.2.0-r1_armv4t.ipk

I am talking to SHR guys to get it in their repository too.

But if opkg.org brings something more, I will gladly do this. Thus, 
would you explain me what creating a page on opkg.org would bring more?

Thanks,

Onen

kimaidou wrote:
> Hi
> 
> Thanks a lot for this new version. I would like to know if you could 
> create a new page in opkg.org  for easily follow, 
> install and upgrade it !
> 
> Thanks in advance
> 
> Kimaidou
> 
> 2009/3/30 Onen http://onen.om>@free.fr >
> 
> Hello,
> 
> the new version of the logger is out. This is a major step: you can now
> do the complete process (log, upload, delete processed logs)
> graphically! No need to edit any file.
> 
> WHAT'S NEW SINCE 0.1?
> 


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


Re: [openBmap] Version 0.2.0 released of the GSM cell, GPS logger

2009-04-02 Thread kimaidou
Hi

Thanks a lot for this new version. I would like to know if you could create
a new page in opkg.org for easily follow, install and upgrade it !

Thanks in advance

Kimaidou

2009/3/30 Onen 

> Hello,
>
> the new version of the logger is out. This is a major step: you can now
> do the complete process (log, upload, delete processed logs)
> graphically! No need to edit any file.
>
> WHAT'S NEW SINCE 0.1?
> * Now displays GSM data at startup. No need to wait for network
>   update.
> * Before upload, login/password graphical interface added.
> * After upload, asks about deleting all processed log files.
> * Requests CPU ressource to prevent phone from going to suspend (this
> depends on the configuration of the phone...).
> * Do not log if a call is ongoing. The reasons are:
>  - when in a call org.freesmartphone.GSM.Network.GetStatus()
>returns a lower signal strength.
>  - org.freesmartphone.GSM.Monitor.GetNeighbourCellInformation()
>returns garbage when in a call.
> * Software id and version added in generated logs
>
> Another major point is the "beta" support of neighbour cells logging.
> Following comments made on this list (thanks Yorick, Olivier and Helge
> and sorry if I forget others), I have changed my mind and the code is
> ready in this release. But deactivated. The reasons are:
>  - we need to clarify the meaning of some fields
>  - we need to clarify if there is no risk of mixing cells and
>MCC/MNC at the borders.
> The idea will be to keep track if a logged cell was "serving", or
> "neighbour". This will let us experiment with ways of building coverage
> areas, and specify algorithms.
>
> Thanks Stefan, the application is already in the feeds:
>
> http://downloads.openmoko.org/repository/unstable/armv4t/openbmap-logger_0.2.0-r1_armv4t.ipk
> => opkg install/upgrade openbmap-logger
>
> Ipk, tar, git can be found at:
>
> http://sourceforge.net/project/showfiles.php?group_id=218065&package_id=310952
> http://myposition.git.sourceforge.net/git/gitweb.cgi?p=myposition
>
> Following is a part of the README. You will find a summary of the
> project, and the manual with some details about the configuration file
> if you want total control of your application.
>
> Onen
>
>
> SUMMARY:
> OpenBmap is a free and open map of wireless communicating objects
> (e.g. cellular antenna, Wi-Fi, Bluetooth). It provides tools to
> mutualize data, create and access this map.
> The purpose of this software is to log GSM data, together with
> GPS coordinate. This data are sent to the website (www.openbmap.org),
> in order to build a free database. In order to keep a high quality
> of data, we store GPS quality, speed, GSM signal strength, etc...
> Possible use of this database:
> * get your location based on the current GSM cell you are connected to.
> (GPS needs extra power to function, GSM is always on. Less precise
> than GPS, but enough for a lot of usages. Instant location, GPS
> needs time to get a fix.)
> * speed up GPS first time to fix by providing the location based
> on GSM data
> * geolocate your photos when taken
> * get a map of GSM coverage
> * get a map of 2, 2.5, 3G coverage (not yet implemented)
> * ...
>
> What you should expect:
> * The complete process is done through graphical interface.
> * Requests CPU ressource to prevent phone from going to suspend (this
> depends on the configuration of the phone...).
> * generation of logs (no log during a call)
> * Graphical window to enter login/password before upload (possibility
> to cancel upload).
> * upload of logs
> * Graphical window proposing to delete all logs already processed.
>
> MANUAL:
> Interface is straightforward.
>
> Note: The GPS is started as soon as the application is launched.
> And it keeps running if the application is logging or not. This
> is to prevent losing the GPS position if you pause your logging.
> You have to exit the application in order to stop the GPS.
>
> * A button to start generating logs. Values will be displayed when
> valid. Logs are stored under HOME/.openBmap/Logs by default.
>
> * A button to stop generating logs.
>
> * A button to upload.
> This pops a window up, which displays the current login/password.
> Please modify it before pressing 'ok' button if needed. You can
> cancel upload by pressing 'cancel'.
>
> If you press 'ok', this will block the interface until every log
> has been uploaded. This means that if you do not have Internet
> connection up and running, the GUI will be frozen until timeout of
> the upload part.
>
> After successful upload, the logs are moved to
> HOME/.openBmap/Processed_logs by default.
>
> When upload is finished, the result is first displayed (how many logs
> have been uploaded out of how many available).
> Then a popup window will propose you to delete all (this includes
> possible logs from previous upload) the processed logs (located in
> HOME/.openBmap/Processed_logs by default).
>
> Warning: you should create an account on realtimeblog.free.fr
> website, and 

[openBmap] Version 0.2.0 released of the GSM cell, GPS logger

2009-03-30 Thread Onen
Hello,

the new version of the logger is out. This is a major step: you can now 
do the complete process (log, upload, delete processed logs) 
graphically! No need to edit any file.

WHAT'S NEW SINCE 0.1?
* Now displays GSM data at startup. No need to wait for network
   update.
* Before upload, login/password graphical interface added.
* After upload, asks about deleting all processed log files.
* Requests CPU ressource to prevent phone from going to suspend (this
depends on the configuration of the phone...).
* Do not log if a call is ongoing. The reasons are:
  - when in a call org.freesmartphone.GSM.Network.GetStatus()
returns a lower signal strength.
  - org.freesmartphone.GSM.Monitor.GetNeighbourCellInformation()
returns garbage when in a call.
* Software id and version added in generated logs

Another major point is the "beta" support of neighbour cells logging. 
Following comments made on this list (thanks Yorick, Olivier and Helge 
and sorry if I forget others), I have changed my mind and the code is 
ready in this release. But deactivated. The reasons are:
  - we need to clarify the meaning of some fields
  - we need to clarify if there is no risk of mixing cells and
MCC/MNC at the borders.
The idea will be to keep track if a logged cell was "serving", or 
"neighbour". This will let us experiment with ways of building coverage 
areas, and specify algorithms.

Thanks Stefan, the application is already in the feeds:
http://downloads.openmoko.org/repository/unstable/armv4t/openbmap-logger_0.2.0-r1_armv4t.ipk
=> opkg install/upgrade openbmap-logger

Ipk, tar, git can be found at:
http://sourceforge.net/project/showfiles.php?group_id=218065&package_id=310952
http://myposition.git.sourceforge.net/git/gitweb.cgi?p=myposition

Following is a part of the README. You will find a summary of the 
project, and the manual with some details about the configuration file 
if you want total control of your application.

Onen


SUMMARY:
OpenBmap is a free and open map of wireless communicating objects
(e.g. cellular antenna, Wi-Fi, Bluetooth). It provides tools to
mutualize data, create and access this map.
The purpose of this software is to log GSM data, together with
GPS coordinate. This data are sent to the website (www.openbmap.org),
in order to build a free database. In order to keep a high quality
of data, we store GPS quality, speed, GSM signal strength, etc...
Possible use of this database:
* get your location based on the current GSM cell you are connected to.
(GPS needs extra power to function, GSM is always on. Less precise
than GPS, but enough for a lot of usages. Instant location, GPS
needs time to get a fix.)
* speed up GPS first time to fix by providing the location based
on GSM data
* geolocate your photos when taken
* get a map of GSM coverage
* get a map of 2, 2.5, 3G coverage (not yet implemented)
* ...

What you should expect:
* The complete process is done through graphical interface.
* Requests CPU ressource to prevent phone from going to suspend (this
depends on the configuration of the phone...).
* generation of logs (no log during a call)
* Graphical window to enter login/password before upload (possibility
to cancel upload).
* upload of logs
* Graphical window proposing to delete all logs already processed.

MANUAL:
Interface is straightforward.

Note: The GPS is started as soon as the application is launched.
And it keeps running if the application is logging or not. This
is to prevent losing the GPS position if you pause your logging.
You have to exit the application in order to stop the GPS.

* A button to start generating logs. Values will be displayed when
valid. Logs are stored under HOME/.openBmap/Logs by default.

* A button to stop generating logs.

* A button to upload.
This pops a window up, which displays the current login/password.
Please modify it before pressing 'ok' button if needed. You can
cancel upload by pressing 'cancel'.

If you press 'ok', this will block the interface until every log
has been uploaded. This means that if you do not have Internet
connection up and running, the GUI will be frozen until timeout of
the upload part.

After successful upload, the logs are moved to
HOME/.openBmap/Processed_logs by default.

When upload is finished, the result is first displayed (how many logs
have been uploaded out of how many available).
Then a popup window will propose you to delete all (this includes
possible logs from previous upload) the processed logs (located in
HOME/.openBmap/Processed_logs by default).

Warning: you should create an account on realtimeblog.free.fr
website, and fill a correct login/password in the popup window
displayed before upload works.

* A button to exit (if logger is active, it will first stop it
cleanly, and then exit).

Config file and application log are located under HOME/.openBmap
directory by default.

You can modify values in the config files (by editing it). This
way you can have a fine grained control of your logger:
- c