Dear all,

I have 2 intel i210 NICs and I want to enable one as a PPS source and the other 
as a PPS sink.


I get the PTP_EXTTS_REQUEST2 failed: Operation not supported error when running 
ts2phc.


Am I doing something wrong? Should I be using some special driver to make this 
work?


Some outputs are:


  1.  ethtool -i enp1s0


         driver: igb
         version: 5.15.0-43-generic
         firmware-version: 3.25, 0x800006eb, 1.1824.0

     2.  uname -r



          5.15.0-43-generic

     3.  sudo phc_ctl enp1s0

          phc_ctl[17465.576]:
          capabilities:
          62499999 maximum frequency adjustment (ppb)
          0 programable alarms
          2 external time stamp channels
          2 programmable periodic signals
          4 configurable input/output pins
          has pulse per second support
          doesn't have cross timestamping support
          doesn't have adjust phase support

      4. sudo ts2phc -c /dev/ptp0 -s generic -m

          ts2phc[17625.163]: PTP_EXTTS_REQUEST2 failed: Operation not supported
          failed to arm PPS sinks

      5. sudo ./testptp -d /dev/ptp0 -z


         PTP_EXTTS_REQUEST  flags 0x00000001 : (0) Success
         PTP_EXTTS_REQUEST  flags 0x00000003 : (0) Success
         PTP_EXTTS_REQUEST  flags 0x00000005 : (0) Success
         PTP_EXTTS_REQUEST  flags 0x00000007 : (0) Success
         PTP_EXTTS_REQUEST  flags 0x00000011 : (0) Success
         PTP_EXTTS_REQUEST2 flags 0x00000001 : (-1) Invalid argument
         PTP_EXTTS_REQUEST2 flags 0x00000003 : (-1) Operation not supported
         PTP_EXTTS_REQUEST2 flags 0x00000005 : (-1) Operation not supported
         PTP_EXTTS_REQUEST2 flags 0x00000007 : (0) Success
         PTP_EXTTS_REQUEST2 flags 0x00000011 : (-1) Invalid argument


Best Regards
Yash Deshpande

_______________________________________________
Linuxptp-users mailing list
Linuxptp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-users

Reply via email to