[Om2008.9] power on GPS

2008-10-29 Thread Matthias Apitz
Hello, what is the diffference of these two driver files: [EMAIL PROTECTED]:~# cat /sys/class/i2c-adapter/i2c-0/0-0073/neo1973-pm-gps.0/pwron 0 [EMAIL PROTECTED]:~# cat /sys/devices/platform/s3c2440-i2c/i2c-adapter/i2c-0/0-0073/neo1973-pm-gps.0/pwron 0 [EMAIL PROTECTED]:~# echo 1

Re: [Om2008.9] power on GPS

2008-10-29 Thread Alastair Johnson
Matthias Apitz wrote: Hello, what is the diffference of these two driver files: [EMAIL PROTECTED]:~# cat /sys/class/i2c-adapter/i2c-0/0-0073/neo1973-pm-gps.0/pwron 0 [EMAIL PROTECTED]:~# cat /sys/devices/platform/s3c2440-i2c/i2c-adapter/i2c-0/0-0073/neo1973-pm-gps.0/pwron 0 [EMAIL

Re: [Om2008.9] power on GPS

2008-10-29 Thread arne anka
/sys contains usually at least as many links as there are real files, i find it rather confusing but there's probably a reason. simply do ls -alF or file for both files ls -alF /sys/class/i2c-adapter/i2c-0/0-0073/neo1973-pm-gps.0/pwron ls -alF

Re: [Om2008.9] power on GPS

2008-10-29 Thread Matthias Apitz
El día Wednesday, October 29, 2008 a las 09:43:42AM +, Alastair Johnson escribió: /etc/init.d/gpsd is a fair place to do it, but it may be overwritten if you update the gpsd package. I used to use a pair of scripts to start and stop bluetooth under 2007.2 but they should still work. You

Re: [Om2008.9] power on GPS

2008-10-29 Thread Christophe Badoit
Matthias Apitz a écrit : El día Wednesday, October 29, 2008 a las 09:43:42AM +, Alastair Johnson escribió: /etc/init.d/gpsd is a fair place to do it, but it may be overwritten if you update the gpsd package. I used to use a pair of scripts to start and stop bluetooth under 2007.2 but

Re: [Om2008.9] power on GPS

2008-10-29 Thread Matthias Apitz
El día Wednesday, October 29, 2008 a las 12:02:10PM +0100, Christophe Badoit escribió: killall gpsd which kills the daemon and the script itself: # /etc/init.d/gpsd stop Shutting down gpsd: Terminated I have renamed this script to /etc/init.d/gpsd.sh and now it works