From owner-freebsd-questions Tue Jan 25 19:46:32 2000 Delivered-To: freebsd-questions@freebsd.org Received: from eagle.ee.ntu.edu.tw (eagle.ee.ntu.edu.tw [140.112.19.87]) by hub.freebsd.org (Postfix) with ESMTP id 8157014E45 for ; Tue, 25 Jan 2000 19:46:26 -0800 (PST) (envelope-from huangcw@eagle.ee.ntu.edu.tw) Received: from eagle.ee.ntu.edu.tw (dino.ee.ntu.edu.tw [140.112.19.252]) by eagle.ee.ntu.edu.tw (8.9.1/8.9.1) with ESMTP id KAA12222 for ; Wed, 26 Jan 2000 10:35:23 +0800 (CST) Message-ID: <388E5EEB.3FA63AA3@eagle.ee.ntu.edu.tw> Date: Wed, 26 Jan 2000 10:41:47 +0800 From: "C.W. Huang" X-Mailer: Mozilla 4.5 [zhtw]C-CCK-MCD (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-questions@FreeBSD.ORG Subject: Questions about PPSAPI Content-Type: multipart/alternative; boundary="------------2D61C4DED72748BE1673F802" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --------------2D61C4DED72748BE1673F802 Content-Type: text/plain; charset=big5 Content-Transfer-Encoding: 7bit Hi, Recently, I have to fetch PPS from FreeBSD. The OS version I used is 4.0-20000101 and PPS source is GPS receiver. Typically, GPS receiver transmits data via RS232 and PPS is connected to DCD pin. However, I received nothing by the function code, time_pps_fetch, as I connected GPS receiver to cuaa0 (com1). (I can read the ascii code from the receiver.) After reading more from the file LINT, it seems to provide PPSAPI on parallel port in FreeBSD. I think so because of the description of /usr/src/sys/i386/conf/LINT as follow: "device pps0 at ppbus?" Under such condition, I don't know I should connect my pps to which pin of parallel port. Am I right? Or it should use serial port in FreeBSD? If parallel port be used, how do I map the data transmit, data receive and pps to connector? Please give me a hand. Thank you in advance. Chin-Wei Huang --------------2D61C4DED72748BE1673F802 Content-Type: text/html; charset=big5 Content-Transfer-Encoding: 7bit Hi,
    Recently, I have to fetch PPS from FreeBSD. The OS version
I used is 4.0-20000101 and PPS source is GPS receiver.
    Typically, GPS receiver transmits data via RS232 and PPS
is connected to DCD pin. However, I received nothing by the
function code, time_pps_fetch, as I connected GPS receiver to
cuaa0 (com1). (I can read the ascii code from the receiver.)
    After reading more from the file LINT, it seems to provide
PPSAPI on parallel port in FreeBSD. I think so because of the
description of /usr/src/sys/i386/conf/LINT as follow:
"device pps0 at ppbus?"
    Under such condition, I don't know I should connect my pps
to which pin of parallel port. Am I right? Or it should use
serial port in FreeBSD? If parallel port be used, how do I map
the data transmit, data receive and pps to connector? Please give
me a hand.

Thank you in advance.

Chin-Wei Huang --------------2D61C4DED72748BE1673F802-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message