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

Timo Juhani Lindfors timo.lindfors at iki.fi
Mon Jul 12 23:20:54 CEST 2010


Hi,

Yaroslav Halchenko <site-openmoko.org at onerussian.com> writes:
> funny enough, on SHR unstable
> 1. I have no /dev/gps (ok, added symlink to ttySAC1)
> 2. om gps power 1
>    puke with 'no file' since
>
>    access("/sys/class/i2c-adapter/i2c-0/0-0073/pcf50633-regltr.7/neo1973-pm-gps.0", F_OK) = -1 ENOENT (No such file or directory)
>
>    and doesn't seems to try
>
>    /sys/devices/platform/s3c2440-i2c/i2c-0/0-0073/pcf50633-regltr.7/regulator/regulator.7/gta02-pm-gps.0-RF_3V/power_on

Yes sorry I did not expect 2.6.32 here. I only very recently tested it
and support is still in http://iki.fi/lindi/git/omhacks. Enrico, can
you pull my changes to git.debian.org so that they end up in SHR?

>    I guess, om is not that freerunner/SHR compatible atm? ;)

Again sorry :)

> root at om-gta02 /dev # echo 0 > /sys/devices/platform/s3c2440-i2c/i2c-0/0-0073/pcf50633-regltr.7/regulator/regulator.7/gta02-pm-gps.0-RF_3V/power_on
> root at om-gta02 /dev # 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
> root at om-gta02 /dev # hexdump /dev/gps
> root at om-gta02 /dev # 
> root at om-gta02 /dev # ls -l /dev/gps
> lrwxrwxrwx    1 root     root            12 Jul 12 12:33 /dev/gps -> /dev/ttySAC1

Very odd. Can you verify that contents of power_on actually changes?
And also that power consumption changes?

-Timo



More information about the support mailing list