[LinuxPPS] still not working

raffaele messuti raffaele at atomotic.com
Wed Nov 8 15:23:18 CET 2006


On Oct 21, 2006, at 7:06 AM, Udo van den Heuvel wrote:
> Could you post soem output of what you see?

(fortunately i'm not in a hurry finishing this work ;)

status:

1. gps (with working CCD) on /dev/ttyS1
connecting minicom (4800-8N1):
$GPGGA,141149.1,,,,,0,00,,,,,,,*71
$GPGGA,141153.1,,,,,0,00,,,,,,,*7A
$GPGGA,141154.1,,,,,0,00,,,,,,,*7D

2. kernel 2.6.18 patched with ntp-pps-2.6.17-rc5.diff
(all compiled as bultin)
drivers/pps/procfs.c: procfs enabled
drivers/pps/pps.c: LinuxPPS API ver. 2 registered
drivers/pps/pps.c: Software ver. 2.1.0 - Copyright 2005-2006 Rodolfo  
Giometti <giometti at linux.it>
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A

3. cat /proc/pps/sources
id      mode    echo    name                    path
----    ------  ----    ----------------        ----------------
00      1133    no      pps_8250_0              /dev/ttyS0
01      1133    no      pps_8250_1              /dev/ttyS1
02      1133    no      pps_8250_2              /dev/ttyS2
03      1133    no      pps_8250_3              /dev/ttyS3
04      1151    yes     ktimer

(gps plugged in ttyS1)

4. ntp-4.2.2p4 + latest http://time.qnan.org/linux2.6-pps/ntpd- 
nmea.patch
conf:
server 127.127.20.0 prefer minpoll 4
fudge 127.127.20.0 flag3 1 flag2 0 time1 0.0

5. ls -la /dev/gps0
lrwxrwxrwx    1 root     0              10 Nov  8 14:49 /dev/gps0 -> / 
dev/ttyS1


ok, launching ntpd:
daemon.err ntpd[798]: refclock_nmea: time_pps_create failed: Invalid  
argument

suggestions?
bye!




--
<raffaele at atomotic.com> [0x39C336BC]





More information about the LinuxPPS mailing list