linux_thermaltake_riing
linux_thermaltake_riing copied to clipboard
Startup Failure: AttributeError: 'NoneType' object has no attribute 'reset'
python ./run.py initializing thermaltake rgb daemon loading config raw config file ** start **
controllers:
- unit: 1 type: g3 devices: 1: Riing Plus 2: Riing Plus 3: Riing Plus 4: Floe Riing RGB fan_manager: model: locked_speed speed: 50 lighting_manager: model: full r: 40 g: 0 b: 0
** end **
/home/jlong/dev/linux_thermaltake_riing/linux_thermaltake_rgb/daemon/config.py:61: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
return yaml.load(cfg)
[{'unit': 1, 'type': 'g3', 'devices': {1: 'Riing Plus', 2: 'Riing Plus', 3: 'Riing Plus', 4: 'Floe Riing RGB'}}]
{'model': 'locked_speed', 'speed': 50}
{'model': 'full', 'r': 40, 'g': 0, 'b': 0}
creating fan manager
creating FanManager object: [model: locked speed 50%]
creating lighting manager
initializing FullLightingEffect light controller
configuring controllers
Traceback (most recent call last):
File "./run.py", line 21, in
I encountered this same problem, did some digging and it appears that the USB device for the controller was not found.
def _initialize_device(self):
self.device = usb.core.find(idVendor=self.vendor_id,
idProduct=self.product_id)
# fail safe incase last device usage was dirty
self.device.reset()
if self.device is None:
raise ValueError('Device not found')
I am going to check if there are any USB connections to the controller I am missing.