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

Support for x17 R2? #118

Open
Shellcat-Zero opened this issue Oct 31, 2022 · 0 comments
Open

Support for x17 R2? #118

Shellcat-Zero opened this issue Oct 31, 2022 · 0 comments

Comments

@Shellcat-Zero
Copy link

The CLI hangs when trying to set the theme. Although, I would prefer to know how to turn off the lights if that is possible. Running Ubuntu 22.04. This seems to require sudo privileges, but I had thought that was not needed. Here is a traceback after exiting the program from being hung, if this helps:

sudo /usr/local/bin/alienfx -t dark                                                                                                                                                          
You are running alienfx under Python-Version: 3.10.6 (main, Aug 10 2022, 11:40:04) [GCC 11.3.0]                                                                                                                                               
^CTraceback (most recent call last):                                                                                                                                                                                                          
  File "/usr/local/bin/alienfx", line 8, in <module>                                                                                                                                                                                          
    sys.exit(start())                                                                                                                                                                                                                         
  File "/usr/local/lib/python3.10/dist-packages/alienfx/ui/console/main.py", line 131, in start                                                                                                                                               
    controller.set_theme(themefile)                                                                                                                                                                                                           
  File "/usr/local/lib/python3.10/dist-packages/alienfx/core/controller.py", line 281, in set_theme                                                                                                                                           
    self._wait_controller_ready()                                                                                                                                                                                                             
  File "/usr/local/lib/python3.10/dist-packages/alienfx/core/controller.py", line 156, in _wait_controller_ready                                                                                                                              
    self._driver.write_packet(pkt)                                                                                                                                                                                                            
  File "/usr/local/lib/python3.10/dist-packages/alienfx/core/usbdriver.py", line 65, in write_packet                                                                                                                                          
    self._dev.ctrl_transfer(                                                                                                                                                                                                                  
  File "/usr/lib/python3/dist-packages/usb/core.py", line 1082, in ctrl_transfer                                                                                                                                                              
    ret = self._ctx.backend.ctrl_transfer(                                                                                                                                                                                                    
  File "/usr/lib/python3/dist-packages/usb/backend/libusb1.py", line 893, in ctrl_transfer                                                                                                                                                    
    ret = _check(self.lib.libusb_control_transfer(                                                                                                                                                                                            
KeyboardInterrupt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant