flukejones / rog-core

Implements missing functionality for ASUS Zephyrus GX502, GX502, GX531, G712, G53, GA14/GA401, GA15/GA502 such as keyboard LED control, RGB modes, AniMe display control, and missing fn functions.
Mozilla Public License 2.0
255 stars 25 forks source link

Please add support for ROG Strix G731GV #35

Open TabPaD opened 4 years ago

TabPaD commented 4 years ago

Well honestly when I decided to install linux on my machine I was really prepared to give up all the extra functions which was offered with asus drivers on Windows. But then, when I found this project incidently, I was so amazed that I can't even begin to describe... My Asus ROG G731GV wasn't on the list but I decided to give it a try and the results are quite satisfying. In fact almost everything other than Fan Modes and LED Modes work fine. Changing Fan modes or LED color either using physical keys or bash commands is not possible and right now I'm stuck with static red color on the keyboard (before installing rog-core it was turned off). Media and FN+ keys including Mic mute, volume control, screen brightness, touchpad toggle, sleep, airplane mode and even Charge Limit all work fine.

here are some pictures of the keyboard: top side

flukejones commented 4 years ago

Are you able to list which LED modes should work for your machine? If you still have windows installed you can cycle through them. Otherwise I'll add your laptop to a default minimal list.

DOes it support RGB per key?

flukejones commented 4 years ago

Hmm, per-key, 4-zone, and others? Looks very similar to another laptop recently added, I'll follow that one (G531GW)

TabPaD commented 4 years ago

It has 4 zones. Here is a picture of aura creator app which shows all the lights on the keyboard and sides of laptop. LED_Lights

Using keyboard shortcuts I can cycle through Static, Breathing, Strobing, Color Cycle and Rainbow. And yes it should be very similar to G531 Series. Mine has 17" display screen compared to G531's 15" screen.

flukejones commented 4 years ago

If you're comfortable with building the app on your own, the latest master should have the support you need.

TabPaD commented 4 years ago

I would love to help but unfortunately I'm not very familiar with Rust.

flukejones commented 4 years ago

Which distro mate?

TabPaD commented 4 years ago

If you mean which distro I’m using, I’ve mentioned it in my first post. Linux Mint 20 Ulyana

TabPaD commented 4 years ago

Just a little reminder!! G731 or at least G731GV has 4-zone RGB and is added in the wrong section.

flukejones commented 4 years ago

tech specs for reference.

TabPaD commented 4 years ago

Okay it seems that there are different Versions of G731. i.e. Strix Hero III G731, Strix Scar III G731 and Strix G731. These are the correct technical specs for my laptop!

One Zone RGB lighting (GT/GU) 4 Zone RGB lighting (GV/GW)

This is also shown in the screen shot from Aura Creator app on Windows!

flukejones commented 4 years ago

Thanks for the detail. I will add these variants at a later date. If you want to do this now it's not a hard task - add a block like this:

    } else if board_name.starts_with("G731GV")
        || board_name.starts_with("G731GW")
    {
        laptop.supported_modes = vec![ SINGLE, BREATHING, STROBE, RAINBOW,  MULTISTATIC, ];
    } else if board_name.starts_with("G731GT")
        || board_name.starts_with("G731GU")
    {
        laptop.supported_modes = vec![ SINGLE, BREATHING, STROBE, RAINBOW,  RGB, ];

above this line.

Add whichever modes are required. Do note that RGB here means "per-key RGB". Sorry, it's a bit badly named as this once targeted only one laptop.