<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:"Trebuchet MS";
panose-1:2 11 6 3 2 2 2 2 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-ligatures:standardcontextual;
mso-fareast-language:EN-US;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;
mso-ligatures:none;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 2.0cm 2.0cm 2.0cm;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=IT link="#0563C1" vlink="#954F72" style='word-wrap:break-word'><div class=WordSection1><p class=MsoNormal><span lang=EN-US>Good morning,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>I have a problem with GPS module ( AIW-212 – Advantech) Ublox NEO-M9N in minipci-express format, my goal is to get working chrony daemon in combination with gpsd to synchronize my system.<o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span lang=EN-US>The device is correctly recognized by OS (Debian 11) and I can trap the NMEA messages on /dev/ttyACM0.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>On system start I can see that also the PPS module is correctly installed : <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:9.0pt;font-family:"Courier New"'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:9.0pt;font-family:"Courier New"'>dmesg<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:9.0pt;font-family:"Courier New"'>[ 5.294806] pps_ldisc: PPS line discipline registered<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:9.0pt;font-family:"Courier New"'>[ 5.295102] pps pps1: new PPS source acm0<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:9.0pt;font-family:"Courier New"'>[ 5.295109] pps pps1: source "/dev/ttyACM0" added<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>When I try to check the pps I can’t see any status changing.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:9.0pt;font-family:"Courier New"'>ppstest /dev/pps1<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:9.0pt;font-family:"Courier New"'>trying PPS source "/dev/pps1"<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:9.0pt;font-family:"Courier New"'>found PPS source "/dev/pps1"<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:9.0pt;font-family:"Courier New"'>ok, found 1 source(s), now start fetching data...<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:9.0pt;font-family:"Courier New"'>time_pps_fetch() error -1 (Connection timed out)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:9.0pt;font-family:"Courier New"'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>To verify the PPS presence (in addiction to checking the GPS mode (3D FIX) with cgps tool) I have connected a wire soldered to the PPS signal present on module and the DCD signal of an RS232 serial port.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>If I check the PPS with ppscheck tool I think the signal is working correctly.<o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span lang=EN-US style='font-family:"Courier New"'>ppscheck /dev/ttyS0<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Courier New"'># Seconds nanoSecs Signals<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Courier New"'>1694124205.155059987 TIOCM_CD<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Courier New"'>1694124205.254962112<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Courier New"'>1694124206.154989656 TIOCM_CD<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Courier New"'>1694124206.255009871<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Courier New"'>1694124207.155048536 TIOCM_CD<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Courier New"'>1694124207.255041944<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Courier New"'>1694124208.155054413 TIOCM_CD<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Courier New"'>1694124208.255058004<o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span lang=EN-US>Why the PPS is not visible on “/dev/pps1” ? <o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span lang=EN-US>Thanks everyone for help<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-US style='font-size:8.0pt;font-family:"Tahoma",sans-serif;color:#212121;mso-ligatures:none;mso-fareast-language:IT'><o:p> </o:p></span></p><p class=MsoNormal><b><span lang=EN-US style='font-size:12.0pt;font-family:"Trebuchet MS",sans-serif;color:#202124;mso-ligatures:none;mso-fareast-language:IT'>Emanuele Pasinetti<o:p></o:p></span></b></p><p class=MsoNormal><o:p> </o:p></p></div></body></html>