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

ROG Ally controller gets re-enabled after sleep #3192

Closed
2 tasks done
dfunkt opened this issue Sep 30, 2024 · 17 comments
Closed
2 tasks done

ROG Ally controller gets re-enabled after sleep #3192

dfunkt opened this issue Sep 30, 2024 · 17 comments
Labels
question Further information is requested

Comments

@dfunkt
Copy link

dfunkt commented Sep 30, 2024

Rules

  • I made myself familiar with the Readme, FAQ and Troubleshooting.
  • I understand that, if insufficient information or no app logs will be provided, my issue will be closed without an answer.

What's wrong?

ROG Ally controller keeps getting re-enabled after sleep, even though I have ticked the "Disable Controller" box in the G-Helper settings.
I always have to untick and then retick the setting after sleep for it to work

How to reproduce the bug?

  1. Tick "Disable Controller" in G-Helper controller settings
  2. Let the device go to sleep
  3. Wake up the device
  4. Check Device Manager and you see the controller as available

Logs

log.txt

Device and Model

ROG Ally RC71L

Additional information.

No response

Armoury Crate

Never installed

Asus Services

No response

Version

0.191.0

OS

No response

@seerge
Copy link
Owner

seerge commented Sep 30, 2024

@dfunkt hello, I think firmware resets status every time device wakes up.

Try this build, it should re-apply controller status every time you reboot or wake up from sleep.
GHelper.zip

@seerge seerge added the question Further information is requested label Sep 30, 2024
@dfunkt
Copy link
Author

dfunkt commented Sep 30, 2024

I can confirm that the build linked above fixes the issue.

@seerge
Copy link
Owner

seerge commented Sep 30, 2024

@dfunkt great! Thanks for spotting.

@seerge seerge closed this as completed Sep 30, 2024
@dfunkt
Copy link
Author

dfunkt commented Sep 30, 2024

Nevermind, don't know why it looked like it was working the 1st time around. It seems to apply fine on reboot, but the controller still gets enabled upon waking up from sleep.
log.txt

@seerge
Copy link
Owner

seerge commented Sep 30, 2024

@dfunkt but app sends controller OFF command on each wake up

9/30/2024 3:16:39 PM: Eco flag : 1
9/30/2024 3:16:39 PM: Mux flag : -65536
9/30/2024 3:16:39 PM: Internal screen off
9/30/2024 3:16:39 PM: Input available: \\?\hid#vid_0b05&pid_1abe&mi_02&col01#8&d1252f4&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030} 1ABE 64
9/30/2024 3:16:39 PM: Init 1ABE|64: 5A-41-53-55-53-20-54-65-63-68-2E-49-6E-63-2E
9/30/2024 3:16:39 PM: Init 1ABE: 5D-B9
9/30/2024 3:16:39 PM: Init 1ABE: 5D-41-53-55-53-20-54-65-63-68-2E-49-6E-63-2E
9/30/2024 3:16:39 PM: Init 1ABE: 5D-05-20-31-00-1A
9/30/2024 3:16:39 PM: Status 1ABE|64: 5A-D1-0B-01-02 <---- TURNS IT OFF
9/30/2024 3:16:39 PM: FPS Limit: 60
9/30/2024 3:16:39 PM: Controller 1ABE|64: 5A-D1-01-01-03

I have moved this command to be the last one from whole init (in case something else makes controller to enable agian)

Try this build
GHelper.zip

@dfunkt
Copy link
Author

dfunkt commented Sep 30, 2024

No difference, it still gets enabled.
log.txt

This is how it shows up after sleep:
image

After reboot/shutdown there's no Xbox 360 at the bottom.

@seerge
Copy link
Owner

seerge commented Sep 30, 2024

@dfunkt that's strange cause it's literally last command in a chain

9/30/2024 3:36:51 PM: FPS Limit: 60
9/30/2024 3:36:51 PM: Init 1ABE|64: 5A-41-53-55-53-20-54-65-63-68-2E-49-6E-63-2E
9/30/2024 3:36:51 PM: Init 1ABE: 5D-B9
9/30/2024 3:36:51 PM: Init 1ABE: 5D-41-53-55-53-20-54-65-63-68-2E-49-6E-63-2E
9/30/2024 3:36:51 PM: Mode = 0 : OK
9/30/2024 3:36:51 PM: Init 1ABE: 5D-05-20-31-00-1A
9/30/2024 3:36:51 PM: Controller 1ABE|64: 5A-D1-01-01-03
9/30/2024 3:36:51 PM: Status 1ABE|64: 5A-D1-0B-01-02 <--- DISABLES CONTROLLER
9/30/2024 3:36:52 PM: Auto 1ABE: 5D-BA-C5-C4-01 <--- BACKLIGHT
9/30/2024 3:36:52 PM: AuraMode: AuraStatic
9/30/2024 3:36:52 PM: USB 1ABE: 5D-B3-00-00-19-19-19-EB-00-00-19-19-19-00-00-00-00
9/30/2024 3:36:52 PM: USB 1ABE: 5D-B5-00-00-00
9/30/2024 3:36:52 PM: USB 1ABE: 5D-B4

Can you do manual check - disable it with a checkbox, and then adjust backlight brightness or backlight mode to see if that enables it by any chance?

Also do you have asus services or Armoury services running in background ? cause if so - they can interfere

@dfunkt
Copy link
Author

dfunkt commented Sep 30, 2024

Now, regarding your questions (keep in mind this is a fresh Windows install from a few hours ago)

  1. No difference, controller stays disabled.
  2. I have these, they seem to have been installed alongside Windows:
    image

@seerge
Copy link
Owner

seerge commented Sep 30, 2024

@dfunkt yeah, but then it's strange and it looks like something else is enabling controller

As whole enable / disable (what checkbox does) is literally one command, where [02] is disabled, and [01] is enabled.

Status 1ABE|64: 5A-D1-0B-01-[02]

And app sends it

Can you try to stop all asus services via Extra settings, then double check if they are all OFF via windows Services app and then test again ?

@dfunkt
Copy link
Author

dfunkt commented Sep 30, 2024

No difference
image
I did however notice something. If the controller gets enabled after waking up from sleep, it will stay that way unless I specifically go and untick/retick the "Disable controller" checkbox in the settings. Just quitting the app and then starting it again keeps the controller enabled.

@seerge
Copy link
Owner

seerge commented Sep 30, 2024

@dfunkt ok,

I have added an artificial 1 second delay before setting DISABLE command for controller

Can you check this build ?
GHelper.zip

@dfunkt
Copy link
Author

dfunkt commented Sep 30, 2024

Same issue
image

How about maybe setting it to enabled for 1s or so and then disabling it when using the "Disable Controller" option?

I'm starting to think this might just be an issue with the sleep mode on the Ally

@seerge
Copy link
Owner

seerge commented Sep 30, 2024

@dfunkt try this build, it will set controller to enabled and then to disabled (and post a log from it to double-check)

GHelper.zip

@dfunkt
Copy link
Author

dfunkt commented Sep 30, 2024

^^ Finally, this version appears to work well 😄
It doesn't get re-enabled by itself anymore.
log.txt

@seerge
Copy link
Owner

seerge commented Sep 30, 2024

@dfunkt ok, this is some crazy shenanigans from asus honestly. Can you check if this build still works correctly ?
GHelper.zip

@dfunkt
Copy link
Author

dfunkt commented Sep 30, 2024

Yes, the build above also works fine.
log.txt

@seerge
Copy link
Owner

seerge commented Sep 30, 2024

@dfunkt ok, good. I have lowered delay to 500ms. But still kept it just in case it matters.

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

No branches or pull requests

2 participants