Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin Initialization error #2

Open
YangQF2002 opened this issue Jan 25, 2023 · 2 comments
Open

Plugin Initialization error #2

YangQF2002 opened this issue Jan 25, 2023 · 2 comments

Comments

@YangQF2002
Copy link

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
Copy link
Owner

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:

func (c *Control) doCheckMute() error {
c.mu.Lock()
defer c.mu.Unlock()
ret := C.SetMicrophoneMute(1, 0)
switch ret {
case -1:
return fmt.Errorf("Cannot check microphone muted status")
default:
c.isMuted = int(ret) == 1
log.Printf("volCtrl: current microphone mute is %v\n", c.isMuted)
return nil
}
}

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
Copy link
Owner

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

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants