Giter Club home page Giter Club logo

alienfx's Issues

m17x

I'm running the Kali Linux 2.0 (Debian) and I cant get the GUI to run so i can create themes. The CLI works fine, but I have no way to create themes that way. After installing this, all of my lights went off and I have no way to fix it now!

Want to Help Add Support for the Alienware Alpha Model

Hi,

I'm really amazed at all these different projects supporting AlienFx on different models. I wasn't expecting to find anything to replace the Alienware Command Center. So hats off to you guys for developing this. I have an Alienware Alpha R1 along with the Tactx keyboard and mouse that I bought in 2015 and I haven't seen anyone support this model yet. I currently have Fedora 29 on it. I can't stand Windows anymore. I see that this project is written in Python. I'm okay with Python, I'm still learning though. I would like to help out with adding support for this model however way I can do so. I don't know really anything about how the BIOS, the hardware etc. communicates with AlienFx. So if possible could you point me in the right direction for information on this? That would be awesome. Anyways thank you for your time and keep up the good work.

ModuleNotFoundError

On Arch Linux running python3.6 I have run into this error:

alienfx --help
Traceback (most recent call last):
File "/usr/bin/alienfx", line 11, in
load_entry_point('alienfx==2.0.6', 'console_scripts', 'alienfx')()
File "/usr/lib/python3.6/site-packages/pkg_resources/init.py", line 560, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python3.6/site-packages/pkg_resources/init.py", line 2648, in load_entry_point
return ep.load()
File "/usr/lib/python3.6/site-packages/pkg_resources/init.py", line 2302, in load
return self.resolve()
File "/usr/lib/python3.6/site-packages/pkg_resources/init.py", line 2308, in resolve
module = import(self.module_name, fromlist=['name'], level=0)
File "/usr/lib/python3.6/site-packages/alienfx-2.0.6-py3.6.egg/alienfx/ui/console/init.py", line 1, in
ModuleNotFoundError: No module named 'main'

Request: Include instructions to remove the software

I am new to these experiments with Linux and to python. I installed this for my 15 R2 it is not working as intended. My system is constantly on heat due to some process just to make sure alienfx isn't the thing that's causing it I want to remove it but couldn't find any instructions for it.

Can someone please assist.

17R4 GUI hangs when trying to apply theme CLI ok

1. Expected behavior.

  • Apply loaded theme when clicking the โœ”๏ธ

2. Actual behavior.

  • GUI hangs with 'Applying Theme' messge. I've let this sit for over 3 hours with no change.
    screenshot from 2018-07-28 03-41-57

3. Steps to reproduce the problem.

  • Open the AlienFX GUI and try to apply any theme. I have not tested the power zone, this is only relating to the 'Normal Zones' at the moment.

4. Specifications like the version of the project, install method, operating system, and hardware.

  • Project Version: 2.2.0
  • Operating System: Ubuntu 18.04
  • Hardware Version: 17 r4

5. Additional info.

  • The CLI command works immediately.

Suggestion: Possible improvement on setup.py

Suggestion to setup.py auto install the pip via APT and after this the python modules needed, using pip:

import os
import pip
import platform

Install core modules to run
print("We will need install some python packages/modules, if this is your first run")
print('ensure your internet connection is working and be patient...')

Detect if using Debian/Ubuntu and install packages via APT
distro=platform.dist()[0]

if distro="Ubuntu":
Install packages
print('Ubuntu detected... Installing Python pip and some modules via APT')
os.system("/usr/bin/apt-get install -y python-pip libcairo2-dev python-gi python-gi-cairo")
elif distro == "Debian":
Install packages
print('Debian detected... Installing Python pip and some modules via APT')
os.system("/usr/bin/apt-get install -y python-pip libcairo2-dev python-gi python-gi-cairo")
else:
print 'Please make sure you have pip installed, and install the modules needed to proceed'

Confirm if we have all python modules needed to run this
If modules are not found, install them via pip
pkgs = ['setuptools', 'future']
for package in pkgs:
try:
import package
except ImportError:
pip.main(['install', package])`

Alienware 13R2 issue with applying theme

I have the same issue that others have had previously- the application just sits on applying theme and never actually changes the light color. Has there been a fix for this somewhere? I am using an alienware 13r2 and I followed the guide for installing the program with sudo.

logo blinks and turns off

1. Expected behavior.

  • Expecting logo to slowly morph thru set theme

2. Actual behavior.

  • logo blinks thru each change and shuts off after a few colors

3. Steps to reproduce the problem.

  • create a ab|bc|cd|de transition for each of the colors
  • save theme
  • apply theme
  • observe logo lighting

4. Specifications like the version of the project, install method, operating system, and hardware.

  • Project Version: 2.2.0

  • Operating System: Ubuntu 18.04.1

  • Hardware Version: m17r4

  • theme file: TestMap.json

{
    "Battery On": [
        {
            "zones": [
                "Power Button",
                "HDD LEDs"
            ],
            "loop": [
                {
                    "colours": [
                        [
                            15,
                            9,
                            0
                        ]
                    ],
                    "type": "fixed"
                }
            ]
        }
    ],
    "Boot": [
        {
            "zones": [
                "Right Keyboard"
            ],
            "loop": [
                {
                    "colours": [
                        [
                            15,
                            0,
                            6
                        ]
                    ],
                    "type": "fixed"
                }
            ]
        },
        {
            "zones": [
                "Middle-right Keyboard"
            ],
            "loop": [
                {
                    "colours": [
                        [
                            15,
                            4,
                            0
                        ]
                    ],
                    "type": "fixed"
                }
            ]
        },
        {
            "zones": [
                "Middle-left Keyboard"
            ],
            "loop": [
                {
                    "colours": [
                        [
                            0,
                            14,
                            9
                        ],
                        [
                            0,
                            14,
                            4
                        ]
                    ],
                    "type": "morph"
                },
                {
                    "colours": [
                        [
                            0,
                            14,
                            4
                        ],
                        [
                            0,
                            15,
                            0
                        ]
                    ],
                    "type": "morph"
                },
                {
                    "colours": [
                        [
                            0,
                            14,
                            4
                        ],
                        [
                            0,
                            15,
                            0
                        ]
                    ],
                    "type": "morph"
                },
                {
                    "colours": [
                        [
                            0,
                            15,
                            0
                        ],
                        [
                            7,
                            14,
                            0
                        ]
                    ],
                    "type": "morph"
                },
                {
                    "colours": [
                        [
                            7,
                            14,
                            0
                        ],
                        [
                            11,
                            14,
                            0
                        ]
                    ],
                    "type": "morph"
                },
                {
                    "colours": [
                        [
                            11,
                            14,
                            0
                        ],
                        [
                            14,
                            13,
                            0
                        ]
                    ],
                    "type": "morph"
                },
                {
                    "colours": [
                        [
                            14,
                            13,
                            0
                        ],
                        [
                            14,
                            13,
                            0
                        ]
                    ],
                    "type": "morph"
                },
                {
                    "colours": [
                        [
                            14,
                            13,
                            0
                        ],
                        [
                            15,
                            4,
                            0
                        ]
                    ],
                    "type": "morph"
                },
                {
                    "colours": [
                        [
                            15,
                            4,
                            0
                        ],
                        [
                            15,
                            0,
                            0
                        ]
                    ],
                    "type": "morph"
                },
                {
                    "colours": [
                        [
                            15,
                            0,
                            0
                        ],
                        [
                            15,
                            0,
                            6
                        ]
                    ],
                    "type": "morph"
                },
                {
                    "colours": [
                        [
                            15,
                            0,
                            6
                        ],
                        [
                            15,
                            0,
                            10
                        ]
                    ],
                    "type": "morph"
                },
                {
                    "colours": [
                        [
                            15,
                            0,
                            10
                        ],
                        [
                            15,
                            0,
                            14
                        ]
                    ],
                    "type": "morph"
                },
                {
                    "colours": [
                        [
                            15,
                            0,
                            14
                        ],
                        [
                            9,
                            0,
                            14
                        ]
                    ],
                    "type": "morph"
                },
                {
                    "colours": [
                        [
                            9,
                            0,
                            14
                        ],
                        [
                            5,
                            0,
                            14
                        ]
                    ],
                    "type": "morph"
                },
                {
                    "colours": [
                        [
                            5,
                            0,
                            14
                        ],
                        [
                            0,
                            0,
                            15
                        ]
                    ],
                    "type": "morph"
                },
                {
                    "colours": [
                        [
                            0,
                            0,
                            15
                        ],
                        [
                            0,
                            4,
                            14
                        ]
                    ],
                    "type": "morph"
                },
                {
                    "colours": [
                        [
                            0,
                            4,
                            14
                        ],
                        [
                            0,
                            9,
                            14
                        ]
                    ],
                    "type": "morph"
                },
                {
                    "colours": [
                        [
                            0,
                            4,
                            14
                        ],
                        [
                            0,
                            9,
                            14
                        ]
                    ],
                    "type": "morph"
                },
                {
                    "colours": [
                        [
                            0,
                            14,
                            14
                        ],
                        [
                            0,
                            14,
                            9
                        ]
                    ],
                    "type": "morph"
                }
            ]
        },
        {
            "zones": [
                "Left Keyboard"
            ],
            "loop": [
                {
                    "colours": [
                        [
                            0,
                            14,
                            14
                        ],
                        [
                            0,
                            14,
                            9
                        ]
                    ],
                    "type": "morph"
                },
                {
                    "colours": [
                        [
                            0,
                            14,
                            9
                        ],
                        [
                            0,
                            14,
                            4
                        ]
                    ],
                    "type": "morph"
                },
                {
                    "colours": [
                        [
                            0,
                            14,
                            4
                        ],
                        [
                            0,
                            15,
                            0
                        ]
                    ],
                    "type": "morph"
                },
                {
                    "colours": [
                        [
                            0,
                            14,
                            4
                        ],
                        [
                            0,
                            15,
                            0
                        ]
                    ],
                    "type": "morph"
                },
                {
                    "colours": [
                        [
                            0,
                            15,
                            0
                        ],
                        [
                            7,
                            14,
                            0
                        ]
                    ],
                    "type": "morph"
                },
                {
                    "colours": [
                        [
                            7,
                            14,
                            0
                        ],
                        [
                            11,
                            14,
                            0
                        ]
                    ],
                    "type": "morph"
                },
                {
                    "colours": [
                        [
                            11,
                            14,
                            0
                        ],
                        [
                            14,
                            13,
                            0
                        ]
                    ],
                    "type": "morph"
                },
                {
                    "colours": [
                        [
                            14,
                            13,
                            0
                        ],
                        [
                            14,
                            13,
                            0
                        ]
                    ],
                    "type": "morph"
                },
                {
                    "colours": [
                        [
                            14,
                            13,
                            0
                        ],
                        [
                            15,
                            4,
                            0
                        ]
                    ],
                    "type": "morph"
                },
                {
                    "colours": [
                        [
                            15,
                            4,
                            0
                        ],
                        [
                            15,
                            0,
                            0
                        ]
                    ],
                    "type": "morph"
                },
                {
                    "colours": [
                        [
                            15,
                            0,
                            0
                        ],
                        [
                            15,
                            0,
                            6
                        ]
                    ],
                    "type": "morph"
                },
                {
                    "colours": [
                        [
                            15,
                            0,
                            6
                        ],
                        [
                            15,
                            0,
                            10
                        ]
                    ],
                    "type": "morph"
                },
                {
                    "colours": [
                        [
                            15,
                            0,
                            10
                        ],
                        [
                            15,
                            0,
                            14
                        ]
                    ],
                    "type": "morph"
                },
                {
                    "colours": [
                        [
                            15,
                            0,
                            14
                        ],
                        [
                            9,
                            0,
                            14
                        ]
                    ],
                    "type": "morph"
                },
                {
                    "colours": [
                        [
                            9,
                            0,
                            14
                        ],
                        [
                            5,
                            0,
                            14
                        ]
                    ],
                    "type": "morph"
                },
                {
                    "colours": [
                        [
                            5,
                            0,
                            14
                        ],
                        [
                            0,
                            0,
                            15
                        ]
                    ],
                    "type": "morph"
                },
                {
                    "colours": [
                        [
                            0,
                            0,
                            15
                        ],
                        [
                            0,
                            4,
                            14
                        ]
                    ],
                    "type": "morph"
                },
                {
                    "colours": [
                        [
                            0,
                            4,
                            14
                        ],
                        [
                            0,
                            9,
                            14
                        ]
                    ],
                    "type": "morph"
                },
                {
                    "colours": [
                        [
                            0,
                            14,
                            14
                        ],
                        [
                            0,
                            9,
                            14
                        ]
                    ],
                    "type": "morph"
                }
            ]
        },
        {
            "zones": [
                "Left Speaker",
                "Right Speaker"
            ],
            "loop": [
                {
                    "colours": [
                        [
                            5,
                            0,
                            14
                        ]
                    ],
                    "type": "fixed"
                }
            ]
        },
        {
            "zones": [
                "Alien Head"
            ],
            "loop": [
                {
                    "colours": [
                        [
                            0,
                            14,
                            4
                        ]
                    ],
                    "type": "fixed"
                }
            ]
        },
        {
            "zones": [
                "Logo"
            ],
            "loop": [
                {
                    "colours": [
                        [
                            0,
                            14,
                            14
                        ],
                        [
                            0,
                            14,
                            9
                        ]
                    ],
                    "type": "morph"
                },
                {
                    "colours": [
                        [
                            0,
                            14,
                            9
                        ],
                        [
                            0,
                            14,
                            4
                        ]
                    ],
                    "type": "morph"
                },
                {
                    "colours": [
                        [
                            0,
                            14,
                            4
                        ],
                        [
                            0,
                            15,
                            0
                        ]
                    ],
                    "type": "morph"
                },
                {
                    "colours": [
                        [
                            0,
                            14,
                            4
                        ],
                        [
                            0,
                            15,
                            0
                        ]
                    ],
                    "type": "morph"
                },
                {
                    "colours": [
                        [
                            0,
                            15,
                            0
                        ],
                        [
                            7,
                            14,
                            0
                        ]
                    ],
                    "type": "morph"
                },
                {
                    "colours": [
                        [
                            7,
                            14,
                            0
                        ],
                        [
                            11,
                            14,
                            0
                        ]
                    ],
                    "type": "morph"
                },
                {
                    "colours": [
                        [
                            11,
                            14,
                            0
                        ],
                        [
                            14,
                            13,
                            0
                        ]
                    ],
                    "type": "morph"
                },
                {
                    "colours": [
                        [
                            14,
                            13,
                            0
                        ],
                        [
                            14,
                            13,
                            0
                        ]
                    ],
                    "type": "morph"
                },
                {
                    "colours": [
                        [
                            14,
                            13,
                            0
                        ],
                        [
                            15,
                            4,
                            0
                        ]
                    ],
                    "type": "morph"
                },
                {
                    "colours": [
                        [
                            15,
                            4,
                            0
                        ],
                        [
                            15,
                            0,
                            0
                        ]
                    ],
                    "type": "morph"
                },
                {
                    "colours": [
                        [
                            15,
                            0,
                            0
                        ],
                        [
                            15,
                            0,
                            6
                        ]
                    ],
                    "type": "morph"
                },
                {
                    "colours": [
                        [
                            15,
                            0,
                            6
                        ],
                        [
                            15,
                            0,
                            10
                        ]
                    ],
                    "type": "morph"
                },
                {
                    "colours": [
                        [
                            15,
                            0,
                            10
                        ],
                        [
                            15,
                            0,
                            14
                        ]
                    ],
                    "type": "morph"
                },
                {
                    "colours": [
                        [
                            15,
                            0,
                            14
                        ],
                        [
                            9,
                            0,
                            14
                        ]
                    ],
                    "type": "morph"
                },
                {
                    "colours": [
                        [
                            9,
                            0,
                            14
                        ],
                        [
                            5,
                            0,
                            14
                        ]
                    ],
                    "type": "morph"
                },
                {
                    "colours": [
                        [
                            5,
                            0,
                            14
                        ],
                        [
                            0,
                            0,
                            15
                        ]
                    ],
                    "type": "morph"
                },
                {
                    "colours": [
                        [
                            0,
                            0,
                            15
                        ],
                        [
                            0,
                            4,
                            14
                        ]
                    ],
                    "type": "morph"
                },
                {
                    "colours": [
                        [
                            0,
                            4,
                            14
                        ],
                        [
                            0,
                            9,
                            14
                        ]
                    ],
                    "type": "morph"
                },
                {
                    "colours": [
                        [
                            0,
                            9,
                            14
                        ],
                        [
                            0,
                            14,
                            14
                        ]
                    ],
                    "type": "morph"
                }
            ]
        },
        {
            "zones": [
                "Touchpad"
            ],
            "loop": [
                {
                    "colours": [
                        [
                            0,
                            14,
                            14
                        ],
                        [
                            0,
                            14,
                            9
                        ]
                    ],
                    "type": "morph"
                },
                {
                    "colours": [
                        [
                            0,
                            14,
                            9
                        ],
                        [
                            0,
                            14,
                            4
                        ]
                    ],
                    "type": "morph"
                },
                {
                    "colours": [
                        [
                            0,
                            14,
                            4
                        ],
                        [
                            0,
                            15,
                            0
                        ]
                    ],
                    "type": "morph"
                },
                {
                    "colours": [
                        [
                            0,
                            14,
                            4
                        ],
                        [
                            0,
                            15,
                            0
                        ]
                    ],
                    "type": "morph"
                },
                {
                    "colours": [
                        [
                            0,
                            15,
                            0
                        ],
                        [
                            7,
                            14,
                            0
                        ]
                    ],
                    "type": "morph"
                },
                {
                    "colours": [
                        [
                            7,
                            14,
                            0
                        ],
                        [
                            11,
                            14,
                            0
                        ]
                    ],
                    "type": "morph"
                },
                {
                    "colours": [
                        [
                            11,
                            14,
                            0
                        ],
                        [
                            14,
                            13,
                            0
                        ]
                    ],
                    "type": "morph"
                },
                {
                    "colours": [
                        [
                            14,
                            13,
                            0
                        ],
                        [
                            14,
                            13,
                            0
                        ]
                    ],
                    "type": "morph"
                },
                {
                    "colours": [
                        [
                            14,
                            13,
                            0
                        ],
                        [
                            15,
                            4,
                            0
                        ]
                    ],
                    "type": "morph"
                },
                {
                    "colours": [
                        [
                            15,
                            4,
                            0
                        ],
                        [
                            15,
                            0,
                            0
                        ]
                    ],
                    "type": "morph"
                },
                {
                    "colours": [
                        [
                            15,
                            0,
                            0
                        ],
                        [
                            15,
                            0,
                            6
                        ]
                    ],
                    "type": "morph"
                },
                {
                    "colours": [
                        [
                            15,
                            0,
                            6
                        ],
                        [
                            15,
                            0,
                            10
                        ]
                    ],
                    "type": "morph"
                },
                {
                    "colours": [
                        [
                            15,
                            0,
                            10
                        ],
                        [
                            15,
                            0,
                            14
                        ]
                    ],
                    "type": "morph"
                },
                {
                    "colours": [
                        [
                            15,
                            0,
                            14
                        ],
                        [
                            9,
                            0,
                            14
                        ]
                    ],
                    "type": "morph"
                },
                {
                    "colours": [
                        [
                            9,
                            0,
                            14
                        ],
                        [
                            5,
                            0,
                            14
                        ]
                    ],
                    "type": "morph"
                },
                {
                    "colours": [
                        [
                            5,
                            0,
                            14
                        ],
                        [
                            0,
                            0,
                            15
                        ]
                    ],
                    "type": "morph"
                },
                {
                    "colours": [
                        [
                            0,
                            0,
                            15
                        ],
                        [
                            0,
                            4,
                            14
                        ]
                    ],
                    "type": "morph"
                },
                {
                    "colours": [
                        [
                            0,
                            4,
                            14
                        ],
                        [
                            0,
                            9,
                            14
                        ]
                    ],
                    "type": "morph"
                },
                {
                    "colours": [
                        [
                            0,
                            9,
                            14
                        ],
                        [
                            0,
                            14,
                            14
                        ]
                    ],
                    "type": "morph"
                }
            ]
        },
        {
            "zones": [
                "Media Bar"
            ],
            "loop": [
                {
                    "colours": [
                        [
                            0,
                            0,
                            0
                        ]
                    ],
                    "type": "fixed"
                }
            ]
        }
    ],
    "Battery Critical": [
        {
            "zones": [
                "Power Button",
                "HDD LEDs"
            ],
            "loop": [
                {
                    "colours": [
                        [
                            15,
                            9,
                            0
                        ]
                    ],
                    "type": "blink"
                }
            ]
        }
    ],
    "AC Charged": [
        {
            "zones": [
                "Power Button",
                "HDD LEDs"
            ],
            "loop": [
                {
                    "colours": [
                        [
                            0,
                            0,
                            15
                        ]
                    ],
                    "type": "fixed"
                }
            ]
        }
    ],
    "Battery Sleep": [
        {
            "zones": [
                "Power Button",
                "HDD LEDs"
            ],
            "loop": [
                {
                    "colours": [
                        [
                            15,
                            9,
                            0
                        ],
                        [
                            0,
                            0,
                            0
                        ]
                    ],
                    "type": "morph"
                },
                {
                    "colours": [
                        [
                            0,
                            0,
                            0
                        ],
                        [
                            15,
                            9,
                            0
                        ]
                    ],
                    "type": "morph"
                }
            ]
        },
        {
            "zones": [
                "Left Keyboard",
                "Middle-left Keyboard",
                "Middle-right Keyboard",
                "Right Keyboard",
                "Right Speaker",
                "Left Speaker",
                "Logo",
                "Touchpad",
                "Media Bar"
            ],
            "loop": [
                {
                    "colours": [
                        [
                            0,
                            0,
                            0
                        ]
                    ],
                    "type": "fixed"
                }
            ]
        }
    ],
    "AC Sleep": [
        {
            "zones": [
                "Power Button",
                "HDD LEDs"
            ],
            "loop": [
                {
                    "colours": [
                        [
                            0,
                            0,
                            15
                        ],
                        [
                            0,
                            0,
                            0
                        ]
                    ],
                    "type": "morph"
                },
                {
                    "colours": [
                        [
                            0,
                            0,
                            0
                        ],
                        [
                            0,
                            0,
                            15
                        ]
                    ],
                    "type": "morph"
                }
            ]
        },
        {
            "zones": [
                "Left Keyboard",
                "Middle-left Keyboard",
                "Middle-right Keyboard",
                "Right Keyboard",
                "Right Speaker",
                "Left Speaker",
                "Logo",
                "Touchpad",
                "Media Bar"
            ],
            "loop": [
                {
                    "colours": [
                        [
                            0,
                            0,
                            0
                        ]
                    ],
                    "type": "fixed"
                }
            ]
        }
    ],
    "speed": 10,
    "AC Charging": [
        {
            "zones": [
                "Power Button",
                "HDD LEDs"
            ],
            "loop": [
                {
                    "colours": [
                        [
                            0,
                            0,
                            15
                        ],
                        [
                            15,
                            9,
                            0
                        ]
                    ],
                    "type": "morph"
                },
                {
                    "colours": [
                        [
                            15,
                            9,
                            0
                        ],
                        [
                            0,
                            0,
                            15
                        ]
                    ],
                    "type": "morph"
                }
            ]
        }
    ]
}

Hello there

1. Expected behavior.

  • While trying to use the alienfx on a 17R3 (not m17xr3) got a "not controller found"

2. Actual behavior.

  • I'm able to put the program to work, single changing the produt id, from self.product_id = 0x0520 to self.product_id = 0x0528 but dont have sure if the zones are the same on both models

Hacktoberfest

Looking for contributors that can add/confirm "zone codes" to the various Alienware models that don't currently have the correct ones. As well as adding Models that have not been added to the growing list yet.

Thank you!

17xR3 No change in fx

Got this installed, but it just loops "Applying theme..." indefinitely. Any tips? 17xR3

Alienware 13R2 - kinda working

The 13R2 only has 8 zones, setup as per attachment.
controller_13R2.py.zip

There is a problem that if the other zones are not defined then an error is thrown.

Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.7/threading.py", line 754, in run
    self.__target(*self.__args, **self.__kwargs)
  File "build/bdist.linux-x86_64/egg/alienfx/ui/gtkui/gtkui.py", line 211, in set_theme
    self.controller.set_theme(self.themefile)
  File "build/bdist.linux-x86_64/egg/alienfx/core/controller.py", line 262, in set_theme
    cmds = self._make_zone_cmds(themefile, state_name)
  File "build/bdist.linux-x86_64/egg/alienfx/core/controller.py", line 217, in _make_zone_cmds
    zone_codes = self._get_zone_codes(themefile.get_zone_names(item))
  File "build/bdist.linux-x86_64/egg/alienfx/core/controller.py", line 161, in _get_zone_codes
    zones |= self.zone_map[zone]
KeyError: u'Left Speaker'

Unfortunately having them defined means that they show up on the list on usable zone...
Simon

X51 Support

I have tried to find the VID and PID for my Alienware X51 R2 through the lsusb command, but I don't think it uses USB for changing the light color.

17R3 - Zone testing

1. Expected behavior.

  • Zones should act as stated on software

2. Actual behavior.

Major problems:

  • Right Speaker - Zone missing (LED remains OFF)
  • Touchpad - Zone missing (LED remains OFF)

Misplaced zones to that specific model:

  • Alien Head Zone - Points to wi-fi / caps-lock / num-lock LED's zone
  • Media Bar (maybe this zone on 17R3 should be named "external cover") - Points to Left Speaker zone
  • Right Speaker - Points to Alienware name below the display (I think that is the zone named Logo) zone
  • Touchpad - Points to HDD LED zone
  • Logo - Points to Alien Head zone
  • Left speaker - Points to External Display Cover lines

Improvements/suggestions:

  • Right keyboard - That zone should be named numerical keyboard
  • Middle right keyboard - That zone should be named right keyboard
  • Middle left keyboard - That zone should be named center keyboard

13R3 Support

Hi

I'm trying to add support for Alienware 13 R3...

But after having created the controller and installed the modified version.. I get

ERROR:root:read_packet: [Errno 75] Overflow
ERROR:root:write_packet: [Errno 32] Pipe error
ERROR:root:read_packet: [Errno 75] Overflow
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 754, in run
self.__target(*self.__args, **self.__kwargs)
File "build/bdist.linux-x86_64/egg/alienfx/ui/gtkui/gtkui.py", line 212, in set_theme
self.controller.set_theme(self.themefile)
File "build/bdist.linux-x86_64/egg/alienfx/core/controller.py", line 259, in set_theme
self._wait_controller_ready()
File "build/bdist.linux-x86_64/egg/alienfx/core/controller.py", line 143, in _wait_controller_ready
ready = (resp[0] == self.cmd_packet.STATUS_READY)
TypeError: 'NoneType' object has no attribute 'getitem'

when trying to apply a profile from alienfx-gtk...

I guess some of the parameters in the controller is off.. but how do I figure out what to enter???

Regards

Martin

lsusb -v -s 001:002

Bus 001 Device 002: ID 187c:0529 Alienware Corporation
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 0.02
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x187c Alienware Corporation
idProduct 0x0529
bcdDevice 0.00
iManufacturer 1 Alienware
iProduct 2 AW13
iSerial 3 03.00
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 41
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 3 Human Interface Device
bInterfaceSubClass 0 No Subclass
bInterfaceProtocol 0 None
iInterface 0
HID Device Descriptor:
bLength 9
bDescriptorType 33
bcdHID 1.01
bCountryCode 0 Not supported
bNumDescriptors 1
bDescriptorType 34 Report
wDescriptorLength 56
Report Descriptors:
** UNAVAILABLE **
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x000a 1x 10 bytes
bInterval 10
Device Status: 0x0000
(Bus Powered)

Support for Alienware 17 R4

Like #16, I'm trying to add support for a currently-unsupported Alienware model, and I'm encountering some difficulties.

After following the instructions in the Readme, I'm able to run sudo alienfx-gtk, however if I then click "apply", the following error results:

ERROR:root:read_packet: [Errno 75] Overflow
ERROR:root:write_packet: [Errno 32] Pipe error
ERROR:root:read_packet: [Errno 75] Overflow
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.7/threading.py", line 754, in run
    self.__target(*self.__args, **self.__kwargs)
  File "build/bdist.linux-x86_64/egg/alienfx/ui/gtkui/gtkui.py", line 212, in set_theme
    self.controller.set_theme(self.themefile)
  File "build/bdist.linux-x86_64/egg/alienfx/core/controller.py", line 259, in set_theme
    self._wait_controller_ready()
  File "build/bdist.linux-x86_64/egg/alienfx/core/controller.py", line 143, in _wait_controller_ready
    ready = (resp[0] == self.cmd_packet.STATUS_READY)
TypeError: 'NoneType' object has no attribute '__getitem__'

Adding Alien Head

I found the zone code for the Alien Head. I've added it to the control files and it shows up on the GUI. But there is no color selection for that zone. I'm trying to figure out what I'm still missing.

Setting Blink and Loop Durations

1. Expected behavior.

  • Visible options in GUI and/or CLI to change the blink interval and loop interval for a zone in a theme.

2. Actual behavior.

  • No such option clearly visible

3. Specifications like the version of the project, install method, operating system, and hardware.

  • Project Version: b9fec13
  • Operating System: Ubuntu 18.04.3 LTS

15R3 Support

Tried to run it on my alienware 15 R3, the first error I got was
ImportError: No module named builtins which I fixed by running sudo pip install future

Now it's running but, the theme is not applying(gets stuck at Applying theme).

Area51 R4 Support

Hi all,

I was excited to find this project, i'm sitting on an Alienware Area51 R4. I'm also a developer, so i don't mind getting my hands dirty - is anyone free to send me a message with a bit about the project layout and how to do things like find my model number so i can add support for it?

15R4 Support (0876)

Issue

The application does not support the FX interface for Alienware 15 R4.

Installed dependencies

  • libusb1.0
  • libcairo2-dev
  • python3.6.5 Anaconda
  • python-gi and python-gi-cairo
    and all other Python dependencies.

1. Expected behavior:

Recognise the AlienFX.

2. Actual behavior:

Throws the following error:

ERROR:root:No supported Alien FX controllers found!

3. Steps to reproduce the problem:

Run the application on Ubuntu 18.04 installed on an Alienware 15 R4 machine.

4. Specifications like the version of the project, install method, operating system, and hardware.

  • Project Version: Latest - cloned from the repository.
  • Operating System: Ubuntu 18.04 LTS x86_64
  • Hardware Version:
    • Host: Alienware 15 R4 1.1.6
    • Kernel: Kernel: 4.15.0-23-generic
    • Shell: bash 4.4.19
    • DE: GNOME 3.28.1
    • CPU: Intel i9-8950HK (12) @ 4.800GHz
    • GPU: NVIDIA GeForce GTX 1070 Mobile
    • Memory: 32026MiB

General info:

description: Notebook
product: Alienware 15 R4 (0876)
vendor: Alienware
version: 1.1.6
serial: ...
width: 64 bits
capabilities: smbios-3.1 dmi-3.1 smp vsyscall32
configuration: boot=normal chassis=notebook family=Alienware sku=0876 uuid=...
  *-core
       description: Motherboard
       product: Alienware 15 R4
       vendor: Alienware
       physical id: 0
       version: A00
       serial: ...
       slot: *
     *-firmware
          description: BIOS
          vendor: Alienware
          physical id: 0
          version: 1.1.6
          date: 05/22/2018
          size: 64KiB
          capacity: 15MiB
          capabilities: pci pnp upgrade shadowing cdboot bootselect edd int13floppy1200 int13floppy720 int13floppy2880 int5printscreen int9keyboard int14serial int17printer int10video acpi usb smartbattery biosbootspecification netboot uefi

FX interface:

*-usb:0 UNCLAIMED
   description: Human interface device
   product: AW-ELC
   vendor: Alienware
   physical id: 4
   bus info: usb@1:4
   version: 2.00
   serial: 00.01
   capabilities: usb-2.00
   configuration: speed=12Mbit/s

Please let me know if you need any additional info.

13R3 - Error using GUI/cml - [Errno 75] Overflow ; [Errno 32] Pipe error ;

I have been looking for a solution to control the alienware 13's keyboard back lighting.
I simply want to have the functionality to turn it off and on.
Having installed alienfx, I ran into some issues -
This is the complete error message:

/usr/local/lib/python2.7/dist-packages/alienfx-2.0.5-py2.7.egg/alienfx/ui/gtkui/gtkui.py:37: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded.
ERROR:root:read_packet: [Errno 75] Overflow
ERROR:root:write_packet: [Errno 32] Pipe error
ERROR:root:read_packet: [Errno 75] Overflow
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 754, in run
self.__target(*self.__args, **self.__kwargs)
File "build/bdist.linux-x86_64/egg/alienfx/ui/gtkui/gtkui.py", line 212, in set_theme
self.controller.set_theme(self.themefile)
File "build/bdist.linux-x86_64/egg/alienfx/core/controller.py", line 259, in set_theme
self._wait_controller_ready()
File "build/bdist.linux-x86_64/egg/alienfx/core/controller.py", line 143, in _wait_controller_ready
ready = (resp[0] == self.cmd_packet.STATUS_READY)
TypeError: 'NoneType' object has no attribute 'getitem'

HELP?

Alienware Aurora R7 - No USB Controller

1. Expected behavior.

-Running alienfx should find the Aurora R7.

2. Actual behavior.

You are running alienfx under Python-Version: 2.7.15rc1 (default, Nov 12 2018, 14:31:15)
[GCC 7.3.0]
ERROR:root:No Alien FX controller, defined by a supported model, found!
would you like to perform a zonescan? (y/n):y
Performing zonescan...
Welcome. This will help you to scan for alienfx-controllers and their lightning zones.
Traceback (most recent call last):
File "/usr/local/bin/alienfx", line 11, in
load_entry_point('alienfx==2.3.4', 'console_scripts', 'alienfx')()
File "build/bdist.linux-x86_64/egg/alienfx/ui/console/main.py", line 72, in start
File "build/bdist.linux-x86_64/egg/alienfx/core/zonescanner.py", line 139, in scan
TypeError: 'NoneType' object is not iterable

If I run lsusb on the Aurora, it looks like there isn't a USB controller for it:

Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 0cf3:e301 Atheros Communications, Inc.
Bus 001 Device 002: ID 0764:0501 Cyber Power System, Inc. CP1500 AVR UPS
Bus 001 Device 005: ID 04ca:0027 Lite-On Technology Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

3. Steps to reproduce the problem.

-Run alienfx on an Aurora R7.

4. Specifications like the version of the project, install method, operating system, and hardware.

  • Project Version: 2.3.4
  • Operating System: Ubuntu 18.04
  • Hardware Version: Aurora R7

Hopefully, there's a simple fix, but I just haven't found it yet.

Create a Zone Scanner

We need to create a "Zone Scanner" that will scan each zone code, one at a time. This will help people to add support for their Alienware models.

Read ATH files for alienfx themes

ATH files are the most used file format to share Alienfx themes and are supported by the official AW Command Center app. It would be nice to have that feature

Left and Right Speakers cannot be changed independently

1. Expected behavior.

  • Colors for left and right speakers can be different

2. Actual behavior.

  • GUI forces both colors to be the same

3. Steps to reproduce the problem.

  • In the GUI, select different colors for Left and Right Speaker zones. They will always change to be the same.
  • I have manually edited the theme file and found that different colors for those two zones can be set for my Alienware 17R1 i.e. the different colors are lit correctly.

4. Specifications like the version of the project, install method, operating system, and hardware.

  • Project Version: b9fec13
  • Operating System: Ubuntu 18.04.3 LTS

Alienware 15 R4

1. Expected behavior.

  • Working lights

2. Actual behavior.

  • The lights are not working no matter what I do

I'm a bit confused by what is going on here, but it seems to me that you've figured out a way to control the Alienware lights outside of the command center. I'm unfamiliar with programming and Git, so I'm not sure how to use any of the items on your page. Could you lend me a hand so I can try to get my lights working again? I would greatly appreciate it. I use an Alienware 15 R4. Also apologies for not exactly following the issue template

  • Project Version:
  • Operating System: Windows 10 Pro
  • Hardware Version:

13R3 issue

Description:

Seems like alienfx-gtk have a problem with theme update (showing applying message only, nothing changing with the LEDs). Running in Ubuntu 18.10 with 4.20 kernel. Tried with root and without root privileges.

Issue Output:

root@htl-alw-13:/# alienfx-gtk
ERROR:root:read_packet: [Errno 75] Overflow
ERROR:root:write_packet: [Errno 32] Pipe error
ERROR:root:read_packet: [Errno 75] Overflow
ERROR:root:write_packet: [Errno 32] Pipe error
ERROR:root:read_packet: [Errno 75] Overflow
ERROR:root:write_packet: [Errno 32] Pipe error
ERROR:root:read_packet: [Errno 75] Overflow
ERROR:root:write_packet: [Errno 32] Pipe error
ERROR:root:read_packet: [Errno 75] Overflow
ERROR:root:write_packet: [Errno 32] Pipe error
ERROR:root:read_packet: [Errno 75] Overflow
ERROR:root:write_packet: [Errno 32] Pipe error
ERROR:root:read_packet: [Errno 75] Overflow
ERROR:root:write_packet: [Errno 32] Pipe error
ERROR:root:read_packet: [Errno 75] Overflow
ERROR:root:write_packet: [Errno 32] Pipe error
ERROR:root:read_packet: [Errno 75] Overflow
ERROR:root:write_packet: [Errno 32] Pipe error
ERROR:root:read_packet: [Errno 75] Overflow
ERROR:root:write_packet: [Errno 32] Pipe error
ERROR:root:read_packet: [Errno 75] Overflow
ERROR:root:write_packet: [Errno 32] Pipe error
ERROR:root:read_packet: [Errno 75] Overflow
ERROR:root:write_packet: [Errno 32] Pipe error
ERROR:root:read_packet: [Errno 75] Overflow
ERROR:root:write_packet: [Errno 32] Pipe error
ERROR:root:read_packet: [Errno 75] Overflow
ERROR:root:write_packet: [Errno 32] Pipe error
ERROR:root:read_packet: [Errno 75] Overflow
ERROR:root:write_packet: [Errno 32] Pipe error
ERROR:root:read_packet: [Errno 75] Overflow
ERROR:root:write_packet: [Errno 32] Pipe error
ERROR:root:read_packet: [Errno 75] Overflow
ERROR:root:write_packet: [Errno 32] Pipe error
ERROR:root:read_packet: [Errno 75] Overflow
ERROR:root:write_packet: [Errno 32] Pipe error
ERROR:root:read_packet: [Errno 75] Overflow
ERROR:root:write_packet: [Errno 32] Pipe error
ERROR:root:read_packet: [Errno 75] Overflow
ERROR:root:write_packet: [Errno 32] Pipe error
ERROR:root:read_packet: [Errno 75] Overflow
ERROR:root:write_packet: [Errno 32] Pipe error
ERROR:root:read_packet: [Errno 75] Overflow
ERROR:root:write_packet: [Errno 32] Pipe error
ERROR:root:read_packet: [Errno 75] Overflow
ERROR:root:write_packet: [Errno 32] Pipe error
ERROR:root:read_packet: [Errno 75] Overflow
ERROR:root:write_packet: [Errno 32] Pipe error
ERROR:root:read_packet: [Errno 75] Overflow
ERROR:root:write_packet: [Errno 32] Pipe error
ERROR:root:read_packet: [Errno 75] Overflow
ERROR:root:write_packet: [Errno 32] Pipe error
ERROR:root:read_packet: [Errno 75] Overflow
ERROR:root:write_packet: [Errno 32] Pipe error
ERROR:root:read_packet: [Errno 75] Overflow
ERROR:root:write_packet: [Errno 32] Pipe error
ERROR:root:read_packet: [Errno 75] Overflow
ERROR:root:write_packet: [Errno 32] Pipe error
ERROR:root:read_packet: [Errno 75] Overflow
ERROR:root:write_packet: [Errno 32] Pipe error
ERROR:root:read_packet: [Errno 75] Overflow
ERROR:root:write_packet: [Errno 32] Pipe error
ERROR:root:read_packet: [Errno 75] Overflow
ERROR:root:write_packet: [Errno 32] Pipe error
ERROR:root:read_packet: [Errno 75] Overflow
ERROR:root:write_packet: [Errno 32] Pipe error
ERROR:root:read_packet: [Errno 75] Overflow
ERROR:root:write_packet: [Errno 32] Pipe error
ERROR:root:read_packet: [Errno 75] Overflow
ERROR:root:write_packet: [Errno 32] Pipe error
ERROR:root:read_packet: [Errno 75] Overflow
ERROR:root:write_packet: [Errno 32] Pipe error
ERROR:root:read_packet: [Errno 75] Overflow
ERROR:root:write_packet: [Errno 32] Pipe error
ERROR:root:read_packet: [Errno 75] Overflow
ERROR:root:write_packet: [Errno 32] Pipe error
ERROR:root:read_packet: [Errno 75] Overflow
ERROR:root:write_packet: [Errno 32] Pipe error
ERROR:root:read_packet: [Errno 75] Overflow
ERROR:root:write_packet: [Errno 32] Pipe error
ERROR:root:read_packet: [Errno 75] Overflow
ERROR:root:write_packet: [Errno 32] Pipe error
ERROR:root:read_packet: [Errno 75] Overflow
ERROR:root:write_packet: [Errno 32] Pipe error
ERROR:root:read_packet: [Errno 75] Overflow
ERROR:root:write_packet: [Errno 32] Pipe error
ERROR:root:read_packet: [Errno 75] Overflow
ERROR:root:write_packet: [Errno 32] Pipe error
ERROR:root:read_packet: [Errno 75] Overflow
ERROR:root:write_packet: [Errno 32] Pipe error
ERROR:root:read_packet: [Errno 75] Overflow
ERROR:root:write_packet: [Errno 32] Pipe error
ERROR:root:read_packet: [Errno 75] Overflow
ERROR:root:write_packet: [Errno 32] Pipe error
ERROR:root:read_packet: [Errno 75] Overflow
ERROR:root:write_packet: [Errno 32] Pipe error
ERROR:root:read_packet: [Errno 75] Overflow
ERROR:root:write_packet: [Errno 32] Pipe error
ERROR:root:read_packet: [Errno 75] Overflow
ERROR:root:write_packet: [Errno 32] Pipe error
ERROR:root:read_packet: [Errno 75] Overflow
ERROR:root:write_packet: [Errno 32] Pipe error
ERROR:root:read_packet: [Errno 75] Overflow
ERROR:root:Controller status could not be retrieved. Is the device already in use?

lsusb details:

root@htl-alw-13:/# lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 0bda:58c2 Realtek Semiconductor Corp.
Bus 001 Device 003: ID 0cf3:e300 Atheros Communications, Inc.
Bus 001 Device 002: ID 187c:0529 Alienware Corporation
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
root@htl-alw-13:/# lsusb -v -s 001:002

Bus 001 Device 002: ID 187c:0529 Alienware Corporation
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 0.02
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x187c Alienware Corporation
idProduct 0x0529
bcdDevice 0.00
iManufacturer 1 Alienware
iProduct 2 AW13
iSerial 3 03.00
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 41
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 3 Human Interface Device
bInterfaceSubClass 0 No Subclass
bInterfaceProtocol 0 None
iInterface 0
HID Device Descriptor:
bLength 9
bDescriptorType 33
bcdHID 1.01
bCountryCode 0 Not supported
bNumDescriptors 1
bDescriptorType 34 Report
wDescriptorLength 56
Report Descriptors:
** UNAVAILABLE **
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x000a 1x 10 bytes
bInterval 10
Device Status: 0x0000
(Bus Powered)

No themes for M18xR2

1. Expected behavior.

$ alienfx -s
    [themes]

2. Actual behavior.

$ alienfx -s
You are running alienfx under Python-Version: 3.6.9 (default, Apr 18 2020, 01:56:04) 
[GCC 8.4.0]
Available themes:

3. Steps to reproduce the problem.

-run alienfx -s

4. Specifications like the version of the project, install method, operating system, and hardware.

M18xR2
KDE Neon

I see in the devicelist that M18xR2 need zone codes so here are the ones I was able to generate:

These are your 10 zonecodes for the current controller ("VID: 0x187c / DEV: 0x0518"):
numpad: 0x0001
right: 0x0002
middle: 0x0004
left: 0x0008
macro: 0x0010
rspeaker: 0x0020
lspeaker: 0x0040
name: 0x0100
touchpad: 0x0200
media: 0x0800

In the mean time, is there a way to turn all the lights back on in any theme?

17r4 GUI Left and Right display zones cannot be assigned?

1. Expected behavior.

screenshot from 2018-07-29 21-23-15

  • Click on the zone to assign a new color to.
  • Select the color you want.
  • Save and apply theme.

2. Actual behavior.

  • Plus symbol is "ghosted"

3. Steps to reproduce the problem.

  • see above

4. Specifications like the version of the project, install method, operating system, and hardware.

  • Project Version: 2.2.0
  • Operating System: ubuntu 18.04
  • Hardware Version: 17r4

No Available themes and not sure how to use GUI

1. Expected behavior.

I type in alienfx -s pick a theme and set it with alienfx -t

I tried to download some xml themes from online for alienware

None of them worked. How can I set the themes or use the gui?

  • Operating System: Ubuntu 20.04

Python 3

setup.py has some compatibility issues on python3+

Create a device list

The device-controller-naming is a bit irritating, as the controller-naming differs from what the bios is telling me: e.g. M17R4<->Alienware 17 R4

Therefore i suggest to create a device-list which should contain the following information:

-Name in alienfx (controller_.py)
-devicename as shown in bios (or windows commandline via "wmic computersystem get model")
-device release date
-controllers hardware ID
-optionally a picture

No supported Alien FX controllers found!

I have an Alienware Area51 R2 case (big triangle desktop)

I got the case second hand and other than the cables in it nothing else is stock.

I am really hoping someone is able to help me get AlienFX to see and control my lighting as it is my last hope. Right now the front panel is rimmed in Green and Purple with a light purple button and the sides never turn on at all, with no way to change any of them.

All official versions refuse to recognize my system and install.

Help me trackmastersteve, you're my only hope.

XPS 730x - "TypeError: 'NoneType' object is not iterable" on run

$ alienfx
You are running alienfx under Python-Version: 3.6.7 (default, Oct 22 2018, 11:32 :17)
[GCC 8.2.0]
ERROR:root:No Alien FX controller, defined by a supported model, found!
would you like to perform a zonescan? (y/n):y
Performing zonescan...
Welcome. This will help you to scan for alienfx-controllers and their lightning zones.
Traceback (most recent call last):
File "/usr/local/bin/alienfx", line 11, in
load_entry_point('alienfx==2.3.4', 'console_scripts', 'alienfx')()
File "/usr/local/lib/python3.6/dist-packages/alienfx-2.3.4-py3.6.egg/alienfx/u i/console/main.py", line 81, in start
File "/usr/local/lib/python3.6/dist-packages/alienfx-2.3.4-py3.6.egg/alienfx/u i/console/main.py", line 64, in doZonescan
File "/usr/local/lib/python3.6/dist-packages/alienfx-2.3.4-py3.6.egg/alienfx/c ore/zonescanner.py", line 139, in scan
TypeError: 'NoneType' object is not iterable

Followed readme to install.

  • Operating System:
    Ubuntu 18.04.1
  • Hardware:
    xps 730x

Brightness Control ?

How can i change the zones brightness ?? There is no option included in the alienfx-GUI, is there anyway ? I set it to lowest when i had windows installed, its still set to lowest and i cant increase it.

15R2 Syntax Error

Just tried to install on my Ubuntu 17.10 Alienware 15R2 and I was greeted with this error:
Perhaps this is a system configuration issue, but I followed the instructions.

$ sudo python setup.py install
Traceback (most recent call last):
File "setup.py", line 28, in
import ez_setup
File "/home/alex/Development/alienfx/ez_setup.py", line 79
), file=sys.stderr)
^
SyntaxError: invalid syntax

Alienware 17 AKA Alienware M17XR5 Ranger

Specific Model According to Wikipedia: Alienware 17 (Discontinued) - 2013 refresh of the M17x, updated with Intel Haswell Processors and Nvidia GeForce 700 Series GPUs or the AMD R9 M290X with new facelift and body design. Marketed as "Alienware 17" but listed in some countries and order details as "M17XR5 Ranger". Updated with Nvidia GeForce 800 Series in 2014.
I included the above because there is lot of confusion and ACPI identification problems when it comes to features. Have to custom compile a lot to get CPU functioning better.

Specs:
56: USB 00.0: 0000 Unclassified device
[Created at usb.122]
Unique ID: o2Ga.iqpZIN1WjHE
Parent ID: FKGF.Wkj53szWOaA
SysFS ID: /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.7/2-1.7:1.0
SysFS BusID: 2-1.7:1.0
Hardware Class: unknown
Model: "Alienware M17x"
Hotplug: USB
Vendor: usb 0x187c "Alienware Corporation"
Device: usb 0x0524 "M17x"
Serial ID: "2.3.0"
Driver: "usbhid"
Driver Modules: "usbhid"
Speed: 12 Mbps
Module Alias: "usb:v187Cp0524d0000dc00dsc00dp00ic03isc00ip00in00"
Config Status: cfg=new, avail=yes, need=no, active=unknown
Attached to: #48 (Hub)

[ 0.000000] DMI: Alienware Alienware 17/068R5X, BIOS A14 09/24/2014
BIOS vendor: Alienware; Ver: A14; Product Version: A14
[ 0.404295] Hardware name: Alienware Alienware 17/068R5X, BIOS A14 09/24/2014
[ 2.923593] usb 2-1.7: Manufacturer: Alienware
[ 2.925616] hid-generic 0003:187C:0524.0002: hiddev96,hidraw1: USB HID v1.01 Device [Alienware M17x] on usb-0000:00:1d.0-1.7/input0
[ 9.342700] Hardware name: Alienware Alienware 17/068R5X, BIOS A14 09/24/2014
[34350.009939] hid-generic 0003:187C:0524.0005: hiddev96,hidraw1: USB HID v1.01 Device [Alienware M17x] on usb-0000:00:1d.0-1.7/input0
[34363.758657] hid-generic 0003:187C:0524.0006: hiddev96,hidraw1: USB HID v1.01 Device [Alienware M17x] on usb-0000:00:1d.0-1.7/input0
[34375.417937] hid-generic 0003:187C:0524.0007: hiddev96,hidraw1: USB HID v1.01 Device [Alienware M17x] on usb-0000:00:1d.0-1.7/input0
[34387.693609] hid-generic 0003:187C:0524.0008: hiddev96,hidraw1: USB HID v1.01 Device [Alienware M17x] on usb-0000:00:1d.0-1.7/input0
[34405.092017] hid-generic 0003:187C:0524.0009: hiddev96,hidraw1: USB HID v1.01 Device [Alienware M17x] on usb-0000:00:1d.0-1.7/input0
[34407.972226] hid-generic 0003:187C:0524.000A: hiddev96,hidraw1: USB HID v1.01 Device [Alienware M17x] on usb-0000:00:1d.0-1.7/input0
[34412.724152] hid-generic 0003:187C:0524.000B: hiddev96,hidraw1: USB HID v1.01 Device [Alienware M17x] on usb-0000:00:1d.0-1.7/input0
[34421.067481] hid-generic 0003:187C:0524.000C: hiddev96,hidraw1: USB HID v1.01 Device [Alienware M17x] on usb-0000:00:1d.0-1.7/input0
[34435.078662] hid-generic 0003:187C:0524.000D: hiddev96,hidraw1: USB HID v1.01 Device [Alienware M17x] on usb-0000:00:1d.0-1.7/input0
[34440.274934] hid-generic 0003:187C:0524.000E: hiddev96,hidraw1: USB HID v1.01 Device [Alienware M17x] on usb-0000:00:1d.0-1.7/input0
[34443.117117] hid-generic 0003:187C:0524.000F: hiddev96,hidraw1: USB HID v1.01 Device [Alienware M17x] on usb-0000:00:1d.0-1.7/input0
[34454.113561] hid-generic 0003:187C:0524.0010: hiddev96,hidraw1: USB HID v1.01 Device [Alienware M17x] on usb-0000:00:1d.0-1.7/input0
[34461.571876] hid-generic 0003:187C:0524.0011: hiddev96,hidraw1: USB HID v1.01 Device [Alienware M17x] on usb-0000:00:1d.0-1.7/input0
[34472.888258] hid-generic 0003:187C:0524.0012: hiddev96,hidraw1: USB HID v1.01 Device [Alienware M17x] on usb-0000:00:1d.0-1.7/input0
[34492.102581] hid-generic 0003:187C:0524.0013: hiddev96,hidraw1: USB HID v1.01 Device [Alienware M17x] on usb-0000:00:1d.0-1.7/input0
[34499.292004] hid-generic 0003:187C:0524.0014: hiddev96,hidraw1: USB HID v1.01 Device [Alienware M17x] on usb-0000:00:1d.0-1.7/input0
[34510.655277] hid-generic 0003:187C:0524.0015: hiddev96,hidraw1: USB HID v1.01 Device [Alienware M17x] on usb-0000:00:1d.0-1.7/input0
[34516.636731] hid-generic 0003:187C:0524.0016: hiddev96,hidraw1: USB HID v1.01 Device [Alienware M17x] on usb-0000:00:1d.0-1.7/input0
[34532.446250] hid-generic 0003:187C:0524.0017: hiddev96,hidraw1: USB HID v1.01 Device [Alienware M17x] on usb-0000:00:1d.0-1.7/input0

  1. Actual behavior.
    Does not scan all - or find all.
    These are your zonecodes for current controller ("0x187c / 0x0524"):
    lkbrd: 0x0001
    mkbrd: 0x0002
    rkbrd: 0x0004
    numpad: 0x0008
    Left-Bar: 0x0020
    Right-Bar: 0x0040
    Logo-Outer-Lid: 0x0080
    Logo-Inside-Lid: 0x0100
    tpad: 0x0200
    wifi: 0x0800
    PowerButton: 0x2000

Still does not find them all and no matching "controller" file. CPU processing light dies aferwards as well.

  1. Steps to reproduce the problem.

4. Specifications like the version of the project, install method, operating system, and hardware.

I'm actually attempting to do some C-Programming to try to slide in something for all of these - just looking at a good place to start.

Confusion using command line

Hi - I'm excited to make use of this project but unsure of how to actually get the CLI commands to work, on my Alienware M11x R2

I'm running Debian Stretch and have successfully followed the installation guide, and can call "alienfx --help" and get an output.

I've run alienfx -z and performed a zonescan successfully, but I'm unsure how to actually use the zone codes that are output. I can also see a config file for my model of machine in .config\alienfx\ but I'm not sure how to actually load it, or where to place the file for the application to be able to see it.

Any assistance you may be able to provide is greatly appreciated - it may be that I'm missing something fundamental, or perhaps the installation has not quite worked correctly (for instance, there are no themes available when opening the GTK version, but I'm not sure if there are supposed to be)

Thanks

Zones for the M11XR2:

These are your 6 zonecodes for the current controller ("VID: 0x187c / DEV: 0x0514"):
alien head: 0x2000
alienware logo: 0x0100
wifi: 0x0800
left vent: 0x0020
keyboard: 0x0001
right vent: 0x0040

James

no module named builtins

Hello I'm on a clean install of an M14x R2 with ubuntu 16.10

I believe you need to add pip install future to the requirements.

also the program fails on my M14x R2

Aurora R3 - No controller

1. Expected behavior.

Should find my hardware

2. Actual behavior.

No supported Alien FX controller found!
image

3. Steps to reproduce the problem.

Install and run the created desktop file AlienFX

4. Specifications like the version of the project, install method, operating system, and hardware.

  • Project Version: Looks like 2.3.4
  • Operating System: uname -a returns Linux alien 5.1.6-arch1-1-ARCH #1 SMP PREEMPT Fri May 31 15:17:53 UTC 2019 x86_64 GNU/Linux
  • Hardware Version: Alienware Aurora R3

Is the Aurora R3 unsupported as of yet?

alienware m17x I/O operation on closed file

1. Expected behavior.

  • I thinm M17x is included as a supported device, but it asks for a zone scan anyways

2. Actual behavior.

  • zone scan fialed, details below:

ERROR:root:No Alien FX controller, defined by a supported model, found!
would you like to perform a zonescan? (y/n):y
Zonescan might not run correctly under Python 2.If you experience issues, try running under Python 3 instead.
Performing zonescan...
Welcome. This will help you to scan for alienfx-controllers and their lightning zones.
Found device "0x187c / 0x0524". - Testing zones...
Testing zone "0x0001"
ERROR:root:Cant detach kernel driver. Error : Access denied (insufficient permissions)
ERROR:root:Cant set configuration. Error : Access denied (insufficient permissions)
ERROR:root:Cant claim interface. Error : Access denied (insufficient permissions)
ERROR:root:write_packet: [Errno 13] Access denied (insufficient permissions)
ERROR:root:read_packet: [Errno 13] Access denied (insufficient permissions)
ERROR:root:write_packet: [Errno 13] Access denied (insufficient permissions)
ERROR:root:write_packet: [Errno 13] Access denied (insufficient permissions)
ERROR:root:read_packet: [Errno 13] Access denied (insufficient permissions)
ERROR:root:write_packet: [Errno 13] Access denied (insufficient permissions)
ERROR:root:read_packet: [Errno 13] Access denied (insufficient permissions)
ERROR:root:write_packet: [Errno 13] Access denied (insufficient permissions)
ERROR:root:read_packet: [Errno 13] Access denied (insufficient permissions)
ERROR:root:write_packet: [Errno 13] Access denied (insufficient permissions)
ERROR:root:read_packet: [Errno 13] Access denied (insufficient permissions)
ERROR:root:write_packet: [Errno 13] Access denied (insufficient permissions)
ERROR:root:read_packet: [Errno 13] Access denied (insufficient permissions)
ERROR:root:write_packet: [Errno 13] Access denied (insufficient permissions)
ERROR:root:read_packet: [Errno 13] Access denied (insufficient permissions)
ERROR:root:write_packet: [Errno 13] Access denied (insufficient permissions)
ERROR:root:read_packet: [Errno 13] Access denied (insufficient permissions)
ERROR:root:write_packet: [Errno 13] Access denied (insufficient permissions)
ERROR:root:read_packet: [Errno 13] Access denied (insufficient permissions)
ERROR:root:write_packet: [Errno 13] Access denied (insufficient permissions)
ERROR:root:read_packet: [Errno 13] Access denied (insufficient permissions)
ERROR:root:write_packet: [Errno 13] Access denied (insufficient permissions)
ERROR:root:read_packet: [Errno 13] Access denied (insufficient permissions)
ERROR:root:write_packet: [Errno 13] Access denied (insufficient permissions)
ERROR:root:read_packet: [Errno 13] Access denied (insufficient permissions)
ERROR:root:write_packet: [Errno 13] Access denied (insufficient permissions)
ERROR:root:read_packet: [Errno 13] Access denied (insufficient permissions)
ERROR:root:write_packet: [Errno 13] Access denied (insufficient permissions)
ERROR:root:read_packet: [Errno 13] Access denied (insufficient permissions)
ERROR:root:write_packet: [Errno 13] Access denied (insufficient permissions)
ERROR:root:read_packet: [Errno 13] Access denied (insufficient permissions)
ERROR:root:write_packet: [Errno 13] Access denied (insufficient permissions)
ERROR:root:read_packet: [Errno 13] Access denied (insufficient permissions)
ERROR:root:write_packet: [Errno 13] Access denied (insufficient permissions)
ERROR:root:read_packet: [Errno 13] Access denied (insufficient permissions)
ERROR:root:write_packet: [Errno 13] Access denied (insufficient permissions)
ERROR:root:read_packet: [Errno 13] Access denied (insufficient permissions)
ERROR:root:write_packet: [Errno 13] Access denied (insufficient permissions)
ERROR:root:read_packet: [Errno 13] Access denied (insufficient permissions)
ERROR:root:write_packet: [Errno 13] Access denied (insufficient permissions)
ERROR:root:read_packet: [Errno 13] Access denied (insufficient permissions)
ERROR:root:write_packet: [Errno 13] Access denied (insufficient permissions)
ERROR:root:read_packet: [Errno 13] Access denied (insufficient permissions)
ERROR:root:write_packet: [Errno 13] Access denied (insufficient permissions)
ERROR:root:read_packet: [Errno 13] Access denied (insufficient permissions)
ERROR:root:write_packet: [Errno 13] Access denied (insufficient permissions)
ERROR:root:read_packet: [Errno 13] Access denied (insufficient permissions)
ERROR:root:write_packet: [Errno 13] Access denied (insufficient permissions)
ERROR:root:read_packet: [Errno 13] Access denied (insufficient permissions)
ERROR:root:write_packet: [Errno 13] Access denied (insufficient permissions)
ERROR:root:read_packet: [Errno 13] Access denied (insufficient permissions)
ERROR:root:write_packet: [Errno 13] Access denied (insufficient permissions)
ERROR:root:read_packet: [Errno 13] Access denied (insufficient permissions)
ERROR:root:write_packet: [Errno 13] Access denied (insufficient permissions)
ERROR:root:read_packet: [Errno 13] Access denied (insufficient permissions)
ERROR:root:write_packet: [Errno 13] Access denied (insufficient permissions)
ERROR:root:read_packet: [Errno 13] Access denied (insufficient permissions)
ERROR:root:write_packet: [Errno 13] Access denied (insufficient permissions)
ERROR:root:read_packet: [Errno 13] Access denied (insufficient permissions)
ERROR:root:write_packet: [Errno 13] Access denied (insufficient permissions)
ERROR:root:read_packet: [Errno 13] Access denied (insufficient permissions)
ERROR:root:write_packet: [Errno 13] Access denied (insufficient permissions)
ERROR:root:read_packet: [Errno 13] Access denied (insufficient permissions)
ERROR:root:write_packet: [Errno 13] Access denied (insufficient permissions)
ERROR:root:read_packet: [Errno 13] Access denied (insufficient permissions)
ERROR:root:write_packet: [Errno 13] Access denied (insufficient permissions)
ERROR:root:read_packet: [Errno 13] Access denied (insufficient permissions)
ERROR:root:write_packet: [Errno 13] Access denied (insufficient permissions)
ERROR:root:read_packet: [Errno 13] Access denied (insufficient permissions)
ERROR:root:write_packet: [Errno 13] Access denied (insufficient permissions)
ERROR:root:read_packet: [Errno 13] Access denied (insufficient permissions)
ERROR:root:write_packet: [Errno 13] Access denied (insufficient permissions)
ERROR:root:read_packet: [Errno 13] Access denied (insufficient permissions)
ERROR:root:write_packet: [Errno 13] Access denied (insufficient permissions)
ERROR:root:read_packet: [Errno 13] Access denied (insufficient permissions)
ERROR:root:write_packet: [Errno 13] Access denied (insufficient permissions)
ERROR:root:read_packet: [Errno 13] Access denied (insufficient permissions)
ERROR:root:write_packet: [Errno 13] Access denied (insufficient permissions)
ERROR:root:read_packet: [Errno 13] Access denied (insufficient permissions)
ERROR:root:write_packet: [Errno 13] Access denied (insufficient permissions)
ERROR:root:read_packet: [Errno 13] Access denied (insufficient permissions)
ERROR:root:write_packet: [Errno 13] Access denied (insufficient permissions)
ERROR:root:read_packet: [Errno 13] Access denied (insufficient permissions)
ERROR:root:write_packet: [Errno 13] Access denied (insufficient permissions)
ERROR:root:read_packet: [Errno 13] Access denied (insufficient permissions)
ERROR:root:write_packet: [Errno 13] Access denied (insufficient permissions)
ERROR:root:read_packet: [Errno 13] Access denied (insufficient permissions)
ERROR:root:write_packet: [Errno 13] Access denied (insufficient permissions)
ERROR:root:read_packet: [Errno 13] Access denied (insufficient permissions)
ERROR:root:write_packet: [Errno 13] Access denied (insufficient permissions)
ERROR:root:read_packet: [Errno 13] Access denied (insufficient permissions)
ERROR:root:write_packet: [Errno 13] Access denied (insufficient permissions)
ERROR:root:read_packet: [Errno 13] Access denied (insufficient permissions)
ERROR:root:write_packet: [Errno 13] Access denied (insufficient permissions)
ERROR:root:read_packet: [Errno 13] Access denied (insufficient permissions)
ERROR:root:write_packet: [Errno 13] Access denied (insufficient permissions)
ERROR:root:read_packet: [Errno 13] Access denied (insufficient permissions)
ERROR:root:write_packet: [Errno 13] Access denied (insufficient permissions)
ERROR:root:read_packet: [Errno 13] Access denied (insufficient permissions)
ERROR:root:write_packet: [Errno 13] Access denied (insufficient permissions)
ERROR:root:read_packet: [Errno 13] Access denied (insufficient permissions)
ERROR:root:write_packet: [Errno 13] Access denied (insufficient permissions)
ERROR:root:read_packet: [Errno 13] Access denied (insufficient permissions)
ERROR:root:write_packet: [Errno 13] Access denied (insufficient permissions)
ERROR:root:read_packet: [Errno 13] Access denied (insufficient permissions)
ERROR:root:Controller status could not be retrieved. Is the device already in use?
ERROR:root:Error while testing current zone...
ERROR:root:Cant re-attach. Error : Access denied (insufficient permissions)
is anything blinking now? (y/n):Traceback (most recent call last):
File "/usr/local/bin/alienfx", line 11, in
load_entry_point('alienfx==2.3.4', 'console_scripts', 'alienfx')()
File "build/bdist.linux-x86_64/egg/alienfx/ui/console/main.py", line 81, in start
File "build/bdist.linux-x86_64/egg/alienfx/ui/console/main.py", line 64, in doZonescan
File "build/bdist.linux-x86_64/egg/alienfx/core/zonescanner.py", line 148, in scan
File "build/bdist.linux-x86_64/egg/alienfx/core/zonescanner.py", line 131, in scanzone
File "build/bdist.linux-x86_64/egg/alienfx/core/zonescanner.py", line 53, in askuser
ValueError: I/O operation on closed file

3. Steps to reproduce the problem.

  • I strictly followed the instructions except for one step.
    When i use "pip install future", I keep on running into the problem of "ImportError: No module named builtins", so I used "sudo pip install future" instead. Then when I alienfx, the software can run.

4. Specifications like the version of the project, install method, operating system, and hardware.

  • Project Version:
  • Operating System: ubuntu 18.04
  • Hardware Version: alienware m17x (2013)

I have an M17xR2.. I want to help.

I have an M17xR2.. I want to help.

I'm generally a newer Linux user; about 2.5 years now. I have used Ubuntu, OpenSUSE, and Solus. Please let me know what you need to hammer-down support for the M17xR2.

How do I find the values for an M17R2-2019?

1. Expected behavior.

I read the Contributing Doc, there's no instructions on how to pull the actual values. I'm running Linux and can run dmideoce in addition to lshw or anything else if given instructions.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.