[LinuxPPS] gps_nmea error

Hal V. Engel hvengel at astound.net
Tue Aug 12 20:39:23 CEST 2008


On Tuesday 12 August 2008 11:32:45 am Ritter, Nicholas wrote:
> Sorry about the formatting....on that, here is the ppstest output again:
>
>  [root at RMSQSN1001 pps]# ./ppstest /dev/pps0
>
> trying PPS source "/dev/pps0"
>
> found PPS source "/dev/pps0"
>
> ok, found 1 source(s), now start fetching data...
>
> source 0 - assert 1218565941.998604265, sequence: 379 - clear
> 1218565941.198623483, sequence: 378
>
> source 0 - assert 1218565941.998604265, sequence: 379 - clear
> 1218565942.198604006, sequence: 379
>
> source 0 - assert 1218565942.998602599, sequence: 380 - clear
> 1218565942.198604006, sequence: 379
>
> source 0 - assert 1218565942.998602599, sequence: 380 - clear
> 1218565943.198601804, sequence: 380
>
> source 0 - assert 1218565943.998602236, sequence: 381 - clear
> 1218565943.198601804, sequence: 380
>
> source 0 - assert 1218565943.998602236, sequence: 381 - clear
> 1218565944.198621967, sequence: 381
>
> source 0 - assert 1218565944.998602726, sequence: 382 - clear
> 1218565944.198621967, sequence: 381
>
> source 0 - assert 1218565944.998602726, sequence: 382 - clear
> 1218565945.198605749, sequence: 382

This looks normal.  It appears you are on track now.

>
>
>
> -----Original Message-----
> From: linuxpps-bounces at ml.enneenne.com
> [mailto:linuxpps-bounces at ml.enneenne.com] On Behalf Of Ritter, Nicholas
> Sent: Tuesday, August 12, 2008 1:30 PM
> To: linuxpps at ml.enneenne.com
> Subject: Re: [LinuxPPS] gps_nmea error
>
> ok....thats what I was doing wrong....
>
> Here is what I just did then:
>
> [root at RMSQSN1001 pps]# lsmod
> Module                  Size  Used by
> pps_ldisc               3392  0
> pps_core                9248  1 pps_ldisc
> binfmt_misc             9676  1
> e1000e                 95332  0
> rtc_cmos               10168  0
> skge                   37456  0
> iTCO_wdt               12048  0
> iTCO_vendor_support     3716  1 iTCO_wdt
> rtc_core               15684  1 rtc_cmos
> i2c_i801                9436  0
> rtc_lib                 2880  1 rtc_core
> i2c_core               20128  1 i2c_i801
> ata_piix               19844  2
>
>
> [root at RMSQSN1001 pps]# ./ppsldisc /dev/ttyS0
>
> and in another terminal window:
>
> [root at RMSQSN1001 pps]# ./ppstest /dev/pps0 trying PPS source "/dev/pps0"
> found PPS source "/dev/pps0"
> ok, found 1 source(s), now start fetching data...
> source 0 - assert 1218565717.998631126, sequence: 155 - clear
> 1218565717.198647057, sequence: 154 source 0 - assert
> 1218565717.998631126, sequence: 155 - clear 1218565718.198647505,
> sequence: 155 source 0 - assert 1218565718.998630734, sequence: 156 -
> clear 1218565718.198647505, sequence: 155 source 0 - assert
> 1218565718.998630734, sequence: 156 - clear 1218565719.198630829,
> sequence: 156 source 0 - assert 1218565719.998629214, sequence: 157 -
> clear 1218565719.198630829, sequence: 156 source 0 - assert
> 1218565719.998629214, sequence: 157 - clear 1218565720.198645608,
> sequence: 157 source 0 - assert 1218565720.998629512, sequence: 158 -
> clear 1218565720.198645608, sequence: 157 source 0 - assert
> 1218565720.998629512, sequence: 158 - clear 1218565721.198642570,
> sequence: 158 source 0 - assert 1218565721.998629590, sequence: 159 -
> clear 1218565721.198642570, sequence: 158 source 0 - assert
> 1218565721.998629590, sequence: 159 - clear 1218565722.198648781,
> sequence: 159 source 0 - assert 1218565722.998630000, sequence: 160 -
> clear 1218565722.198648781, sequence: 159 source 0 - assert
> 1218565722.998630000, sequence: 160 - clear 1218565723.198643706,
> sequence: 160 source 0 - assert 1218565723.998629716, sequence: 161 -
> clear 1218565723.198643706, sequence: 160
>
>
> That output looks better....except that should I see two entries for
> each pulse?
>
> I should go back and look on the list for the instructions for the udev,
> etc....granted.
>
> Nick
>
> -----Original Message-----
> From: linuxpps-bounces at ml.enneenne.com
> [mailto:linuxpps-bounces at ml.enneenne.com] On Behalf Of Udo van den
> Heuvel
> Sent: Tuesday, August 12, 2008 1:22 PM
> To: linuxpps at ml.enneenne.com
> Subject: Re: [LinuxPPS] gps_nmea error
>
> Ritter, Nicholas wrote:
> > I unloaded the pps related modules and reloaded them and noticed that
> > the kernel does not see any PPS pulse unless the ktimer module is
> > loaded, us this the way it should be?
>
> ktimer is fake PPS.
> do the ppsldisc thingie and see /dev/pps0 appear
>
> > Thanks Udo for the config example. I have confirmed that my GPS unit
> > is set to 200ms.
>
> 'works for me', not  the end-all answer.
>
> Kind regards,
> Udo
>
> _______________________________________________
> LinuxPPS mailing list
> LinuxPPS at ml.enneenne.com
> http://ml.enneenne.com/cgi-bin/mailman/listinfo/linuxpps
> Wiki: http://wiki.enneenne.com/index.php/LinuxPPS_support
>
>
> _______________________________________________
> LinuxPPS mailing list
> LinuxPPS at ml.enneenne.com
> http://ml.enneenne.com/cgi-bin/mailman/listinfo/linuxpps
> Wiki: http://wiki.enneenne.com/index.php/LinuxPPS_support
>
>
> _______________________________________________
> LinuxPPS mailing list
> LinuxPPS at ml.enneenne.com
> http://ml.enneenne.com/cgi-bin/mailman/listinfo/linuxpps
> Wiki: http://wiki.enneenne.com/index.php/LinuxPPS_support

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ml.enneenne.com/pipermail/linuxpps/attachments/20080812/1ece4560/attachment-0001.htm 


More information about the LinuxPPS mailing list