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
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
/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
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
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
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
6 matches
Mail list logo