[LinuxPPS] hardpps...

Udo van den Heuvel udovdh at xs4all.nl
Sun May 13 17:34:45 CEST 2007


Rodolfo Giometti wrote:
> On Sun, May 13, 2007 at 01:56:05PM +0200, Udo van den Heuvel wrote:
>> ttyS0 is set for low_latency as well as hardpps. When querying the port
>> only low_latency is returned.
>> Is this different on your system's serial port?
> 
> No. My serial port works correctly.
> 
> Did you checked the zero in this line?
> 
>   +	CMD_FLAG,	"hardpps",	ASYNC_HARDPPS_CD, ASYNC_HARDPPS_CD, 0, FLAG_CAN_INVERT,

My patch had a 2 there?
Now it works!
# setserial /dev/ttyS0
/dev/ttyS0, UART: 16550A, Port: 0x03f8, IRQ: 4, Flags: hardpps low_latency


Thanks,
Udo



More information about the LinuxPPS mailing list