Hello, I am facing problem in running ts2phc on ubuntu 18.04 with linuxptp .
Steps : compiled gpsd on target # git clone https://gitlab.com/gpsd/gpsd.git # cd gpsd # scons --config=force && scons install Packages Version gpsd: 3.22.1~dev (revision release-3.22-50-g0a3e83ea9) ubxtool: Version 3.22.1~dev Python 3.6.9 Command : ts2phc -f ts2phc.cfg -m -s generic Error logs : root@localhost:~/linuxptp# ./ts2phc -f ../ts2phc.cfg -l7 -m -s generic ts2phc[501.764]: config item (null).message_tag is '(null)' ts2phc[501.764]: config item (null).verbose is 1 ts2phc[501.764]: config item (null).use_syslog is 1 ts2phc[501.764]: config item (null).logging_level is 7 ts2phc[501.764]: config item eth0.ts2phc.master is 0 ts2phc[501.764]: config item (null).clock_servo is 0 ts2phc[501.764]: config item eth0.ts2phc.pin_index is 0 ts2phc[501.764]: config item eth0.ts2phc.channel is 0 ts2phc[501.764]: config item eth0.ts2phc.extts_polarity is 6 ts2phc[501.764]: config item eth0.ts2phc.extts_correction is 0 ts2phc[501.764]: config item eth0.ts2phc.pulsewidth is 990000000 ts2phc[501.764]: config item (null).free_running is 0 ts2phc[501.765]: PHC slave eth0 has ptp index 0 ts2phc[501.765]: config item (null).pi_proportional_const is 0.000000 ts2phc[501.765]: config item (null).pi_integral_const is 0.000000 ts2phc[501.765]: config item (null).pi_proportional_scale is 0.000000 ts2phc[501.765]: config item (null).pi_proportional_exponent is -0.300000 ts2phc[501.765]: config item (null).pi_proportional_norm_max is 0.700000 ts2phc[501.765]: config item (null).pi_integral_scale is 0.000000 ts2phc[501.765]: config item (null).pi_integral_exponent is 0.400000 ts2phc[501.765]: config item (null).pi_integral_norm_max is 0.300000 ts2phc[501.765]: config item (null).step_threshold is 0.000020 ts2phc[501.765]: config item (null).first_step_threshold is 0.000020 ts2phc[501.765]: config item (null).max_frequency is 900000000 ts2phc[501.765]: config item (null).servo_offset_threshold is 0 ts2phc[501.765]: config item (null).servo_num_offset_values is 10 ts2phc[501.765]: PI servo: sync interval 1.000 kp 0.700 ki 0.300000 ts2phc[503.770]: poll returns zero, no events ts2phc[505.772]: poll returns zero, no events ts2phc[507.774]: poll returns zero, no events ts2phc[509.776]: poll returns zero, no events Attached is my ts2phc.cfg Need this on urgent basis, some pointers will be really helpful . Regards, Nikhil Gupta
[global] first_step_threshold 0.00002 step_threshold 0.00002 ts2phc.pulsewidth 990000000 ts2phc.nmea_serialport /dev/ttyAMA2 [eth0] ts2phc.channel 0 ts2phc.extts_polarity both
_______________________________________________ Linuxptp-devel mailing list Linuxptp-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxptp-devel