← Documents Documentation/ABI/testing/sysfs-bus-iio-cros-ec GitHub 원문 ↗

Linux 6.18.37 · ABI / testing

CrOS EC sensor calibration and identity

CrOS EC 센서의 빠른 온라인 보정 실행 방법과 ChromeOS Android 센서 HAL이 사용하는 EC 센서 ID를 설명합니다.

Source pathDocumentation/ABI/testing/sysfs-bus-iio-cros-ec
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

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

1. 요약·해설

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

FOC workflow

sysfs-bus-iio-cros-ec:1-9

calibrate에 1을 쓰면 FOC를 수행하며 계산된 오프셋은 각 *_calibbias 항목에서 읽습니다.

Cross-layer sensor identity

sysfs-bus-iio-cros-ec:10-18

id는 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
5 Description:
6 Writing '1' will perform a FOC (Fast Online Calibration). The
7 corresponding calibration offsets can be read from `*_calibbias`
8 entries.
9
10 What: /sys/bus/iio/devices/iio:deviceX/id
11 Date: September 2017
12 KernelVersion: 4.14
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.
19

3. 한국어 전문 번역

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

빠른 온라인 보정

1-9
항목한국어 전문 번역
What/sys/bus/iio/devices/iio:deviceX/calibrate
Date2015년 7월
KernelVersion4.7
Contact[email protected]
Description'1'을 쓰면 FOC(Fast Online Calibration)를 수행합니다. 해당 보정 오프셋은 `*_calibbias` 항목에서 읽을 수 있습니다.

EC 센서 ID

10-18
항목한국어 전문 번역
What/sys/bus/iio/devices/iio:deviceX/id
Date2017년 9월
KernelVersion4.14
Contact[email protected]
Description이 속성은 CrOS EC 센서 드라이버가 노출하며 EC가 제공하는 센서 ID를 나타냅니다. ChromeOS의 Android 컨테이너를 통해 Android 센서 서비스 하드웨어 추상화 계층(sensor HAL)이 이 ID를 사용합니다.