I have indeed read it & very interesting it is too, Ixel.
What you have found looks far more efficient than the echoing method that I have had a quick play with:-
Alpha #
Alpha # echo "g997lspbg 1" > /tmp/pipe/dsl_cpe0_cmd
Alpha # cat /tmp/pipe/dsl_cpe0_ack
nReturn=0 nDirection=0 LATN[0]=132 LATN[1]=305 LATN[2]=489 LATN[3]=-32768 LATN[4]=-32768 SATN[0]=117 SATN[1]=302 SATN[2]=484 SATN[3]=-32768 SATN[4]=-32768 SNR[0]=57 SNR[1]=56 SNR[2]=59 SNR[3]=-32768 SNR[4]=-32768
I presume (maybe incorrectly) that the Linux script /ifx/vdsl2/dsl_cpe_pipe.sh includes the echo and cat commands or some other shortcut(s) for the same result.
Unfortunately, I don't currently have much time to experiment/revise any scripts.
It's even harder as I don't have an unlocked ECI modem of my own to play with (yet), so I have to remotely access someone else's for the time being.
I will be keeping my eagle eye on progress though.
It would be really good if anyone could suss out how to format the ECI's stats to the same format as used in the HG612 graphing scripts (using an ongoing modem_stats.log for the data over many hours, days, weeks, months & even more than a year if deemed necessary).