[LinuxPPS] ntpd

Folkert van Heusden folkert at vanheusden.com
Thu Aug 3 17:59:16 CEST 2006


> > id      mode    echo    name                    path
> > ----    ------  ----    ----------------        ----------------
> > 00      1133    no      pps_8250_0              /dev/ttyS0
> > 01      1133    no      pps_8250_1              /dev/ttyS1
> > ...
> > 06      1133    no      pps_8250_0              /dev/ttyS0
> > 07      1133    no      pps_8250_1              /dev/ttyS1
> > now which is what?
> This is not correct. Which serial driver did you loaded? Use "lsmod"
> command.

8250_pnp                8096  0
8250_pci               18848  0
8250                   18784  6 8250_pnp,8250_pci
serial_core            15968  1 8250
pps_core                9096  2 8250

these modules get automatically loaded.

> How many serial lines have you into your system? Use "cat
> /proc/tty/drivers".

keetweej:/usr/src/ntp-dev-4.2.1p255-RC# cat /proc/tty/drivers
/dev/tty             /dev/tty        5       0 system:/dev/tty
/dev/console         /dev/console    5       1 system:console
/dev/ptmx            /dev/ptmx       5       2 system
/dev/vc/0            /dev/vc/0       4       0 system:vtmaster
serial               /dev/ttyS       4 64-67 serial
pty_slave            /dev/pts      136 0-1048575 pty:slave
pty_master           /dev/ptm      128 0-1048575 pty:master
pty_slave            /dev/ttyp       3 0-255 pty:slave
pty_master           /dev/pty        2 0-255 pty:master
unknown              /dev/tty        4 1-63 console

> Please, send to us whole /proc/pps/sources content.

keetweej:/usr/src/ntp-dev-4.2.1p255-RC# cat /proc/pps/sources
id      mode    echo    name                    path
----    ------  ----    ----------------        ----------------
00      1133    no      pps_8250_0              /dev/ttyS0
01      1133    no      pps_8250_1              /dev/ttyS1
02      1133    no      pps_8250_2              /dev/ttyS2
03      1133    no      pps_8250_3              /dev/ttyS3
04      1133    no      pps_8250_2              /dev/ttyS2
05      1133    no      pps_8250_3              /dev/ttyS3
06      1133    no      pps_8250_0              /dev/ttyS0
07      1133    no      pps_8250_1              /dev/ttyS1

Please note: the motherboard has 2 onboard serial ports. On the second
(which I can access via /dev/ttyS1 with minicom) is the GPS connected.
But there's also a plug-in pci board with 2 serial ports on it in the
system. Maybe that screws things up?

keetweej:/usr/src/ntp-dev-4.2.1p255-RC# lspci
0000:00:00.0 Host bridge: VIA Technologies, Inc. VT82C693A/694x [Apollo PRO133x] (rev c4)
0000:00:01.0 PCI bridge: VIA Technologies, Inc. VT82C598/694x [Apollo MVP3/Pro133x AGP]
0000:00:07.0 ISA bridge: VIA Technologies, Inc. VT82C686 [Apollo Super South] (rev 40)
0000:00:07.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
0000:00:07.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 16)
0000:00:07.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 16)
0000:00:07.4 Bridge: VIA Technologies, Inc. VT82C686 [Apollo Super ACPI] (rev 40)
0000:00:07.5 Multimedia audio controller: VIA Technologies, Inc. VT82C686 AC97 Audio Controller (rev 50)
0000:00:08.0 Serial controller: Timedia Technology Co Ltd PCI2S550 (Dual 16550 UART) (rev 01)            <---------------
0000:00:09.0 Ethernet controller: National Semiconductor Corporation DP83820 10/100/1000 Ethernet Controller
0000:00:0a.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 07)
0000:00:0a.1 Input device controller: Creative Labs SB Live! MIDI/Game Port (rev 07)
0000:00:0b.0 USB Controller: NEC Corporation USB (rev 41)
0000:00:0b.1 USB Controller: NEC Corporation USB (rev 41)
0000:00:0b.2 USB Controller: NEC Corporation USB 2.0 (rev 02)
0000:01:00.0 VGA compatible controller: ATI Technologies Inc Rage 128 Pro Ultra TF


Folkert van Heusden

-- 
www.biglumber.com <- site where one can exchange PGP key signatures 
----------------------------------------------------------------------
Phone: +31-6-41278122, PGP-key: 1F28D8AE, www.vanheusden.com



More information about the LinuxPPS mailing list