GPS stopped working, can't figure it out... what else?
Yaroslav Halchenko
site-openmoko.org at onerussian.com
Mon Jul 12 18:42:36 CEST 2010
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
I guess, om is not that freerunner/SHR compatible atm? ;)
in any case... if I just do everything manually I get nothing:
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
On Mon, 12 Jul 2010, Timo Juhani Lindfors wrote:
> Yes. Make sure that no process has /dev/gps open and then
> om gps power 0
> om gps power 1
> hexdump /dev/gps
--
.-.
=------------------------------ /v\ ----------------------------=
Keep in touch // \\ (yoh@|www.)onerussian.com
Yaroslav Halchenko /( )\ ICQ#: 60653192
Linux User ^^-^^ [175555]
More information about the support
mailing list