1*4882a593SmuzhiyunWhat: /sys/class/pps/ 2*4882a593SmuzhiyunDate: February 2008 3*4882a593SmuzhiyunContact: Rodolfo Giometti <giometti@linux.it> 4*4882a593SmuzhiyunDescription: 5*4882a593Smuzhiyun The /sys/class/pps/ directory will contain files and 6*4882a593Smuzhiyun directories that will provide a unified interface to 7*4882a593Smuzhiyun the PPS sources. 8*4882a593Smuzhiyun 9*4882a593SmuzhiyunWhat: /sys/class/pps/ppsX/ 10*4882a593SmuzhiyunDate: February 2008 11*4882a593SmuzhiyunContact: Rodolfo Giometti <giometti@linux.it> 12*4882a593SmuzhiyunDescription: 13*4882a593Smuzhiyun The /sys/class/pps/ppsX/ directory is related to X-th 14*4882a593Smuzhiyun PPS source into the system. Each directory will 15*4882a593Smuzhiyun contain files to manage and control its PPS source. 16*4882a593Smuzhiyun 17*4882a593SmuzhiyunWhat: /sys/class/pps/ppsX/assert 18*4882a593SmuzhiyunDate: February 2008 19*4882a593SmuzhiyunContact: Rodolfo Giometti <giometti@linux.it> 20*4882a593SmuzhiyunDescription: 21*4882a593Smuzhiyun The /sys/class/pps/ppsX/assert file reports the assert events 22*4882a593Smuzhiyun and the assert sequence number of the X-th source in the form: 23*4882a593Smuzhiyun 24*4882a593Smuzhiyun <secs>.<nsec>#<sequence> 25*4882a593Smuzhiyun 26*4882a593Smuzhiyun If the source has no assert events the content of this file 27*4882a593Smuzhiyun is empty. 28*4882a593Smuzhiyun 29*4882a593SmuzhiyunWhat: /sys/class/pps/ppsX/clear 30*4882a593SmuzhiyunDate: February 2008 31*4882a593SmuzhiyunContact: Rodolfo Giometti <giometti@linux.it> 32*4882a593SmuzhiyunDescription: 33*4882a593Smuzhiyun The /sys/class/pps/ppsX/clear file reports the clear events 34*4882a593Smuzhiyun and the clear sequence number of the X-th source in the form: 35*4882a593Smuzhiyun 36*4882a593Smuzhiyun <secs>.<nsec>#<sequence> 37*4882a593Smuzhiyun 38*4882a593Smuzhiyun If the source has no clear events the content of this file 39*4882a593Smuzhiyun is empty. 40*4882a593Smuzhiyun 41*4882a593SmuzhiyunWhat: /sys/class/pps/ppsX/mode 42*4882a593SmuzhiyunDate: February 2008 43*4882a593SmuzhiyunContact: Rodolfo Giometti <giometti@linux.it> 44*4882a593SmuzhiyunDescription: 45*4882a593Smuzhiyun The /sys/class/pps/ppsX/mode file reports the functioning 46*4882a593Smuzhiyun mode of the X-th source in hexadecimal encoding. 47*4882a593Smuzhiyun 48*4882a593Smuzhiyun Please, refer to linux/include/linux/pps.h for further 49*4882a593Smuzhiyun info. 50*4882a593Smuzhiyun 51*4882a593SmuzhiyunWhat: /sys/class/pps/ppsX/echo 52*4882a593SmuzhiyunDate: February 2008 53*4882a593SmuzhiyunContact: Rodolfo Giometti <giometti@linux.it> 54*4882a593SmuzhiyunDescription: 55*4882a593Smuzhiyun The /sys/class/pps/ppsX/echo file reports if the X-th does 56*4882a593Smuzhiyun or does not support an "echo" function. 57*4882a593Smuzhiyun 58*4882a593SmuzhiyunWhat: /sys/class/pps/ppsX/name 59*4882a593SmuzhiyunDate: February 2008 60*4882a593SmuzhiyunContact: Rodolfo Giometti <giometti@linux.it> 61*4882a593SmuzhiyunDescription: 62*4882a593Smuzhiyun The /sys/class/pps/ppsX/name file reports the name of the 63*4882a593Smuzhiyun X-th source. 64*4882a593Smuzhiyun 65*4882a593SmuzhiyunWhat: /sys/class/pps/ppsX/path 66*4882a593SmuzhiyunDate: February 2008 67*4882a593SmuzhiyunContact: Rodolfo Giometti <giometti@linux.it> 68*4882a593SmuzhiyunDescription: 69*4882a593Smuzhiyun The /sys/class/pps/ppsX/path file reports the path name of 70*4882a593Smuzhiyun the device connected with the X-th source. 71*4882a593Smuzhiyun 72*4882a593Smuzhiyun If the source is not connected with any device the content 73*4882a593Smuzhiyun of this file is empty. 74