Re: [2008.12] GPS from python

2009-01-13 Thread Nicolas Laurance
you might want to read the thread

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


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


GPS wrong longitude

2009-01-08 Thread Nicolas Laurance
hi all,

I've tried several distrib (FSO, SHR) and I have an issue with the GPS

maybe more specifically TangoGPS, don't know

the symptom is :

After the fix, Tango shows me on the correct position on the map
but in the Trip tab the latitude data is completely wrong, more than 1 
degree west


Does anyone have the same issue ?
any idea on how to fix ?

many thanks,

and, oh, happy new year

Nicolas

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


Re: GPS wrong longitude

2009-01-08 Thread Nicolas Laurance



sorry if i'm being missing the point and being pedantic, but i'm sure
latitude measures angle north/south of the equator.



you're right, a typo from me, mea culpa

the latitude N/S is correct
the longitude is biased W by ± 1°, correct that's more than 100 km

I confirm the position on the map (OSM or google) is OK

only the display in the track tab is completely wrong

screenshot1 shows the map, the position is ok
screenshot2 shows the track tab, the longitude is bad

it should be something close to W 002° 22.764

http://maps.google.fr/?ie=UTF8ll=47.808673,-2.379398spn=0.067214,0.147972z=13

NL
inline: Screenshot-2.jpg___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: GPS wrong longitude

2009-01-08 Thread Nicolas Laurance

screenshot1
sorry
inline: Screenshot-1.jpg___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: GPS wrong longitude

2009-01-08 Thread Nicolas Laurance

 it looks like you've previously got a fix, then turned off the gps and
 restarted it. gpsd will often report phantom locations (usually the
 last place you were at before turning off) in this situation - even,
 as in this case, a decent hdop value (2.6)
 
 you need to make sure gps is on and wait until it gets a fix

This situation is permanent, I never get good data on this screen.
Even after a hard reboot and waiting for 25 + minutes in open sky ( no 
building, no tree, no cloud)

The position on the map is correct and stays ok even if I move.

I guess, it looks like a bug in Tango



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


Re: geocaching with tangoGPS on FR

2008-12-13 Thread Nicolas Laurance
Matt Brown a ecrit:

 Anyway, I've attached a patch to make your script work with Python 2.5
 (element tree moved within the standard library so needs to be
 imported differently).
 
 Thanks
 

Thanks to you,

this improved version is uploaded now

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


help building ipk packages

2008-09-26 Thread Nicolas Laurance
hi community gurus,

I've done my homework, at least I tried to, reading through the wiki and 
elsewhere

http://lists.openmoko.org/nabble.html#nabble-td1084542
http://wiki.openmoko.org/wiki/BitBake_recipe
http://wiki.openmoko.org/wiki/MokoMakefile
http://faassen.n--tree.net/blog/view/weblog/2007/09/26/0
http://wiki.openmoko.org/wiki/Customizing_the_Openmoko_Distribution#Adding_Python_scripts_as_applications
http://handhelds.org/~pb/bitbake.pdf


still building a simple package remains a mystery to me

following the instructions of the wiki, regarding the setup of openembed
the monotone command always fail (at least 6 retries)::

$ mtn --db=OE.mtn pull monotone.openembedded.org org.openembedded.dev
mtn: doing anonymous pull; use -kKEYNAME if you need authentication
mtn: connecting to monotone.openembedded.org
mtn: finding items to synchronize:
mtn: certificates | keys | revisions
mtn:   76,060 |   76 |25,058
mtn:  bytes in | bytes out | certs in | revs in
mtn: 1.4 M | 1.3 M |0 |   0
mtn:  bytes in | bytes out |certs in | revs in
mtn: 3.1 M | 1.4 M | 1,797/4,018 | 441/991
mtn: error: I/O failure while talking to peer monotone.openembedded.org, 
disconnecting

Time spent in user mode   (CPU seconds) : 3270.584s
Time spent in kernel mode (CPU seconds) : 49.617s
Total time  : 4:22:48.15s



However, MY QUESTION IS :

how can I build an ipk package out of a project source file ??

please, can someone, give a simple example, choosing a running program 
of some kind, of the steps to follow
the bb recipe and the procedure to produce a small ipk

All I've found is scarecely documented, and is concerning a global image 
for the moko.

many, many thanks

NiL

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


Re: Audio Jack Sampling Rate?

2008-09-21 Thread Nicolas Laurance
why not try this technique through the bluetooth ?

http://www.youtube.com/watch?v=QgKCrGvShZs

that is, using a wiimote

regards

NiL

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


Re: help compiling gnu chess game, project with subfolders

2008-09-21 Thread Nicolas Laurance
see

http://www.zindep.com/blog-zindep/openmoko-chess/

for info and download

direct access for the package

http://www.zindep.com/blog-zindep/openmoko-chess/gnuchess_0.1_armv4t.ipk/view


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


help compiling gnu chess game, project with subfolders

2008-09-19 Thread Nicolas LAURANCE

Hi all,

I'm having my first try at compiling programs for the FR.
I've a python background mostly, and I'm not familiar at compiling stuff 
beyond the configure make make install routine.


I've been following instructions at http://wiki.openmoko.org/wiki/Toolchain

and managed to get gnuchess running on the FR. If anyone wants the ipk 
file, just let me know. It plays its turns in a few seconds, so largely 
playable.


but it only plays on the command line

so I tried another project, xboard (http://www.tim-mann.org/xboard.html)
in this project files are organized somewhat differently, moreover there 
are subdirs like pixmaps, bitmaps, and sounds.


my question is, how can I compile such a project ?

I think this is a generic question, and I'm willing to complete the wiki 
once I find a solution.


NiL
begin:vcard
fn:Nicolas LAURANCE
n:LAURANCE;Nicolas
org:Zindep
adr;quoted-printable:;;25, rue de l'ancienne Mairie;Bourgbarr=C3=A9;;35230;France
email;internet:[EMAIL PROTECTED]
title:Consultant
tel;work:02 99 57 03 09
tel;fax:02 99 57 03 69
tel;cell:06 09 86 59 96
url:http://www.zindep.com
version:2.1
end:vcard

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


info request about u-boot_env

2008-09-09 Thread Nicolas LAURANCE

Hi all,

I managed to acces my SD Card (SanDisk SDSDQ-8192-E11M) using a slow 
500 clock.


My uboot version is 1.3.2-moko12
downloaded 9/6/2008 [1]_

.. [1] 
http://downloads.openmoko.org/releases/Om2008.8-update/gta02v5_and_up-u-boot.bin


but here is more question about u-boot_env

Of course during my pilgrimage I borked completely my environment and 
had to use devirginator
I connected to the uboot boot prompt via putty and copied/pasted what I 
wanted.
I witnessed some strange chars on screen, I think my bork came for that 
reason


Question 1
---
I see that devirginator can generate a new boot config
and then it's just a matter of loading it with dfu-utils
Does anyone have spec of the file?
I'd rather have a small python script that can generate a conf from a 
text or xml file than edit with setenv
I understood (maybe wrongly ?) that it's a binary file that  requires to 
be of a certain size, include a CRC32 checksum 

Couldn't find more info on this list or the wiki

Question 2
---
When I had errors, the screens almost flashes on the error. I hadn't 
enough time to read it.

Is there a way to slow this ?

best regards
NiL
begin:vcard
fn:Nicolas LAURANCE
n:LAURANCE;Nicolas
org:Zindep
adr;quoted-printable:;;25, rue de l'ancienne Mairie;Bourgbarr=C3=A9;;35230;France
email;internet:[EMAIL PROTECTED]
title:Consultant
tel;work:02 99 57 03 09
tel;fax:02 99 57 03 69
tel;cell:06 09 86 59 96
url:http://www.zindep.com
version:2.1
end:vcard

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


problem accessing SD Card SanDisk SDSDQ-8192-E11M

2008-09-08 Thread Nicolas LAURANCE

Hi all,


I have problems accessing my 8Go SD Card

following different advices found in the wiki and the mailing list, I 
managed to change env in uboot


after boot :

[EMAIL PROTECTED]:~# cat /proc/cmdline
glamo_mci.sd_max_clk=1000 rootfstype=jffs2 root=/dev/mtdblock6 
console=ttySAC2,115200 console=tty0 loglevel=8 regular_boot 
mtdparts=physmap-flash:-(nor);neo1973-nand:0x0004(u-boot),0x0004(u-boot_env),0x0080(kernel),0x000a(splash),0x0004(factory),0x0f6a(rootfs) 



but still :
[EMAIL PROTECTED]:~# fdisk /dev/mmcblk0
fdisk: cannot read from /dev/mmcblk0


this is quite erratic, as if I insist, that is if I enter the fdisk 
command several times, it eventually find the card and format it. I can 
then mount the partitions.


[EMAIL PROTECTED]:~# fdisk /dev/mmcblk0
fdisk: cannot read from /dev/mmcblk0
[EMAIL PROTECTED]:~# fdisk /dev/mmcblk0
fdisk: cannot read from /dev/mmcblk0
[EMAIL PROTECTED]:~# fdisk /dev/mmcblk0
fdisk: cannot read from /dev/mmcblk0
[EMAIL PROTECTED]:~# fdisk /dev/mmcblk0
fdisk: cannot read from /dev/mmcblk0
[EMAIL PROTECTED]:~# fdisk /dev/mmcblk0

The number of cylinders for this disk is set to 242560.


But after next boot, I drop into the same situation, can't find the card.

Any parameters suggestion ?

many thanks in advance
NiL
begin:vcard
fn:Nicolas LAURANCE
n:LAURANCE;Nicolas
org:Zindep
adr;quoted-printable:;;25, rue de l'ancienne Mairie;Bourgbarr=C3=A9;;35230;France
email;internet:[EMAIL PROTECTED]
title:Consultant
tel;work:02 99 57 03 09
tel;fax:02 99 57 03 69
tel;cell:06 09 86 59 96
url:http://www.zindep.com
version:2.1
end:vcard

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


Re: problem with SD Card

2008-09-05 Thread Nicolas LAURANCE

[EMAIL PROTECTED]:/sys/module/glamo_mci/parameters# cat sd_drive
0
[EMAIL PROTECTED]:/sys/module/glamo_mci/parameters# cat sd_idleclk
0
[EMAIL PROTECTED]:/sys/module/glamo_mci/parameters# cat sd_max_clk
1666
[EMAIL PROTECTED]:/sys/module/glamo_mci/parameters# cat sd_slow_ratio
8

haven't had much success yet
I installed the before/after idle scripts

any pointers to a procedure or something ?
any help greatly appreciated
NiL


begin:vcard
fn:Nicolas LAURANCE
n:LAURANCE;Nicolas
org:Zindep
adr;quoted-printable:;;25, rue de l'ancienne Mairie;Bourgbarr=C3=A9;;35230;France
email;internet:[EMAIL PROTECTED]
title:Consultant
tel;work:02 99 57 03 09
tel;fax:02 99 57 03 69
tel;cell:06 09 86 59 96
url:http://www.zindep.com
version:2.1
end:vcard

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