Openmoko Bug #2177: andy-tracking/de473ca8: unable to powerdown GPS
Openmoko Public Trac
bugs at docs.openmoko.org
Tue Dec 16 19:16:53 CET 2008
#2177: andy-tracking/de473ca8: unable to powerdown GPS
-----------------------------+----------------------------------------------
Reporter: lindi | Owner: openmoko-kernel
Type: defect | Status: new
Priority: normal | Milestone:
Component: System Software | Version: unspecified
Severity: normal | Keywords:
Haspatch: 0 | Blockedby:
Estimated: | Patchreview:
Blocking: | Reproducible: always
-----------------------------+----------------------------------------------
When I moved from stable-tracking 80f4 to andy-tracking de47 I noticed
that GPS is powered on bootup and can not be powered down:
{{{
root at ginger:~# cat /sys/class/i2c-
adapter/i2c-0/0-0073/pcf50633-regltr.7/neo1973-pm-gps.0/pwron
1
root at ginger:~# echo 0 > /sys/class/i2c-
adapter/i2c-0/0-0073/pcf50633-regltr.7/neo1973-pm-gps.0/pwron
root at ginger:~# cat /sys/class/i2c-
adapter/i2c-0/0-0073/pcf50633-regltr.7/neo1973-pm-gps.0/pwron
1
root at ginger:~# uname -r
2.6.28-GTA02_lindi-andy-tracking_de473ca893c9285a-mokodev
}}}
{{{
strace gpsd -F gpsd.sock -N -n -D 1 /dev/ttySAC1
}}}
prints
{{{
open("/dev/ttySAC1", O_RDWR|O_NOCTTY|O_NONBLOCK) = 6
...
read(6, "1,012,*4D\r\n$GPGLL,6009.78203,N,02"..., 658) = 72
}}}
so the GPS device is really powered up and operating.
--
Ticket URL: <https://docs.openmoko.org/trac/ticket/2177>
docs.openmoko.org <http://docs.openmoko.org/trac/>
openmoko trac
More information about the buglog
mailing list