Re: [debian] gps still no solution

2008-12-03 Thread Timo Juhani Lindfors
Davide Scaini [EMAIL PROTECTED] writes:
 now: ogpsd comes with fso? ogpsd it's not packaged on debian (if it's

It is part of fso-frameworkd package. It is not a separate binary or process.

 I'm sure that someone uf you uses debian with gps... how in the hell??? ;-)
 with old fso???

I use

 
sys_pm_gps=/sys/devices/platform/s3c2440-i2c/i2c-adapter/i2c-0/0-0073/neo1973-pm-gps.0
 if [ ! -d $sys_pm_gps ]; then
 sys_pm_gps=/sys/class/i2c-adapter/i2c-0/0-0073/neo1973-pm-gps.0
 fi
 echo 1 | sudo tee $sys_pm_gps/pwron

to turn GPS on and

 gpsd -F gpsd.sock -N -n -D 1 /dev/ttySAC1

to talk to it. I can then run e.g.

 echo rw | netcat localhost gpsd  gps.dump

to capture all GPS data.

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


Re: [debian] gps still no solution

2008-12-03 Thread Joachim Breitner
Hi,

Am Mittwoch, den 03.12.2008, 15:20 +0100 schrieb Davide Scaini:
 ...after installing new fso some weeks ago my gps stopped working...
 I installed all requested packages, fso-config-gta02, but no gps
 working (like previous versions...).
 I tried to downgrade but i have no idea what/where i have to download.
 I searched on wiki... checked all the possibilities and the frameworkd
 conf file...
 now: ogpsd comes with fso? ogpsd it's not packaged on debian (if it's
 something to be packaged)... with debian comes only gpsd but seems
 that fso dislikes it, and the config file mentions only ogpsd...
 
 I'm sure that someone uf you uses debian with gps... how in the
 hell??? ;-)
 with old fso??? 
 if i type
 cat /dev/ttySAC1 i have no output while when my gps worked i got lots
 of output...

it works here. Are you testing it with zhone?

Greetings,
Joachim

-- 
Joachim nomeata Breitner
Debian Developer
  [EMAIL PROTECTED] | ICQ# 74513189 | GPG-Keyid: 4743206C
  JID: [EMAIL PROTECTED] | http://people.debian.org/~nomeata


signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [debian] gps still no solution

2008-12-03 Thread joakim
Joachim Breitner [EMAIL PROTECTED] writes:

 Hi,

 Am Mittwoch, den 03.12.2008, 15:20 +0100 schrieb Davide Scaini:
 ...after installing new fso some weeks ago my gps stopped working...
 I installed all requested packages, fso-config-gta02, but no gps
 working (like previous versions...).
 I tried to downgrade but i have no idea what/where i have to download.
 I searched on wiki... checked all the possibilities and the frameworkd
 conf file...
 now: ogpsd comes with fso? ogpsd it's not packaged on debian (if it's
 something to be packaged)... with debian comes only gpsd but seems
 that fso dislikes it, and the config file mentions only ogpsd...
 
 I'm sure that someone uf you uses debian with gps... how in the
 hell??? ;-)
 with old fso??? 
 if i type
 cat /dev/ttySAC1 i have no output while when my gps worked i got lots
 of output...

 it works here. Are you testing it with zhone?

I'm having the same experience.
fso-gpsd used to work fine and now all of a sudden after upgrades it has
refused to work for a while.


 Greetings,
 Joachim
-- 
Joakim Verona


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


Re: [debian] gps still no solution

2008-12-03 Thread arne anka
does your issue match
 http://trac.freesmartphone.org/ticket/265
?

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


Re: [debian] gps still no solution

2008-12-03 Thread Sascha Wessel
Hi,

On Wed, Dec 03, 2008 at 04:00:00PM +0100, [EMAIL PROTECTED] wrote:
 Joachim Breitner [EMAIL PROTECTED] writes:
 
  Hi,
 
  Am Mittwoch, den 03.12.2008, 15:20 +0100 schrieb Davide Scaini:
  ...after installing new fso some weeks ago my gps stopped working...
  I installed all requested packages, fso-config-gta02, but no gps
  working (like previous versions...).
  I tried to downgrade but i have no idea what/where i have to download.
  I searched on wiki... checked all the possibilities and the frameworkd
  conf file...
  now: ogpsd comes with fso? ogpsd it's not packaged on debian (if it's
  something to be packaged)... with debian comes only gpsd but seems
  that fso dislikes it, and the config file mentions only ogpsd...
  
  I'm sure that someone uf you uses debian with gps... how in the
  hell??? ;-)
  with old fso??? 
  if i type
  cat /dev/ttySAC1 i have no output while when my gps worked i got lots
  of output...
 
  it works here. Are you testing it with zhone?
 
 I'm having the same experience.
 fso-gpsd used to work fine and now all of a sudden after upgrades it has
 refused to work for a while.

Hmm, I just reinstalled frameworkd and it works without problems.
Can you try the same?

1. backup
2. remove everything fso related
   $ dpkg -P fso-config-gta02 fso-frameworkd fso-frameworkd-wireless-glue 
fso-gpsd fso-sounds-openmoko-nonfree nodm gpsd
3. I got some warnings about non empty directories and removed them manually
4. install
   $ apt-get update
   $ apt-get install fso-frameworkd fso-frameworkd-wireless-glue 
fso-sounds-openmoko-nonfree fso-config-gta02
5. disbable frameworkd
   $ mv /etc/init.d/fso-frameworkd /etc/init.d/fso-frameworkd.backup
6. reboot
7. ssh and start screen with 3 windows (in this order):
   $ frameworkd # and wait some seconds
   $ /usr/share/doc/fso-frameworkd/examples/ogpsd_resource.py
   $ /usr/share/doc/fso-frameworkd/examples/ogpsd_signals.py
8. go outside for at least 10 minutes
9. check screen window 3

optional: strace the pid/fd (get them with `lsof | grep ttySAC1`)


Greetings,
Sascha


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


Re: [debian] gps still no solution

2008-12-03 Thread arne anka
$ dpkg -P fso-config-gta02 fso-frameworkd  
 fso-frameworkd-wireless-glue fso-gpsd fso-sounds-openmoko-nonfree nodm  
 gpsd

this comes down to what i suspected already: some conflicting  
configuration settings.
the far more interesting part would be, to narrow down the config files  
involved.

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


Re: [debian] gps still no solution

2008-12-03 Thread Davide Scaini
thanks i'll try this solutions this evening hopefully or next week (i'm
going abroad for some days).
thanks
d

On Wed, Dec 3, 2008 at 5:14 PM, arne anka [EMAIL PROTECTED] wrote:

 $ dpkg -P fso-config-gta02 fso-frameworkd
  fso-frameworkd-wireless-glue fso-gpsd fso-sounds-openmoko-nonfree nodm
  gpsd

 this comes down to what i suspected already: some conflicting
 configuration settings.
 the far more interesting part would be, to narrow down the config files
 involved.

 ___
 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: [debian] gps still no solution

2008-12-03 Thread Davide Scaini
hi sasha,
i followed your recipe (without removing nodm, i'm frightened about playing
with this...), but
/usr/share/doc/fso-frameworkd/examples/ogpsd_resource.py
and i get
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown:
The name org.freesmartphone.ousaged was not provided by any .service files

so it breaks...
right now i have no tools to test your recipe till the end...
now i'll try if it works out of the box with its /etc/init.d/frameworkd then
i'll give up... (..for a while)
d


On Wed, Dec 3, 2008 at 5:05 PM, Sascha Wessel [EMAIL PROTECTED] wrote:

 Hi,

 On Wed, Dec 03, 2008 at 04:00:00PM +0100, [EMAIL PROTECTED] wrote:
  Joachim Breitner [EMAIL PROTECTED] writes:
 
   Hi,
  
   Am Mittwoch, den 03.12.2008, 15:20 +0100 schrieb Davide Scaini:
   ...after installing new fso some weeks ago my gps stopped working...
   I installed all requested packages, fso-config-gta02, but no gps
   working (like previous versions...).
   I tried to downgrade but i have no idea what/where i have to download.
   I searched on wiki... checked all the possibilities and the frameworkd
   conf file...
   now: ogpsd comes with fso? ogpsd it's not packaged on debian (if it's
   something to be packaged)... with debian comes only gpsd but seems
   that fso dislikes it, and the config file mentions only ogpsd...
  
   I'm sure that someone uf you uses debian with gps... how in the
   hell??? ;-)
   with old fso???
   if i type
   cat /dev/ttySAC1 i have no output while when my gps worked i got lots
   of output...
  
   it works here. Are you testing it with zhone?
 
  I'm having the same experience.
  fso-gpsd used to work fine and now all of a sudden after upgrades it has
  refused to work for a while.

 Hmm, I just reinstalled frameworkd and it works without problems.
 Can you try the same?

 1. backup
 2. remove everything fso related
   $ dpkg -P fso-config-gta02 fso-frameworkd fso-frameworkd-wireless-glue
 fso-gpsd fso-sounds-openmoko-nonfree nodm gpsd
 3. I got some warnings about non empty directories and removed them
 manually
 4. install
   $ apt-get update
   $ apt-get install fso-frameworkd fso-frameworkd-wireless-glue
 fso-sounds-openmoko-nonfree fso-config-gta02
 5. disbable frameworkd
   $ mv /etc/init.d/fso-frameworkd /etc/init.d/fso-frameworkd.backup
 6. reboot
 7. ssh and start screen with 3 windows (in this order):
   $ frameworkd # and wait some seconds
   $ /usr/share/doc/fso-frameworkd/examples/ogpsd_resource.py
   $ /usr/share/doc/fso-frameworkd/examples/ogpsd_signals.py
 8. go outside for at least 10 minutes
 9. check screen window 3

 optional: strace the pid/fd (get them with `lsof | grep ttySAC1`)


 Greetings,
 Sascha


 ___
 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: [debian] gps still no solution

2008-12-03 Thread Davide Scaini
sorry but... as far as i know gpsd is not something to use with fso now...
because fso uses ogpsd (that is embedded in fso)...
or am i totally wrong?
d

On Wed, Dec 3, 2008 at 3:42 PM, Timo Juhani Lindfors
[EMAIL PROTECTED]wrote:

 Davide Scaini [EMAIL PROTECTED] writes:
  now: ogpsd comes with fso? ogpsd it's not packaged on debian (if it's

 It is part of fso-frameworkd package. It is not a separate binary or
 process.

  I'm sure that someone uf you uses debian with gps... how in the hell???
 ;-)
  with old fso???

 I use


  
 sys_pm_gps=/sys/devices/platform/s3c2440-i2c/i2c-adapter/i2c-0/0-0073/neo1973-pm-gps.0
  if [ ! -d $sys_pm_gps ]; then
 sys_pm_gps=/sys/class/i2c-adapter/i2c-0/0-0073/neo1973-pm-gps.0
  fi
  echo 1 | sudo tee $sys_pm_gps/pwron

 to turn GPS on and

  gpsd -F gpsd.sock -N -n -D 1 /dev/ttySAC1

 to talk to it. I can then run e.g.

  echo rw | netcat localhost gpsd  gps.dump

 to capture all GPS data.

 ___
 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: [debian] gps still no solution

2008-12-03 Thread Davide Scaini
Yeah! Finally it works! Needed to work is to remove a file named
something like ogpsd.conf in /etc/freesmartphone and remove also the
folder.Now i'm not that sure about the names,but right now i have no
way to check it..Pretty sure.Next week i'll send you the right one if
something wrong.
D

2008/12/3, Davide Scaini [EMAIL PROTECTED]:
 ...after installing new fso some weeks ago my gps stopped working...
 I installed all requested packages, fso-config-gta02, but no gps working
 (like previous versions...).
 I tried to downgrade but i have no idea what/where i have to download.
 I searched on wiki... checked all the possibilities and the frameworkd conf
 file...
 now: ogpsd comes with fso? ogpsd it's not packaged on debian (if it's
 something to be packaged)... with debian comes only gpsd but seems that fso
 dislikes it, and the config file mentions only ogpsd...

 I'm sure that someone uf you uses debian with gps... how in the hell??? ;-)
 with old fso???
 if i type
 cat /dev/ttySAC1 i have no output while when my gps worked i got lots of
 output...

 please help me! ;-)
 d


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


Re: [debian] gps still no solution

2008-12-03 Thread Timo Juhani Lindfors
Davide Scaini [EMAIL PROTECTED] writes:
 sorry but... as far as i know gpsd is not something to use with fso now...
 because fso uses ogpsd (that is embedded in fso)...
 or am i totally wrong?

You just need to disable gpsd from frameworkd.conf


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


Re: [debian] gps still no solution

2008-12-03 Thread Al Johnson
On Wednesday 03 December 2008, Timo Juhani Lindfors wrote:
 Davide Scaini [EMAIL PROTECTED] writes:
  sorry but... as far as i know gpsd is not something to use with fso
  now... because fso uses ogpsd (that is embedded in fso)...
  or am i totally wrong?

 You just need to disable gpsd from frameworkd.conf

I assume you mean disable ogpsd in frameworkd.conf so that you can run gpsd 
instead.

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


Re: [debian] gps still no solution

2008-12-03 Thread Davide Scaini
Ok sorry,the right folder to remove and let fso updated work is:
/var/lib/freesmartphone
and no gpsd is required more.
Thanks to all!Great job!
:) d

2008/12/4, Al Johnson [EMAIL PROTECTED]:
 On Wednesday 03 December 2008, Timo Juhani Lindfors wrote:
 Davide Scaini [EMAIL PROTECTED] writes:
  sorry but... as far as i know gpsd is not something to use with fso
  now... because fso uses ogpsd (that is embedded in fso)...
  or am i totally wrong?

 You just need to disable gpsd from frameworkd.conf

 I assume you mean disable ogpsd in frameworkd.conf so that you can run gpsd
 instead.

 ___
 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