[PATCH] Gypsy fix for GTA01 and Gypsy support for Navit

Tim Niemeyer tim.niemeyer at mastersword.de
Sun Jul 6 12:31:23 CEST 2008


Hello,

here is a third patch, wich brings a config file to gypsy. Shure, this
is not the best code, but i wanted to share.

With all three patches aplied, i can simply run NavIT and it communicates
with gypsy, wich then starts gllin and brings the position data to
NavIT.

The config file (/etc/gypsy.conf) looks like this:
# Define, wich device Gypsy should ever use!
/etc/gypsy.conf:
[gypsy]
        device_name = /tmp/nmeaNP

# What should Gypsy start before/after creating the Object PATH
[create]
	start_before = /home/root/gllin/1.sh
	start_after  =

# What should Gypsy start before/after
# connecting to device
[device]
	start_before = /home/root/gllin/2.sh
	start_after  = /home/root/gllin/3.sh



/home/root/gllin/1.sh:
#!/bin/sh
mknod /tmp/nmeaNP p

/home/root/gllin/2.sh
#!/bin/sh
/home/root/gllin/lib/ld-linux.so.2 --library-path /home/root/gllin/lib:/home/root/gllin/usr/lib /home/root/gllin/gllin.real -low 5

/home/root/gllin/3.sh
#!/bin/sh
/home/root/gllin/lib/ld-linux.so.2 --library-path /home/root/gllin/lib:/home/root/gllin/usr/lib /home/root/gllin/gllin.real -periodic 1 -nmea

Tim Niemeyer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-This-patch-add-support-for-an-overriding-config-file.patch
Type: text/x-diff
Size: 10001 bytes
Desc: not available
Url : http://lists.openmoko.org/pipermail/openmoko-devel/attachments/20080706/ee953193/attachment.patch 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.openmoko.org/pipermail/openmoko-devel/attachments/20080706/ee953193/attachment.pgp 


More information about the openmoko-devel mailing list