요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
Profiles, settings and startup profile
sysfs-driver-hid-roccat-kone:45-87Profile 1-5는 각각 975 bytes, settings는 36 bytes 고정 payload이며 startup_profile 1-5는 write 즉시 active profile도 전환합니다.
Tracking calibration and mouse weight
sysfs-driver-hid-roccat-kone:88-125TCU는 0 off·1 calibration/start로 mousepad laser power를 맞추고 weight raw value 0-4는 none 또는 5-20g 추에 대응합니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/kone/roccatkone<minor>/actual_dpi
Date: March 2010
Contact: Stefan Achatz <[email protected]>
Description: It is possible to switch the dpi setting of the mouse with the
press of a button.
When read, this file returns the raw number of the actual dpi
setting reported by the mouse. This number has to be further
processed to receive the real dpi value:
===== =====
VALUE DPI
===== =====
1 800
2 1200
3 1600
4 2000
5 2400
6 3200
===== =====
This file is readonly.
Users: http://roccat.sourceforge.net
What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/kone/roccatkone<minor>/actual_profile
Date: March 2010
Contact: Stefan Achatz <[email protected]>
Description: When read, this file returns the number of the actual profile.
This file is readonly.
Users: http://roccat.sourceforge.net
What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/kone/roccatkone<minor>/firmware_version
Date: March 2010
Contact: Stefan Achatz <[email protected]>
Description: When read, this file returns the raw integer version number of the
firmware reported by the mouse. Using the integer value eases
further usage in other programs. To receive the real version
number the decimal point has to be shifted 2 positions to the
left. E.g. a returned value of 138 means 1.38
This file is readonly.
Users: http://roccat.sourceforge.net
What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/kone/roccatkone<minor>/profile[1-5]
Date: March 2010
Contact: Stefan Achatz <[email protected]>
Description: The mouse can store 5 profiles which can be switched by the
press of a button. A profile holds information like button
mappings, sensitivity, the colors of the 5 leds and light
effects.
When read, these files return the respective profile. The
returned data is 975 bytes in size.
When written, this file lets one write the respective profile
data back to the mouse. The data has to be 975 bytes long.
The mouse will reject invalid data, whereas the profile number
stored in the profile doesn't need to fit the number of the
store.
Users: http://roccat.sourceforge.net
What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/kone/roccatkone<minor>/settings
Date: March 2010
Contact: Stefan Achatz <[email protected]>
Description: When read, this file returns the settings stored in the mouse.
The size of the data is 36 bytes and holds information like the
startup_profile, tcu state and calibration_data.
When written, this file lets write settings back to the mouse.
The data has to be 36 bytes long. The mouse will reject invalid
data.
Users: http://roccat.sourceforge.net
What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/kone/roccatkone<minor>/startup_profile
Date: March 2010
Contact: Stefan Achatz <[email protected]>
Description: The integer value of this attribute ranges from 1 to 5.
When read, this attribute returns the number of the profile
that's active when the mouse is powered on.
When written, this file sets the number of the startup profile
and the mouse activates this profile immediately.
Users: http://roccat.sourceforge.net
What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/kone/roccatkone<minor>/tcu
Date: March 2010
Contact: Stefan Achatz <[email protected]>
Description: The mouse has a "Tracking Control Unit" which lets the user
calibrate the laser power to fit the mousepad surface.
When read, this file returns the current state of the TCU,
where 0 means off and 1 means on.
Writing 0 in this file will switch the TCU off.
Writing 1 in this file will start the calibration which takes
around 6 seconds to complete and activates the TCU.
Users: http://roccat.sourceforge.net
What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/kone/roccatkone<minor>/weight
Date: March 2010
Contact: Stefan Achatz <[email protected]>
Description: The mouse can be equipped with one of four supplied weights
ranging from 5 to 20 grams which are recognized by the mouse
and its value can be read out. When read, this file returns the
raw value returned by the mouse which eases further processing
in other software.
The values map to the weights as follows:
===== ======
VALUE WEIGHT
===== ======
0 none
1 5g
2 10g
3 15g
4 20g
===== ======
This file is readonly.
Users: http://roccat.sourceforge.net
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
Current mouse DPI code
1-24| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/kone/roccatkone<minor>/actual_dpi |
| Date | 2010년 3월 |
| Contact | Stefan Achatz <[email protected]> |
| Description | Mouse button으로 DPI setting을 전환할 수 있습니다. Read하면 mouse가 report한 actual DPI setting의 raw number를 반환하며 real DPI를 얻으려면 표에 따라 추가 처리해야 합니다. Read-only file입니다. |
| Users | http://roccat.sourceforge.net |
원문의 VALUE-DPI 표를 여섯 행으로 구조화했습니다.
Current mouse profile
25-32| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/kone/roccatkone<minor>/actual_profile |
| Date | 2010년 3월 |
| Contact | Stefan Achatz <[email protected]> |
| Description | Read하면 actual profile number를 반환합니다. Read-only file입니다. |
| Users | http://roccat.sourceforge.net |
Mouse firmware version
33-44| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/kone/roccatkone<minor>/firmware_version |
| Date | 2010년 3월 |
| Contact | Stefan Achatz <[email protected]> |
| Description | Read하면 mouse가 report한 firmware의 raw integer version number를 반환합니다. 다른 program에서 처리하기 쉽도록 integer를 사용하며 real version은 decimal point를 왼쪽으로 두 자리 이동해 구합니다. 예를 들어 138은 1.38입니다. Read-only file입니다. |
| Users | http://roccat.sourceforge.net |
Raw integer에서 display version을 얻는 decimal conversion입니다.
On-board profiles 1 through 5
45-63| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/kone/roccatkone<minor>/profile[1-5] |
| Date | 2010년 3월 |
| Contact | Stefan Achatz <[email protected]> |
| Description | Mouse는 button으로 전환할 수 있는 5개 profiles를 저장합니다. Profile에는 button mappings, sensitivity, 5개 LEDs의 colors와 light effects 등이 들어 있습니다. Read하면 각 975-byte profile을 반환하고 write하면 정확히 975 bytes인 profile data를 mouse에 씁니다. Mouse는 invalid data를 거부하지만 profile 안에 저장된 profile number가 storage number와 일치할 필요는 없습니다. |
| Users | http://roccat.sourceforge.net |
Profiles와 global settings의 payload size 및 contents입니다.
Mouse settings record
64-75| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/kone/roccatkone<minor>/settings |
| Date | 2010년 3월 |
| Contact | Stefan Achatz <[email protected]> |
| Description | Read하면 mouse에 저장된 36-byte settings를 반환하며 startup_profile, TCU state와 calibration_data 같은 정보를 담습니다. Write data도 정확히 36 bytes여야 하며 mouse는 invalid data를 거부합니다. |
| Users | http://roccat.sourceforge.net |
Startup profile selection
76-87| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/kone/roccatkone<minor>/startup_profile |
| Date | 2010년 3월 |
| Contact | Stefan Achatz <[email protected]> |
| Description | Integer value 범위는 1부터 5입니다. Read하면 mouse power-on 시 active한 profile number를 반환합니다. Write하면 startup profile number를 설정하고 mouse가 이 profile을 즉시 activate합니다. |
| Users | http://roccat.sourceforge.net |
Profile selection과 tracking calibration write behavior입니다.
Tracking Control Unit calibration
88-102| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/kone/roccatkone<minor>/tcu |
| Date | 2010년 3월 |
| Contact | Stefan Achatz <[email protected]> |
| Description | Tracking Control Unit은 mousepad surface에 맞게 laser power를 calibrate합니다. Read하면 current TCU state를 반환하며 0은 off, 1은 on입니다. 0을 write하면 TCU를 끄고 1을 write하면 약 6초가 걸리는 calibration을 시작한 뒤 TCU를 activate합니다. |
| Users | http://roccat.sourceforge.net |
Detected mouse weight
103-125| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/kone/roccatkone<minor>/weight |
| Date | 2010년 3월 |
| Contact | Stefan Achatz <[email protected]> |
| Description | Mouse에는 5-20 grams 범위의 supplied weights 네 개 중 하나를 장착할 수 있고 mouse가 이를 인식합니다. Read하면 software 처리에 적합한 raw value를 반환합니다. Read-only file입니다. |
| Users | http://roccat.sourceforge.net |
원문의 VALUE-WEIGHT 표를 다섯 행으로 구조화했습니다.
DPI, active profile and firmware readback
sysfs-driver-hid-roccat-kone:1-44Read-only raw DPI code를 800-3200 DPI로 변환하고 active profile과 firmware integer를 읽으며 firmware는 decimal point를 두 자리 이동합니다.