Skip to content
/ AWCC Public

Alienware command center for dell G15 and G16 Series

Notifications You must be signed in to change notification settings

tr1xem/AWCC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AWCC for Dell G series

Alienware Command Center for Dell G series with keybords USB 187c:0550 and USB 187c:0551

Building And Installation

  • Dependencies : libnotify
git clone https://github.com/tr1xem/AWCC
cd  AWCC
make
make install

Make a udev rule for it.(make sure to replace 0551 by 0550 if ur using that)

# /etc/udev/rules.d/99-awcc.rules
SUBSYSTEM=="usb", ATTRS{idVendor}=="187c", ATTRS{idProduct}=="0551", MODE="0660",GROUP="plugdev"

Then execute these cmds to add urself in plugdev

 sudo groupadd plugdev
 sudo usermod -aG plugdev $USER

Usage

Alienware Command Center for  Dell G Series
Usage: awcc [command] [arguments]...

Light Controls:
        brightness <value>      Set brightness
        rainbow <duration>      Set Rainbows Spectrum
        wave <color>            Set Wave Effect
        bkf <color>             Set Back and fourth effect
        static <color>          Static color
        breathe <color>         It lives and breathes!
        spectrum <duration>     Cycles through all colors
        defaultblue             Static Default Blue color

Fan Controls(Run  As root):
        g       G-Mode
        q       Quite Mode
        p       Performance Mode
        gt      G-Mode Toggle (useful for setting as keybinds)

Device Tested

Tested on: Dell G15 5530 with USB 187c:0551

Should Work in all Dell G15 models and some G16 too Feel Free to test and give suggestions!

FAQ and TIPS

Q: How do a keybind for Light Toggle ?

Ans : Install it and make a script under ~/.local/share/bin as follows

#!/bin/bash
STATE_FILE="rotate_state.txt"
VALUES=(0 50 100)
CURRENT_INDEX=$(cat "$STATE_FILE" 2>/dev/null || echo -1)
NEXT_INDEX=$(( (CURRENT_INDEX + 1) % ${#VALUES[@]} ))
echo $NEXT_INDEX > "$STATE_FILE"
ARG=${VALUES[$NEXT_INDEX]}
echo "Executing command with argument: $ARG"
awcc brightness "$ARG"

and Bind it to a key preferrably F5

Q: I am a amd user the fan cmds dont work?

Ans:Use a text editor to find a replace in file named /include/fans.cpp and then build

Find -> AMWW

Replace with -> AMW3

TODO

  • CLI
  • GUI

Credits

“Intelligence is the ability to avoid doing work, yet getting the work done.”

~Linus Torvalds