Documentation/wmi/devices/wmi-bmof.rst GitHub 원문 ↗

Linux 6.18.37 · WMI / Device Drivers

WMI embedded Binary MOF driver

WMI Binary MOF metadata를 bmof sysfs attribute에서 가져와 driver 개발에 활용하는 방법을 설명합니다.

Source pathDocumentation/wmi/devices/wmi-bmof.rst
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

요약·해설, 영어 원문, 전체 번역을 구분해 실었습니다. API 이름, 코드 심벌, 소스 경로는 원문 표기를 유지합니다.

1. 요약·해설

원문의 핵심 내용을 정리하고 커널 프로그래밍에 필요한 설명을 덧붙였습니다. 아래의 전체 번역과는 별도로 작성한 해설입니다.

요약·해설

wmi-bmof.rst:1-25

WMI Binary MOF metadata를 bmof sysfs attribute에서 가져와 driver 개발에 활용하는 방법을 설명합니다.

2. 영어 원문 전체

번역에 사용한 Linux v6.18.37 원문입니다. 줄 번호는 해당 버전의 소스 파일을 기준으로 합니다.

원문 전체 펼치기
1 .. SPDX-License-Identifier: GPL-2.0-only
2
3 ==============================
4 WMI embedded Binary MOF driver
5 ==============================
6
7 Introduction
8 ============
9
10 Many machines embed WMI Binary MOF (Managed Object Format) metadata used to
11 describe the details of their ACPI WMI interfaces. The data can be decoded
12 with tools like `bmfdec <https://github.com/pali/bmfdec>`_ to obtain a
13 human readable WMI interface description, which is useful for developing
14 new WMI drivers.
15
16 The Binary MOF data can be retrieved from the ``bmof`` sysfs attribute of the
17 associated WMI device. Please note that multiple WMI devices containing Binary
18 MOF data can exist on a given system.
19
20 WMI interface
21 =============
22
23 The Binary MOF WMI device is identified by the WMI GUID ``05901221-D566-11D1-B2F0-00A0C9062910``.
24 The Binary MOF can be obtained by doing a WMI data block query. The result is
25 then returned as an ACPI buffer with a variable size.
26

3. 한국어 전문 번역

영어 원문의 문단 순서와 의미에 맞춰 전체 내용을 번역했습니다. 코드, 함수명, 코드 심벌, URL은 원문 표기를 유지합니다.

Binary MOF metadata와 sysfs

1-19

많은 장치는 ACPI WMI interface의 세부 정보를 설명하는 WMI Binary MOF(Managed Object Format) metadata를 내장합니다. `bmfdec` 같은 도구로 이를 사람이 읽을 수 있는 WMI interface 설명으로 decode할 수 있어 새 WMI driver 개발에 유용합니다.

Binary MOF data는 연결된 WMI device의 `bmof` sysfs attribute에서 가져옵니다. 한 system에 Binary MOF data를 포함하는 WMI device가 여러 개 있을 수 있습니다.

Binary MOF 활용
WMI device의 bmof sysfs attribute 읽기bmfdec·bmf2mof로 Binary MOF decodemethod·data class와 argument 구조 확인WMI driver 구현에 반영

firmware metadata를 driver 개발 정보로 바꾸는 흐름입니다.

.. SPDX-License-Identifier: GPL-2.0-only

==============================
WMI embedded Binary MOF driver
==============================

Introduction
============

Many machines embed WMI Binary MOF (Managed Object Format) metadata used to
describe the details of their ACPI WMI interfaces. The data can be decoded
with tools like `bmfdec <https://github.com/pali/bmfdec>`_ to obtain a
human readable WMI interface description, which is useful for developing
new WMI drivers.

The Binary MOF data can be retrieved from the ``bmof`` sysfs attribute of the
associated WMI device. Please note that multiple WMI devices containing Binary
MOF data can exist on a given system.

Binary MOF WMI interface

20-25

Binary MOF WMI device는 GUID `05901221-D566-11D1-B2F0-00A0C9062910`으로 식별합니다. WMI data block query를 수행하면 Binary MOF가 가변 크기 ACPI buffer로 반환됩니다.

WMI interface
=============

The Binary MOF WMI device is identified by the WMI GUID ``05901221-D566-11D1-B2F0-00A0C9062910``.
The Binary MOF can be obtained by doing a WMI data block query. The result is
then returned as an ACPI buffer with a variable size.