요약·해설, 영어 원문, 전체 번역을 구분해 실었습니다. API 이름, 코드 심벌, 소스 경로는 원문 표기를 유지합니다.
1. 요약·해설
원문의 핵심 내용을 정리하고 커널 프로그래밍에 필요한 설명을 덧붙였습니다. 아래의 전체 번역과는 별도로 작성한 해설입니다.
2. 영어 원문 전체
번역에 사용한 Linux v6.18.37 원문입니다. 줄 번호는 해당 버전의 소스 파일을 기준으로 합니다.
원문 전체 펼치기
1
What: /sys/bus/hid/drivers/logitech-hidpp-device/<dev>/range
2
Date: Jan, 2016
3
KernelVersion: 4.6
4
Contact: [email protected]
5
Description:
6
(RW) This attribute controls the amount of 'turn' permitted in
7
Logitech G920 wheel. Reading from the file shows the current
8
range of the steering wheel. Writing a value within the min and
9
max boundary sets the range of the wheel.
11
What: /sys/bus/hid/drivers/logitech-hidpp-device/<dev>/builtin_power_supply
12
Date: Apr, 2017
13
KernelVersion: 4.12
14
Contact: [email protected]
15
Description:
16
Presence of this file indicates that HID++ driver is capable of
17
handling battery properties in the kernel. This way, upower can
18
add a udev rule to decide whether or not it should use the
19
internal unifying support or the generic kernel one.
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미에 맞춰 전체 내용을 번역했습니다. 코드, 함수명, 코드 심벌, URL은 원문 표기를 유지합니다.
Logitech G920 steering range
1-10| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/hid/drivers/logitech-hidpp-device/<dev>/range |
| Date | 2016년 1월 |
| KernelVersion | 4.6 |
| Contact | [email protected] |
| Description | Logitech G920 wheel에서 허용할 turn의 양을 제어하는 read/write attribute입니다. Read하면 current steering-wheel range를 표시하고, min/max boundary 안의 값을 write하면 wheel range를 설정합니다. |
AttributeRole
rangeRead current and set min-max steering range
builtin_power_supplySignal kernel battery-property support
Value control과 capability marker의 서로 다른 역할입니다.
Kernel HID++ battery-property capability
11-19| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/hid/drivers/logitech-hidpp-device/<dev>/builtin_power_supply |
| Date | 2017년 4월 |
| KernelVersion | 4.12 |
| Contact | [email protected] |
| Description | 이 file의 존재는 HID++ driver가 kernel에서 battery properties를 처리할 수 있음을 뜻합니다. UPower는 udev rule을 추가해 internal Unifying support와 generic kernel support 중 어느 것을 사용할지 결정할 수 있습니다. |
Wheel range and battery handling
sysfs-driver-hid-logitech-hidpp:1-19range는 G920 wheel의 current turn 범위를 읽고 min/max 안에서 설정하며 builtin_power_supply의 존재는 kernel battery-property handling 지원을 뜻합니다.