[maemo-developers] Fwd: How to fire up gps daemon from command line - wanna build GPS app on N810
From: tz thomas at mich.comDate: Sun Jul 20 00:43:40 EEST 2008
- Previous message: Command Line Club - please join / interactive man pages project (dialog + shell)
- Next message: USB Networking doesn't work on my N810 (diablo) and Ubuntu Linux 8.04
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Oops. excuse this if it is a partial repost. 1. You need to be user, not root to do /usr/libexec/navicore-gpsd-helper. 2. strace-ing it with 2>&1 | grep connect, stat, or open will reveal debug log directories. Creating them will have them fill with data. 3. The magic socket is /var/lib/gps/gps_driver_ctrl "P3" turns it on, "P0" turns it off. I'm not sure if the space between the P and the 3 is necessary. You need socat or something else that does unix sockets since normal things like using the > or >> or even tee won't work. You need a connect call, not an open.
- Previous message: Command Line Club - please join / interactive man pages project (dialog + shell)
- Next message: USB Networking doesn't work on my N810 (diablo) and Ubuntu Linux 8.04
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]