← Documents Documentation/ABI/obsolete/sysfs-driver-hid-roccat-arvo GitHub 원문 ↗

Linux 6.18.37 · ABI / obsolete

Roccat Arvo keyboard obsolete ABI

Roccat Arvo keyboard의 active profile, macro button, firmware info, key mask와 gaming mode key sysfs ABI를 설명합니다.

Source pathDocumentation/ABI/obsolete/sysfs-driver-hid-roccat-arvo
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

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

1. 요약·해설

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

Profile과 device data

sysfs-driver-hid-roccat-arvo:1-29

1-5 profile을 즉시 선택하고, profile별 24-byte macro payload를 쓰며, firmware version을 포함한 8-byte device info를 읽는 interface입니다.

Key mask와 gaming mode

sysfs-driver-hid-roccat-arvo:31-53

bit mask로 다섯 개의 특수 key를 비활성화하고, num-lock 대신 제공되는 mode key로 number block의 gaming assignment를 전환합니다.

2. 영어 원문 전체

번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.

원문 전체 펼치기
1 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/arvo/roccatarvo<minor>/actual_profile
2 Date: Januar 2011
3 Contact: Stefan Achatz <[email protected]>
4 Description: The integer value of this attribute ranges from 1-5.
5 When read, this attribute returns the number of the actual
6 profile which is also the profile that's active on device startup.
7 When written this attribute activates the selected profile
8 immediately.
9 Users: http://roccat.sourceforge.net
10
11 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/arvo/roccatarvo<minor>/button
12 Date: Januar 2011
13 Contact: Stefan Achatz <[email protected]>
14 Description: The keyboard can store short macros with consist of 1 button with
15 several modifier keys internally.
16 When written, this file lets one set the sequence for a specific
17 button for a specific profile. Button and profile numbers are
18 included in written data. The data has to be 24 bytes long.
19 This file is writeonly.
20 Users: http://roccat.sourceforge.net
21
22 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/arvo/roccatarvo<minor>/info
23 Date: Januar 2011
24 Contact: Stefan Achatz <[email protected]>
25 Description: When read, this file returns some info about the device like the
26 installed firmware version.
27 The size of the data is 8 bytes in size.
28 This file is readonly.
29 Users: http://roccat.sourceforge.net
30
31 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/arvo/roccatarvo<minor>/key_mask
32 Date: Januar 2011
33 Contact: Stefan Achatz <[email protected]>
34 Description: The keyboard lets the user deactivate 5 certain keys like the
35 windows and application keys, to protect the user from the outcome
36 of accidentally pressing them.
37 The integer value of this attribute has bits 0-4 set depending
38 on the state of the corresponding key.
39 When read, this file returns the current state of the buttons.
40 When written, the given buttons are activated/deactivated
41 immediately.
42 Users: http://roccat.sourceforge.net
43
44 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/arvo/roccatarvo<minor>/mode_key
45 Date: Januar 2011
46 Contact: Stefan Achatz <[email protected]>
47 Description: The keyboard has a condensed layout without num-lock key.
48 Instead it uses a mode-key which activates a gaming mode where
49 the assignment of the number block changes.
50 The integer value of this attribute ranges from 0 (OFF) to 1 (ON).
51 When read, this file returns the actual state of the key.
52 When written, the key is activated/deactivated immediately.
53 Users: http://roccat.sourceforge.net
54

3. 한국어 전문 번역

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

actual_profile

1-9
/sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/arvo/roccatarvo<minor>/actual_profile
항목
Date2011년 1월
ContactStefan Achatz <[email protected]>
Usershttp://roccat.sourceforge.net
값 범위1-5
accessread/write

읽으면 현재 사용 중인 profile 번호를 반환한다. 이 profile은 device startup 때 활성화되는 profile이기도 하다. 값을 쓰면 선택한 profile을 즉시 활성화한다.

button

11-20
/sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/arvo/roccatarvo<minor>/button
항목
Date2011년 1월
ContactStefan Achatz <[email protected]>
Usershttp://roccat.sourceforge.net
payload정확히 24 byte
accesswrite-only

keyboard는 하나의 button과 여러 modifier key로 이루어진 짧은 macro를 device 내부에 저장할 수 있다.

이 file에 쓰면 특정 profile의 특정 button에 적용할 sequence를 설정한다. button 번호와 profile 번호는 write data 안에 포함되어야 하며 data 길이는 정확히 24 byte여야 한다.

info

22-29
/sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/arvo/roccatarvo<minor>/info
항목
Date2011년 1월
ContactStefan Achatz <[email protected]>
Usershttp://roccat.sourceforge.net
payload8 byte
accessread-only

읽으면 설치된 firmware version 같은 device 정보를 반환한다. 반환 data 크기는 8 byte다.

key_mask

31-42
/sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/arvo/roccatarvo<minor>/key_mask
항목
Date2011년 1월
ContactStefan Achatz <[email protected]>
Usershttp://roccat.sourceforge.net
bit 범위0-4
accessread/write

keyboard는 Windows key와 application key 같은 특정 key 다섯 개를 비활성화할 수 있다. 사용자가 실수로 이 key를 눌러 원하지 않는 동작을 일으키는 것을 막기 위한 기능이다.

integer 값의 bit 0-4는 각각 대응하는 key 상태를 나타낸다. 읽으면 현재 button 상태를 반환하고, 값을 쓰면 지정한 button을 즉시 활성화하거나 비활성화한다.

mode_key

44-53
/sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/arvo/roccatarvo<minor>/mode_key
항목
Date2011년 1월
ContactStefan Achatz <[email protected]>
Usershttp://roccat.sourceforge.net
값 범위0=OFF, 1=ON
accessread/write

이 keyboard는 num-lock key가 없는 compact layout을 사용한다. 대신 mode key로 gaming mode를 켜며 이 mode에서는 number block key assignment가 바뀐다.

읽으면 mode key의 현재 상태를 반환한다. 0 또는 1을 쓰면 key 기능을 즉시 비활성화하거나 활성화한다.