Re: Increasing GPS accuracy with EGNOS

2009-10-05 Thread Al Johnson
On Monday 05 October 2009, Joseph Reeves wrote:
> >This is probably worth checking to see what is actually happening
> 
> when in Europe,
> 
> Someone tell me what command to run on what distro and I'll let you all
>  know...

If it was going to be that easy I'd have done it myself ;-) AFAIK there isn't 
a simple ubx utility that would allow us to send parameters to the GPS and 
watch for the returning messages, so adding a few lines to ogpsd is probably 
the easiest approach. For anyone who knows their way around ogpsd and ubx it 
should be quick and easy ;-) I'm not that person, so if I get round to it it 
may take a little longer...

> 2009/10/5 Al Johnson :
> > On Sunday 04 October 2009, Erik Lundin wrote:
> >> Good news, indeed. Does the Neo FreeRunner support EGNOS signals? Both
> >> the hardware and software?
> >
> > http://www.u-blox.com/en/download-center.html?task=view.download&cid=83
> >
> > According to this the Antaris 4 is capable of using WAAS, EGNOS and MSAS,
> > collectively known as SBAS, and the signal is received through the GPS
> > antenna. By default it is enabled, with one search channel, although this
> > can be configured through the ubx protocol. The status can also be shown
> > in ubx messages. This is probably worth checking to see what is actually
> > happening when in Europe, as when it was written EGNOS was in test mode,
> > and its use was disabled by default. It is unclear whether this was
> > because of a 'test mode' flag in the signal or hardcoding in the
> > firmware.
> >
> > ___
> > 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
> 


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


Re: WiFi-Tool (or GPRS-Tool modified)

2009-10-05 Thread Paul Fertser
Esteban Monge  writes:
> Hello I  readed this page:
> http://wiki.openmoko.org/wiki/FSO_Resources
>
> You suggest use the command
>
> fsoraw -r WiFi

For shell scripts, yes. For your own programs you can call
RequestResource and ReleaseResource directly.

HTH
-- 
Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software!
mailto:fercer...@gmail.com

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


Re: WiFi-Tool (or GPRS-Tool modified)

2009-10-05 Thread Esteban Monge
Hello I  readed this page:
http://wiki.openmoko.org/wiki/FSO_Resources

You suggest use the command

fsoraw -r WiFi

-- 
http://nuevaeracr.blogspot.com
Linux user number 478378
Linux machine number 386687
Tec. Esteban Monge Marín
Tel: (506) 8379-3562

“No habrá manera de desarrollarnos y salir de
la pobreza mientras los pocos negocios
grandes de nuestro medio se entreguen a las
economías foráneas y nosotros nos
quedemos con solo negocios de pobre,
mientras en vez de ser propietarios de nuestro
propio país nos convirtamos en un ejército de
empleados del exterior”
José Figueres Ferrer, 1952.
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Next Munich Openmoko "Stammtisch" in November/December 2009

2009-10-05 Thread Dr. H. Nikolaus Schaller
Hi all,
the next Openmoko "Stammtisch" (informal meeting) in Munich, Germany  
is being planned. As in past meetings you can meet users and geeks,  
talk about hardware and software, and even find long-time Zaurus  
owners...

Since we did have a visitor from Canada last time, everyone who is  
interested to come to Munich in November or December is welcome (we  
try to speak English if necessary). Please vote for the preferred  
evening (19:00) through doodle.

For details, please go to (German language):

http://freeyourphone.de/portal_v1/viewtopic.php?f=71&t=1583&p=15546

Nikolaus



Mobile Office Solutions
by Golden Delicious Computers GmbH&Co. KG
Buchenstr. 3
D-82041 Oberhaching
+49-89-54290367
http://www.handheld-linux.com

AG München, HRA 89571
VAT DE253626266
Komplementär:
Golden Delicious Computers Verwaltungs GmbH
Oberhaching, AG München, HRB 16602
Geschäftsführer: Dr. Nikolaus Schaller

Digital Tools for Independent People







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


WiFi-Tool (or GPRS-Tool modified)

2009-10-05 Thread Esteban Monge
Hello I modified a little script in (1) named GPRS Tool, again, I test some
times and work good!

This time I modified to Turn On Wifi o Turn Off Wifi, the script is:

#!/usr/bin/env python

import os, time, random, gtk, gobject

class wifi:
def delete_event(self, widget, event=None, data=None):
gtk.main_quit()
return False

def set_status(self, label):
status = os.system("ifconfig eth0")
if status == 0:
status = "WiFi Power On"
label.set_text(status)
label.modify_fg(gtk.STATE_NORMAL, gtk.gdk.color_parse("green"))

else:
status = "WiFi Power Off"
label.set_text(status)
label.modify_fg(gtk.STATE_NORMAL, gtk.gdk.color_parse("red"))

return True

def wifi_on(self, button):
os.system("mdbus -s org.freesmartphone.odeviced
/org/freesmartphone/Device/PowerControl/WiFi
org.freesmartphone.Resource.Enable")

def wifi_off(self, button):
os.system("mdbus -s org.freesmartphone.odeviced
/org/freesmartphone/Device/PowerControl/WiFi
org.freesmartphone.Resource.Disable")

def __init__(self):

# Iniciar la ventana principal
self.win = gtk.Window(gtk.WINDOW_TOPLEVEL)
self.win.connect("delete_event", self.delete_event)

# Anadir una VBox
self.vbox = gtk.VBox(homogeneous=False, spacing=1)
self.win.add(self.vbox)
self.vbox.show()

# Anadir el senalador de estatus
self.status_label = gtk.Label("Status")
self.vbox.pack_start(self.status_label)
self.status_label.show()
gobject.timeout_add (3000, self.set_status, self.status_label)

# Anadir una Vbox para las etiquetas de informacion
self.vbox1 = gtk.VBox(homogeneous=False, spacing=1)
self.vbox.pack_start(self.vbox1)
self.vbox1.show()

# Anadir una HBox para los botones
self.hbox0 = gtk.HBox(homogeneous=False, spacing=5)
self.vbox.pack_start(self.hbox0)
self.hbox0.show()

# Anadir el boton de encendido
self.wifi = gtk.Button("Turn On WiFi")
self.hbox0.pack_start(self.wifi)
self.wifi.connect("clicked", self.wifi_on)
self.wifi.show()

# Anadir el boton de apagado
self.wifioff = gtk.Button("Turn Off WiFi")
self.hbox0.pack_start(self.wifioff)
self.wifioff.connect("clicked", self.wifi_off)
self.wifioff.show()

# Anadir el boton de salida
self.button_exit = gtk.Button("Exit")
self.vbox.pack_start(self.button_exit)
self.button_exit.connect("clicked", self.delete_event)
self.button_exit.show()

self.win.show()

def main(self):
gtk.main()

if __name__ == '__main__':
gui = wifi()
gui.main()

I want make a pretty background and makes the GUI more pretty, but for this
moment works for me. I dont understand good Python or GTK =(

Thanks to:
Nikita V. Youshchenko
Paul Fertser
Sebastian Reichel

For the help and Support

(1) http://fyp-archiv.relei.de/

-- 
http://nuevaeracr.blogspot.com
Linux user number 478378
Linux machine number 386687
Tec. Esteban Monge Marín
Tel: (506) 8379-3562

“No habrá manera de desarrollarnos y salir de
la pobreza mientras los pocos negocios
grandes de nuestro medio se entreguen a las
economías foráneas y nosotros nos
quedemos con solo negocios de pobre,
mientras en vez de ser propietarios de nuestro
propio país nos convirtamos en un ejército de
empleados del exterior”
José Figueres Ferrer, 1952.
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Broken Freerunner.. CPU stall messages.. repairable?

2009-10-05 Thread Thomas Franck
Yorick Moko wrote:
> Have you tried flashin qi and using it to boot from SD?

just trying.. still jiffies, mean CPU stall..

Say, how do I know if Qi is booting off the SD card?

Cheers,
-- 
Thomas

-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~
Computer system analysis is like child-rearing; you can do grievous
damage, but you cannot ensure success.
  - Tom DeMarco
-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~



signature.asc
Description: OpenPGP digital signature
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Increasing GPS accuracy with EGNOS

2009-10-05 Thread Christian
Al Johnson schrieb:
> On Sunday 04 October 2009, Erik Lundin wrote:
>> Good news, indeed. Does the Neo FreeRunner support EGNOS signals? Both
>> the hardware and software?
> 
> http://www.u-blox.com/en/download-center.html?task=view.download&cid=83
> 
> According to this the Antaris 4 is capable of using WAAS, EGNOS and MSAS, 
> collectively known as SBAS, and the signal is received through the GPS 
> antenna. By default it is enabled, with one search channel, although this can 
> be configured through the ubx protocol. The status can also be shown in ubx 
> messages. This is probably worth checking to see what is actually happening 
> when in Europe, as when it was written EGNOS was in test mode, and its use 
> was 
> disabled by default. It is unclear whether this was because of a 'test mode' 
> flag in the signal or hardcoding in the firmware.

I found this in the source of ogpsd on my Freerunner:

def initializeDevice( self ):

# Use high sensitivity mode

#self.send("CFG-RXM", 2, {"gps_mode" : 2, "lp_mode" : 0})

# Enable use of SBAS (even in testmode)

self.send("CFG-SBAS", 8, {"mode" : 1, "usage" : 7, "maxsbas" : 3,
"scanmode" : 0})

So it seems that SBAS has always been enabled even in test mode. Does
anybody know where we can get information if sbas is really active and
used by the chip?

Christian

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


Re: No wireless in Debian Sid

2009-10-05 Thread Esteban Monge
Hello Again...

I found this command, I think is the correct way to enable the wireless:

mdbus -s org.freesmartphone.odeviced
/org/freesmartphone/Device/PowerControl/WiFi
org.freesmartphone.Resource.Enable

And to turn off:

mdbus -s org.freesmartphone.odeviced
/org/freesmartphone/Device/PowerControl/WiFi
org.freesmartphone.Resource.Disable

I going to make the little gui based in this commands...
-- 
http://nuevaeracr.blogspot.com
Linux user number 478378
Linux machine number 386687
Tec. Esteban Monge Marín
Tel: (506) 8379-3562

“No habrá manera de desarrollarnos y salir de
la pobreza mientras los pocos negocios
grandes de nuestro medio se entreguen a las
economías foráneas y nosotros nos
quedemos con solo negocios de pobre,
mientras en vez de ser propietarios de nuestro
propio país nos convirtamos en un ejército de
empleados del exterior”
José Figueres Ferrer, 1952.
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Internal pressure sensor

2009-10-05 Thread raul1
Stroller schrieb:
> On 4 Oct 2009, at 16:14, tom wrote:
>   
 On Wed, Sep 30, 2009 at 06:04:30PM -0400, tom wrote:
 
> actually i think they should already be built in...they are so
> cheap...
>   
   Depends on what you mean when you say cheap. I see it listed at  
 
>>> just
>>>   
 under USD 10 for one sensor or the price of a 1.3 mpix camera
 module. It's
 also not as small as you would like for something you throw in
 mostly for
 fun.
 
>>> Is the 1.3 mpix camera module also $10 for a single unit? That seems
>>> remarkably good value.
>>>
>>> One would expect a pressure sensor to be much cheaper on the 1000, of
>>> course.
>>>   
>> well, my thought was just: marketshare. more features out of the box  
>> 
>>> more customers > more competition.
>>>   
>> and i dont think 10$ make adifference, not yet talking about  
>> largeqty-volumes.  eg rfid: nokia announces it since years, but FR  
>> could be fo fast...im sorry, maybe im just to optimistic...
>> 
>
> 1) Please don't top-post in reply to a bottom-post. It makes the flow  
> of the conversation difficult to read.
>
> 2) Please don't post to the list in HTML. Plain-text is preferable.
>
>
>
> 3) The costs of production were discussed a LOT on this list in the  
> past, when the Openmoko team was still active. To be honest, even if  
> the component is only $1 then it may be too expensive, as many more  
> design and testing costs are added to the total production cost by the  
> addition of the component.
>
> Customers will be dissatisfied if it doesn't work as expected. A large  
> increase in market share is needed to make the addition worthwhile.  
> Therefore the addition of a camera may be worthwhile, whereas the  
> addition of a barometric sensor is not.
>
> However a camera requires retooling of the Freerunner's case, a  
> surprisingly cost-prohibitive change. I think the cost of creating a  
> new case for the Freerunner is considerably more than $10,000. I would  
> imagine that a camera requires other components to make it work and is  
> more complex from the design point of view. There have historically  
> been two major complaints about the Freerunner - lack of a camera and  
> of 3G. Either might enlarge its market share considerably, but both  
> were rejected on cost grounds.
>
> This barometer is self-contained and connected to the i2c bus, a  
> _relatively_ simple addition. If there is demand for the barometer -  
> although I'm inclined to agree with Rask that there wouldn't be - then  
> it might it be justified to add it were Brazil ever to go into  
> Freerunner production.
>
> A 1.3mp camera would produce complaints that it's a poor specification  
> compared to the iPhone. Hardly anyone would be grateful for the  
> addition of the barometric sensor.
>
> TBH, if the Freerunner were in reliable, long-term production, I might  
> be able to imagine a market for Freerunners amongst hang-glider  
> pilots. I think a person might be able to make a living adding  
> Christoph's sensor and selling Freerunners with varioaltimeter  
> software installed. The software would have to be closed-source,  
> however, to make a livelihood out of it and realistically it might  
> take a year to get the software to an acceptable quality for  
> commercial sales (and still longer to build-up market share). The  
> author might need to write anti-piracy measures into the code, and  
> what is to prevent a determined attacker from patching the kernel to  
> report a different IMEA number to the altimeter software?
>
> Stroller.
>
>
> ___
> Openmoko community mailing list
> community@lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
>   
I thought of adding this pressuresensor and using the freerunner as a
gps-varioaltimeter for flying some time ago, but I think the display
wont be readable in sunlight. And i would prefer hardwarebuttons while
flying.

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


Re: No wireless in Debian Sid

2009-10-05 Thread Esteban Monge
>
> FYI SetPower is an internal low-level method not supposed to be used
> in the apps directly. Please read FSO_Resources wikipage if you want
> to do it properly.
>
> Thanks, I take care about this...

-- 
http://nuevaeracr.blogspot.com
Linux user number 478378
Linux machine number 386687
Tec. Esteban Monge Marín
Tel: (506) 8379-3562

“No habrá manera de desarrollarnos y salir de
la pobreza mientras los pocos negocios
grandes de nuestro medio se entreguen a las
economías foráneas y nosotros nos
quedemos con solo negocios de pobre,
mientras en vez de ser propietarios de nuestro
propio país nos convirtamos en un ejército de
empleados del exterior”
José Figueres Ferrer, 1952.
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


[SHR] new package: theremin (alfa version warning)

2009-10-05 Thread Aapo Rantalainen
I packaged maemo-theremin[1] on freerunner SHR-U.
It is nice musical tool but unfortunately it is just little bit too
slowly to work smoothly.

Anybody has any ideas how to get it working little bit faster?


Package:
http://www.opkg.org/package_287.html

Info
http://wiki.openmoko.org/wiki/Theremin

-Aapo Rantalainen

[1] http://theremin.garage.maemo.org/

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


Re: Increasing GPS accuracy with EGNOS

2009-10-05 Thread Yorick Moko
On Mon, Oct 5, 2009 at 1:20 PM, Joseph Reeves  wrote:

> >This is probably worth checking to see what is actually happening
> when in Europe,
>
> Someone tell me what command to run on what distro and I'll let you all
> know...
>
>
> Same here,
always willing to do some testing!
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Increasing GPS accuracy with EGNOS

2009-10-05 Thread Joseph Reeves
>This is probably worth checking to see what is actually happening
when in Europe,

Someone tell me what command to run on what distro and I'll let you all know...



2009/10/5 Al Johnson :
> On Sunday 04 October 2009, Erik Lundin wrote:
>> Good news, indeed. Does the Neo FreeRunner support EGNOS signals? Both
>> the hardware and software?
>
> http://www.u-blox.com/en/download-center.html?task=view.download&cid=83
>
> According to this the Antaris 4 is capable of using WAAS, EGNOS and MSAS,
> collectively known as SBAS, and the signal is received through the GPS
> antenna. By default it is enabled, with one search channel, although this can
> be configured through the ubx protocol. The status can also be shown in ubx
> messages. This is probably worth checking to see what is actually happening
> when in Europe, as when it was written EGNOS was in test mode, and its use was
> disabled by default. It is unclear whether this was because of a 'test mode'
> flag in the signal or hardcoding in the firmware.
>
> ___
> 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: Increasing GPS accuracy with EGNOS

2009-10-05 Thread Al Johnson
On Sunday 04 October 2009, Erik Lundin wrote:
> Good news, indeed. Does the Neo FreeRunner support EGNOS signals? Both
> the hardware and software?

http://www.u-blox.com/en/download-center.html?task=view.download&cid=83

According to this the Antaris 4 is capable of using WAAS, EGNOS and MSAS, 
collectively known as SBAS, and the signal is received through the GPS 
antenna. By default it is enabled, with one search channel, although this can 
be configured through the ubx protocol. The status can also be shown in ubx 
messages. This is probably worth checking to see what is actually happening 
when in Europe, as when it was written EGNOS was in test mode, and its use was 
disabled by default. It is unclear whether this was because of a 'test mode' 
flag in the signal or hardcoding in the firmware.

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


Re: Broken Freerunner.. CPU stall messages.. repairable?

2009-10-05 Thread Yorick Moko
On Fri, Oct 2, 2009 at 10:38 PM, Thomas Franck wrote:

> Maksim 'max_posedon' Melnikau wrote:
> > Try NOR uBoot (at least I use that),
> > also, you shouldn't by new FR, just boot from SD is always a solution.
>
> Doesn't work for me..
> I prepared the 512MB card to boot (following the wiki) and booted SDcard
> via NOR.. same game.. CPU stall messages.. :(
>
> think new FR is going to be the only way to get my happy life back..
> (really got to love that little misfit)
>
> Unless there are any more ideas? where does the message CPU stall come
> from for what reason??
>
> Cheers..
> --
> Thomas


Have you tried flashin qi and using it to boot from SD?
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Increasing GPS accuracy with EGNOS

2009-10-05 Thread Yorick Moko
The text says that you do not need any special hardware,
software only can do the trick

(might require firmware, don't know...)

On Mon, Oct 5, 2009 at 8:38 AM, Christ van Willegen wrote:

> On Mon, Oct 5, 2009 at 12:39 AM, Erik Lundin  wrote:
> > Good news, indeed. Does the Neo FreeRunner support EGNOS signals? Both
> > the hardware and software?
>
> We do know this:
> http://goandtrack.com/u-blox-to-unveil-new-galileo-ready-gps-chip.html
>
> Christ van Willegen
> --
> 09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0
>
> ___
> 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: [Qi - SHR-U/All?] Pink line of death

2009-10-05 Thread Andreas Fischer
Hi,

I've also seen this bug and I've also tracked it down to OMNewRotate. My
solution so far was to always disable rotation before going into
suspend. Not doing so seems to give a chance of (almost?) 100% failure.
Note, that I keep the freerunner strapped in a horizontal position to my
belt - so during suspend it will almost certainly be rotated, unless
rotate has been switched off.

Interestingly there seems to be a step before the pink line is shown:
Sometimes when I boot and do not enter the PIN immediately (but still
before suspend), the screen is partly garbled (lower 33% of the screen
in portrait mode). After suspend, the pink line shows up.

Listening to the feeling in my gut, I'd say glamo b0rks screen setup
when in a rotated position.

Hope this helps to narrow it down. Meanwhile - is there a way to disable
OMNewRotate on boot and suspend (i.e. to only enable it manually)?

Regards,
Andreas

Christ van Willegen wrote:
> Hello,
> 
> Has anyone seen the 'pink line of death' at any time?
> 
> My FR sometimes does not suspend, but instead shows a black screen
> with a pink/purple line at about 33% from the bottom of the screen.
> The backlight is fully on. Also, the screen is whining.
> 
> I haven't been able to reproduce it with a known procedure, but it may
> have to do with rotating the phone during suspend.
> 
> I also haven't had it in this state on such times that it was possible
> to SSH into it to see if it was still alive or not.
> 
> Shall I file a bug report with this meager information?
> 
> Christ van Willegen
> 
> ___
> 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: Internal pressure sensor

2009-10-05 Thread Xavier Bestel
On Sun, 2009-10-04 at 15:02 +0200, Rask Ingemann Lambertsen wrote:
> On Wed, Sep 30, 2009 at 06:04:30PM -0400, tom wrote:
> > actually i think they should already be built in...they are so cheap...
> 
>Depends on what you mean when you say cheap. I see it listed at just
> under USD 10 for one sensor or the price of a 1.3 mpix camera module. It's
> also not as small as you would like for something you throw in mostly for
> fun.

Add an electronic compass and you have the equivalent of a high-end GPS
used in all kind of outdoor sports.

Xav




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


Re: Broken Freerunner.. CPU stall messages.. repairable?

2009-10-05 Thread Jose Luis Perez Diez
El Friday, 2 de October de 2009 22:41:24 Thomas Franck va escriure:
>  If those lines are repeating then the kernel has not panicked and is
> runing
>
> > with a mounted rootfs.
> >
> > You can try to ssh to the phone or see if it is recognized as an
> > cdc-ethernet on the pc ( if you are using shr or om2009 that means the
> > module g-eher is installed and the rootfs is mounted )
>
> I tried to run my neonet script to set up USB networking.. no joy.. the
> interface is not there.. ("running" SHR, btw)

I thin you need the debug board then to have an idea of what is the cpu doing

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