Skip to content

Library for manually executing commands for Clevo laptops

License

Notifications You must be signed in to change notification settings

cpumask/clevomanager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

clevomanager

Library for manually executing commands for Clevo laptops using the Clevo WMI interface.

To use it is necessary to have installed the Control Center or to manually install the WMI DLL located in ./installer folder executing install.bat as administrator. In the latter case is not needed to have Control Center installed 😃

The ClevoManager folder is the C# project library with an example application.
Note: Only the keyboard lighting functions are implemented (for now).

The scripts folder contains a couple of PowerShell scripts to turn off/on the keyboard backlights.

Important: To use either (the library or the scripts) is necessary to run it as administrator.

All the magic values passed on the functions are obtained by using a .NET decompiler on the Control Center applications. Feel free to use it, modify it, submit PR.

Here is a list of all the available functions on the Clevo WMI object:

Aero                              Method        System.Management.ManagementBaseObject Aero()
AirplaneButton                    Method        System.Management.ManagementBaseObject AirplaneButton()
BiosSpecialFeature                Method        System.Management.ManagementBaseObject BiosSpecialFeature()
BIOS_special_feature_list         Method        System.Management.ManagementBaseObject BIOS_special_feature_list()
EmulatedButton                    Method        System.Management.ManagementBaseObject EmulatedButton(System.UInt16 Data)
Fan1Info                          Method        System.Management.ManagementBaseObject Fan1Info()
Fan2Info                          Method        System.Management.ManagementBaseObject Fan2Info()
Fan3Info                          Method        System.Management.ManagementBaseObject Fan3Info()
Fan4Info                          Method        System.Management.ManagementBaseObject Fan4Info()
GetACmA                           Method        System.Management.ManagementBaseObject GetACmA()
GetAP                             Method        System.Management.ManagementBaseObject GetAP()
GetBarCode                        Method        System.Management.ManagementBaseObject GetBarCode()
GetBatteryAverageTimeToEmpty      Method        System.Management.ManagementBaseObject GetBatteryAverageTimeToEmpty()
GetBatteryAverageTimeToFullCharge Method        System.Management.ManagementBaseObject GetBatteryAverageTimeToFullCharge()
GetBatteryDesignCpacity           Method        System.Management.ManagementBaseObject GetBatteryDesignCpacity()
GetBIOS_SF                        Method        System.Management.ManagementBaseObject GetBIOS_SF()
GetBoardId                        Method        System.Management.ManagementBaseObject GetBoardId()
GetChargingStatus                 Method        System.Management.ManagementBaseObject GetChargingStatus()
GetCPUFANControl                  Method        System.Management.ManagementBaseObject GetCPUFANControl()
GetCPUFANDuty                     Method        System.Management.ManagementBaseObject GetCPUFANDuty()
GetCPUFANState                    Method        System.Management.ManagementBaseObject GetCPUFANState()
GetCPUPerformance                 Method        System.Management.ManagementBaseObject GetCPUPerformance()
GetCurrentBrightness              Method        System.Management.ManagementBaseObject GetCurrentBrightness()
GetDCmAmV                         Method        System.Management.ManagementBaseObject GetDCmAmV()
GetECData                         Method        System.Management.ManagementBaseObject GetECData(System.UInt32 Data)
GetEvent                          Method        System.Management.ManagementBaseObject GetEvent()
GetFan12RPM                       Method        System.Management.ManagementBaseObject GetFan12RPM()
GetFan34RPM                       Method        System.Management.ManagementBaseObject GetFan34RPM()
GetFANCount                       Method        System.Management.ManagementBaseObject GetFANCount()
GetFanStatus                      Method        System.Management.ManagementBaseObject GetFanStatus()
GetGSensorMode                    Method        System.Management.ManagementBaseObject GetGSensorMode()
GetH2RAMData                      Method        System.Management.ManagementBaseObject GetH2RAMData()
GetHDMIport                       Method        System.Management.ManagementBaseObject GetHDMIport()
GetHDPollingTime                  Method        System.Management.ManagementBaseObject GetHDPollingTime()
GetLCDResolution                  Method        System.Management.ManagementBaseObject GetLCDResolution()
GetLux                            Method        System.Management.ManagementBaseObject GetLux()
GetOem1                           Method        System.Management.ManagementBaseObject GetOem1()
GetPowerStateFor3G                Method        System.Management.ManagementBaseObject GetPowerStateFor3G()
GetPowerStateForBluetooth         Method        System.Management.ManagementBaseObject GetPowerStateForBluetooth()
GetPowerStateForCamera            Method        System.Management.ManagementBaseObject GetPowerStateForCamera()
GetPowerStateForODD               Method        System.Management.ManagementBaseObject GetPowerStateForODD()
GetRadioStateForWirless           Method        System.Management.ManagementBaseObject GetRadioStateForWirless()
GetRFID                           Method        System.Management.ManagementBaseObject GetRFID()
GetSRSState                       Method        System.Management.ManagementBaseObject GetSRSState()
GetTouchPadState                  Method        System.Management.ManagementBaseObject GetTouchPadState()
GetTP_SW                          Method        System.Management.ManagementBaseObject GetTP_SW()
GetVGA1FANDuty                    Method        System.Management.ManagementBaseObject GetVGA1FANDuty()
GetVGA1temp                       Method        System.Management.ManagementBaseObject GetVGA1temp()
GetVGA1tempThermalIC              Method        System.Management.ManagementBaseObject GetVGA1tempThermalIC()
GetVGA2FANDuty                    Method        System.Management.ManagementBaseObject GetVGA2FANDuty()
GetVGA2temp                       Method        System.Management.ManagementBaseObject GetVGA2temp()
GetVGA2tempThermalIC              Method        System.Management.ManagementBaseObject GetVGA2tempThermalIC()
GetVolumeLED                      Method        System.Management.ManagementBaseObject GetVolumeLED()
GetWhiteLedKB                     Method        System.Management.ManagementBaseObject GetWhiteLedKB()
GetXMP                            Method        System.Management.ManagementBaseObject GetXMP()
LightSensor                       Method        System.Management.ManagementBaseObject LightSensor(System.UInt16 Data)
OS_S3_S4                          Method        System.Management.ManagementBaseObject OS_S3_S4()
Package1                          Method        System.Management.ManagementBaseObject Package1(System.Byte[] Bytes)
Package2                          Method        System.Management.ManagementBaseObject Package2(System.Byte[] Bytes)
RapidStar                         Method        System.Management.ManagementBaseObject RapidStar()
RapidStarMode                     Method        System.Management.ManagementBaseObject RapidStarMode()
ResetUsbHub                       Method        System.Management.ManagementBaseObject ResetUsbHub(System.UInt16 Data)
ReturnHDTemp                      Method        System.Management.ManagementBaseObject ReturnHDTemp(System.UInt16 Data)
ReturnPopupMode                   Method        System.Management.ManagementBaseObject ReturnPopupMode(System.UInt16 Data)
Set3G                             Method        System.Management.ManagementBaseObject Set3G(System.UInt16 Data)
SetAirplaneOsd                    Method        System.Management.ManagementBaseObject SetAirplaneOsd(System.UInt16 Data)
SetBacklightOff                   Method        System.Management.ManagementBaseObject SetBacklightOff(System.UInt16 Data)
SetBarCode                        Method        System.Management.ManagementBaseObject SetBarCode(System.UInt16 Data)
SetBrightnessLevel                Method        System.Management.ManagementBaseObject SetBrightnessLevel(System.UInt16 Data)
SetBT                             Method        System.Management.ManagementBaseObject SetBT(System.UInt16 Data)
SetCamera                         Method        System.Management.ManagementBaseObject SetCamera(System.UInt16 Data)
SetCCDLED                         Method        System.Management.ManagementBaseObject SetCCDLED(System.UInt32 Data)
SetColorKey                       Method        System.Management.ManagementBaseObject SetColorKey(System.UInt16 Data)
SetCPUFANControl                  Method        System.Management.ManagementBaseObject SetCPUFANControl(System.UInt16 Data)
SetCPUPerformance                 Method        System.Management.ManagementBaseObject SetCPUPerformance(System.UInt16 Data)
SetDayHour                        Method        System.Management.ManagementBaseObject SetDayHour(System.UInt16 Data)
SetDocking                        Method        System.Management.ManagementBaseObject SetDocking(System.UInt16 Data)
SetECResumerTimer                 Method        System.Management.ManagementBaseObject SetECResumerTimer(System.UInt32 Data)
SetEmailLEDOFF                    Method        System.Management.ManagementBaseObject SetEmailLEDOFF(System.UInt16 Data)
SetEmailLEDON                     Method        System.Management.ManagementBaseObject SetEmailLEDON(System.UInt16 Data)
SetEnergyStar                     Method        System.Management.ManagementBaseObject SetEnergyStar(System.UInt16 Data)
SetFactoryMode                    Method        System.Management.ManagementBaseObject SetFactoryMode()
SetFanAutoDuty                    Method        System.Management.ManagementBaseObject SetFanAutoDuty(System.UInt32 Data)
SetFanDuty                        Method        System.Management.ManagementBaseObject SetFanDuty(System.UInt32 Data)
SetGPIO12                         Method        System.Management.ManagementBaseObject SetGPIO12(System.UInt16 Data)
SetGPS                            Method        System.Management.ManagementBaseObject SetGPS(System.UInt16 Data)
SetH2RAMIndex                     Method        System.Management.ManagementBaseObject SetH2RAMIndex(System.UInt32 Data)
SetKBLED                          Method        System.Management.ManagementBaseObject SetKBLED(System.UInt32 Data)
SetLCDAutoDimmer                  Method        System.Management.ManagementBaseObject SetLCDAutoDimmer(System.UInt16 Data)
SetMenu                           Method        System.Management.ManagementBaseObject SetMenu(System.UInt16 Data)
SetMuteButton                     Method        System.Management.ManagementBaseObject SetMuteButton(System.UInt16 Data)
SetNVIDIA                         Method        System.Management.ManagementBaseObject SetNVIDIA(System.UInt16 Data)
SetOS                             Method        System.Management.ManagementBaseObject SetOS(System.UInt16 Data)
SetRFID                           Method        System.Management.ManagementBaseObject SetRFID(System.UInt16 Data)
SetSensor                         Method        System.Management.ManagementBaseObject SetSensor(System.UInt16 Data)
SetTenKey                         Method        System.Management.ManagementBaseObject SetTenKey(System.UInt16 Data)
SetTP                             Method        System.Management.ManagementBaseObject SetTP(System.UInt16 Data)
SetupRotationdegree               Method        System.Management.ManagementBaseObject SetupRotationdegree(System.Byte[] Bytes)
SetVolumeLED                      Method        System.Management.ManagementBaseObject SetVolumeLED(System.UInt16 Data)
SetWhiteLedKB                     Method        System.Management.ManagementBaseObject SetWhiteLedKB(System.UInt16 Data)
SetWLan                           Method        System.Management.ManagementBaseObject SetWLan(System.UInt16 Data)
SetXPBrightness                   Method        System.Management.ManagementBaseObject SetXPBrightness(System.UInt16 Data)
SetYearMonth                      Method        System.Management.ManagementBaseObject SetYearMonth(System.UInt16 Data)
SystemControlFunction             Method        System.Management.ManagementBaseObject SystemControlFunction(System.UInt32 Data)
TalkBIOS3G                        Method        System.Management.ManagementBaseObject TalkBIOS3G(System.UInt32 Data)
TalkECTime                        Method        System.Management.ManagementBaseObject TalkECTime(System.UInt64 Data)
TalkECVolume                      Method        System.Management.ManagementBaseObject TalkECVolume(System.UInt32 Data) 
USB                               Method        System.Management.ManagementBaseObject USB(System.UInt16 Data)
WritetH2RAM                       Method        System.Management.ManagementBaseObject WritetH2RAM(System.UInt32 Data)

About

Library for manually executing commands for Clevo laptops

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published