Comments (13)
Hello, can you try to run in elevated powershell following command
Invoke-CimMethod (Get-CimInstance -Namespace root/wmi -ClassName AsusAtkWmi_WMNB) -MethodName DEVS -Arguments @{Device_ID=0x00120057 ; Control_status=80}
It could be that your laptop doesn't support Battery Charge limits (there where it crashed)
from g-helper.
from g-helper.
Ok, interesting :) seems like on G15 it's some other device code that is responsible for battery charge limits ...
I have suppressed this crash, let me know if app runs for you. But battery charge limit won't work here
https://github.com/seerge/g14-helper/releases/tag/v0.8.6
from g-helper.
If you will figure out which one (instead of 0x00120057) - let me know. I'll implement it
from g-helper.
With v0.8.6 the program no longer crashes but at launch, it throws up this error:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.************** Exception Text **************
System.Management.ManagementException: Generic failure
at System.Management.ManagementException.ThrowWithExtendedInfo(ManagementStatus errorCode)
at System.Management.ManagementObject.InvokeMethod(String methodName, ManagementBaseObject inParameters, InvokeMethodOptions options)
at ASUSWmi.WMICall(String MethodName, Int32 Device_Id, Int32 Control_status)
at ASUSWmi.DeviceGet(Int32 Device_Id)
at GHelper.SettingsForm.InitScreen()
at GHelper.SettingsForm.SettingsForm_VisibleChanged(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnVisibleChanged(EventArgs e)
at System.Windows.Forms.Form.OnVisibleChanged(EventArgs e)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, WM msg, IntPtr wparam, IntPtr lparam)************** Loaded Assemblies **************
System.Private.CoreLib
Assembly Version: 7.0.0.0
Win32 Version: 7.0.323.6910
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.3/System.Private.CoreLib.dllGHelper
Assembly Version: 1.0.0.0
Win32 Version: n/a
CodeBase:System.Runtime
Assembly Version: 7.0.0.0
Win32 Version: 7.0.323.6910
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.3/System.Runtime.dllSystem.Windows.Forms
Assembly Version: 7.0.0.0
Win32 Version: 7.0.323.7201
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/7.0.3/System.Windows.Forms.dllSystem.ComponentModel.Primitives
Assembly Version: 7.0.0.0
Win32 Version: 7.0.323.6910
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.3/System.ComponentModel.Primitives.dllSystem.Windows.Forms.Primitives
Assembly Version: 7.0.0.0
Win32 Version: 7.0.323.7201
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/7.0.3/System.Windows.Forms.Primitives.dllSystem.Drawing.Common
Assembly Version: 7.0.0.0
Win32 Version: 7.0.323.6910
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/7.0.3/System.Drawing.Common.dllSystem.Drawing.Primitives
Assembly Version: 7.0.0.0
Win32 Version: 7.0.323.6910
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.3/System.Drawing.Primitives.dllSystem.Management
Assembly Version: 4.0.0.0
Win32 Version: n/a
CodeBase:System.Runtime.InteropServices
Assembly Version: 7.0.0.0
Win32 Version: 7.0.323.6910
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.3/System.Runtime.InteropServices.dllSystem.Collections.Specialized
Assembly Version: 7.0.0.0
Win32 Version: 7.0.323.6910
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.3/System.Collections.Specialized.dllSystem.Diagnostics.TraceSource
Assembly Version: 7.0.0.0
Win32 Version: 7.0.323.6910
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.3/System.Diagnostics.TraceSource.dllSystem.Collections
Assembly Version: 7.0.0.0
Win32 Version: 7.0.323.6910
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.3/System.Collections.dllSystem.Threading
Assembly Version: 7.0.0.0
Win32 Version: 7.0.323.6910
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.3/System.Threading.dllSystem.Resources.Extensions
Assembly Version: 7.0.0.0
Win32 Version: 7.0.323.6910
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/7.0.3/System.Resources.Extensions.dllSystem.Memory
Assembly Version: 7.0.0.0
Win32 Version: 7.0.323.6910
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.3/System.Memory.dllSystem.Drawing
Assembly Version: 7.0.0.0
Win32 Version: 7.0.323.7201
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/7.0.3/System.Drawing.dllMicrosoft.Win32.Primitives
Assembly Version: 7.0.0.0
Win32 Version: 7.0.323.6910
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.3/Microsoft.Win32.Primitives.dllSystem.Text.Json
Assembly Version: 7.0.0.0
Win32 Version: 7.0.323.6910
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.3/System.Text.Json.dllSystem.Collections.Concurrent
Assembly Version: 7.0.0.0
Win32 Version: 7.0.323.6910
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.3/System.Collections.Concurrent.dllSystem.Private.Uri
Assembly Version: 7.0.0.0
Win32 Version: 7.0.323.6910
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.3/System.Private.Uri.dllSystem.Text.Encodings.Web
Assembly Version: 7.0.0.0
Win32 Version: 7.0.323.6910
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.3/System.Text.Encodings.Web.dllSystem.Reflection.Emit.Lightweight
Assembly Version: 7.0.0.0
Win32 Version: 7.0.323.6910
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.3/System.Reflection.Emit.Lightweight.dllSystem.Reflection.Primitives
Assembly Version: 7.0.0.0
Win32 Version: 7.0.323.6910
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.3/System.Reflection.Primitives.dllSystem.Reflection.Emit.ILGeneration
Assembly Version: 7.0.0.0
Win32 Version: 7.0.323.6910
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.3/System.Reflection.Emit.ILGeneration.dllSystem.Text.Encoding.Extensions
Assembly Version: 7.0.0.0
Win32 Version: 7.0.323.6910
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.3/System.Text.Encoding.Extensions.dllSystem.Numerics.Vectors
Assembly Version: 7.0.0.0
Win32 Version: 7.0.323.6910
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.3/System.Numerics.Vectors.dllSystem.Threading.Thread
Assembly Version: 7.0.0.0
Win32 Version: 7.0.323.6910
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.3/System.Threading.Thread.dllMicrosoft.Win32.Registry
Assembly Version: 7.0.0.0
Win32 Version: 7.0.323.6910
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.3/Microsoft.Win32.Registry.dllSystem.ComponentModel.EventBasedAsync
Assembly Version: 7.0.0.0
Win32 Version: 7.0.323.6910
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.3/System.ComponentModel.EventBasedAsync.dllAccessibility
Assembly Version: 4.0.0.0
Win32 Version: 7.0.323.7201
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/7.0.3/Accessibility.dllSystem.ComponentModel.TypeConverter
Assembly Version: 7.0.0.0
Win32 Version: 7.0.323.6910
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.3/System.ComponentModel.TypeConverter.dllSystem.ObjectModel
Assembly Version: 7.0.0.0
Win32 Version: 7.0.323.6910
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.3/System.ObjectModel.dllSystem.ComponentModel
Assembly Version: 7.0.0.0
Win32 Version: 7.0.323.6910
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.3/System.ComponentModel.dllMicrosoft.Win32.SystemEvents
Assembly Version: 7.0.0.0
Win32 Version: 7.0.323.6910
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/7.0.3/Microsoft.Win32.SystemEvents.dllSystem.Runtime.Intrinsics
Assembly Version: 7.0.0.0
Win32 Version: 7.0.323.6910
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.3/System.Runtime.Intrinsics.dllMicrosoft.Win32.TaskScheduler
Assembly Version: 2.10.1.0
Win32 Version: n/a
CodeBase:System.Linq
Assembly Version: 7.0.0.0
Win32 Version: 7.0.323.6910
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.3/System.Linq.dllSystem.Diagnostics.FileVersionInfo
Assembly Version: 7.0.0.0
Win32 Version: 7.0.323.6910
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.3/System.Diagnostics.FileVersionInfo.dllSystem.Text.RegularExpressions
Assembly Version: 7.0.0.0
Win32 Version: 7.0.323.6910
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.3/System.Text.RegularExpressions.dllSystem.Xml.ReaderWriter
Assembly Version: 7.0.0.0
Win32 Version: 7.0.323.6910
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.3/System.Xml.ReaderWriter.dllSystem.Private.Xml
Assembly Version: 7.0.0.0
Win32 Version: 7.0.323.6910
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.3/System.Private.Xml.dllSystem.Collections.NonGeneric
Assembly Version: 7.0.0.0
Win32 Version: 7.0.323.6910
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.3/System.Collections.NonGeneric.dllSystem.Runtime.Loader
Assembly Version: 7.0.0.0
Win32 Version: 7.0.323.6910
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.3/System.Runtime.Loader.dllSystem.Diagnostics.StackTrace
Assembly Version: 7.0.0.0
Win32 Version: 7.0.323.6910
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.3/System.Diagnostics.StackTrace.dllSystem.Reflection.Metadata
Assembly Version: 7.0.0.0
Win32 Version: 7.0.323.6910
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.3/System.Reflection.Metadata.dllSystem.Collections.Immutable
Assembly Version: 7.0.0.0
Win32 Version: 7.0.323.6910
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.3/System.Collections.Immutable.dll************** JIT Debugging **************
The program runs when I hit continue though.
from g-helper.
That's another feature, that is not supported by WMI calls on your laptop, screen overdrive.
I have uploaded a fix (to the same release) https://github.com/seerge/g14-helper/releases/tag/v0.8.6
Let me know if it works now
from g-helper.
With that release, only the GPU mode switching and screen refresh rate change (aside from the same error thrown trying to switch to 165Hz + OD, which does switch to after hitting continue) seems to work.
from g-helper.
Yeah, cause it was trying to set same overdrive again there ... i have suppressed that crash too (same old link)
from g-helper.
Does G15 have screen overdrive at all ? (in armory)
from g-helper.
from g-helper.
Ok, then it's (again) some other device_id responsible for that. If you will somehow find those - let me know
from g-helper.
I'm closing this, as it doesn't seem to crash anymore, even tho that feature doesn't work on g15 for now
from g-helper.
Huh, interesting, I'm running a 2021 Zephyrus G15 (specifically, the GA503QR) and don't have any issues. (I know, not exactly helpful, but it's a data point.) Perhaps ASUS changed up things post-2022?
from g-helper.
Related Issues (20)
- Feature request for adding insert and pause with some Fn key combination HOT 6
- Black and White Tray Icon: Unsmooth and Jagged Outline HOT 9
- ROG Strix Impact III Wireless Mouse Support HOT 5
- ROG Strix Impact III Wireless HOT 7
- FX507V4 Keboard doesn't light up HOT 7
- Question HOT 1
- (Rog ally) is there a way for you to disable the armory crate button and not the command center button? HOT 1
- On battry and GPU optimized mode NVDIA settion not disappear. HOT 1
- Cpu stuck at 100% when using any ghelper plan HOT 14
- Add overlay for mic and touchpad HOT 6
- could you add a way to add power plans like high performance ,ultimate performance in g helper HOT 1
- Fan speed change not reflected in MyASUS HOT 5
- CPU Boost Settings Changing for All Power Profiles HOT 1
- 灯光,电池及日常的一些小问题 HOT 1
- Visual Mode on G14 2023 IPS HOT 15
- Anime Matrix either doesn't load or takes 30s+ HOT 9
- Zenbook 2024 / UM3406HA | Power Limit issues HOT 8
- CPU power consumption wall issue HOT 13
- Disabling certain Key bindings/shortcuts HOT 4
- Power limits not working? HOT 13
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from g-helper.