[Om2008.9] power on GPS

Matthias Apitz guru at unixarea.de
Wed Oct 29 09:52:21 CET 2008


Hello,

what is the diffference of these two driver files:

root at om-gta02:~# cat /sys/class/i2c-adapter/i2c-0/0-0073/neo1973-pm-gps.0/pwron
0
root at om-gta02:~# cat /sys/devices/platform/s3c2440-i2c/i2c-adapter/i2c-0/0-0073/neo1973-pm-gps.0/pwron
0
root at om-gta02:~# echo 1 > /sys/class/i2c-adapter/i2c-0/0-0073/neo1973-pm-gps.0/pwron
root at om-gta02:~# cat /sys/class/i2c-adapter/i2c-0/0-0073/neo1973-pm-gps.0/pwron
1
root at om-gta02:~# cat /sys/devices/platform/s3c2440-i2c/i2c-adapter/i2c-0/0-0073/neo1973-pm-gps.0/pwron
1

and: where to put the statement to power on best? in /etc/init.d/gpsd?
Thx

	matthias
-- 
Matthias Apitz
Manager Technical Support - OCLC GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e <matthias.apitz at oclc.org> - w http://www.oclc.org/ http://www.UnixArea.de/
b http://gurucubano.blogspot.com/
A computer is like an air conditioner, it stops working when you open Windows
Una computadora es como aire acondicionado, deja de funcionar si abres Windows




More information about the community mailing list