diff --git a/com.steampowered.SteamOSManager1.xml b/com.steampowered.SteamOSManager1.xml index 58bfac0..223cc49 100644 --- a/com.steampowered.SteamOSManager1.xml +++ b/com.steampowered.SteamOSManager1.xml @@ -47,7 +47,7 @@ Controls the wifi chip's power management features. - Valid states: 0 = Unsupported Feature, 1 = Disabled, 2 = Enabled + Valid states: 0 = Disabled, 1 = Enabled Version available: 7 --> @@ -58,7 +58,7 @@ Controls whether the OS or the BIOS should manage fan speed - Valid states: 0 = Unsupported Feature, 1 = BIOS, 2 = OS + Valid states: 0 = BIOS, 1 = OS Version available: 7 --> @@ -69,7 +69,7 @@ Reports whether the current hardware is supported or not. - Valid states: 0 = Unsupported Feature, 1 = Unsupported, 2 = Supported + Valid states: 0 = Unsupported, 1 = Supported Version available: 7 --> @@ -105,7 +105,7 @@ Reports whether a BIOS update is available. - Valid states: 0 = Unsupported Feature, 1 = Up to date, 2 = Update available + Valid states: 0 = Up to date, 1 = Update available Version available: 7 --> @@ -138,7 +138,7 @@ Reports whether a Dock Firmware update is available. - Valid states: 0 = Unsupported Feature, 1 = Up to date, 2 = Update available + Valid states: 0 = Up to date, 1 = Update available Version available: 7 --> @@ -199,7 +199,7 @@ The current GPU performance level. - Valid states: 0 = Feature Unsupported, 1 = Auto, 2 = Low, 3 = High, 4 = Manual, 5 = Profile Peak + Valid states: 0 = Auto, 1 = Low, 2 = High, 3 = Manual, 4 = Profile Peak Version available: 7 --> @@ -238,7 +238,7 @@ Controls the system TDP limit. - Valid states: 0 = Feature Unsupported, or in range of [ TDPLimitMin, TDPLimitMax ] + Valid states: In range of [ TDPLimitMin, TDPLimitMax ] Version available: 7 --> @@ -268,7 +268,7 @@ Whether wifi debug mode is currently enabled. - Valid states: 0 = Feature Unsupported, 1 = Disabled, 2 = Enabled + Valid states: 0 = Disabled, 1 = Enabled Version available: 7 --> @@ -309,7 +309,7 @@ Controls which Wifi backend is used by NetworkManager - Valid states: 0 = Feature Unsupported, 1 = iwd, 2 = wpa_supplicant + Valid states: 0 = iwd, 1 = wpa_supplicant Version available: 7 --> diff --git a/src/hardware.rs b/src/hardware.rs index e046a47..1d3b449 100644 --- a/src/hardware.rs +++ b/src/hardware.rs @@ -26,8 +26,8 @@ pub enum HardwareVariant { #[derive(PartialEq, Debug, Copy, Clone)] #[repr(u32)] pub enum HardwareCurrentlySupported { - Unsupported = 1, - Supported = 2, + Unsupported = 0, + Supported = 1, } impl FromStr for HardwareVariant { diff --git a/src/manager.rs b/src/manager.rs index 2988690..afdb03b 100644 --- a/src/manager.rs +++ b/src/manager.rs @@ -36,8 +36,8 @@ enum PrepareFactoryReset { #[derive(PartialEq, Debug, Copy, Clone)] #[repr(u32)] enum FanControl { - BIOS = 1, - OS = 2, + BIOS = 0, + OS = 1, } impl TryFrom for FanControl { diff --git a/src/power.rs b/src/power.rs index ef97e53..60aaf50 100644 --- a/src/power.rs +++ b/src/power.rs @@ -22,11 +22,11 @@ const GPU_CLOCKS_PATH: &str = "/sys/class/drm/card0/device/pp_od_clk_voltage"; #[derive(PartialEq, Debug, Copy, Clone)] #[repr(u32)] pub enum GPUPerformanceLevel { - Auto = 1, - Low = 2, - High = 3, - Manual = 4, - ProfilePeak = 5, + Auto = 0, + Low = 1, + High = 2, + Manual = 3, + ProfilePeak = 4, } impl TryFrom for GPUPerformanceLevel { diff --git a/src/wifi.rs b/src/wifi.rs index 7cd524b..ef1912f 100644 --- a/src/wifi.rs +++ b/src/wifi.rs @@ -35,22 +35,22 @@ const WIFI_BACKEND_PATH: &str = "/etc/NetworkManager/conf.d/wifi_backend.conf"; #[derive(PartialEq, Debug, Copy, Clone)] #[repr(u32)] pub enum WifiDebugMode { - Off = 1, - On = 2, + Off = 0, + On = 1, } #[derive(PartialEq, Debug, Copy, Clone)] #[repr(u32)] pub enum WifiPowerManagement { - Disabled = 1, - Enabled = 2, + Disabled = 0, + Enabled = 1, } #[derive(PartialEq, Debug, Copy, Clone)] #[repr(u32)] pub enum WifiBackend { - IWD = 1, - WPASupplicant = 2, + IWD = 0, + WPASupplicant = 1, } impl TryFrom for WifiDebugMode {