diff options
author | Gary E. Miller <gem@rellim.com> | 2010-07-21 00:08:08 -0700 |
---|---|---|
committer | Gary E. Miller <gem@rellim.com> | 2010-07-21 00:08:08 -0700 |
commit | edc785bcb2d96b46099455bceec6e71c9d9db7f4 (patch) | |
tree | 39938c6064be6cf1c870fd75a75010ca59415983 /libgpsd_core.c | |
parent | 156609be0a645eb1be7ec703e30bf6845af5c1ec (diff) | |
download | gpsd-edc785bcb2d96b46099455bceec6e71c9d9db7f4.tar.gz |
A note on how to find the magic path for the kernel PPS interface.
Diffstat (limited to 'libgpsd_core.c')
-rw-r--r-- | libgpsd_core.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libgpsd_core.c b/libgpsd_core.c index 6bfb2395..63d08ce1 100644 --- a/libgpsd_core.c +++ b/libgpsd_core.c @@ -180,6 +180,8 @@ static /*@null@*/ void *gpsd_ppsmonitor(void *arg) memset( (void *)&pi, 0, sizeof(pps_info_t)); /* uh, oh, magic file names! */ + /* FIXME, need to look in /sys/class/pps/*/path + * to find the /dev/pps? that matches our serial port */ int ret = open("/dev/pps0", O_RDWR); if ( 0 > time_pps_create(ret, &kernelpps_handle )) { use_kernelpps = 0; |