diff --git a/profiles/functions b/profiles/functions index bdc55ef..a4df051 100644 --- a/profiles/functions +++ b/profiles/functions @@ -438,6 +438,8 @@ _eee_fsb_control() { echo $value > /sys/devices/platform/eeepc/she elif [ -e /sys/devices/platform/eeepc/cpufv ]; then echo $value > /sys/devices/platform/eeepc/cpufv + elif [ -e /sys/devices/platform/eeepc-wmi/cpufv ]; then + echo $value > /sys/devices/platform/eeepc-wmi/cpufv fi } diff --git a/tuned/plugins/plugin_eeepc_she.py b/tuned/plugins/plugin_eeepc_she.py index d1e8114..79a1ae2 100644 --- a/tuned/plugins/plugin_eeepc_she.py +++ b/tuned/plugins/plugin_eeepc_she.py @@ -13,6 +13,8 @@ class EeePCSHEPlugin(base.Plugin): def __init__(self, *args, **kwargs): self._control_file = "/sys/devices/platform/eeepc/cpufv" + if not os.path.isfile(self._control_file): + self._control_file = "/sys/devices/platform/eeepc-wmi/cpufv" if not os.path.isfile(self._control_file): raise exceptions.NotSupportedPluginException("Plugin is not supported on your hardware.") super(self.__class__, self).__init__(*args, **kwargs)