Update dbus introspection

This commit is contained in:
Luke D. Jones
2023-12-26 11:55:51 +13:00
parent b525411fd3
commit 4541d2e1ba
2 changed files with 24 additions and 7 deletions

View File

@@ -5,7 +5,7 @@
Get the data set for every mode available
-->
<method name="AllModeData">
<arg type="a{u(us(yyy)(yyy)ss)}" direction="out"/>
<arg type="a{u(uu(yyy)(yyy)ss)}" direction="out"/>
</method>
<!--
On machine that have some form of either per-key keyboard or per-zone
@@ -45,21 +45,23 @@
On success the aura config file is read to refresh cached values, then
the effect is stored and config written to disk.
-->
<property name="LedModeData" type="(us(yyy)(yyy)ss)" access="readwrite"/>
<property name="LedModeData" type="(uu(yyy)(yyy)ss)" access="readwrite"/>
<!--
Set a variety of states, input is array of enum.
`enabled` sets if the sent array should be disabled or enabled
For Modern ROG devices the "enabled" flag is ignored.
-->
<property name="LedPower" type="(asas((sbbbb)(sbbbb)(sbbbb)(sbbbb)(sbbbb)))" access="readwrite"/>
<property name="LedPower" type="(ayay((ubbbb)(ubbbb)(ubbbb)(ubbbb)(ubbbb)))" access="readwrite"/>
<!--
The total available modes
-->
<property name="SupportedBasicModes" type="au" access="read"/>
<property name="SupportedBasicZones" type="au" access="read"/>
<!--
Total levels of brightness available
-->
<property name="SupportedBrightness" type="au" access="read"/>
<!--
The total available modes
-->
<property name="SupportedModes" type="au" access="read"/>
<property name="SupportedPowerZones" type="au" access="read"/>
</interface>
</node>

View File

@@ -2,6 +2,20 @@
Generated by typeshare 1.7.0
*/
export enum CPUGovernor {
Performance = "Performance",
Powersave = "Powersave",
BadValue = "BadValue",
}
export enum CPUEPP {
Default = "Default",
Performance = "Performance",
BalancePerformance = "BalancePerformance",
BalancePower = "BalancePower",
Power = "Power",
}
export enum GpuMode {
Discrete = "Discrete",
Optimus = "Optimus",
@@ -13,6 +27,7 @@ export enum GpuMode {
NotSupported = "NotSupported",
}
/** `throttle_thermal_policy` in asus_wmi */
export enum PlatformPolicy {
Balanced = "Balanced",
Performance = "Performance",