wroberts / rogauracore

RGB keyboard control for Asus ROG laptops
MIT License
696 stars 109 forks source link

Issues on GX701 / GX735 #38

Closed Thrathra closed 4 years ago

Thrathra commented 4 years ago

Hi, i'm not able to get rogauracore working on my archlinux install. I'll be glad to help as i still have a Windows 10 + wireshark setup, all i need is some help figuring which packet are useful (i guess the usb out ones are those i must look for, but i don't know which parts of the packets are relevant). I may help other issues as my keyboard is a 0b05:1866.

Thrathra commented 4 years ago

Ok, I've dig a bit, and it seems the initialization needs some tuning. I first thought i did a bad manipulation as rogauracore worked after rebooting from windows. But i can't change the colors after a cold boot. I'll be glad to help to solve this issue.

Multi modes and rainbow are the only ones not working when rebooting from windows.

JoshDreamland commented 4 years ago

Sometimes sending the wrong message to it causes it to stop responding to color change instructions. There may also be some kind of enable message, but I haven't found any evidence of one. I would suggest recording what happens when ArmouryCrate launches for the first time after a cold boot, and replying it on Linux (you can just use RogAuraCore to play back each message).

To clarify: when you can't change the colors from a cold boot, you can't change them at all, right? On my machine, multi modes/rainbow don't work from Will's version, but the only reason I can't change color from a cold boot is because the brightness is set to zero.

Thrathra commented 4 years ago

Oh ok i got it, i'll try this right now. But for the armoury part, do i need to stop the windows service and restart it? It seems that the color mode is set before login.

And yes, I can't change any color when cold booting.

Edit : It seems that there are a few packet sent when reloading the armoury crate service, maybe it's a good start. What is the best file format to link it here?

JoshDreamland commented 4 years ago

That may work. If not, I'd try uninstalling it and reinstalling it. The dump format Wireshark uses is fine, or you can paste just the bytes to Pastebin or Gist.

Thrathra commented 4 years ago

Thanks a lot for your help. Here is the dump gx735_reload_armoury_crate.txt It's the smallest dump I could get as the service sends/receives a lot of messages when starting. Are the messages sent different from the ones rogauracore is using now?

Thrathra commented 4 years ago

Hi, it looks like issue 33 does the job for me aswell! Nevertheless, the rainbow mode is still shutting down the keyboard lights.