gpsd-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gpsd-users] gpsd:WARN: PPS TIOCMIWAIT returns unchanged state, ppsm


From: folkert
Subject: Re: [gpsd-users] gpsd:WARN: PPS TIOCMIWAIT returns unchanged state, ppsmonitor sleeps 10
Date: Tue, 2 Jul 2013 20:20:29 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

> > > > What type of serial port do you have?  A lot of linux serial drivers
> > > > do not support TIOCMIWAIT.
> > > 
> > > It is an IBM ThinkCentre M52 (8215F7G) with:
> > > 
> > > [    3.202517] Serial: 8250/16550 driver, 32 ports, IRQ sharing
> > > enabled [    3.222927] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a
> > > 16550A [    3.256381] serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a
> > > 16550A [    3.328789] 00:0c: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
> > > [    3.364454] 00:0d: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
> > 
> > I do not know that laptop model, can you tell me what type of serial port
> > that is?  And what driver you have attached?
> 
> It is actually an old desktop pc, a pentium 4.
> The linux kernel (3.2.0-rc7) says 8250/16550 and that's the driver it uses.

Ok I added an extra serial card but that did not help.

0a:09.0 Multiport serial controller: Quatech Inc DSC-100 (rev 11)

[    3.380095] serial 0000:0a:09.0: PCI INT A -> GSI 21 (level, low) -> IRQ 21
[    3.400368] 0000:0a:09.0: ttyS4 at I/O 0x5080 (irq = 21) is a 16550A
[    3.432276] 0000:0a:09.0: ttyS5 at I/O 0x5088 (irq = 21) is a 16550A

...
gpsd:INFO: KPPS cycle:  999928, duration:  779940 @ 1372789172.778096721
gpsd:PROG: KPPS assert 1372789172.778096721, sequence: 4 - clear  
1372789172.998064460, sequence: 5
gpsd:PROG: KPPS data: using clear
gpsd:INFO: KPPS cycle:  999908, duration:  219967 @ 1372789172.998064460
gpsd:PROG: KPPS assert 1372789173.777990996, sequence: 5 - clear  
1372789172.998064460, sequence: 5
gpsd:PROG: KPPS data: using assert
gpsd:INFO: KPPS cycle:  999895, duration:  779927 @ 1372789173.777990996
gpsd:DATA: packet from /dev/ttyS4 with 
{ONLINE|TIME|LATLON|SPEED|TRACK|MODE|PACKET|CLEAR|PPSTIME}
gpsd:PROG: KPPS assert 1372789173.777990996, sequence: 5 - clear  
1372789173.997978670, sequence: 6
gpsd:PROG: KPPS data: using clear
gpsd:INFO: KPPS cycle:  999915, duration:  219987 @ 1372789173.997978670
gpsd:WARN: PPS TIOCMIWAIT returns unchanged state, ppsmonitor sleeps 10
gpsd:DATA: packet from /dev/ttyS4 with 
{ONLINE|TIME|LATLON|ALTITUDE|STATUS|MODE|PACKET|PPSTIME}
gpsd:PROG: KPPS assert 1372789174.777913795, sequence: 6 - clear  
1372789173.997978670, sequence: 6
gpsd:PROG: KPPS data: using assert
gpsd:INFO: KPPS cycle:  999923, duration:  779936 @ 1372789174.777913795
gpsd:DATA: packet from /dev/ttyS4 with 
{ONLINE|TIME|LATLON|STATUS|PACKET|REPORT|PPSTIME}
gpsd:PROG: KPPS assert 1372789174.777913795, sequence: 6 - clear  
1372789174.997887906, sequence: 7
gpsd:PROG: KPPS data: using clear
gpsd:INFO: KPPS cycle:  999910, duration:  219974 @ 1372789174.997887906
gpsd:PROG: KPPS assert 1372789175.777813300, sequence: 7 - clear  
1372789174.997887906, sequence: 7
gpsd:PROG: KPPS data: using assert
gpsd:INFO: KPPS cycle:  999900, duration:  779926 @ 1372789175.777813300


What I don't understand: what does it need TIOCMIWAIT for? It already has the 
assert/clears?



Folkert van Heusden

-- 
www.vanheusden.com/multitail - multitail is tail on steroids. multiple
               windows, filtering, coloring, anything you can think of
----------------------------------------------------------------------
Phone: +31-6-41278122, PGP-key: 1F28D8AE, www.vanheusden.com



reply via email to

[Prev in Thread] Current Thread [Next in Thread]