Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Mar 1995 10:25:24 +0100
From:      Lars Koeller  <uphya001@odie.physik2.uni-rostock.de>
To:        freebsd-questions@freefall.cdrom.com
Cc:        uphya001@odie.physik2.uni-rostock.de
Subject:   xntpd: testdcf don't work. Help!!!!!
Message-ID:  <199503130925.KAA17296@odie.physik2.uni-rostock.de>

Next in thread | Raw E-Mail | Index | Archive | Help
   Hello!

      I just  construct an DCF77 reciver for  the serial port (IX  magazine
   10.95). It  works well,   but I can  only   decode  sensless data   with
   'testdcf' out of the  /usr/src/contrib/xntpd/parse/util directory from a
   serial port. A few details: 

      	- Connection to the serial port (9 pin):

		pin 4 (DTR) : VCC +
		pin 3 (TxD) : VCC -
		pin 2 (RxD) : data from DCF modul

        - When I start  testdcf with port  /dev/tty01  or /dev/ttyd1 the DCF
          modul begins to work ( a led flashes secondly ) but the program
          hangs in the line fd = open(file, O_RDONLY). It only starts
          correctly when I use /dev/cua01.

	- After this it only decodes trash, but no usefull information:

- #-????-?-?-???----??????#-?----?-??-?????-?? *** BAD FORMAT (invalid/parity)
- --??-??-???-???#---?---????-????????#------- *** BAD FORMAT (invalid/parity)
- ??-????#---?-??#--??#-----#--??#-?-?--??#-?? *** BAD FORMAT (invalid/parity)
- ???-?#?---?-?#-?#?-??-?-?????-?#-?---??-??-? *** BAD FORMAT (invalid/parity)
- ?-?????????#?-?------?#---??-?-?????#-????-? *** BAD FORMAT (invalid/parity)
- #--?-??#?---??---???-#-?-#---?-?-?-?-??--??- *** BAD FORMAT (invalid/parity)
- ##???#-???#---????--?#--?-?---?#??-?-?????#- *** BAD FORMAT (invalid/parity)

          I also try the testdcf from the current-disribution! The same
          results!

      Who can help, what is with the dcf device in  MAKEDEV? I have applied
   all the patches for 1.1.5.1!

   Thanks for help

   Lars
	


------------------------------------------------------------------------------

Lars Köller                        E-Mail: 
University of Rostock (Germany)       lars.koeller@odie.physik2.Uni-Rostock.DE
Fachbereich Physik 		      lars.koeller@physik.Uni-Rostock.DE
Universitätsplatz 3		   Phone:  +49 381/498-1665 or 498-1648
18051 Rostock                      Fax:    +49 381/498-1667




Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?199503130925.KAA17296>