From owner-freebsd-hardware Mon Mar 13 02:33:07 1995 Return-Path: hardware-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id CAA00426 for hardware-outgoing; Mon, 13 Mar 1995 02:33:07 -0800 Received: from odie.physik2.uni-rostock.de (odie.physik2.uni-rostock.de [139.30.40.28]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id CAA00375 for ; Mon, 13 Mar 1995 02:31:49 -0800 Received: (uphya001@localhost) by odie.physik2.uni-rostock.de (8.6.8/8.3) id KAA17333; Mon, 13 Mar 1995 10:27:57 +0100 Date: Mon, 13 Mar 1995 10:27:57 +0100 From: Lars Koeller Message-Id: <199503130927.KAA17333@odie.physik2.uni-rostock.de> X-Face: nLQGe[[K51[{{[C\,BiQm[7]u1m{N>_\%nLBo4t@)CoZ}hK[W7DwX&V=}Wf#Qb,j:Jpj[(12r=b~:dYmh]fDf\, ]_frt6eM' dated: Mon, 13 Mar 1995 10:25:24 +0100 Sender: hardware-owner@FreeBSD.org Precedence: bulk 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