Re: [QtMoko] How to install tangoGPS?

2010-04-16 Thread Radek Polak
On Thursday 15 April 2010 20:24:17 Margo wrote: > And if I want to use tangogps I click "Turn on GPS" in Devtools menu. > The /opt/qtmoko/bin/gps-poweron.sh script is not executed > automatically when I run tangogps. Should it be? No in QX the script is not used - it directly opens the file an w

Re: [QtMoko] How to install tangoGPS?

2010-04-15 Thread Margo
On 15 April 2010 07:24, Risto H. Kurppa wrote: > Margo, could you document the whole process, what did you install, > what did you changed to make tangogps run&see gps, in > http://qtmoko.org/wiki/Manual for others to find, too? > > Thanks! > > r > Right now I've done this: # apt-get install libe

Re: [QtMoko] How to install tangoGPS?

2010-04-14 Thread Risto H. Kurppa
On Wed, Apr 14, 2010 at 11:45 PM, Margo wrote: > On 14 April 2010 23:21, Timo Juhani Lindfors wrote: >> How about >> >> echo 0 > /sys/devices/platform/gta02-pm-gps.0/power_on >> echo 1 > /sys/devices/platform/gta02-pm-gps.0/power_on >> cat /sys/devices/platform/gta02-pm-gps.0/power_on >> >> which

Re: [QtMoko] How to install tangoGPS?

2010-04-14 Thread Margo
On 14 April 2010 23:21, Timo Juhani Lindfors wrote: > How about > > echo 0 > /sys/devices/platform/gta02-pm-gps.0/power_on > echo 1 > /sys/devices/platform/gta02-pm-gps.0/power_on > cat /sys/devices/platform/gta02-pm-gps.0/power_on > > which is what omhacks does iirc? > > -Timo > Yes, this way it

Re: [QtMoko] How to install tangoGPS?

2010-04-14 Thread Timo Juhani Lindfors
Margo writes: > The path in /opt/qtmoko/bin/gps-poweron.sh is > /sys/devices/platform/gta02-pm-gps.0/power_on > > This file does exist and is 0. If I manually "echo 1" it, and then cat > it, it is still 0. Something automatically changes it back to 0. How about echo 0 > /sys/devices/platform/gt

Re: [QtMoko] How to install tangoGPS?

2010-04-14 Thread Margo
On 14 April 2010 10:53, Margo wrote: > cat /dev/ttySAC1 show nothing. Yes, it seems gps is not powered up if > I start tangoGPS. If I do "echo 1 > > /sys/devices/platform/s3c2440-i2c/i2c-0/0-0073/pcf50633-regltr.7/regulator/regulator.7/gta02-pm-gps.0-RF_3V/power_on" > then  "cat /dev/ttySAC1" show

Re: [QtMoko] How to install tangoGPS?

2010-04-14 Thread Radek Polak
On Wednesday 14 April 2010 11:03:23 Timo Juhani Lindfors wrote: > Would qtmoko be interested in using omhacks for this? It is already in > debian squeeze and allows you to just do Yes that could be good solution. QtMoko still uses debian stable but i guess it's not that big problem. Btw is there

Re: [QtMoko] How to install tangoGPS?

2010-04-14 Thread Timo Juhani Lindfors
Radek Polak writes: > The sysfs paths sometimes change with kernel versions. There are two scripts > in qtmoko which should have the correct paths: > > /opt/qtmoko/bin/gps-poweron.sh > /opt/qtmoko/bin/gps-poweroff.sh Would qtmoko be interested in using omhacks for this? It is already in debian

Re: [QtMoko] How to install tangoGPS?

2010-04-14 Thread Radek Polak
On Wednesday 14 April 2010 09:53:51 Margo wrote: > But why it doesn't power up automatically? > http://wiki.openmoko.org/wiki/TangoGPS says "echo 1 > > >/sys/devices/platform/s3c2440-i2c/i2c-adapter/i2c-0/0-0073/neo1973-pm-gps. > >0/pwron" > > should power up the gps, but for me it is > /sys/dev

Re: [QtMoko] How to install tangoGPS?

2010-04-14 Thread Margo
On 14 April 2010 01:12, Marcus Bauer wrote: > Does a simple: >  cat /dev/ttySAC1 > show NMEA output? > > If no, is your gps powered up? > > If yes, what are the contents of /etc/default/gpsd ? > cat /dev/ttySAC1 show nothing. Yes, it seems gps is not powered up if I start tangoGPS. If I do "echo

Re: [QtMoko] How to install tangoGPS?

2010-04-13 Thread Marcus Bauer
On Wed, 14 Apr 2010 00:54:57 +0300 Margo wrote: > > > > Can you telnet or nc to localhost port 2947, i.e. either: > > > >  telnet localhost 2947 > > or > >  nc localhost 2947 > > > > and if this succeeds, type 'r' followed by enter. You should see > > somthing like this: > > > > ~$ telnet localho

Re: [QtMoko] How to install tangoGPS?

2010-04-13 Thread Margo
> > Can you telnet or nc to localhost port 2947, i.e. either: > >  telnet localhost 2947 > or >  nc localhost 2947 > > and if this succeeds, type 'r' followed by enter. You should see > somthing like this: > > ~$ telnet localhost 2947 > Trying ::1... > Trying 127.0.0.1... > Connected to localhost.

Re: [QtMoko] How to install tangoGPS?

2010-04-13 Thread Marcus Bauer
On Wed, 14 Apr 2010 00:27:54 +0300 Margo wrote: > > > > Hi Margo, > > > > which version is your gpsd? (gpsd -V) From 2.92 onward the API > > changed and the next version of tangoGPS will handle this. In > > general you can simply downgrade gpsd to <= 2.90 without loosing > > anything. > > > > Mar

Re: [QtMoko] How to install tangoGPS?

2010-04-13 Thread Margo
> > Hi Margo, > > which version is your gpsd? (gpsd -V) From 2.92 onward the API changed > and the next version of tangoGPS will handle this. In general you can > simply downgrade gpsd to <= 2.90 without loosing anything. > > Marcus > > It's 2.37 ___ Op

Re: [QtMoko] How to install tangoGPS?

2010-04-13 Thread Marcus Bauer
On Tue, 13 Apr 2010 23:20:22 +0300 Margo wrote: > Hi, > > How should I install tangoGPS on qtmoko? I did: > > # apt-get install libexif12 libcurl3-gnutls libgconf2-4 gpsd > # sed -i 's/DEVICES=""/DEVICES="\/dev\/ttySAC1"/' /etc/default/gpsd > # sed -i > 's/START_DAEMON="false"/START_DAEMON="tru

[QtMoko] How to install tangoGPS?

2010-04-13 Thread Margo
Hi, How should I install tangoGPS on qtmoko? I did: # apt-get install libexif12 libcurl3-gnutls libgconf2-4 gpsd # sed -i 's/DEVICES=""/DEVICES="\/dev\/ttySAC1"/' /etc/default/gpsd # sed -i 's/START_DAEMON="false"/START_DAEMON="true"/' /etc/default/gpsd # wget http://www.tangogps.org/downloads/ta