def _load_thinkpad_acpi_module(self):

        # /!\ This code has side-effect on keyboard (AltGr)

        module = 'thinkpad-acpi'
        if is_module_loaded(module):
            unload_module(module)
        if not is_module_loaded(module):
            load_module(module, options=['fan_control=1'])
Beispiel #2
0
    def _load_thinkpad_acpi_module(self):

        # /!\ This code has side-effect on keyboard (AltGr)

        module = 'thinkpad-acpi'
        if is_module_loaded(module):
            unload_module(module)
        if not is_module_loaded(module):
            load_module(module, options=['fan_control=1'])
    def _load_coretemp_module(self):

        module = 'coretemp'
        if not is_module_loaded(module):
            load_module(module)
Beispiel #4
0
    def _load_acpi_call_module(self):

        module = 'acpi_call'
        if not is_module_loaded(module):
            load_module(module)
    def _load_coretemp_module(self):

        module = 'coretemp'
        if not is_module_loaded(module):
            load_module(module)
    def _load_acpi_call_module(self):

        module = 'acpi_call'
        if not is_module_loaded(module):
            load_module(module)