요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
Output와 clock source
sysfs-pps-gen:19-43Write-only enable로 PPS signal을 제어하고 system/peripheral timing source와 seconds·nanoseconds generator time을 읽습니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
1
What: /sys/class/pps-gen/
2
Date: February 2025
3
KernelVersion: 6.13
4
Contact: Rodolfo Giometti <[email protected]>
5
Description:
6
The /sys/class/pps-gen/ directory contains files and
7
directories that provide a unified interface to the PPS
8
generators.
10
What: /sys/class/pps-gen/pps-genX/
11
Date: February 2025
12
KernelVersion: 6.13
13
Contact: Rodolfo Giometti <[email protected]>
14
Description:
15
The /sys/class/pps-gen/pps-genX/ directory is related to X-th
16
PPS generator in the system. Each directory contain files to
17
manage and control its PPS generator.
19
What: /sys/class/pps-gen/pps-genX/enable
20
Date: February 2025
21
KernelVersion: 6.13
22
Contact: Rodolfo Giometti <[email protected]>
23
Description:
24
This write-only file enables or disables generation of the
25
PPS signal.
27
What: /sys/class/pps-gen/pps-genX/system
28
Date: February 2025
29
KernelVersion: 6.13
30
Contact: Rodolfo Giometti <[email protected]>
31
Description:
32
This read-only file returns "1" if the generator takes the
33
timing from the system clock, while it returns "0" if not
34
(i.e. from a peripheral device clock).
36
What: /sys/class/pps-gen/pps-genX/time
37
Date: February 2025
38
KernelVersion: 6.13
39
Contact: Rodolfo Giometti <[email protected]>
40
Description:
41
This read-only file contains the current time stored into the
42
generator clock as two integers representing the current time
43
seconds and nanoseconds.
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
Linux PPS generator sysfs ABI: pps-gen
1-9| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/class/pps-gen/ |
| Date | 2025년 2월 |
| KernelVersion | 6.13 |
| Contact | Rodolfo Giometti <[email protected]> |
| Description | `/sys/class/pps-gen/` directory에는 PPS generators에 대한 unified interface를 제공하는 files와 directories가 들어 있습니다. |
/sys/class/pps-gen/→pps-genX/→enable, system, time
Generator class가 indexed output controls를 제공합니다.
Linux PPS generator sysfs ABI: pps-genX
10-18| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/class/pps-gen/pps-genX/ |
| Date | 2025년 2월 |
| KernelVersion | 6.13 |
| Contact | Rodolfo Giometti <[email protected]> |
| Description | `/sys/class/pps-gen/pps-genX/` directory는 system의 X번째 PPS generator에 대응하며 generator를 manage·control하는 files를 담습니다. |
Linux PPS generator sysfs ABI: enable
19-26| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/class/pps-gen/pps-genX/enable |
| Date | 2025년 2월 |
| KernelVersion | 6.13 |
| Contact | Rodolfo Giometti <[email protected]> |
| Description | `/sys/class/pps-gen/pps-genX/enable`은 PPS signal generation을 enable 또는 disable하는 write-only file입니다. |
AttributeAccessMeaning
enableWrite-onlyEnable or disable PPS output
systemRead-only1 system clock; 0 peripheral clock
timeRead-onlyCurrent seconds and nanoseconds
Access direction과 returned values를 비교합니다.
Linux PPS generator sysfs ABI: system
27-35| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/class/pps-gen/pps-genX/system |
| Date | 2025년 2월 |
| KernelVersion | 6.13 |
| Contact | Rodolfo Giometti <[email protected]> |
| Description | `/sys/class/pps-gen/pps-genX/system`은 generator가 system clock에서 timing을 가져오면 `1`, peripheral device clock 등 다른 source에서 가져오면 `0`을 반환하는 read-only file입니다. |
Linux PPS generator sysfs ABI: time
36-43| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/class/pps-gen/pps-genX/time |
| Date | 2025년 2월 |
| KernelVersion | 6.13 |
| Contact | Rodolfo Giometti <[email protected]> |
| Description | `/sys/class/pps-gen/pps-genX/time`은 generator clock에 저장된 current time을 seconds와 nanoseconds를 나타내는 두 integers로 담는 read-only file입니다. |
PositionField
1Seconds
2Nanoseconds
time file의 두 integers 순서를 보존합니다.
Indexed PPS generators
sysfs-pps-gen:1-18Unified pps-gen class 아래 indexed generator directory가 각 output device의 controls를 제공합니다.