NeilSeligmann / G15Manager

An open source alternative to manage your ROG Zephyrus G15. Supports changing Fan Profile, rebind most keys (including ROG Key), and changing Windows' Power Options
GNU General Public License v3.0
7 stars 3 forks source link

Plugin Initialization error #2

Open YangQF2002 opened 1 year ago

YangQF2002 commented 1 year ago

Hey, I have the 2021 G15 model; 3060 with 5900HS. I am coming from a fresh windows 10 iso. I have installed asus system control interface v2 (via e-support folder) and armoury crate control interface 1.0.0.13 (via windows update). I did not install control interface v3 since the AsusOptimisation folder that it created did not have the atkwmiacpi64.sys driver.

I do not have Armoury crate or MyAsus installed.

I have also disabled all asus-related services and tasks. Disabled-services: image Disabled-tasks: image

However, when i try to run G15Manager.exe as admin, it fails to work. I have attached the log file below. Log file: G15Manager.log

Any assistance would be greatly appreciated. This seems like a great replacement for Armoury Crate that I would like to tryout. For now I am using atrofac for fan control which seems to work well.

Thanks for reading!

NeilSeligmann commented 1 year ago

Hi! It seems that for some reason it is failing to check the microphone status.

2023/01/25 16:08:20 [controller] error initializing: Cannot check microphone muted status [controller] plugin initializtion error github.com/NeilSeligmann/G15Manager/controller.(Controller).initialize D:/a/G15Manager/G15Manager/controller/controller.go:82 github.com/NeilSeligmann/G15Manager/controller.(Controller).Serve D:/a/G15Manager/G15Manager/controller/controller.go:186 main.main.func1 D:/a/G15Manager/G15Manager/cmd/manager/main.go:126 runtime.goexit C:/hostedtoolcache/windows/go/1.17.1/x64/src/runtime/asm_amd64.s:1581

This could be bypassed by returning nil in the function doCheckMute: https://github.com/NeilSeligmann/G15Manager/blob/909bf4fc6719259a94ca2329365411e8eaa0697c/cxx/plugin/volume/control.go#L115-L128

I've been thinking of adding a configuration for disabling plugins (Volume, Keyboard, etc), but I currently have no free time to do so. If you have the know-how you could change that function and see if it works for you.

NeilSeligmann commented 1 year ago

Try leaving the service Armoury Crate Control Interface enabled and see if that works. I have that service enabled and in manual mode.

image