요약·해설, 영어 원문, 전체 번역을 구분해 실었습니다. API 이름, 코드 심벌, 소스 경로는 원문 표기를 유지합니다.
1. 요약·해설
원문의 핵심 내용을 정리하고 커널 프로그래밍에 필요한 설명을 덧붙였습니다. 아래의 전체 번역과는 별도로 작성한 해설입니다.
Cross-layer sensor identity
sysfs-bus-iio-cros-ec:10-18id는 EC가 노출한 센서 식별자입니다. ChromeOS의 Android 컨테이너 안에서 동작하는 Android sensor HAL이 이 값을 사용합니다.
2. 영어 원문 전체
번역에 사용한 Linux v6.18.37 원문입니다. 줄 번호는 해당 버전의 소스 파일을 기준으로 합니다.
원문 전체 펼치기
1
What: /sys/bus/iio/devices/iio:deviceX/calibrate
2
Date: July 2015
3
KernelVersion: 4.7
4
Contact: [email protected]
5
Description:
6
Writing '1' will perform a FOC (Fast Online Calibration). The
7
corresponding calibration offsets can be read from `*_calibbias`
8
entries.
10
What: /sys/bus/iio/devices/iio:deviceX/id
11
Date: September 2017
12
KernelVersion: 4.14
13
Contact: [email protected]
14
Description:
15
This attribute is exposed by the CrOS EC sensors driver and
16
represents the sensor ID as exposed by the EC. This ID is used
17
by the Android sensor service hardware abstraction layer (sensor
18
HAL) through the Android container on ChromeOS.
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미에 맞춰 전체 내용을 번역했습니다. 코드, 함수명, 코드 심벌, URL은 원문 표기를 유지합니다.
빠른 온라인 보정
1-9| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/iio/devices/iio:deviceX/calibrate |
| Date | 2015년 7월 |
| KernelVersion | 4.7 |
| Contact | [email protected] |
| Description | '1'을 쓰면 FOC(Fast Online Calibration)를 수행합니다. 해당 보정 오프셋은 `*_calibbias` 항목에서 읽을 수 있습니다. |
EC 센서 ID
10-18| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/iio/devices/iio:deviceX/id |
| Date | 2017년 9월 |
| KernelVersion | 4.14 |
| Contact | [email protected] |
| Description | 이 속성은 CrOS EC 센서 드라이버가 노출하며 EC가 제공하는 센서 ID를 나타냅니다. ChromeOS의 Android 컨테이너를 통해 Android 센서 서비스 하드웨어 추상화 계층(sensor HAL)이 이 ID를 사용합니다. |
FOC workflow
sysfs-bus-iio-cros-ec:1-9calibrate에 1을 쓰면 FOC를 수행하며 계산된 오프셋은 각 *_calibbias 항목에서 읽습니다.