xref: /linux/Documentation/ABI/testing/debugfs-msi-wmi-platform (revision 36ec807b627b4c0a0a382f0ae48eac7187d14b2b)
1*9c0beb6bSArmin WolfWhat:		/sys/kernel/debug/msi-wmi-platform-<wmi_device_name>/*
2*9c0beb6bSArmin WolfDate:		April 2024
3*9c0beb6bSArmin WolfKernelVersion:	6.10
4*9c0beb6bSArmin WolfContact:	Armin Wolf <W_Armin@gmx.de>
5*9c0beb6bSArmin WolfDescription:
6*9c0beb6bSArmin Wolf		This file allows to execute the associated WMI method with the same name.
7*9c0beb6bSArmin Wolf
8*9c0beb6bSArmin Wolf		To start the execution, write a  buffer containing the method arguments
9*9c0beb6bSArmin Wolf		at file offset 0. Partial writes or writes at a different offset are not
10*9c0beb6bSArmin Wolf		supported.
11*9c0beb6bSArmin Wolf
12*9c0beb6bSArmin Wolf		The buffer returned by the WMI method can then be read from the file.
13*9c0beb6bSArmin Wolf
14*9c0beb6bSArmin Wolf		See Documentation/wmi/devices/msi-wmi-platform.rst for details.
15