← Documents Documentation/ABI/testing/sysfs-pps GitHub 원문 ↗

Linux 6.18.37 · ABI / testing

Linux PPS source sysfs ABI

PPS source별 assert·clear timestamps와 sequence, hexadecimal mode, echo capability, name과 backing-device path를 제공합니다.

Source pathDocumentation/ABI/testing/sysfs-pps
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.

1. 요약·해설

원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.

PPS source hierarchy

sysfs-pps:1-16

Unified class 아래 ppsX directory 하나가 system의 X번째 PPS source와 그 control files를 나타냅니다.

Assert와 clear event records

sysfs-pps:17-40

Seconds·nanoseconds timestamp와 monotonically associated sequence를 하나의 event string으로 보고하며 event가 없으면 empty입니다.

Mode, echo와 source identity

sysfs-pps:41-73

Hex mode, echo support, source name과 optional backing-device path를 제공합니다.

2. 영어 원문 전체

번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.

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

3. 한국어 전문 번역

영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.

Linux PPS source sysfs ABI: pps

1-8
항목한국어 전문 번역
What/sys/class/pps/
Date2008년 2월
KernelVersion
ContactRodolfo Giometti <[email protected]>
Description`/sys/class/pps/` directory에는 PPS sources에 대한 unified interface를 제공하는 files와 directories가 들어 있습니다.
PPS source sysfs hierarchy
/sys/class/pps/ppsX/assert, clear, mode, echo, name, path

PPS class가 indexed source directories와 source-specific attributes를 구성합니다.

Linux PPS source sysfs ABI: ppsX

9-16
항목한국어 전문 번역
What/sys/class/pps/ppsX/
Date2008년 2월
KernelVersion
ContactRodolfo Giometti <[email protected]>
Description`/sys/class/pps/ppsX/` directory는 system의 X번째 PPS source에 대응하며 source를 manage·control하는 files를 담습니다.

Linux PPS source sysfs ABI: assert

17-28
항목한국어 전문 번역
What/sys/class/pps/ppsX/assert
Date2008년 2월
KernelVersion
ContactRodolfo Giometti <[email protected]>
Description`/sys/class/pps/ppsX/assert`는 X번째 source의 assert events와 assert sequence number를 `<secs>.<nsec>#<sequence>` format으로 보고합니다. Source에 assert event가 없으면 file content는 empty입니다.
PPS event record format
FieldMeaning
<secs>Whole seconds
<nsec>Nanoseconds
<sequence>Assert or clear event sequence number
Format<secs>.<nsec>#<sequence>
No eventThe corresponding file is empty.

assert와 clear files가 공유하는 timestamp·sequence layout입니다.

Linux PPS source sysfs ABI: clear

29-40
항목한국어 전문 번역
What/sys/class/pps/ppsX/clear
Date2008년 2월
KernelVersion
ContactRodolfo Giometti <[email protected]>
Description`/sys/class/pps/ppsX/clear`는 X번째 source의 clear events와 clear sequence number를 `<secs>.<nsec>#<sequence>` format으로 보고합니다. Source에 clear event가 없으면 file content는 empty입니다.

Linux PPS source sysfs ABI: mode

41-50
항목한국어 전문 번역
What/sys/class/pps/ppsX/mode
Date2008년 2월
KernelVersion
ContactRodolfo Giometti <[email protected]>
Description`/sys/class/pps/ppsX/mode`는 X번째 source의 functioning mode를 hexadecimal encoding으로 보고합니다. 자세한 내용은 `linux/include/linux/pps.h`를 참조합니다.
PPS source metadata
AttributeReports
modeFunctioning mode in hexadecimal encoding
echoWhether echo function is supported
nameSource name
pathConnected device path or empty

Mode, capability와 identity attributes를 정리합니다.

Linux PPS source sysfs ABI: echo

51-57
항목한국어 전문 번역
What/sys/class/pps/ppsX/echo
Date2008년 2월
KernelVersion
ContactRodolfo Giometti <[email protected]>
Description`/sys/class/pps/ppsX/echo`는 X번째 source가 `echo` function을 지원하는지 보고합니다.

Linux PPS source sysfs ABI: name

58-64
항목한국어 전문 번역
What/sys/class/pps/ppsX/name
Date2008년 2월
KernelVersion
ContactRodolfo Giometti <[email protected]>
Description`/sys/class/pps/ppsX/name`은 X번째 source의 name을 보고합니다.

Linux PPS source sysfs ABI: path

65-73
항목한국어 전문 번역
What/sys/class/pps/ppsX/path
Date2008년 2월
KernelVersion
ContactRodolfo Giometti <[email protected]>
Description`/sys/class/pps/ppsX/path`는 X번째 source에 연결된 device path name을 보고합니다. Source가 어떤 device에도 연결되지 않았으면 file content는 empty입니다.