HandheldCompanion
HandheldCompanion copied to clipboard
Asus Rog Ally wakes from sleep immediately when emulating XBOX 360 Controller
Device manufacturer
- [ ] AYANEO
- [ ] AYN
- [ ] AOKZOE
- [X] ASUS
- [ ] GPD
- [ ] ONEXPLAYER
- [ ] VALVE
- [ ] LENOVO
Device model Asus Rog Ally
Handheld Companinion Version 0.19.0.2
Describe the bug When there is an emulated Xbox 360 controller enabled, then, sometimes, using the sleep button to sleep (not to hybernate) will immediately wake it up with the lock screen. This gets fixed if the emulated controller is a DS4 or the emulated controller is disconnected. Asus Armory Crate software (except My Asus) is uninstalled. Asus Armory Crate Interface is disabled in BIOS.
To Reproduce Steps to reproduce the behavior:
- Have HC set to emulate a xbox 360.
- Press the sleep button.
- It will turn off for less than a second, then turn on again in the lock screen.
- If HC is set to emulate a DS4 or none it will go to sleep properly.
Expected behavior It should go to sleep properly.
Screenshots N/A
Logs file Didn't find any log file for the day where it happened
Will see if I can reproduce this on my ROG Ally. Do you have Desktop mode active or any layout remap that activates mouse or keyboard buttons?
None at all
The original controller is not hidden, but I think it didn't matter if it was or not IIRC.
Hey @xaviergonz I just did some serious research on a device sleep when running HC, my conclusion is that HC has no effect on it. You can read more about it here: https://github.com/Valkirie/HandheldCompanion/issues/754
Could you check with an administrator command prompt what has effect on sleep for you device with the following command:
powercfg -requests
I just uploaded a video https://www.youtube.com/watch?v=2fn6wYBHNEc
Basically it seems that when xbox emulation is enabled the xbox controler driver will unmount and that seems to wake it up again, and unlocking the device makes the driver appear again.
If there's no controller emulation or it is set to ps4 this doesn't happen
powercfg doesnt show anything strange.