요약·해설, 영어 원문, 전체 번역을 구분해 실었습니다. API 이름, 코드 심벌, 소스 경로는 원문 표기를 유지합니다.
1. 요약·해설
원문의 핵심 내용을 정리하고 커널 프로그래밍에 필요한 설명을 덧붙였습니다. 아래의 전체 번역과는 별도로 작성한 해설입니다.
2. 영어 원문 전체
번역에 사용한 Linux v6.18.37 원문입니다. 줄 번호는 해당 버전의 소스 파일을 기준으로 합니다.
원문 전체 펼치기
1
What: /sys/devices/LNXSYSTM:00/LNXSYBUS:00/TOS620A:00/protection_level
2
Date: August 16, 2014
3
KernelVersion: 3.17
4
Contact: Azael Avalos <[email protected]>
5
Description: This file controls the built-in accelerometer protection level,
6
valid values are:
8
* 0 -> Disabled
9
* 1 -> Low
10
* 2 -> Medium
11
* 3 -> High
13
The default potection value is set to 2 (Medium).
14
Users: KToshiba
16
What: /sys/devices/LNXSYSTM:00/LNXSYBUS:00/TOS620A:00/reset_protection
17
Date: August 16, 2014
18
KernelVersion: 3.17
19
Contact: Azael Avalos <[email protected]>
20
Description: This file turns off the built-in accelerometer for a few
21
seconds and then restore normal operation. Accepting 1 as the
22
only parameter.
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미에 맞춰 전체 내용을 번역했습니다. 코드, 함수명, 코드 심벌, URL은 원문 표기를 유지합니다.
Accelerometer protection level
1-15| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/devices/LNXSYSTM:00/LNXSYBUS:00/TOS620A:00/protection_level |
| Date | 2014년 8월 16일 |
| KernelVersion | 3.17 |
| Contact | Azael Avalos <[email protected]> |
| Description | Built-in accelerometer protection level을 제어합니다. Valid values는 0=Disabled, 1=Low, 2=Medium, 3=High이며 default protection value는 2(Medium)입니다. |
| Access | Read-write |
| Users | KToshiba |
ValueProtection levelDefault
0DisabledNo
1LowNo
2MediumYes
3HighNo
Disabled부터 High까지 네 levels와 default를 정리했습니다.
Reset accelerometer protection
16-22| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/devices/LNXSYSTM:00/LNXSYBUS:00/TOS620A:00/reset_protection |
| Date | 2014년 8월 16일 |
| KernelVersion | 3.17 |
| Contact | Azael Avalos <[email protected]> |
| Description | Built-in accelerometer를 몇 초간 끈 뒤 normal operation을 복구합니다. 유일하게 받는 parameter는 1입니다. |
| Access | Write-only |
| Value | 1 |
Accelerometer protection and reset
sysfs-driver-toshiba_haps:1-22protection_level은 기본 medium을 포함한 4단계를 제공하고 reset_protection에 1을 쓰면 accelerometer를 잠시 끈 뒤 정상 동작으로 복구합니다.