요약·해설, 영어 원문, 전체 번역을 구분해 실었습니다. API 이름, 코드 심벌, 소스 경로는 원문 표기를 유지합니다.
1. 요약·해설
원문의 핵심 내용을 정리하고 커널 프로그래밍에 필요한 설명을 덧붙였습니다. 아래의 전체 번역과는 별도로 작성한 해설입니다.
Environment-specific gain
sysfs-bus-iio-proximity:12-24sensor_sensitivity는 장치와 환경에 맞춰 time-of-flight 신호 증폭을 조정합니다. as3935는 0-31 범위에서 실내 기본값 18, 실외 권장값 14를 사용합니다.
2. 영어 원문 전체
번역에 사용한 Linux v6.18.37 원문입니다. 줄 번호는 해당 버전의 소스 파일을 기준으로 합니다.
원문 전체 펼치기
1
What: /sys/bus/iio/devices/iio:deviceX/in_proximity_nearlevel
2
Date: March 2020
3
KernelVersion: 5.7
4
Contact: [email protected]
5
Description:
6
Near level for proximity sensors. This is a single integer
7
value that tells user space when an object should be
8
considered close to the device. If the value read from the
9
sensor is above or equal to the value in this file an object
10
should typically be considered near.
12
What: /sys/bus/iio/devices/iio:deviceX/sensor_sensitivity
13
Date: March 2014
14
KernelVersion: 3.15
15
Contact: [email protected]
16
Description:
17
Proximity sensors sometimes have a controllable amplifier
18
on the signal from which time of flight measurements are
19
taken.
20
The appropriate values to take is dependent on both the
21
sensor and its operating environment:
22
* as3935 (0-31 range)
23
18 = indoors (default)
24
14 = outdoors
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미에 맞춰 전체 내용을 번역했습니다. 코드, 함수명, 코드 심벌, URL은 원문 표기를 유지합니다.
근접 판정 수준
1-11| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/iio/devices/iio:deviceX/in_proximity_nearlevel |
| Date | 2020년 3월 |
| KernelVersion | 5.7 |
| Contact | [email protected] |
| Description | 근접 센서의 near level입니다. 객체를 장치 가까이에 있다고 판단할 시점을 사용자 공간에 알려 주는 단일 정수 값입니다. 센서에서 읽은 값이 이 파일의 값보다 크거나 같으면 일반적으로 객체가 가까이 있다고 판단해야 합니다. |
근접 센서 증폭기 감도
12-24| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/iio/devices/iio:deviceX/sensor_sensitivity |
| Date | 2014년 3월 |
| KernelVersion | 3.15 |
| Contact | [email protected] |
| Description | 근접 센서에는 time-of-flight 측정에 사용하는 신호를 위한 제어 가능한 증폭기가 있을 수 있습니다. 적절한 값은 센서와 동작 환경 모두에 따라 달라집니다. |
| 장치 | 범위/환경 | 값 |
|---|---|---|
| as3935 | 전체 범위 | 0-31 |
| as3935 | 실내(기본값) | 18 |
| as3935 | 실외 | 14 |
User-space near decision
sysfs-bus-iio-proximity:1-11센서 값이 nearlevel 이상이면 사용자 공간은 일반적으로 객체가 가까이 있다고 판단합니다.