Giter Site home page Giter Site logo

Crash on TUF A15(FA507RM) about g-helper HOT 13 CLOSED

seerge avatar seerge commented on May 18, 2024
Crash on TUF A15(FA507RM)

from g-helper.

Comments (13)

seerge avatar seerge commented on May 18, 2024 1

Hey, I have rewritten whole "system" / wmi code, and don't use that WMI calls anymore in latest build (0.9.1), can you check if it's still not working for you? or is it better?

from g-helper.

seerge avatar seerge commented on May 18, 2024

Hello, yes! It crashed at trying to set Performance mode on your laptop. Does TUF have performance modes in armory ? If no, i can just try to disable that section on laptops that otherwise would crash there

from g-helper.

seerge avatar seerge commented on May 18, 2024

I tried to suppress this crash, can you check if it runs now
https://github.com/seerge/g14-helper/releases/tag/v0.8.4 ?

Performance modes probably won't work for your model tho

from g-helper.

sklynic avatar sklynic commented on May 18, 2024

Thx for quick response and give me a sec to try out.
Actually I tried this project on a MODIFIED Windows11 and it don't work, so I think it's a OS problem and installed Windows10 and get the log above.
The ArmouryCrateControlInterface and AsusSystemControlInterface Driver currently running is installed by windows update. I did't use the packages provied by asus since they pulled the win10 version driver for this laptop (this model is shipped out factory with win11 pre-installed)
I just installed ArmouryCrate and there does have a "Performance Mode". Screenshot is below.
Capture

from g-helper.

sklynic avatar sklynic commented on May 18, 2024

In my opinion, something must wrong, it seems every setting leads to crash (maybe there's a different asus WMI interface?)
this time it's battery charge threshold
Application: GHelper.exe CoreCLR Version: 7.0.323.6910 .NET Version: 7.0.3 Description: The process was terminated due to an unhandled exception. Exception Info: 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.DeviceSet(Int32 Device_Id, Int32 Control_status) at GHelper.SettingsForm.SetBatteryChargeLimit(Int32 limit) at GHelper.Program.Main()

from g-helper.

seerge avatar seerge commented on May 18, 2024

Strange. Can you try following commands from elevated powershell prompt ?

Invoke-CimMethod (Get-CimInstance -Namespace root/wmi -ClassName AsusAtkWmi_WMNB) -MethodName DEVS -Arguments @{Device_ID=0x00120075; Control_status=0}

Control_status could be 0 -Balanced, 1 - Turbo, 2 - Silent

This is same as app is doing, calling that WMI method

NOTE: it won't update profile in armory! :) but you will probably hear fans turning ON at turbo, and OFF at silent + notice different PPT limits ..

from g-helper.

seerge avatar seerge commented on May 18, 2024

In my opinion, something must wrong, it seems every setting leads to crash (maybe there's a different asus WMI interface?)

Yes, looks like you don't have it by some reason ....

Can you do Get-CimClass -namespace root/WMI | Where-Object CimClassName -Match ".*ASUS.*" in elevated powershell ? to see what you actually have from asus :)

And to make sure - that's same environment where you have armory up and running, right ?

from g-helper.

sklynic avatar sklynic commented on May 18, 2024

Tested and result is below.
What does "same environment" exactly mean, the asus driver or other related settings? (I haven't reboot after installed ArmouryCrate)
Screenshot (1)

from g-helper.

seerge avatar seerge commented on May 18, 2024

I see, so you actually have AsusAtkWmi_WMNB .. but it doesn't recognize the same device code as G14/15 use. Nice asus! :)

Here is a cheatsheet for you https://elixir.bootlin.com/linux/latest/source/include/linux/platform_data/x86/asus-wmi.h

You can try different ones, mb ?
ASUS_WMI_DEVID_THERMAL_CTRL 0x00110011

P.S. Same environment = i.e. same windows where armory works

from g-helper.

sklynic avatar sklynic commented on May 18, 2024

Thx for providing this sheet and some value returned, but I had better use ArmouryCrate/myASUS for another while until more incidents are reported here :-) (fonts changed because I changed language, another weird windows thing)
a

from g-helper.

sklynic avatar sklynic commented on May 18, 2024

Sorry I forgot to check my email earlier... Just tried v0.9.3 and everything works fine (EDIT:except the keyboard rgb; but to me it really doesn't matter, anyway other settings works fine)[EDIT v2:my fault, uninstall the armoury (not the armoury crate service) and it works, don't mind......]
Thanks a lot and I think I can close this issue now.

from g-helper.

sklynic avatar sklynic commented on May 18, 2024

Glad to get pre-release v0.29 but keyboard backlit still don't work...

But the project asusctl does work on linux (I mean the kbd Aura mode feature), maybe we can find some reference from there? Is there any way I can locate the correct device_id so I can help with this?

(I didn't find any issues or discussions dedicated for TUF's kbd backlit so I just comment here:)

from g-helper.

seerge avatar seerge commented on May 18, 2024

Someone have created an issue for that #88 but problem still stands. I can only be adding support if it's very similar to G14 (otherwise i simply can't test)

at https://github.com/flukejones/asusctl/blob/main/rog-aura/src/builtin_modes.rs i see only one implementation (this is the one i used for G14)

from g-helper.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.