fso-gps..

Michael 'Mickey' Lauer mickey at openmoko.org
Tue Mar 17 00:38:17 CET 2009


Am Dienstag, den 17.03.2009, 00:13 +0100 schrieb Vinzenz Hersche:
> it's very strange, i tried also with a actuall download of the testing-kernel 
> and testing lite-image and a new flash of both (so they should be new), but it 
> also doesn't work..
> 
> root at om-gta02 ~ $ cat /var/log/frameworkd.log | grep gps
> 2009.03.16 23:06:48 frameworkd.controller INFO     launching internal 
> subsystem ogpsd
> 2009.03.16 23:06:48 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']
> 2009.03.16 23:06:54 ogpsd    WARNING  (could not write to 
> '/sys/bus/platform/devices/neo1973-pm-gps.0/power_on': [Errno 2] No such file 
> or directory:'/sys/bus/platform/devices/neo1973-pm-gps.0/power_on')
> 2009.03.16 23:06:54 ogpsd    WARNING  (could not write to 
> '/sys/bus/platform/devices/neo1973-pm-gps.0/power_on': [Errno 2] No such file 
> or directory:'/sys/bus/platform/devices/neo1973-pm-gps.0/power_on')

Looks good. FSO supports two kernel versions with two different sysfs
paths, so one will always be missing.

> 2009.03.16 23:06:54 frameworkd.persist ERROR    no persist data for subsystem 
> ogpsd

No problem, it will be generated next time. Daniel, should we turn this
into an INFO rather than an ERROR?

> 2009.03.16 23:06:55 ogspd.gpsdevice INFO     GTA02Device initialized. Serving 
> org.freedesktop.Gypsy at /org/freedesktop/Gypsy
> 2009.03.16 23:06:55 frameworkd.subsystem INFO     subsystem ogpsd took 6.78 
> seconds to startup

It's successfully up.

> 2009.03.16 23:08:37 ogspd.gpsdevice INFO     disabling

It's disabling the hardware to synchronize the hardware status with the
logic status (power off by default).

> 2009.03.16 23:08:37 ogpsd    WARNING  Attempted to send something while serial 
> is not open.
> 2009.03.16 23:08:37 ogpsd    WARNING  Attempted to send something while serial 
> is not open.
> 2009.03.16 23:08:37 ogpsd    WARNING  Attempted to send something while serial 
> is not open.
> 2009.03.16 23:08:37 ogpsd    WARNING  Attempted to send something while serial 
> is not open.
> 2009.03.16 23:08:37 ogpsd    WARNING  Attempted to send something while serial 
> is not open.
> 2009.03.16 23:08:37 ogpsd    WARNING  Attempted to send something while serial 
> is not open.
> 2009.03.16 23:08:37 ogpsd    WARNING  Attempted to send something while serial 
> is not open.
> 2009.03.16 23:08:37 ogpsd    WARNING  Attempted to send something while serial 
> is not open.
> 2009.03.16 23:08:38 ogpsd    WARNING  Attempted to send something while serial 
> is not open.
> 2009.03.16 23:08:38 ogpsd    WARNING  Attempted to send something while serial 
> is not open.

It's sending commands to shut it down, in case it was online previously
(which we don't know on first start, since something else could have run
before).

> 2009.03.16 23:08:38 ogpsd    WARNING  (could not write to 
> '/sys/bus/platform/devices/neo1973-pm-gps.0/power_on': [Errno 2] No such file 
> or directory:'/sys/bus/platform/devices/neo1973-pm-gps.0/power_on')
> 2009.03.16 23:09:09 ogspd.gpsdevice INFO     enabling
> 2009.03.16 23:09:09 ogpsd    WARNING  (could not write to 
> '/sys/bus/platform/devices/neo1973-pm-gps.0/power_on': [Errno 2] No such file 
> or directory:'/sys/bus/platform/devices/neo1973-pm-gps.0/power_on')
> 
> same failure.. :( 

No failure -- see above. Device should be up and running now.






More information about the community mailing list