f



WWV audio driver, FreeBSD, Can't seem to get it going

Folks,
 I suspect that interest in drivers other than GPS and PPS are waning,
in fact I have 3 GPS based servers as well, but thought I'd try
something else.

I have a Traconex 1020 WWV receiver used with driver 3 which works
rather well, so I thought I would add the audio driver (36) to the mix.

System is an older Dell workstation with FreeBSD 5.3.  The NTP version
is 4.2.0a-20050303, although I've tried others, and even BSD 5.4
The sound 'card' is on the motherboard.

I did:
kldload snd_driver
which resulted in:
May 19 19:57:01 Fuzzball kernel: pcm0: <Intel ICH2 (82801BA)> port
0xdc40-0xdc7f,0xd800-0xd8ff irq 10 at device 31.5 on pci0
May 19 19:57:01 Fuzzball kernel: pcm0: <Analog Devices AD1885 AC97
Codec>
May 19 19:57:01 Fuzzball kernel: pcm0: measured ac97 link rate at 55945
Hz
May 19 20:08:03 Fuzzball ntpd[970]: ntpd 4.2.0a@1.1191-r Wed May 18
20:59:11 PM

and it created /dev/audio0.0 to which I symlinked ntp.audio.0

ntp.conf contains:
server 127.127.36.0
fudge 127.127.36.0 flag2 1 flag3 1 flag4 1

Here is the last 3 samples from clockstats:

53510 59149.914 127.127.36.0 wwv8 2  91 WV15 0   226  10.1 62698  4880
62698
53510 59149.914 127.127.36.0 wwv8 2  91 WH15 0   248  12.5 443431  4880
443431
53510 59208.430 127.127.36.0 wwv8 2 111 WV15 0   361  13.2 24318  2480
24318
53510 59208.430 127.127.36.0 wwv8 2 111 WH15 0   264  15.7 35736  2480
35736
53510 59266.946 127.127.36.0 wwv8 2  91 WV15 0   298   9.5 28666    80
28666
53510 59266.946 127.127.36.0 wwv8 2  91 WH15 0   254  12.0 239884    80
239884

The AGC does show action and responds to removing/inserting audio.
However, the tone filters never seem to get a grasp on things, like
perhaps the output of the A/D is garbage?

I know that Dave Mills has said that this driver is no longer
maintainable, at least by him, but I found references from last year
that it did work under FreeBSD.

Does anyone have any ideas on where I should go from here?

        Roger

0
wa6zvp (9)
5/20/2005 5:12:05 PM
comp.protocols.time.ntp 4895 articles. 2 followers. Post Follow

13 Replies
663 Views

Similar Articles

[PageSpeed] 9

Hi Roger--

wa6zvp@gmail.com wrote:

(...)

> I have a Traconex 1020 WWV receiver used with driver 3 which works
> rather well, so I thought I would add the audio driver (36) to the mix.

(...)

> Does anyone have any ideas on where I should go from here?

>         Roger

Try a different sound card. I've had trouble with freebsd 4.x not
working with a sound card, and the sound card works fine with
linux 2.4.x, both freebsd and linux using ntp-dev code.

I've had a sb awe64 (gold) and an sb live both working with freebsd.
An sb awe32 and an sb es1373 did not work with freebsd, although
the es1373 works fine with linux, so I know its not the particular
card. One motherboard audio device also did not work with freebsd,
although I don't recall the chipset on the motherboard. Another
motherboard chipset works fine with linux and ntp audio drivers.

Or, fix the freebsd audio driver. Other folks have complained that
the 4.x series has some broken audio stuff in it (WRT ntp working).

.../Steven


0
rtxo
5/20/2005 7:06:36 PM
Roger,

You've turned on the sidetone. Does it sound okay? Note the AC97 link 
rate. Is that the sample rate? The codec sample rate should be 8000 Hz.

Dave


wa6zvp@gmail.com wrote:
> Folks,
>  I suspect that interest in drivers other than GPS and PPS are waning,
> in fact I have 3 GPS based servers as well, but thought I'd try
> something else.
> 
> I have a Traconex 1020 WWV receiver used with driver 3 which works
> rather well, so I thought I would add the audio driver (36) to the mix.
> 
> System is an older Dell workstation with FreeBSD 5.3.  The NTP version
> is 4.2.0a-20050303, although I've tried others, and even BSD 5.4
> The sound 'card' is on the motherboard.
> 
> I did:
> kldload snd_driver
> which resulted in:
> May 19 19:57:01 Fuzzball kernel: pcm0: <Intel ICH2 (82801BA)> port
> 0xdc40-0xdc7f,0xd800-0xd8ff irq 10 at device 31.5 on pci0
> May 19 19:57:01 Fuzzball kernel: pcm0: <Analog Devices AD1885 AC97
> Codec>
> May 19 19:57:01 Fuzzball kernel: pcm0: measured ac97 link rate at 55945
> Hz
> May 19 20:08:03 Fuzzball ntpd[970]: ntpd 4.2.0a@1.1191-r Wed May 18
> 20:59:11 PM
> 
> and it created /dev/audio0.0 to which I symlinked ntp.audio.0
> 
> ntp.conf contains:
> server 127.127.36.0
> fudge 127.127.36.0 flag2 1 flag3 1 flag4 1
> 
> Here is the last 3 samples from clockstats:
> 
> 53510 59149.914 127.127.36.0 wwv8 2  91 WV15 0   226  10.1 62698  4880
> 62698
> 53510 59149.914 127.127.36.0 wwv8 2  91 WH15 0   248  12.5 443431  4880
> 443431
> 53510 59208.430 127.127.36.0 wwv8 2 111 WV15 0   361  13.2 24318  2480
> 24318
> 53510 59208.430 127.127.36.0 wwv8 2 111 WH15 0   264  15.7 35736  2480
> 35736
> 53510 59266.946 127.127.36.0 wwv8 2  91 WV15 0   298   9.5 28666    80
> 28666
> 53510 59266.946 127.127.36.0 wwv8 2  91 WH15 0   254  12.0 239884    80
> 239884
> 
> The AGC does show action and responds to removing/inserting audio.
> However, the tone filters never seem to get a grasp on things, like
> perhaps the output of the A/D is garbage?
> 
> I know that Dave Mills has said that this driver is no longer
> maintainable, at least by him, but I found references from last year
> that it did work under FreeBSD.
> 
> Does anyone have any ideas on where I should go from here?
> 
>         Roger
> 
0
David
5/20/2005 7:14:33 PM
Dave,
The loopback audio sounds a tad distorted, like its being clipped, but
otherwise OK.  I don't think the link rate is tied directly to the
sample rate. From discussions of this device on BSD forums, this has to
do with some calibration of AD97 device when the driver first starts.
The 55945 rate seems to be in the ball park of the correct number to
expect.

Steven,
Since I know PDP11 assembly language, I'd have better luck working on
fuzzball code than BSD or NTP drivers. :)

I'll try to see if I can't scare up a different soundcard to put in the
beast.

     Roger

0
wa6zvp
5/20/2005 11:22:34 PM
Roger,

Drink deep, water brother; grok the Fuzzaball 
http://www.eecis.udel.edu/~mills/gallery/gallery10.html. It's in the 
Computing Dictionary and NSF Archives.

Dave

wa6zvp@gmail.com wrote:
> Dave,
> The loopback audio sounds a tad distorted, like its being clipped, but
> otherwise OK.  I don't think the link rate is tied directly to the
> sample rate. From discussions of this device on BSD forums, this has to
> do with some calibration of AD97 device when the driver first starts.
> The 55945 rate seems to be in the ball park of the correct number to
> expect.
> 
> Steven,
> Since I know PDP11 assembly language, I'd have better luck working on
> fuzzball code than BSD or NTP drivers. :)
> 
> I'll try to see if I can't scare up a different soundcard to put in the
> beast.
> 
>      Roger
> 
0
David
5/21/2005 5:00:28 AM
Also see:

 http://ntp.isc.org/bin/view/Dev/NewNtpConfFormat#Audio_refclock_variables

and note that I am also trying to get the IRIG audio stuff working on a
FreeBSD machine.  The big problem for me at the moment is that the machine
and I are about a half hour away from each other, in no traffic.

H
0
Harlan
5/21/2005 9:30:20 AM
* Update.

I found another sound card .  I grabbed the latest -dev- train code as
well.
So now its ntp-dev-4.2.0a-20050518 on freeBSD 5.4-release.

Well, things are starting to happen.  Still hasn't fully locked though,
a recent chunk of clockstats is appended at the bottom.

Lots of wwv1 diags, some wwv2, and an occasional wwv8.  I also am
trying
the output of a different receiver to make sure the audio is OK.
Although
not in this sample of clockstats, I've seen wwv3/4 and even 5 messages.
Just never quite gets to actually declaring sync.

Again, any more ideas on where to go from here would be appreciated.

         Roger

53513 17.035 127.127.36.0 wwv1 0100  3765  25.7  7783     1    3    0
53513 18.035 127.127.36.0 wwv1 0100  3988  27.4  7783     0    4    1
53513 19.035 127.127.36.0 wwv1 0100  4122  27.9  7784     1    5    0
53513 20.034 127.127.36.0 wwv1 0100  4290  28.2  7784     0    6    1
53513 21.034 127.127.36.0 wwv1 0100  4488  28.1  7785     1    7    0
53513 22.034 127.127.36.0 wwv1 0100  4634  28.5  7785     0    8    1
53513 22.034 127.127.36.0 wwv2 0100 4634 7783    1  0    8  964    0.00
53513 23.034 127.127.36.0 wwv1 0110  4750  28.7  7786     1    1    0
53513 24.034 127.127.36.0 wwv1 0110  4858  26.8  7787     1    2    0
53513 25.034 127.127.36.0 wwv1 0110  4388  25.7  7788     1    3    0
53513 26.034 127.127.36.0 wwv1 0110  4541  25.6  7788     0    4    1
53513 27.034 127.127.36.0 wwv1 0110  4665  26.1  7788     0    5    2
53513 28.034 127.127.36.0 wwv1 0110  4794  26.8  7789     1    6    0
53513 29.034 127.127.36.0 wwv1 0110  4228  25.6  7790     1    7    0
53513 30.034 127.127.36.0 wwv1 0110  4452  25.4  7790     0    8    1
53513 30.034 127.127.36.0 wwv2 0110 4452 7788    2  0    8    5   26.04
53513 31.034 127.127.36.0 wwv1 0110  4650  26.7  7791     1    1    0
53513 32.033 127.127.36.0 wwv1 0110  4824  27.3  7792     1    2    0
53513 33.033 127.127.36.0 wwv1 0110  4950  26.6  7792     0    3    1
53513 34.033 127.127.36.0 wwv1 0110  5101  28.5  7792     0    4    2
53513 35.033 127.127.36.0 wwv1 0110  5211  29.6  7793     1    5    0
53513 36.033 127.127.36.0 wwv1 0110  5322  31.3  7793     0    6    1
53513 37.033 127.127.36.0 wwv1 0110  5434  32.5  7794     1    7    0
53513 38.033 127.127.36.0 wwv1 0110  5514  33.7  7795     1    8    0
53513 38.033 127.127.36.0 wwv2 0110 5514 7792    2  0    8    4   46.88
53513 39.033 127.127.36.0 wwv1 0110  5584  34.2  7795     0    1    1
53513 40.057 127.127.36.0 wwv1 0110  4895  31.3  7795     0    2    2
53513 41.057 127.127.36.0 wwv1 0110  4291  29.5  7795     0    3    3
53513 42.057 127.127.36.0 wwv1 0110  3758  28.1  7795     0    4    4
53513 43.056 127.127.36.0 wwv1 0110  3299  26.4  7795     0    5    5
53513 44.056 127.127.36.0 wwv1 0110  3153  25.3  7795     0    6    6
53513 45.056 127.127.36.0 wwv1 0110  3542  26.7  7672  -123    7    0
53513 46.056 127.127.36.0 wwv1 0110  3896  28.0  7672     0    8    1
53513 46.056 127.127.36.0 wwv2 0110 3896 7795    6  1    8    3   62.50
53513 47.056 127.127.36.0 wwv1 0110  4180  29.3  7672     0    1    1
53513 48.056 127.127.36.0 wwv1 0110  4375  29.8  7672     0    2    2
53513 49.056 127.127.36.0 wwv1 0110  4553  29.7  7672     0    3    3
53513 50.056 127.127.36.0 wwv1 0110  4729  30.9  7673     1    4    0
53513 51.056 127.127.36.0 wwv1 0110  4940  31.4  7673     0    5    1
53513 52.056 127.127.36.0 wwv1 0110  5127  31.6  7673     0    6    2
53513 53.056 127.127.36.0 wwv1 0110  5161  32.4  7673     0    7    3
53513 54.056 127.127.36.0 wwv1 0110  5222  29.5  7673     0    8    4
53513 54.056 127.127.36.0 wwv2 0110 5222 7673    4  0    8 -122   62.50
53513 55.055 127.127.36.0 wwv1 0110  5335  30.9  7673     0    1    1
53513 56.055 127.127.36.0 wwv1 0110  5411  32.0  7674     1    2    0
53513 57.055 127.127.36.0 wwv1 0110  5440  31.9  7674     0    3    1
53513 58.055 127.127.36.0 wwv1 0110  5536  31.0  7674     0    4    2
53513 59.055 127.127.36.0 wwv1 0110  4864  30.7  7674     0    5    3
53513 60.055 127.127.36.0 wwv8 2 195 WV15 0   308  18.1     1 479674
7674 47930
1
53513 60.055 127.127.36.0 wwv8 2 195 WH15 0    95  13.6     0 167785
7674 16744
1
53513 120.098 127.127.36.0 wwv8 2 203 WV15 1  3133  33.5    22 479674
7675 4796
74
53513 120.098 127.127.36.0 wwv8 2 203 WH15 0   954  24.6     2 324942
7675 3249
42
53513 126.098 127.127.36.0 wwv1 0100  3231  37.9  7332  -342    1    0
53513 127.097 127.127.36.0 wwv1 0100  3401  37.1  7332     0    2    1
53513 128.097 127.127.36.0 wwv1 0100  3496  36.3  7333     1    3    0
53513 129.097 127.127.36.0 wwv1 0100  3708  36.2  7334     1    4    0
53513 130.097 127.127.36.0 wwv1 0100  3487  30.0  7334     0    5    1
53513 131.097 127.127.36.0 wwv1 0100  3811  27.7  7334     0    6    2
53513 132.097 127.127.36.0 wwv1 0100  4049  28.3  7334     0    7    3
53513 133.129 127.127.36.0 wwv1 0100  3547  27.7  7335     1    8    0
53513 133.129 127.127.36.0 wwv2 0100 3547 7334    3  0    8 -339
0.00
53513 134.129 127.127.36.0 wwv1 0110  3113  26.9  7335     0    1    1
53513 137.129 127.127.36.0 wwv1 0100  3007  24.7  7083  -252    1    0
53513 138.129 127.127.36.0 wwv1 0100  3329  26.6  7083     0    2    1
53513 139.128 127.127.36.0 wwv1 0100  3657  28.0  7084     1    3    0
53513 140.128 127.127.36.0 wwv1 0100  3958  29.3  7084     0    4    1
53513 141.128 127.127.36.0 wwv1 0100  3903  30.0  7085     1    5    0
53513 142.128 127.127.36.0 wwv1 0100  3958  31.2  7086     1    6    0
53513 143.128 127.127.36.0 wwv1 0100  4225  31.0  7086     0    7    1
53513 144.128 127.127.36.0 wwv1 0100  4514  31.2  7087     1    8    0
53513 144.128 127.127.36.0 wwv2 0100 4514 7083    1  0    8 -251
0.00
53513 145.128 127.127.36.0 wwv1 0110  4726  31.6  7087     0    1    1
53513 146.128 127.127.36.0 wwv1 0110  4896  32.2  7088     1    2    0
53513 147.128 127.127.36.0 wwv1 0110  5026  32.5  7089     1    3    0
53513 148.128 127.127.36.0 wwv1 0110  5143  32.4  7089     0    4    1
53513 149.128 127.127.36.0 wwv1 0110  4506  32.2  7090     1    5    0
53513 150.128 127.127.36.0 wwv1 0110  4708  33.1  7090     0    6    1
53513 151.127 127.127.36.0 wwv1 0110  4891  32.4  7091     1    7    0
53513 152.127 127.127.36.0 wwv1 0110  5028  32.4  7092     1    8    0
53513 152.127 127.127.36.0 wwv2 0110 5028 7087    1  0    8    4
20.83
53513 153.127 127.127.36.0 wwv1 0110  5108  32.3  7092     0    1    1
53513 154.127 127.127.36.0 wwv1 0110  5223  32.7  7093     1    2    0
53513 155.127 127.127.36.0 wwv1 0110  5354  33.3  7094     1    3    0
53513 156.127 127.127.36.0 wwv1 0110  5461  32.8  7094     0    4    1
53513 157.127 127.127.36.0 wwv1 0110  5514  33.0  7095     1    5    0
53513 158.127 127.127.36.0 wwv1 0110  5570  33.8  7095     0    6    1
53513 159.127 127.127.36.0 wwv1 0110  5646  33.8  7096     1    7    0
53513 160.127 127.127.36.0 wwv1 0110  5679  34.4  7096     0    8    1
53513 160.127 127.127.36.0 wwv2 0110 5679 7092    1  0    8    5
46.88
53513 161.127 127.127.36.0 wwv1 0110  5724  34.2  7097     1    1    0
53513 162.127 127.127.36.0 wwv1 0110  5784  34.2  7097     0    2    1
53513 163.126 127.127.36.0 wwv1 0110  5850  34.1  7097     0    3    2
53513 164.142 127.127.36.0 wwv1 0110  5129  28.3  7098     1    4    0
53513 165.142 127.127.36.0 wwv1 0110  4499  26.3  7098     0    5    1
53513 166.142 127.127.36.0 wwv1 0110  3943  24.5  7098     0    6    2
53513 167.142 127.127.36.0 wwv1 0110  3461  22.7  7098     0    7    3
53513 168.142 127.127.36.0 wwv1 0110  3122  31.5  7098     0    8    4
53513 168.142 127.127.36.0 wwv2 0110 3122 7098    4  0    8    6
78.12
53513 169.142 127.127.36.0 wwv1 0110  3524  33.2  6974  -124    1    0
53513 170.142 127.127.36.0 wwv1 0110  3881  34.7  6974     0    2    1

0
wa6zvp
5/23/2005 12:25:57 AM
It looks like the program is having a really hard time trying to find 
the 5-ms matched-filter tick from the WWV/H station. This is kinda 
chaotic when the SNR is very low. There is not much that can be done 
about it, as the synch acquistion is fragile. Let it run for awhile; 
usually it does latch on to the signal, increase the averaging time and 
get really well.

Dave

wa6zvp@gmail.com wrote:
> * Update.
> 
> I found another sound card .  I grabbed the latest -dev- train code as
> well.
> So now its ntp-dev-4.2.0a-20050518 on freeBSD 5.4-release.
> 
> Well, things are starting to happen.  Still hasn't fully locked though,
> a recent chunk of clockstats is appended at the bottom.
> 
> Lots of wwv1 diags, some wwv2, and an occasional wwv8.  I also am
> trying
> the output of a different receiver to make sure the audio is OK.
> Although
> not in this sample of clockstats, I've seen wwv3/4 and even 5 messages.
> Just never quite gets to actually declaring sync.
> 
> Again, any more ideas on where to go from here would be appreciated.
> 
>          Roger
> 
> 53513 17.035 127.127.36.0 wwv1 0100  3765  25.7  7783     1    3    0
> 53513 18.035 127.127.36.0 wwv1 0100  3988  27.4  7783     0    4    1
> 53513 19.035 127.127.36.0 wwv1 0100  4122  27.9  7784     1    5    0
> 53513 20.034 127.127.36.0 wwv1 0100  4290  28.2  7784     0    6    1
> 53513 21.034 127.127.36.0 wwv1 0100  4488  28.1  7785     1    7    0
> 53513 22.034 127.127.36.0 wwv1 0100  4634  28.5  7785     0    8    1
> 53513 22.034 127.127.36.0 wwv2 0100 4634 7783    1  0    8  964    0.00
> 53513 23.034 127.127.36.0 wwv1 0110  4750  28.7  7786     1    1    0
> 53513 24.034 127.127.36.0 wwv1 0110  4858  26.8  7787     1    2    0
> 53513 25.034 127.127.36.0 wwv1 0110  4388  25.7  7788     1    3    0
> 53513 26.034 127.127.36.0 wwv1 0110  4541  25.6  7788     0    4    1
> 53513 27.034 127.127.36.0 wwv1 0110  4665  26.1  7788     0    5    2
> 53513 28.034 127.127.36.0 wwv1 0110  4794  26.8  7789     1    6    0
> 53513 29.034 127.127.36.0 wwv1 0110  4228  25.6  7790     1    7    0
> 53513 30.034 127.127.36.0 wwv1 0110  4452  25.4  7790     0    8    1
> 53513 30.034 127.127.36.0 wwv2 0110 4452 7788    2  0    8    5   26.04
> 53513 31.034 127.127.36.0 wwv1 0110  4650  26.7  7791     1    1    0
> 53513 32.033 127.127.36.0 wwv1 0110  4824  27.3  7792     1    2    0
> 53513 33.033 127.127.36.0 wwv1 0110  4950  26.6  7792     0    3    1
> 53513 34.033 127.127.36.0 wwv1 0110  5101  28.5  7792     0    4    2
> 53513 35.033 127.127.36.0 wwv1 0110  5211  29.6  7793     1    5    0
> 53513 36.033 127.127.36.0 wwv1 0110  5322  31.3  7793     0    6    1
> 53513 37.033 127.127.36.0 wwv1 0110  5434  32.5  7794     1    7    0
> 53513 38.033 127.127.36.0 wwv1 0110  5514  33.7  7795     1    8    0
> 53513 38.033 127.127.36.0 wwv2 0110 5514 7792    2  0    8    4   46.88
> 53513 39.033 127.127.36.0 wwv1 0110  5584  34.2  7795     0    1    1
> 53513 40.057 127.127.36.0 wwv1 0110  4895  31.3  7795     0    2    2
> 53513 41.057 127.127.36.0 wwv1 0110  4291  29.5  7795     0    3    3
> 53513 42.057 127.127.36.0 wwv1 0110  3758  28.1  7795     0    4    4
> 53513 43.056 127.127.36.0 wwv1 0110  3299  26.4  7795     0    5    5
> 53513 44.056 127.127.36.0 wwv1 0110  3153  25.3  7795     0    6    6
> 53513 45.056 127.127.36.0 wwv1 0110  3542  26.7  7672  -123    7    0
> 53513 46.056 127.127.36.0 wwv1 0110  3896  28.0  7672     0    8    1
> 53513 46.056 127.127.36.0 wwv2 0110 3896 7795    6  1    8    3   62.50
> 53513 47.056 127.127.36.0 wwv1 0110  4180  29.3  7672     0    1    1
> 53513 48.056 127.127.36.0 wwv1 0110  4375  29.8  7672     0    2    2
> 53513 49.056 127.127.36.0 wwv1 0110  4553  29.7  7672     0    3    3
> 53513 50.056 127.127.36.0 wwv1 0110  4729  30.9  7673     1    4    0
> 53513 51.056 127.127.36.0 wwv1 0110  4940  31.4  7673     0    5    1
> 53513 52.056 127.127.36.0 wwv1 0110  5127  31.6  7673     0    6    2
> 53513 53.056 127.127.36.0 wwv1 0110  5161  32.4  7673     0    7    3
> 53513 54.056 127.127.36.0 wwv1 0110  5222  29.5  7673     0    8    4
> 53513 54.056 127.127.36.0 wwv2 0110 5222 7673    4  0    8 -122   62.50
> 53513 55.055 127.127.36.0 wwv1 0110  5335  30.9  7673     0    1    1
> 53513 56.055 127.127.36.0 wwv1 0110  5411  32.0  7674     1    2    0
> 53513 57.055 127.127.36.0 wwv1 0110  5440  31.9  7674     0    3    1
> 53513 58.055 127.127.36.0 wwv1 0110  5536  31.0  7674     0    4    2
> 53513 59.055 127.127.36.0 wwv1 0110  4864  30.7  7674     0    5    3
> 53513 60.055 127.127.36.0 wwv8 2 195 WV15 0   308  18.1     1 479674
> 7674 47930
> 1
> 53513 60.055 127.127.36.0 wwv8 2 195 WH15 0    95  13.6     0 167785
> 7674 16744
> 1
> 53513 120.098 127.127.36.0 wwv8 2 203 WV15 1  3133  33.5    22 479674
> 7675 4796
> 74
> 53513 120.098 127.127.36.0 wwv8 2 203 WH15 0   954  24.6     2 324942
> 7675 3249
> 42
> 53513 126.098 127.127.36.0 wwv1 0100  3231  37.9  7332  -342    1    0
> 53513 127.097 127.127.36.0 wwv1 0100  3401  37.1  7332     0    2    1
> 53513 128.097 127.127.36.0 wwv1 0100  3496  36.3  7333     1    3    0
> 53513 129.097 127.127.36.0 wwv1 0100  3708  36.2  7334     1    4    0
> 53513 130.097 127.127.36.0 wwv1 0100  3487  30.0  7334     0    5    1
> 53513 131.097 127.127.36.0 wwv1 0100  3811  27.7  7334     0    6    2
> 53513 132.097 127.127.36.0 wwv1 0100  4049  28.3  7334     0    7    3
> 53513 133.129 127.127.36.0 wwv1 0100  3547  27.7  7335     1    8    0
> 53513 133.129 127.127.36.0 wwv2 0100 3547 7334    3  0    8 -339
> 0.00
> 53513 134.129 127.127.36.0 wwv1 0110  3113  26.9  7335     0    1    1
> 53513 137.129 127.127.36.0 wwv1 0100  3007  24.7  7083  -252    1    0
> 53513 138.129 127.127.36.0 wwv1 0100  3329  26.6  7083     0    2    1
> 53513 139.128 127.127.36.0 wwv1 0100  3657  28.0  7084     1    3    0
> 53513 140.128 127.127.36.0 wwv1 0100  3958  29.3  7084     0    4    1
> 53513 141.128 127.127.36.0 wwv1 0100  3903  30.0  7085     1    5    0
> 53513 142.128 127.127.36.0 wwv1 0100  3958  31.2  7086     1    6    0
> 53513 143.128 127.127.36.0 wwv1 0100  4225  31.0  7086     0    7    1
> 53513 144.128 127.127.36.0 wwv1 0100  4514  31.2  7087     1    8    0
> 53513 144.128 127.127.36.0 wwv2 0100 4514 7083    1  0    8 -251
> 0.00
> 53513 145.128 127.127.36.0 wwv1 0110  4726  31.6  7087     0    1    1
> 53513 146.128 127.127.36.0 wwv1 0110  4896  32.2  7088     1    2    0
> 53513 147.128 127.127.36.0 wwv1 0110  5026  32.5  7089     1    3    0
> 53513 148.128 127.127.36.0 wwv1 0110  5143  32.4  7089     0    4    1
> 53513 149.128 127.127.36.0 wwv1 0110  4506  32.2  7090     1    5    0
> 53513 150.128 127.127.36.0 wwv1 0110  4708  33.1  7090     0    6    1
> 53513 151.127 127.127.36.0 wwv1 0110  4891  32.4  7091     1    7    0
> 53513 152.127 127.127.36.0 wwv1 0110  5028  32.4  7092     1    8    0
> 53513 152.127 127.127.36.0 wwv2 0110 5028 7087    1  0    8    4
> 20.83
> 53513 153.127 127.127.36.0 wwv1 0110  5108  32.3  7092     0    1    1
> 53513 154.127 127.127.36.0 wwv1 0110  5223  32.7  7093     1    2    0
> 53513 155.127 127.127.36.0 wwv1 0110  5354  33.3  7094     1    3    0
> 53513 156.127 127.127.36.0 wwv1 0110  5461  32.8  7094     0    4    1
> 53513 157.127 127.127.36.0 wwv1 0110  5514  33.0  7095     1    5    0
> 53513 158.127 127.127.36.0 wwv1 0110  5570  33.8  7095     0    6    1
> 53513 159.127 127.127.36.0 wwv1 0110  5646  33.8  7096     1    7    0
> 53513 160.127 127.127.36.0 wwv1 0110  5679  34.4  7096     0    8    1
> 53513 160.127 127.127.36.0 wwv2 0110 5679 7092    1  0    8    5
> 46.88
> 53513 161.127 127.127.36.0 wwv1 0110  5724  34.2  7097     1    1    0
> 53513 162.127 127.127.36.0 wwv1 0110  5784  34.2  7097     0    2    1
> 53513 163.126 127.127.36.0 wwv1 0110  5850  34.1  7097     0    3    2
> 53513 164.142 127.127.36.0 wwv1 0110  5129  28.3  7098     1    4    0
> 53513 165.142 127.127.36.0 wwv1 0110  4499  26.3  7098     0    5    1
> 53513 166.142 127.127.36.0 wwv1 0110  3943  24.5  7098     0    6    2
> 53513 167.142 127.127.36.0 wwv1 0110  3461  22.7  7098     0    7    3
> 53513 168.142 127.127.36.0 wwv1 0110  3122  31.5  7098     0    8    4
> 53513 168.142 127.127.36.0 wwv2 0110 3122 7098    4  0    8    6
> 78.12
> 53513 169.142 127.127.36.0 wwv1 0110  3524  33.2  6974  -124    1    0
> 53513 170.142 127.127.36.0 wwv1 0110  3881  34.7  6974     0    2    1
> 
0
David
5/23/2005 5:25:27 AM
Roger,

This might be a naive suggestion, but are you running the receiver at 
correct bandwidth and mode? It must be AM, of course, and be wide 
enought for the 1-kHz ticks. I usually use a AM receiver with 2.1-kHz 
SSB filter to cover the carrier and sidebands.

Dave

David L. Mills wrote:
> It looks like the program is having a really hard time trying to find 
> the 5-ms matched-filter tick from the WWV/H station. This is kinda 
> chaotic when the SNR is very low. There is not much that can be done 
> about it, as the synch acquistion is fragile. Let it run for awhile; 
> usually it does latch on to the signal, increase the averaging time and 
> get really well.
> 
> Dave
> 
> wa6zvp@gmail.com wrote:
> 
>> * Update.
>>
>> I found another sound card .  I grabbed the latest -dev- train code as
>> well.
>> So now its ntp-dev-4.2.0a-20050518 on freeBSD 5.4-release.
>>
>> Well, things are starting to happen.  Still hasn't fully locked though,
>> a recent chunk of clockstats is appended at the bottom.
>>
>> Lots of wwv1 diags, some wwv2, and an occasional wwv8.  I also am
>> trying
>> the output of a different receiver to make sure the audio is OK.
>> Although
>> not in this sample of clockstats, I've seen wwv3/4 and even 5 messages.
>> Just never quite gets to actually declaring sync.
>>
>> Again, any more ideas on where to go from here would be appreciated.
>>
>>          Roger
>>
>> 53513 17.035 127.127.36.0 wwv1 0100  3765  25.7  7783     1    3    0
>> 53513 18.035 127.127.36.0 wwv1 0100  3988  27.4  7783     0    4    1
>> 53513 19.035 127.127.36.0 wwv1 0100  4122  27.9  7784     1    5    0
>> 53513 20.034 127.127.36.0 wwv1 0100  4290  28.2  7784     0    6    1
>> 53513 21.034 127.127.36.0 wwv1 0100  4488  28.1  7785     1    7    0
>> 53513 22.034 127.127.36.0 wwv1 0100  4634  28.5  7785     0    8    1
>> 53513 22.034 127.127.36.0 wwv2 0100 4634 7783    1  0    8  964    0.00
>> 53513 23.034 127.127.36.0 wwv1 0110  4750  28.7  7786     1    1    0
>> 53513 24.034 127.127.36.0 wwv1 0110  4858  26.8  7787     1    2    0
>> 53513 25.034 127.127.36.0 wwv1 0110  4388  25.7  7788     1    3    0
>> 53513 26.034 127.127.36.0 wwv1 0110  4541  25.6  7788     0    4    1
>> 53513 27.034 127.127.36.0 wwv1 0110  4665  26.1  7788     0    5    2
>> 53513 28.034 127.127.36.0 wwv1 0110  4794  26.8  7789     1    6    0
>> 53513 29.034 127.127.36.0 wwv1 0110  4228  25.6  7790     1    7    0
>> 53513 30.034 127.127.36.0 wwv1 0110  4452  25.4  7790     0    8    1
>> 53513 30.034 127.127.36.0 wwv2 0110 4452 7788    2  0    8    5   26.04
>> 53513 31.034 127.127.36.0 wwv1 0110  4650  26.7  7791     1    1    0
>> 53513 32.033 127.127.36.0 wwv1 0110  4824  27.3  7792     1    2    0
>> 53513 33.033 127.127.36.0 wwv1 0110  4950  26.6  7792     0    3    1
>> 53513 34.033 127.127.36.0 wwv1 0110  5101  28.5  7792     0    4    2
>> 53513 35.033 127.127.36.0 wwv1 0110  5211  29.6  7793     1    5    0
>> 53513 36.033 127.127.36.0 wwv1 0110  5322  31.3  7793     0    6    1
>> 53513 37.033 127.127.36.0 wwv1 0110  5434  32.5  7794     1    7    0
>> 53513 38.033 127.127.36.0 wwv1 0110  5514  33.7  7795     1    8    0
>> 53513 38.033 127.127.36.0 wwv2 0110 5514 7792    2  0    8    4   46.88
>> 53513 39.033 127.127.36.0 wwv1 0110  5584  34.2  7795     0    1    1
>> 53513 40.057 127.127.36.0 wwv1 0110  4895  31.3  7795     0    2    2
>> 53513 41.057 127.127.36.0 wwv1 0110  4291  29.5  7795     0    3    3
>> 53513 42.057 127.127.36.0 wwv1 0110  3758  28.1  7795     0    4    4
>> 53513 43.056 127.127.36.0 wwv1 0110  3299  26.4  7795     0    5    5
>> 53513 44.056 127.127.36.0 wwv1 0110  3153  25.3  7795     0    6    6
>> 53513 45.056 127.127.36.0 wwv1 0110  3542  26.7  7672  -123    7    0
>> 53513 46.056 127.127.36.0 wwv1 0110  3896  28.0  7672     0    8    1
>> 53513 46.056 127.127.36.0 wwv2 0110 3896 7795    6  1    8    3   62.50
>> 53513 47.056 127.127.36.0 wwv1 0110  4180  29.3  7672     0    1    1
>> 53513 48.056 127.127.36.0 wwv1 0110  4375  29.8  7672     0    2    2
>> 53513 49.056 127.127.36.0 wwv1 0110  4553  29.7  7672     0    3    3
>> 53513 50.056 127.127.36.0 wwv1 0110  4729  30.9  7673     1    4    0
>> 53513 51.056 127.127.36.0 wwv1 0110  4940  31.4  7673     0    5    1
>> 53513 52.056 127.127.36.0 wwv1 0110  5127  31.6  7673     0    6    2
>> 53513 53.056 127.127.36.0 wwv1 0110  5161  32.4  7673     0    7    3
>> 53513 54.056 127.127.36.0 wwv1 0110  5222  29.5  7673     0    8    4
>> 53513 54.056 127.127.36.0 wwv2 0110 5222 7673    4  0    8 -122   62.50
>> 53513 55.055 127.127.36.0 wwv1 0110  5335  30.9  7673     0    1    1
>> 53513 56.055 127.127.36.0 wwv1 0110  5411  32.0  7674     1    2    0
>> 53513 57.055 127.127.36.0 wwv1 0110  5440  31.9  7674     0    3    1
>> 53513 58.055 127.127.36.0 wwv1 0110  5536  31.0  7674     0    4    2
>> 53513 59.055 127.127.36.0 wwv1 0110  4864  30.7  7674     0    5    3
>> 53513 60.055 127.127.36.0 wwv8 2 195 WV15 0   308  18.1     1 479674
>> 7674 47930
>> 1
>> 53513 60.055 127.127.36.0 wwv8 2 195 WH15 0    95  13.6     0 167785
>> 7674 16744
>> 1
>> 53513 120.098 127.127.36.0 wwv8 2 203 WV15 1  3133  33.5    22 479674
>> 7675 4796
>> 74
>> 53513 120.098 127.127.36.0 wwv8 2 203 WH15 0   954  24.6     2 324942
>> 7675 3249
>> 42
>> 53513 126.098 127.127.36.0 wwv1 0100  3231  37.9  7332  -342    1    0
>> 53513 127.097 127.127.36.0 wwv1 0100  3401  37.1  7332     0    2    1
>> 53513 128.097 127.127.36.0 wwv1 0100  3496  36.3  7333     1    3    0
>> 53513 129.097 127.127.36.0 wwv1 0100  3708  36.2  7334     1    4    0
>> 53513 130.097 127.127.36.0 wwv1 0100  3487  30.0  7334     0    5    1
>> 53513 131.097 127.127.36.0 wwv1 0100  3811  27.7  7334     0    6    2
>> 53513 132.097 127.127.36.0 wwv1 0100  4049  28.3  7334     0    7    3
>> 53513 133.129 127.127.36.0 wwv1 0100  3547  27.7  7335     1    8    0
>> 53513 133.129 127.127.36.0 wwv2 0100 3547 7334    3  0    8 -339
>> 0.00
>> 53513 134.129 127.127.36.0 wwv1 0110  3113  26.9  7335     0    1    1
>> 53513 137.129 127.127.36.0 wwv1 0100  3007  24.7  7083  -252    1    0
>> 53513 138.129 127.127.36.0 wwv1 0100  3329  26.6  7083     0    2    1
>> 53513 139.128 127.127.36.0 wwv1 0100  3657  28.0  7084     1    3    0
>> 53513 140.128 127.127.36.0 wwv1 0100  3958  29.3  7084     0    4    1
>> 53513 141.128 127.127.36.0 wwv1 0100  3903  30.0  7085     1    5    0
>> 53513 142.128 127.127.36.0 wwv1 0100  3958  31.2  7086     1    6    0
>> 53513 143.128 127.127.36.0 wwv1 0100  4225  31.0  7086     0    7    1
>> 53513 144.128 127.127.36.0 wwv1 0100  4514  31.2  7087     1    8    0
>> 53513 144.128 127.127.36.0 wwv2 0100 4514 7083    1  0    8 -251
>> 0.00
>> 53513 145.128 127.127.36.0 wwv1 0110  4726  31.6  7087     0    1    1
>> 53513 146.128 127.127.36.0 wwv1 0110  4896  32.2  7088     1    2    0
>> 53513 147.128 127.127.36.0 wwv1 0110  5026  32.5  7089     1    3    0
>> 53513 148.128 127.127.36.0 wwv1 0110  5143  32.4  7089     0    4    1
>> 53513 149.128 127.127.36.0 wwv1 0110  4506  32.2  7090     1    5    0
>> 53513 150.128 127.127.36.0 wwv1 0110  4708  33.1  7090     0    6    1
>> 53513 151.127 127.127.36.0 wwv1 0110  4891  32.4  7091     1    7    0
>> 53513 152.127 127.127.36.0 wwv1 0110  5028  32.4  7092     1    8    0
>> 53513 152.127 127.127.36.0 wwv2 0110 5028 7087    1  0    8    4
>> 20.83
>> 53513 153.127 127.127.36.0 wwv1 0110  5108  32.3  7092     0    1    1
>> 53513 154.127 127.127.36.0 wwv1 0110  5223  32.7  7093     1    2    0
>> 53513 155.127 127.127.36.0 wwv1 0110  5354  33.3  7094     1    3    0
>> 53513 156.127 127.127.36.0 wwv1 0110  5461  32.8  7094     0    4    1
>> 53513 157.127 127.127.36.0 wwv1 0110  5514  33.0  7095     1    5    0
>> 53513 158.127 127.127.36.0 wwv1 0110  5570  33.8  7095     0    6    1
>> 53513 159.127 127.127.36.0 wwv1 0110  5646  33.8  7096     1    7    0
>> 53513 160.127 127.127.36.0 wwv1 0110  5679  34.4  7096     0    8    1
>> 53513 160.127 127.127.36.0 wwv2 0110 5679 7092    1  0    8    5
>> 46.88
>> 53513 161.127 127.127.36.0 wwv1 0110  5724  34.2  7097     1    1    0
>> 53513 162.127 127.127.36.0 wwv1 0110  5784  34.2  7097     0    2    1
>> 53513 163.126 127.127.36.0 wwv1 0110  5850  34.1  7097     0    3    2
>> 53513 164.142 127.127.36.0 wwv1 0110  5129  28.3  7098     1    4    0
>> 53513 165.142 127.127.36.0 wwv1 0110  4499  26.3  7098     0    5    1
>> 53513 166.142 127.127.36.0 wwv1 0110  3943  24.5  7098     0    6    2
>> 53513 167.142 127.127.36.0 wwv1 0110  3461  22.7  7098     0    7    3
>> 53513 168.142 127.127.36.0 wwv1 0110  3122  31.5  7098     0    8    4
>> 53513 168.142 127.127.36.0 wwv2 0110 3122 7098    4  0    8    6
>> 78.12
>> 53513 169.142 127.127.36.0 wwv1 0110  3524  33.2  6974  -124    1    0
>> 53513 170.142 127.127.36.0 wwv1 0110  3881  34.7  6974     0    2    1
>>
0
David
5/23/2005 6:12:20 PM
Dave,
Early on, I was using the Traconix 1020, picking up a spot not too far
from the
AM detector.  Without a schematic, its hard to tell if any filtering
has already
taken place.  However, I observe it on a scope and I can pick out the
seconds
ticks and even see the 100 Hz.

I have also had it on a Kenwood TS940 headphone jack.  Set for AM, no
ability to put the 2.1 Khz filter on in that mode in this rig.  On the
scope it
looks about the same as the Traconix, maybe a tad less 100hz, but not
by much.

Out here on the left coast, we quite often here both WWv and WWVH on
both 10Mhz and 15Mhz.  How does this effect the 5ms. ticks and the
100Hz.
filters?  Most of the time one of them dominates by 6-10+db, but at
times
they are neck and neck.

    Roger

0
wa6zvp
5/24/2005 3:32:37 AM
Roger,

One thing I have not been able to evaluate is what happens when the WWV 
and WWVH signals are co-dominant. The mitigation algorithms look for 
each station separately and choose the maximum SNR; however, the cross 
correlation of the 1000-1200 Hz seconds tick is not definitive. See the 
report cited in the documentation. I have a PSTI (sic) 1020 here and it 
has only nominal filtering; however, it should be more than sufficient 
as a good receiver. The bottom line is that the sidetone produced by the 
driver should sound okay.

Dave

wa6zvp@gmail.com wrote:
> Dave,
> Early on, I was using the Traconix 1020, picking up a spot not too far
> from the
> AM detector.  Without a schematic, its hard to tell if any filtering
> has already
> taken place.  However, I observe it on a scope and I can pick out the
> seconds
> ticks and even see the 100 Hz.
> 
> I have also had it on a Kenwood TS940 headphone jack.  Set for AM, no
> ability to put the 2.1 Khz filter on in that mode in this rig.  On the
> scope it
> looks about the same as the Traconix, maybe a tad less 100hz, but not
> by much.
> 
> Out here on the left coast, we quite often here both WWv and WWVH on
> both 10Mhz and 15Mhz.  How does this effect the 5ms. ticks and the
> 100Hz.
> filters?  Most of the time one of them dominates by 6-10+db, but at
> times
> they are neck and neck.
> 
>     Roger
> 
0
David
5/24/2005 1:59:55 PM
rtxo <gnu@wraith.sf.ca.us> writes:

> I've had a sb awe64 (gold) and an sb live both working with freebsd.
> An sb awe32 and an sb es1373 did not work with freebsd, although
> the es1373 works fine with linux, so I know its not the particular
> card.

Hi, Gnu, long time no see.

FWIW, I'm running

    pcm0: <Creative CT5880-A> port 0xcc00-0xcc3f irq 11 at device 17.0 on pci0
    pcm0: <SigmaTel STAC9708/11 AC97 Codec>

against a moderately hacked version of ntpd

    ntpd 4.1.73@1.982-r Sat Apr 17 22:52:07 MDT 2004 (1)

and most of the trouble was figuring out which one of the potential
source, agc, and monitor controls was the right one.  This set of
sources has run happily in i386 4.8, 4.9, and 5.2.1 environments.  I
plan to take it over to an amd64 box sometime in the next few weeks.

(I ended up extending the pcm-extensions config file to allow admin
selection of various stuff; here's an example:)

    # /etc/ntp.audio#      where # is the unit number
    # /etc/ntp.audio.#     where # is the unit number
    # /etc/ntp.audio
    #
    # for contents of the form:
    #
    # idev /dev/input_device
    # cdev /dev/control_device
    # source <pcm_input_device>
    # agc <pcm_mix_device>
    # monitor <pcm_mix_device>
    #
    # The device names for the "agc" and "monitor" keywords
    # can be found by running either the "mixer" program or the
    # util/audio-pcm (man 8L audio-pcm) program.
    #
    # this one is a Creative SB pci/5880-c, an odd little beast.  Note
    # source and agc aren't the same.  Sigh.
    #
    idev    /dev/audio0.0
    cdev    /dev/mixer0
    source  line
    agc     rec
    monitor line

regards,
Ross
0
Ross
5/24/2005 4:18:01 PM
Hi all.

I haven't done an update in a week or two, so thought I would update
everyone on whats going on.

I bought an SB card, but the snd_driver load didn't even see it, so
I put the 'white box' special back in.  After restarting, I saw lots
more action.  Started getting wwv3 and 4 messages, but it still would
not quite get happy.  After an hour or so, it even lost minute sync
and did a full restart.  Never again did it get any better.

On a hunch, opening up the case and voila.  Hot.  Bad fan.
I replace (er, kludge) some fans.  Things get better, for a while,
and even set the clock once, before getting unhappy.  Even days of
running with s9+ WWV signals would not fully sync.

So, I start wrapping my head around the refclock_wwv driver.  (Actually
it
was more like it was wrapping itself around _my_ head, but I digress.
At least I started understanding the sequence of the debug messages,
and
what to watch for.  I even added one myself to watch the watchcat
variable.

The WWV docs say the 100Hz 1bps data is at 50% modulation.  This does
not correspond to the source code, so I changed the value of DGAIN from
10 to 2.  I varified the levels with a scope.  It is 50% of the tick
levels.

Seems better, but still not there yet.

Today, in frustration, I find another scrapbin audio card.  Another one
that
that the snd_driver load wouldn't find. :(

So, I put the semi-working on back in, rebooted, and I'll be damned.
It progressed non-stop from Minute sync (took 2 minutes) directly to
second sync.  3 minutes later it had all the digits.  After it had seen
all the digits with high certainty, it set the clock and stayed there.
Total elapsed time about 20 minutes.  It then proceeded to ramp up the
audio clock freq updates to 1024 and is happy as a lark!!

I'm writing this some 5 or 6 hours after the lock.  I'm still seeing
clockstat output like:

53528 14520.008 127.127.36.0  0 2005 158 04:02:00  D -6 0 127 WV15 21 5
88.0 1024
53528 14522.016 127.127.36.0 wwv5 001f 175 4924 3207/34.4 5678/18.2
WV15 fe91 37 3514/40.0 WH15 0002 19 1895/33.3

Which is very good.  It is starting to take some data hits though.

It is starting to fall off compared to a few hours ago.  This is
expected.
Propagation on 15 Mhz is starting to drop off to CO.  10 would be
better.
The Traconex receiver is not very agressive at checking better freqs.
It
has to really get weak.

Anyway, I'd like to tune the fudgetime value now to match the GPSs, but
it probably won't relock.  Wish I knew what made it do it today.

          Roger


wa6zvp@gmail.com wrote:
> Folks,
>  I suspect that interest in drivers other than GPS and PPS are waning,
> in fact I have 3 GPS based servers as well, but thought I'd try
> something else.
>
> I have a Traconex 1020 WWV receiver used with driver 3 which works
> rather well, so I thought I would add the audio driver (36) to the mix.
>
> System is an older Dell workstation with FreeBSD 5.3.  The NTP version
> is 4.2.0a-20050303, although I've tried others, and even BSD 5.4
> The sound 'card' is on the motherboard.
>
> I did:
> kldload snd_driver
> which resulted in:
> May 19 19:57:01 Fuzzball kernel: pcm0: <Intel ICH2 (82801BA)> port
> 0xdc40-0xdc7f,0xd800-0xd8ff irq 10 at device 31.5 on pci0
> May 19 19:57:01 Fuzzball kernel: pcm0: <Analog Devices AD1885 AC97
> Codec>
> May 19 19:57:01 Fuzzball kernel: pcm0: measured ac97 link rate at 55945
> Hz
> May 19 20:08:03 Fuzzball ntpd[970]: ntpd 4.2.0a@1.1191-r Wed May 18
> 20:59:11 PM
>
> and it created /dev/audio0.0 to which I symlinked ntp.audio.0
>
> ntp.conf contains:
> server 127.127.36.0
> fudge 127.127.36.0 flag2 1 flag3 1 flag4 1
>
> Here is the last 3 samples from clockstats:
>
> 53510 59149.914 127.127.36.0 wwv8 2  91 WV15 0   226  10.1 62698  4880
> 62698
> 53510 59149.914 127.127.36.0 wwv8 2  91 WH15 0   248  12.5 443431  4880
> 443431
> 53510 59208.430 127.127.36.0 wwv8 2 111 WV15 0   361  13.2 24318  2480
> 24318
> 53510 59208.430 127.127.36.0 wwv8 2 111 WH15 0   264  15.7 35736  2480
> 35736
> 53510 59266.946 127.127.36.0 wwv8 2  91 WV15 0   298   9.5 28666    80
> 28666
> 53510 59266.946 127.127.36.0 wwv8 2  91 WH15 0   254  12.0 239884    80
> 239884
>
> The AGC does show action and responds to removing/inserting audio.
> However, the tone filters never seem to get a grasp on things, like
> perhaps the output of the A/D is garbage?
>
> I know that Dave Mills has said that this driver is no longer
> maintainable, at least by him, but I found references from last year
> that it did work under FreeBSD.
>
> Does anyone have any ideas on where I should go from here?
> 
>         Roger

0
wa6zvp
6/7/2005 4:19:03 AM
wa6zvp,

Welcome to Real Radio. The WWV staff told me some years ago that, while 
the published specification of subcarrier level was 10 dB down from the 
carrier, in 1980 they changed it to 6 dB down from the carrier because 
the Heathkit GC-1000 WWV Most Accurate Clock needed a couple extra dB to 
be well.

I was a consultant on the Precision Time Inc./Traconex WWV/H receiver 
design, I argued for an approach just like the WWV/H audio driver, but 
they elected a more conventional design as you and I find. I have two 
PSTI/Traconex receiver here, which I confiscated when they went bankrupt 
and didn't pay my fee. They work just fine, even if you have to replace 
the RS232 chips every few years. You might find the audio demodulation 
routines frustrating at times, but they are demonstratively the best 
according to theory.

Dave, w3hcf

wa6zvp@gmail.com wrote:
> Hi all.
> 
> I haven't done an update in a week or two, so thought I would update
> everyone on whats going on.
> 
> I bought an SB card, but the snd_driver load didn't even see it, so
> I put the 'white box' special back in.  After restarting, I saw lots
> more action.  Started getting wwv3 and 4 messages, but it still would
> not quite get happy.  After an hour or so, it even lost minute sync
> and did a full restart.  Never again did it get any better.
> 
> On a hunch, opening up the case and voila.  Hot.  Bad fan.
> I replace (er, kludge) some fans.  Things get better, for a while,
> and even set the clock once, before getting unhappy.  Even days of
> running with s9+ WWV signals would not fully sync.
> 
> So, I start wrapping my head around the refclock_wwv driver.  (Actually
> it
> was more like it was wrapping itself around _my_ head, but I digress.
> At least I started understanding the sequence of the debug messages,
> and
> what to watch for.  I even added one myself to watch the watchcat
> variable.
> 
> The WWV docs say the 100Hz 1bps data is at 50% modulation.  This does
> not correspond to the source code, so I changed the value of DGAIN from
> 10 to 2.  I varified the levels with a scope.  It is 50% of the tick
> levels.
> 
> Seems better, but still not there yet.
> 
> Today, in frustration, I find another scrapbin audio card.  Another one
> that
> that the snd_driver load wouldn't find. :(
> 
> So, I put the semi-working on back in, rebooted, and I'll be damned.
> It progressed non-stop from Minute sync (took 2 minutes) directly to
> second sync.  3 minutes later it had all the digits.  After it had seen
> all the digits with high certainty, it set the clock and stayed there.
> Total elapsed time about 20 minutes.  It then proceeded to ramp up the
> audio clock freq updates to 1024 and is happy as a lark!!
> 
> I'm writing this some 5 or 6 hours after the lock.  I'm still seeing
> clockstat output like:
> 
> 53528 14520.008 127.127.36.0  0 2005 158 04:02:00  D -6 0 127 WV15 21 5
> 88.0 1024
> 53528 14522.016 127.127.36.0 wwv5 001f 175 4924 3207/34.4 5678/18.2
> WV15 fe91 37 3514/40.0 WH15 0002 19 1895/33.3
> 
> Which is very good.  It is starting to take some data hits though.
> 
> It is starting to fall off compared to a few hours ago.  This is
> expected.
> Propagation on 15 Mhz is starting to drop off to CO.  10 would be
> better.
> The Traconex receiver is not very agressive at checking better freqs.
> It
> has to really get weak.
> 
> Anyway, I'd like to tune the fudgetime value now to match the GPSs, but
> it probably won't relock.  Wish I knew what made it do it today.
> 
>           Roger
> 
> 
> wa6zvp@gmail.com wrote:
> 
>>Folks,
>> I suspect that interest in drivers other than GPS and PPS are waning,
>>in fact I have 3 GPS based servers as well, but thought I'd try
>>something else.
>>
>>I have a Traconex 1020 WWV receiver used with driver 3 which works
>>rather well, so I thought I would add the audio driver (36) to the mix.
>>
>>System is an older Dell workstation with FreeBSD 5.3.  The NTP version
>>is 4.2.0a-20050303, although I've tried others, and even BSD 5.4
>>The sound 'card' is on the motherboard.
>>
>>I did:
>>kldload snd_driver
>>which resulted in:
>>May 19 19:57:01 Fuzzball kernel: pcm0: <Intel ICH2 (82801BA)> port
>>0xdc40-0xdc7f,0xd800-0xd8ff irq 10 at device 31.5 on pci0
>>May 19 19:57:01 Fuzzball kernel: pcm0: <Analog Devices AD1885 AC97
>>Codec>
>>May 19 19:57:01 Fuzzball kernel: pcm0: measured ac97 link rate at 55945
>>Hz
>>May 19 20:08:03 Fuzzball ntpd[970]: ntpd 4.2.0a@1.1191-r Wed May 18
>>20:59:11 PM
>>
>>and it created /dev/audio0.0 to which I symlinked ntp.audio.0
>>
>>ntp.conf contains:
>>server 127.127.36.0
>>fudge 127.127.36.0 flag2 1 flag3 1 flag4 1
>>
>>Here is the last 3 samples from clockstats:
>>
>>53510 59149.914 127.127.36.0 wwv8 2  91 WV15 0   226  10.1 62698  4880
>>62698
>>53510 59149.914 127.127.36.0 wwv8 2  91 WH15 0   248  12.5 443431  4880
>>443431
>>53510 59208.430 127.127.36.0 wwv8 2 111 WV15 0   361  13.2 24318  2480
>>24318
>>53510 59208.430 127.127.36.0 wwv8 2 111 WH15 0   264  15.7 35736  2480
>>35736
>>53510 59266.946 127.127.36.0 wwv8 2  91 WV15 0   298   9.5 28666    80
>>28666
>>53510 59266.946 127.127.36.0 wwv8 2  91 WH15 0   254  12.0 239884    80
>>239884
>>
>>The AGC does show action and responds to removing/inserting audio.
>>However, the tone filters never seem to get a grasp on things, like
>>perhaps the output of the A/D is garbage?
>>
>>I know that Dave Mills has said that this driver is no longer
>>maintainable, at least by him, but I found references from last year
>>that it did work under FreeBSD.
>>
>>Does anyone have any ideas on where I should go from here?
>>
>>        Roger
> 
> 
0
David
6/7/2005 6:04:56 PM
Reply: