Results 1 to 10 of 10
  1. #1
    ROG Member Array
    Join Date
    Jun 2015
    Reputation
    10
    Posts
    16

    New python code to control lighting hardware on the G20aj series on github

    I've got some mod code for the lighting on the G20aj desktop series on github at
    https://github.com/wherrera10/asus-lighting

    This code is open source licensed. It uses the ASUS ACPIWMI.dll file resource.

    The basic app sets the lighting to red, white, and blue.

    Another app uses the lighting as a visualizer for something you are
    playing on audio, via the Windows Stereo Mix recording device,
    which is usually hidden under recording devices, so you must
    go to audio settings and right click on the recoding device list to see.

    These are still under development at an alpha level,
    so suggestions are welcome.

  2. #2
    ROG Guru: Black Belt Array toronto699 PC Specs
    toronto699 PC Specs
    Laptop (Model)G752-VY-DH78K , G751-JYDH72X
    MotherboardRog Tytan G30AB
    Processori7-4770K
    Memory (part number)32GB
    Graphics Card #1Asus Gold20th GTX980Ti
    Sound CardDell X-Fi Audigy SoundBlaster
    Monitor3 Acer K272HL
    Storage #1118 GB/OS
    Storage #22.72 TB
    CPU CoolerIntegrated Liquid-Cooled CPU
    CaseG30AB
    Power SupplyAsus 700 Watt
    Keyboard Razer BlackWidow Ultimate
    Mouse Razer Diamond Back
    Headset Sony Studio Professional , Razer Seiren Mic
    Mouse Pad Razer FireFly
    Headset/Speakers Logittech 5.1 Z-5500
    OS W 10
    Network RouterSagemon Fast 5250 Hub 2000

    Join Date
    Aug 2014
    Reputation
    74
    Posts
    2,416

    Thanks , works fine

  3. #3
    ROG Enthusiast Array
    Join Date
    Mar 2015
    Reputation
    10
    Posts
    32

    Quote Originally Posted by toronto699 View Post
    Thanks , works fine
    Hi toronto699

    Do you happen to have the exe file still for this ? I want to test this too. Can you post a link with the executable file or teach me us on how to compile it. Thank you in advance.

  4. #4
    ROG Member Array
    Join Date
    Jun 2015
    Reputation
    10
    Posts
    16

    I can put up an example executable (might need a microsoft visual c mfc .dll to run though) as a download here:

    http://www.alahonua.com/temp/asus_light_clock.zip

    Remember that any program that interacts with the ACPI needs to be run as an administrator.
    Last edited by wherrera; 10-02-2015 at 09:30 AM.

  5. #5
    ROG Enthusiast Array
    Join Date
    Mar 2015
    Reputation
    10
    Posts
    32

    Quote Originally Posted by wherrera View Post
    I can put up an example executable (might need a microsoft visual c mfc .dll to run though) as a download here:

    http://www.alahonua.com/temp/asus_light_clock.zip

    Remember that any program that interacts with the ACPI needs to be run as an administrator.
    Thanks for the exe file.@wherrera. Just wondering what version of python did you use to make this code work?
    I tried to make it work with Python 2.7.1 but it seems that it's missing some libraries.

    Made the asus_light_clock & light_acpi work but not the asus_soundlighting & gui_asus_soundlighting. Thanks again

  6. #6
    ROG Member Array
    Join Date
    Jun 2015
    Reputation
    10
    Posts
    16

    I know you need pyaudio at https://people.csail.mit.edu/hubert/pyaudio/ and also scipy and matplotlib, which I got from Anaconda's python installation.


    Quote Originally Posted by Gengaku View Post
    Thanks for the exe file.@wherrera. Just wondering what version of python did you use to make this code work?
    I tried to make it work with Python 2.7.1 but it seems that it's missing some libraries.

    Made the asus_light_clock & light_acpi work but not the asus_soundlighting & gui_asus_soundlighting. Thanks again

  7. #7
    ROG Guru: Yellow Belt Array adamsyes's Avatar
    Join Date
    Dec 2011
    Reputation
    11
    Posts
    169

    This is quite interesting. However, did anyone figure out how to import those lightning implementation modes from the new models G20CB to the AJ? This does work but I was hoping if we can make them work via the aegis II software or Asus command fashion

    I hope this isn't a Hardware related changes they have done. Sucks for the first G20AJ users not obtaining this cool feature imo
    Last edited by adamsyes; 11-02-2015 at 02:22 AM.

  8. #8
    ROG Enthusiast Array
    Join Date
    Dec 2014
    Reputation
    10
    Posts
    55

    I have one of the first ROG G20 released and I was able to get the breathing to work, but not the one with the sound effect. Every time I use the soundlighting.exe it just closes.
    How should I be using this?

  9. #9
    ROG Member Array
    Join Date
    Jun 2015
    Reputation
    10
    Posts
    16

    If the .exe won't work for you, I'd install Anaconda python 2.7 and the PyAudio package and run the script if you need it to work for you.


    Quote Originally Posted by chrimen View Post
    I have one of the first ROG G20 released and I was able to get the breathing to work, but not the one with the sound effect. Every time I use the soundlighting.exe it just closes.
    How should I be using this?

  10. #10
    ROG Junior Member Array
    Join Date
    Jun 2015
    Reputation
    10
    Posts
    2

    Sorry for reviving a four year old thread, but wanted to say thanks for this! I've adapted the code and hooked it in to my game so now I can control the lighting on my G20AJ while it's sat alongside the monitor for demos and expos

    https://twitter.com/MartinCaine/stat...23905243414529

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •