trackmastersteve / alienfx

AlienFX is a CLI and GUI utility to control the lighting effects of your Alienware computer.
GNU General Public License v3.0
285 stars 70 forks source link

Aurora R4 Desktop ID 187c:0513 Same Issue as others alienfx scan issue and alienfx-gtk stuck on applying theme #133

Open Banane84 opened 8 months ago

Banane84 commented 8 months ago

Previous

controller_aurora.py have all zonelabel false (keyboard, battery...) It's a Desktop with only few set of led (sides, front, alien head..)

1. Expected behavior.

alienfx: Make a proper scan alienfx-gtk: Apply theme

2. Actual behavior.

Both stay stuck in the process

$ sudo alienfx -z
You are running alienfx under Python-Version: 3.12.1 (main, Dec  8 2023, 00:00:00) [GCC 13.2.1 20231205 (Red Hat 13.2.1-6)]
Performing zonescan...
Welcome. This will help you to scan for alienfx-controllers and their lighting zones.
Found device "0x187c / 0x0513". 
would you like to test a newer controller? default=y
note that choosing a wrong controller will result in packet-errors.
in this case you might choose another one instead. (y/n):y
- Testing zones...
Testing zone "0x0001"
ERROR:root:Cant detach kernel driver. Error : Entity not found
ERROR:root:Cant set configuration. Error : Resource busy
ERROR:root:Cant claim interface. Error : Resource busy
ERROR:root:write_packet: [Errno 16] Resource busy
..............
ERROR:root:write_packet: [Errno 16] Resource busy
ERROR:root:read_packet: [Errno 16] Resource busy
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 : Resource busy
is anything blinking now? (y/n):ERROR:root:I/O operation on closed file.
$ sudo alienfx-gtk 
ERROR:root:Cant detach kernel driver. Error : Entity not found
ERROR:root:Cant set configuration. Error : Other error

errors appears after clicking apply button

3. Steps to reproduce the problem.

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