요약·해설, 영어 원문, 전체 번역을 구분해 실었습니다. API 이름, 코드 심벌, 소스 경로는 원문 표기를 유지합니다.
1. 요약·해설
원문의 핵심 내용을 정리하고 커널 프로그래밍에 필요한 설명을 덧붙였습니다. 아래의 전체 번역과는 별도로 작성한 해설입니다.
사용 가능한 ADC test tone
debugfs-iio-ad9467:8-30in_voltage_test_mode_available은 device가 실제로 지원하는 test tone만 ABI mode 이름으로 나열합니다.
채널별 test mode 실행과 검증
debugfs-iio-ad9467:32-39in_voltageY_test_mode에 쓰면 channel Y에서 test tone을 시작하고, 읽으면 현재 test와 지원되는 경우 IIO backend의 data correctness 정보를 확인합니다.
2. 영어 원문 전체
번역에 사용한 Linux v6.18.37 원문입니다. 줄 번호는 해당 버전의 소스 파일을 기준으로 합니다.
원문 전체 펼치기
What: /sys/kernel/debug/iio/iio:deviceX/calibration_table_dump
KernelVersion: 6.11
Contact: [email protected]
Description:
This dumps the calibration table that was filled during the
digital interface tuning process.
What: /sys/kernel/debug/iio/iio:deviceX/in_voltage_test_mode_available
KernelVersion: 6.11
Contact: [email protected]
Description:
List all the available test tones:
- off
- midscale_short
- pos_fullscale
- neg_fullscale
- checkerboard
- prbs23
- prbs9
- one_zero_toggle
- user
- bit_toggle
- sync
- one_bit_high
- mixed_bit_frequency
- ramp
Note that depending on the actual device being used, some of the
above might not be available (and they won't be listed when
reading the file).
What: /sys/kernel/debug/iio/iio:deviceX/in_voltageY_test_mode
KernelVersion: 6.11
Contact: [email protected]
Description:
Writing to this file will initiate one of available test tone on
channel Y. Reading it, shows which test is running. In cases
where an IIO backend is available and supports the test tone,
additional information about the data correctness is given.
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미에 맞춰 전체 내용을 번역했습니다. 코드, 함수명, 코드 심벌, URL은 원문 표기를 유지합니다.
Digital interface calibration table
1-6| 항목 | 내용 |
|---|---|
| What | /sys/kernel/debug/iio/iio:deviceX/calibration_table_dump |
| KernelVersion | 6.11 |
| Contact | [email protected] |
| Description | Digital interface tuning 과정에서 채워진 calibration table을 출력합니다. |
사용할 수 있는 test tone 목록
8-30| 항목 | 내용 |
|---|---|
| What | /sys/kernel/debug/iio/iio:deviceX/in_voltage_test_mode_available |
| KernelVersion | 6.11 |
| Contact | [email protected] |
| Description | 사용할 수 있는 모든 test tone을 나열합니다. |
| 순서 | Test tone ABI 문자열 |
|---|---|
| 1 | off |
| 2 | midscale_short |
| 3 | pos_fullscale |
| 4 | neg_fullscale |
| 5 | checkerboard |
| 6 | prbs23 |
| 7 | prbs9 |
| 8 | one_zero_toggle |
| 9 | user |
| 10 | bit_toggle |
| 11 | sync |
| 12 | one_bit_high |
| 13 | mixed_bit_frequency |
| 14 | ramp |
실제로 사용하는 device에 따라 위 항목 중 일부는 제공되지 않을 수 있습니다. 그런 항목은 이 파일을 읽을 때 목록에 나타나지 않습니다.
Channel Y test mode 제어
32-39| 항목 | 내용 |
|---|---|
| What | /sys/kernel/debug/iio/iio:deviceX/in_voltageY_test_mode |
| KernelVersion | 6.11 |
| Contact | [email protected] |
| Write | 이 파일에 쓰면 channel Y에서 사용 가능한 test tone 중 하나를 시작합니다. |
| Read | 현재 실행 중인 test를 보여 줍니다. IIO backend가 존재하고 test tone을 지원하는 경우에는 data correctness에 대한 추가 정보도 제공합니다. |
Calibration 결과 확인과 channel test tone 선택·검증은 서로 다른 debugfs 경로를 사용한다.
Digital interface calibration table
debugfs-iio-ad9467:1-6calibration_table_dump는 digital interface tuning 과정에서 채워진 calibration table을 출력합니다.