Lines Matching +full:write +full:- +full:0
1 .. SPDX-License-Identifier: GPL-2.0-or-later
4 MSI WMI Platform Features driver (msi-wmi-platform)
22 [WMI, Locale("MS\0x409"),
24 guid("{ABBC0F60-8EA1-11d1-00A0-C90629100000}")]
26 [WmiDataId(1), read, write, Description("16 bytes of data")] uint8 Bytes[16];
29 [WMI, Locale("MS\0x409"),
31 guid("{ABBC0F63-8EA1-11d1-00A0-C90629100000}")]
33 [WmiDataId(1), read, write, Description("32 bytes of data")] uint8 Bytes[32];
36 [WMI, Dynamic, Provider("WmiProv"), Locale("MS\0x409"),
38 guid("{ABBC0F6E-8EA1-11d1-00A0-C90629100000}")]
43 [WmiMethodId(1), Implemented, read, write, Description("Return the contents of a package")]
44 void GetPackage([out, id(0)] Package Data);
46 [WmiMethodId(2), Implemented, read, write, Description("Set the contents of a package")]
47 void SetPackage([in, id(0)] Package Data);
49 [WmiMethodId(3), Implemented, read, write, Description("Return the contents of a package")]
50 void Get_EC([out, id(0)] Package_32 Data);
52 [WmiMethodId(4), Implemented, read, write, Description("Set the contents of a package")]
53 void Set_EC([in, id(0)] Package_32 Data);
55 [WmiMethodId(5), Implemented, read, write, Description("Return the contents of a package")]
56 void Get_BIOS([in, out, id(0)] Package_32 Data);
58 [WmiMethodId(6), Implemented, read, write, Description("Set the contents of a package")]
59 void Set_BIOS([in, out, id(0)] Package_32 Data);
61 [WmiMethodId(7), Implemented, read, write, Description("Return the contents of a package")]
62 void Get_SMBUS([in, out, id(0)] Package_32 Data);
64 [WmiMethodId(8), Implemented, read, write, Description("Set the contents of a package")]
65 void Set_SMBUS([in, out, id(0)] Package_32 Data);
67 [WmiMethodId(9), Implemented, read, write, Description("Return the contents of a package")]
68 void Get_MasterBattery([in, out, id(0)] Package_32 Data);
70 [WmiMethodId(10), Implemented, read, write, Description("Set the contents of a package")]
71 void Set_MasterBattery([in, out, id(0)] Package_32 Data);
73 [WmiMethodId(11), Implemented, read, write, Description("Return the contents of a package")]
74 void Get_SlaveBattery([in, out, id(0)] Package_32 Data);
76 [WmiMethodId(12), Implemented, read, write, Description("Set the contents of a package")]
77 void Set_SlaveBattery([in, out, id(0)] Package_32 Data);
79 [WmiMethodId(13), Implemented, read, write, Description("Return the contents of a package")]
80 void Get_Temperature([in, out, id(0)] Package_32 Data);
82 [WmiMethodId(14), Implemented, read, write, Description("Set the contents of a package")]
83 void Set_Temperature([in, out, id(0)] Package_32 Data);
85 [WmiMethodId(15), Implemented, read, write, Description("Return the contents of a package")]
86 void Get_Thermal([in, out, id(0)] Package_32 Data);
88 [WmiMethodId(16), Implemented, read, write, Description("Set the contents of a package")]
89 void Set_Thermal([in, out, id(0)] Package_32 Data);
91 [WmiMethodId(17), Implemented, read, write, Description("Return the contents of a package")]
92 void Get_Fan([in, out, id(0)] Package_32 Data);
94 [WmiMethodId(18), Implemented, read, write, Description("Set the contents of a package")]
95 void Set_Fan([in, out, id(0)] Package_32 Data);
97 [WmiMethodId(19), Implemented, read, write, Description("Return the contents of a package")]
98 void Get_Device([in, out, id(0)] Package_32 Data);
100 [WmiMethodId(20), Implemented, read, write, Description("Set the contents of a package")]
101 void Set_Device([in, out, id(0)] Package_32 Data);
103 [WmiMethodId(21), Implemented, read, write, Description("Return the contents of a package")]
104 void Get_Power([in, out, id(0)] Package_32 Data);
106 [WmiMethodId(22), Implemented, read, write, Description("Set the contents of a package")]
107 void Set_Power([in, out, id(0)] Package_32 Data);
109 [WmiMethodId(23), Implemented, read, write, Description("Return the contents of a package")]
110 void Get_Debug([in, out, id(0)] Package_32 Data);
112 [WmiMethodId(24), Implemented, read, write, Description("Set the contents of a package")]
113 void Set_Debug([in, out, id(0)] Package_32 Data);
115 [WmiMethodId(25), Implemented, read, write, Description("Return the contents of a package")]
116 void Get_AP([in, out, id(0)] Package_32 Data);
118 [WmiMethodId(26), Implemented, read, write, Description("Set the contents of a package")]
119 void Set_AP([in, out, id(0)] Package_32 Data);
121 [WmiMethodId(27), Implemented, read, write, Description("Return the contents of a package")]
122 void Get_Data([in, out, id(0)] Package_32 Data);
124 [WmiMethodId(28), Implemented, read, write, Description("Set the contents of a package")]
125 void Set_Data([in, out, id(0)] Package_32 Data);
127 [WmiMethodId(29), Implemented, read, write, Description("Return the contents of a package")]
128 void Get_WMI([out, id(0)] Package_32 Data);
138 The output buffer contains a single byte which signals success or failure (``0x00`` on failure)
142 -------------------
156 --------------------
158 Fan speed sensors can be accessed by selecting subfeature ``0x00``. The output data contains
159 up to four 16-bit fan speed readings in big-endian format. Most machines do not support all
160 four fan speed sensors, so the remaining reading are hardcoded to ``0x0000``.
169 --------------------
177 Reverse-Engineering the MSI WMI Platform interface
183 The underlying embedded controller interface is used by the ``msi-ec`` driver, and it seems
186 This means that the remaining WMI methods can be reverse-engineered by looking which part of
192 `msi-ec project <https://github.com/BeardOverflow/msi-ec>`_.