Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash after "initializing AlternatingLightingEffect light controller" #24

Open
illich opened this issue May 3, 2019 · 1 comment
Open

Comments

@illich
Copy link

illich commented May 3, 2019

Seems like a great software... but doesn't work for me :(

Short version:
After running linux-thermaltake-rgb (with default config) it outputs:
initializing thermaltake rgb daemon
initializing FullLightingEffect light controller
Traceback (most recent call last):
File "./linux-thermaltake-rgb", line 11, in
load_entry_point('linux-thermaltake-rgb==0.2.0.post1555641151', 'console_scripts', 'linux-thermaltake-rgb')()
File "/usr/local/lib/python3.6/dist-packages/linux_thermaltake_rgb/daemon/main.py", line 32, in main
daemon = ThermaltakeDaemon()
File "/usr/local/lib/python3.6/dist-packages/linux_thermaltake_rgb/daemon/daemon.py", line 51, in init
self.controllers[controller['unit']] = ThermaltakeController.factory(controller['type'], controller.get('unit'))
File "/usr/local/lib/python3.6/dist-packages/linux_thermaltake_rgb/controllers.py", line 40, in factory
return subclass_dict.get(unit_type.lower())(unit=unit_identifier)
File "/usr/local/lib/python3.6/dist-packages/linux_thermaltake_rgb/controllers.py", line 61, in init
super().init()
File "/usr/local/lib/python3.6/dist-packages/linux_thermaltake_rgb/controllers.py", line 30, in init
self.init()
File "/usr/local/lib/python3.6/dist-packages/linux_thermaltake_rgb/controllers.py", line 67, in init
self.driver = drivers.ThermaltakeG3ControllerDriver(self.unit)
File "/usr/local/lib/python3.6/dist-packages/linux_thermaltake_rgb/drivers.py", line 34, in init
self._initialize_device()
File "/usr/local/lib/python3.6/dist-packages/linux_thermaltake_rgb/drivers.py", line 43, in _initialize_device
self.device.reset()
AttributeError: 'NoneType' object has no attribute 'reset'

Long version:

  1. Have up-to-date Kubuntu 18.10.
  2. Bought Riing 20 Plus and the controller, installed it, hardware works in default config (RGB and probably full fan speed).
  3. Installed linux_thermaltake_riing according to README.
  4. Launched the service, It does nothing.
  5. Fixed the paths as described in issue Systemd script points to a non correct destination for ubuntu #19.
  6. Launched the service, It does nothing.
  7. Tried to run it directly, it writes the traceback as above. That might be the main issue, although I'm not sure if it is supposed to work if run directly.

Questions

  • What should I do to make it work?
  • When run as a service, does it have some log, where I can see if it connects correctly?
  • If I change something in the config, does it change immediatelly or do I need to restart the service?
@chestm007
Copy link
Owner

Thats interesting, can you send me the output of lsusb -v that should help me see if the controller is supported.

when ran as a service, the daemon should log to the journal under systemd, im unfortunately unsure on systems not using systemd.

config changes require a restart to reload the config.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants