Re: GPS stopped working, can't figure it out... what else?

2010-10-01 Thread James Hiebert
Dear all:

Was there ever any resolution on this thread regarding the loss of GPS
functionality?  I seem to be having the seemingly identical problem as of
last Saturday.  Last Saturday, my Freerunner's GPS seemed to stop working,
and I have been struggling to debug it since.

I've enabled the device with the dbus interface:
# mdbus -s org.freedesktop.Gypsy /org/freedesktop/Gypsy 
org.freesmartphone.Resource.Enable

And the a variety of activity flies across the frameworkd.log. 
Interestingly, it looks like ogpsd actually does have a fix... at least this
line:

2010.10.01 01:39:08.43 ogpsdDEBUGGot UBX packet of type
NAV-POSLLH: [{'LON': -123xxx, 'HMSL': 28843, 'HEIGHT': 11546, 'ITOW':
463141000, 'LAT': 48xxx, 'Vacc': 98976, 'Hacc': 98976}]

shows my exact position (obscurred for some level of privacy).  However,
when I query the position with the DBUS interface, I get nothing:

# mdbus -s org.freedesktop.Gypsy /org/freedesktop/Gypsy 
org.freedesktop.Gypsy.Position.GetPosition
(0, 0, 0.0, 0.0, 0.0)

tangogps and foxtrotgps both fail to find any GPS.  Which is extremely
frustrating, because tangogps was until this point the one useful thing that
I have ever managed to get my Freerunner to do (and I use the GPS
extensively).

Does anyone have any advice?  FWIW I'm running debian:
# cat /proc/version
Linux version 2.6.29-20100313.git973a41fc (r...@neo) (gcc version 4.4.5 
20100728 (prerelease) (Debian 4.4.4-8) ) #1 Sat Aug 7 17:45:57 GMT-3 2010

~James

On Mon, Jul 12, 2010 at 07:24:49PM +0100, Al Johnson wrote:
 On Monday 12 July 2010, Yaroslav Halchenko wrote:
  On Mon, 12 Jul 2010, Al Johnson wrote:
   fso-gpsd is a level removed from the gps, so isn't much use for
   debugging. You need to look at the debug output from ogpsd, or disable
   ogpsd entirely and
  
  here is the excerpt from the log... not sure why it says that serial is
  closed...
  
  and and configuration I had
  [ogpsd]
  # possible options are NMEADevice, UBXDevice, GTA02Device, EtenDevice
  device = GTA02Device
  #device = UBXDevice # this like I added ...
  # possible options are SerialChannel, GllinChannel, UDPChannel, FileChannel
  channel = SerialChannel
  # For UDPChannel the path defines the port to listen to
  path = /dev/ttySAC1
  
  
  r...@om-gta02 /var/volatile/log # grep gpsd frameworkd.log
  2010.07.12 13:03:32.957 frameworkd.controller DEBUGsetting logger for
  ogpsd to 10 2010.07.12 13:03:33.86 frameworkd.controller DEBUGsetting
  logger for ogpsd.factory to 10 2010.07.12 13:03:34.549
  frameworkd.controller INFO launching internal subsystem ogpsd
  2010.07.12 13:03:34.555 frameworkd.subsystem DEBUGsubsystem ogpsd
  created 2010.07.12 13:03:34.624 frameworkd.subsystem INFO Scanned
  subsystem via method 'auto', result is ['om.py', 'gpsdevice.py',
  'helpers.py', 'eten.pyo', 'helpers.pyo', 'eten.py', 'ubx.pyo',
  'gpschannel.pyo', 'gpschannel.py', '__init__.py', 'nmea.py', 'om.pyo',
  'factory.pyo', 'nmea.pyo', '__init__.pyo', 'ubx.py', 'factory.py',
  'gpsdevice.pyo'] 2010.07.12 13:03:35.140 frameworkd.subsystem DEBUG   
  ...in subsystem ogpsd: found module module 'ogpsd.om' from
  '/usr/lib/python2.6/site-packages/framework/subsystems/ogpsd/om.pyo'
  2010.07.12 13:03:35.147 frameworkd.subsystem DEBUGno plugin: factory
  function not found in module module 'ogpsd.om' from
  '/usr/lib/python2.6/site-packages/framework/subsystems/ogpsd/om.pyo'
  2010.07.12 13:03:35.160 frameworkd.subsystem DEBUG...in subsystem
  ogpsd: found module module 'ogpsd.gpsdevice' from
  '/usr/lib/python2.6/site-packages/framework/subsystems/ogpsd/gpsdevice.pyo
  ' 2010.07.12 13:03:35.167 frameworkd.subsystem DEBUGno plugin: factory
  function not found in module module 'ogpsd.gpsdevice' from
  '/usr/lib/python2.6/site-packages/framework/subsystems/ogpsd/gpsdevice.pyo
  ' 2010.07.12 13:03:35.175 frameworkd.subsystem DEBUG...in subsystem
  ogpsd: found module module 'ogpsd.helpers' from
  '/usr/lib/python2.6/site-packages/framework/subsystems/ogpsd/helpers.pyo'
  2010.07.12 13:03:35.182 frameworkd.subsystem DEBUGno plugin: factory
  function not found in module module 'ogpsd.helpers' from
  '/usr/lib/python2.6/site-packages/framework/subsystems/ogpsd/helpers.pyo'
  2010.07.12 13:03:35.238 frameworkd.subsystem DEBUG...in subsystem
  ogpsd: found module module 'ogpsd.eten' from
  '/usr/lib/python2.6/site-packages/framework/subsystems/ogpsd/eten.pyo'
  2010.07.12 13:03:35.245 frameworkd.subsystem DEBUGno plugin: factory
  function not found in module module 'ogpsd.eten' from
  '/usr/lib/python2.6/site-packages/framework/subsystems/ogpsd/eten.pyo'
  2010.07.12 13:03:35.383 frameworkd.subsystem DEBUG...in subsystem
  ogpsd: found module module 'ogpsd.gpschannel' from
  '/usr/lib/python2.6/site-packages/framework/subsystems/ogpsd/gpschannel.py
  o' 2010.07.12 13:03:35.390 frameworkd.subsystem DEBUGno plugin:
  factory function not found in module module 

Re: GPS stopped working, can't figure it out... what else?

2010-10-01 Thread Timo Juhani Lindfors
James Hiebert ja...@hiebert.name writes:
 Does anyone have any advice?

1) kill all processes that access /dev/gps
2) om gps power 0
3) stty -F /dev/gps raw
4) om gps power 1
5) hexdump -C /dev/gps

(If you don't have /dev/gps symlink it is probably called ttySAC1)

___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: [QtMoko] How to check 2-4-2 timings?

2010-10-01 Thread Patryk Benderz
[cut] 
 The command om screen glamo-bus-timings displays them. This was
[cut] 
Hi Timo, thanks a lot, I have executed:
r...@neo:/# om screen glamo-bus-timings
(null) om screen power [1/0]
That's quite not what I supposed to see... Do you know what does it
means? Do I have 2-4-2 timings applied?
-- 
Patryk LeadMan Benderz
Linux Registered User #377521
()  ascii ribbon campaign - against html e-mail 
/\  www.asciiribbon.org   - against proprietary attachments


___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: [QtMoko] How to check 2-4-2 timings?

2010-10-01 Thread Timo Juhani Lindfors
Patryk Benderz patryk.bend...@esp.pl writes:
 r...@neo:/# om screen glamo-bus-timings
 (null) om screen power [1/0]
 That's quite not what I supposed to see... Do you know what does it
 means? Do I have 2-4-2 timings applied?

It means you have too old version sorry.


___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: [QtMoko] How to check 2-4-2 timings?

2010-10-01 Thread Timo Juhani Lindfors
Patryk Benderz patryk.bend...@esp.pl writes:
 I have QtMoko v26... how come omhacks is too old?

I don't know, I don't use qtmoko sorry.

 Do you know some repo or download location to get newest omhacks?

apt-cache showsrc omhacks

shows

Vcs-Git: git://git.debian.org/git/pkg-fso/omhacks.git

This version is not yet in debian since debian is in a freeze right
now.

___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: [QtMoko] How to check 2-4-2 timings?

2010-10-01 Thread Patryk Benderz
[cut]
 Vcs-Git: git://git.debian.org/git/pkg-fso/omhacks.git
 
 This version is not yet in debian since debian is in a freeze right
 now.
OK, thanks and best regards. I will try to find out somehow other way.

-- 
Patryk LeadMan Benderz
Linux Registered User #377521
()  ascii ribbon campaign - against html e-mail 
/\  www.asciiribbon.org   - against proprietary attachments


___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support