rsm-gh / akbl

Control the lights of Alienware computers under GNU/Linux systems.
GNU General Public License v3.0
128 stars 24 forks source link

Support for Alienware Aurora R13 #123

Open Freedom9339 opened 5 days ago

Freedom9339 commented 5 days ago

System information

USB Data

Bus 001 Device 003: ID 187c:0550 Alienware Corporation LED controller
Device: ID 187c:0550 Alienware Corporation LED controller
Couldn't open device, some information will be missing
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.10
  bDeviceClass            0 [unknown]
  bDeviceSubClass         0 [unknown]
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  idVendor           0x187c Alienware Corporation
  idProduct          0x0550 LED controller
  bcdDevice            2.00
  iManufacturer           1 Alienware
  iProduct                2 AW-ELC
  iSerial                 3 00.01
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength       0x0029
    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           2
      bInterfaceClass         3 Human Interface Device
      bInterfaceSubClass      0 [unknown]
      bInterfaceProtocol      0 
      iInterface              0 
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.11
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength      25
          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     0x0021  1x 33 bytes
        bInterval              10
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x01  EP 1 OUT
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0021  1x 33 bytes
        bInterval             100

Installation Log

[1/5] Removing previous versions..

 Disabling the systemd daemon...
Removed "/etc/systemd/system/basic.target.wants/akbl.service".

 Removing the python links..
/usr/lib/python3.12/AKBL link removed

 Removing the software files and directories..
removed.f: /usr/share/applications/com.senties-martinelli.AKBL.desktop
removed.f: /usr/bin/akbl
removed.d: /usr/share/AKBL
removed.d: /usr/share/doc/AKBL
removed.d: /usr/lib/python3/AKBL

[2/5] Installing the software files...
installing: /usr/bin
installing: /usr/share/applications
installing: /usr/share/AKBL
installing: /usr/share/AKBL/test
installing: /usr/share/AKBL/computers
installing: /usr/share/AKBL/GUI
installing: /usr/share/AKBL/GUI/ColorChooserToolbar
installing: /usr/share/AKBL/GUI/img
installing: /usr/share/AKBL/BlockTesting
installing: /usr/share/AKBL/Indicator
installing: /usr/share/AKBL/Indicator/img
installing: /usr/share/AKBL/ModelChooser
installing: /usr/share/doc/AKBL
installing: /usr/share/doc/AKBL/BusData
installing: /usr/share/doc/AKBL/BusData/Data
installing: /usr/share/doc/AKBL/ImagesPreview
installing: /usr/share/doc/AKBL/Licenses
installing: /usr/share/doc/AKBL/Programming
installing: /usr/share/doc/AKBL/Programming/class_diagrams
installing: /usr/lib/python3/AKBL
installing: /usr/lib/python3/AKBL/Engine
installing: /usr/lib/python3/AKBL/Computer
installing: /usr/lib/python3/AKBL/Theme
installing: /usr/lib/systemd/system

[3/5] Creating the python links...
linked python3.12

[4/5] Choosing the computer model...
Installed computer set to: Aurora R10
If you want to change it, use the commands 'akbl --model-chooser-gui' or '--model-chooser-cmd'

[5/5] Enabling the daemon...
Created symlink /etc/systemd/system/basic.target.wants/akbl.service → /usr/lib/systemd/system/akbl.service.
AKBL ping... True

The installation has finished. If you have any window of the software (GUI, BlockTesting, Bindings script, etc..) or the indicator is running, you must restart them.

Block Testing Window

Freedom9339 commented 5 days ago

I commented line 160 in the script and was able to use the tester. However, it keeps saying the device is busy.

[Device found]: Vendor ID: 6268  Product ID: 1360
[Device found]: Vendor ID: 6268  Product ID: 1360
[Device found]: Vendor ID: 6268  Product ID: 1360
[Device found]: Vendor ID: 6268  Product ID: 1360
[Device found]: Vendor ID: 6268  Product ID: 1360
[Device found]: Vendor ID: 6268  Product ID: 1360
[Device found]: Vendor ID: 6268  Product ID: 1360
[Device found]: Vendor ID: 6268  Product ID: 1360
[Device found]: Vendor ID: 6268  Product ID: 1360
[Device found]: Vendor ID: 6268  Product ID: 1360
[Device found]: Vendor ID: 6268  Product ID: 1360
[Device found]: Vendor ID: 6268  Product ID: 1360
[Device found]: Vendor ID: 6268  Product ID: 1360
[Device found]: Vendor ID: 6268  Product ID: 1360
[Device found]: Vendor ID: 6268  Product ID: 1360
[Device found]: Vendor ID: 6268  Product ID: 1360
[Device found]: Vendor ID: 6268  Product ID: 1360
[Device found]: Vendor ID: 6268  Product ID: 1360
[Device found]: Vendor ID: 6268  Product ID: 1360
[Device found]: Vendor ID: 6268  Product ID: 1360
[Device found]: Vendor ID: 6268  Product ID: 1360
[Device found]: Vendor ID: 6268  Product ID: 1360
[Device found]: Vendor ID: 6268  Product ID: 1360
[Device found]: Vendor ID: 6268  Product ID: 1360
[Device found]: Vendor ID: 6268  Product ID: 1360
[Device found]: Vendor ID: 6268  Product ID: 1360
[Device found]: Vendor ID: 6268  Product ID: 1360
[Device found]: Vendor ID: 6268  Product ID: 1360
[Device found]: Vendor ID: 6268  Product ID: 1360
[Device found]: Vendor ID: 6268  Product ID: 1360
[Device found]: Vendor ID: 6268  Product ID: 1360
[Device found]: Vendor ID: 6268  Product ID: 1360
[Device found]: Vendor ID: 6268  Product ID: 1360
[Device found]: Vendor ID: 6268  Product ID: 1360
[Device found]: Vendor ID: 6268  Product ID: 1360
[Device found]: Vendor ID: 6268  Product ID: 1360
[Device found]: Vendor ID: 6268  Product ID: 1360
[Device found]: Vendor ID: 6268  Product ID: 1360

Traceback (most recent call last):
  File "/usr/lib/python3/AKBL/Engine/Driver.py", line 117, in take_over
    self.__usb_device.set_configuration()
  File "/usr/lib/python3/dist-packages/usb/core.py", line 915, in set_configuration
    self._ctx.managed_set_configuration(self, configuration)
  File "/usr/lib/python3/dist-packages/usb/core.py", line 113, in wrapper
    return f(self, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/usb/core.py", line 159, in managed_set_configuration
    self.backend.set_configuration(self.handle, cfg.bConfigurationValue)
  File "/usr/lib/python3/dist-packages/usb/backend/libusb1.py", line 812, in set_configuration
    _check(self.lib.libusb_set_configuration(dev_handle.handle, config_value))
  File "/usr/lib/python3/dist-packages/usb/backend/libusb1.py", line 604, in _check
    raise USBError(_strerror(ret), ret, _libusb_errno[ret])
usb.core.USBError: [Errno 16] Resource busy

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/share/AKBL/BlockTesting/BlockTesting.py", line 283, in on_button_block_testing_lights_off_clicked
    self.__controller.add_reset_line(self.__computer.reset_all_lights_off)
  File "/usr/lib/python3.12/AKBL/Engine/Controller.py", line 93, in add_reset_line
    while not self.__device_is_ready():
              ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/AKBL/Engine/Controller.py", line 155, in __device_is_ready
    self.__driver.take_over()
  File "/usr/lib/python3/AKBL/Engine/Driver.py", line 119, in take_over
    self.__usb_device.detach_kernel_driver(0)
  File "/usr/lib/python3/dist-packages/usb/core.py", line 1121, in detach_kernel_driver
    self._ctx.backend.detach_kernel_driver(
  File "/usr/lib/python3/dist-packages/usb/backend/libusb1.py", line 920, in detach_kernel_driver
    _check(self.lib.libusb_detach_kernel_driver(dev_handle.handle, intf))
  File "/usr/lib/python3/dist-packages/usb/backend/libusb1.py", line 604, in _check
    raise USBError(_strerror(ret), ret, _libusb_errno[ret])
usb.core.USBError: [Errno 2] Entity not found
[TEST]: areaitem: 1  mode:fixed  speed:100   color1:#000000  color2: #000000

Traceback (most recent call last):
  File "/usr/lib/python3/AKBL/Engine/Driver.py", line 117, in take_over
    self.__usb_device.set_configuration()
  File "/usr/lib/python3/dist-packages/usb/core.py", line 915, in set_configuration
    self._ctx.managed_set_configuration(self, configuration)
  File "/usr/lib/python3/dist-packages/usb/core.py", line 113, in wrapper
    return f(self, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/usb/core.py", line 159, in managed_set_configuration
    self.backend.set_configuration(self.handle, cfg.bConfigurationValue)
  File "/usr/lib/python3/dist-packages/usb/backend/libusb1.py", line 812, in set_configuration
    _check(self.lib.libusb_set_configuration(dev_handle.handle, config_value))
  File "/usr/lib/python3/dist-packages/usb/backend/libusb1.py", line 604, in _check
    raise USBError(_strerror(ret), ret, _libusb_errno[ret])
usb.core.USBError: [Errno 16] Resource busy

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/share/AKBL/BlockTesting/BlockTesting.py", line 265, in on_button_block_make_test_clicked
    self.__controller.add_reset_line(self.__computer.reset_all_lights_on)
  File "/usr/lib/python3.12/AKBL/Engine/Controller.py", line 87, in add_reset_line
    self.__driver.take_over()
  File "/usr/lib/python3/AKBL/Engine/Driver.py", line 119, in take_over
    self.__usb_device.detach_kernel_driver(0)
  File "/usr/lib/python3/dist-packages/usb/core.py", line 1121, in detach_kernel_driver
    self._ctx.backend.detach_kernel_driver(
  File "/usr/lib/python3/dist-packages/usb/backend/libusb1.py", line 920, in detach_kernel_driver
    _check(self.lib.libusb_detach_kernel_driver(dev_handle.handle, intf))
  File "/usr/lib/python3/dist-packages/usb/backend/libusb1.py", line 604, in _check
    raise USBError(_strerror(ret), ret, _libusb_errno[ret])
usb.core.USBError: [Errno 2] Entity not found

Traceback (most recent call last):
  File "/usr/lib/python3/AKBL/Engine/Driver.py", line 117, in take_over
    self.__usb_device.set_configuration()
  File "/usr/lib/python3/dist-packages/usb/core.py", line 915, in set_configuration
    self._ctx.managed_set_configuration(self, configuration)
  File "/usr/lib/python3/dist-packages/usb/core.py", line 113, in wrapper
    return f(self, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/usb/core.py", line 159, in managed_set_configuration
    self.backend.set_configuration(self.handle, cfg.bConfigurationValue)
  File "/usr/lib/python3/dist-packages/usb/backend/libusb1.py", line 812, in set_configuration
    _check(self.lib.libusb_set_configuration(dev_handle.handle, config_value))
  File "/usr/lib/python3/dist-packages/usb/backend/libusb1.py", line 604, in _check
    raise USBError(_strerror(ret), ret, _libusb_errno[ret])
usb.core.USBError: [Errno 16] Resource busy

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/share/AKBL/BlockTesting/BlockTesting.py", line 283, in on_button_block_testing_lights_off_clicked
    self.__controller.add_reset_line(self.__computer.reset_all_lights_off)
  File "/usr/lib/python3.12/AKBL/Engine/Controller.py", line 87, in add_reset_line
    self.__driver.take_over()
  File "/usr/lib/python3/AKBL/Engine/Driver.py", line 119, in take_over
    self.__usb_device.detach_kernel_driver(0)
  File "/usr/lib/python3/dist-packages/usb/core.py", line 1121, in detach_kernel_driver
    self._ctx.backend.detach_kernel_driver(
  File "/usr/lib/python3/dist-packages/usb/backend/libusb1.py", line 920, in detach_kernel_driver
    _check(self.lib.libusb_detach_kernel_driver(dev_handle.handle, intf))
  File "/usr/lib/python3/dist-packages/usb/backend/libusb1.py", line 604, in _check
    raise USBError(_strerror(ret), ret, _libusb_errno[ret])
usb.core.USBError: [Errno 2] Entity not found
[TEST]: areaitem: 2  mode:fixed  speed:100   color1:#000000  color2: #000000

Traceback (most recent call last):
  File "/usr/lib/python3/AKBL/Engine/Driver.py", line 117, in take_over
    self.__usb_device.set_configuration()
  File "/usr/lib/python3/dist-packages/usb/core.py", line 915, in set_configuration
    self._ctx.managed_set_configuration(self, configuration)
  File "/usr/lib/python3/dist-packages/usb/core.py", line 113, in wrapper
    return f(self, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/usb/core.py", line 159, in managed_set_configuration
    self.backend.set_configuration(self.handle, cfg.bConfigurationValue)
  File "/usr/lib/python3/dist-packages/usb/backend/libusb1.py", line 812, in set_configuration
    _check(self.lib.libusb_set_configuration(dev_handle.handle, config_value))
  File "/usr/lib/python3/dist-packages/usb/backend/libusb1.py", line 604, in _check
    raise USBError(_strerror(ret), ret, _libusb_errno[ret])
usb.core.USBError: [Errno 16] Resource busy

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/share/AKBL/BlockTesting/BlockTesting.py", line 265, in on_button_block_make_test_clicked
    self.__controller.add_reset_line(self.__computer.reset_all_lights_on)
  File "/usr/lib/python3.12/AKBL/Engine/Controller.py", line 87, in add_reset_line
    self.__driver.take_over()
  File "/usr/lib/python3/AKBL/Engine/Driver.py", line 119, in take_over
    self.__usb_device.detach_kernel_driver(0)
  File "/usr/lib/python3/dist-packages/usb/core.py", line 1121, in detach_kernel_driver
    self._ctx.backend.detach_kernel_driver(
  File "/usr/lib/python3/dist-packages/usb/backend/libusb1.py", line 920, in detach_kernel_driver
    _check(self.lib.libusb_detach_kernel_driver(dev_handle.handle, intf))
  File "/usr/lib/python3/dist-packages/usb/backend/libusb1.py", line 604, in _check
    raise USBError(_strerror(ret), ret, _libusb_errno[ret])
usb.core.USBError: [Errno 2] Entity not found

Traceback (most recent call last):
  File "/usr/lib/python3/AKBL/Engine/Driver.py", line 117, in take_over
    self.__usb_device.set_configuration()
  File "/usr/lib/python3/dist-packages/usb/core.py", line 915, in set_configuration
    self._ctx.managed_set_configuration(self, configuration)
  File "/usr/lib/python3/dist-packages/usb/core.py", line 113, in wrapper
    return f(self, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/usb/core.py", line 159, in managed_set_configuration
    self.backend.set_configuration(self.handle, cfg.bConfigurationValue)
  File "/usr/lib/python3/dist-packages/usb/backend/libusb1.py", line 812, in set_configuration
    _check(self.lib.libusb_set_configuration(dev_handle.handle, config_value))
  File "/usr/lib/python3/dist-packages/usb/backend/libusb1.py", line 604, in _check
    raise USBError(_strerror(ret), ret, _libusb_errno[ret])
usb.core.USBError: [Errno 16] Resource busy

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/share/AKBL/BlockTesting/BlockTesting.py", line 283, in on_button_block_testing_lights_off_clicked
    self.__controller.add_reset_line(self.__computer.reset_all_lights_off)
  File "/usr/lib/python3.12/AKBL/Engine/Controller.py", line 87, in add_reset_line
    self.__driver.take_over()
  File "/usr/lib/python3/AKBL/Engine/Driver.py", line 119, in take_over
    self.__usb_device.detach_kernel_driver(0)
  File "/usr/lib/python3/dist-packages/usb/core.py", line 1121, in detach_kernel_driver
    self._ctx.backend.detach_kernel_driver(
  File "/usr/lib/python3/dist-packages/usb/backend/libusb1.py", line 920, in detach_kernel_driver
    _check(self.lib.libusb_detach_kernel_driver(dev_handle.handle, intf))
  File "/usr/lib/python3/dist-packages/usb/backend/libusb1.py", line 604, in _check
    raise USBError(_strerror(ret), ret, _libusb_errno[ret])
usb.core.USBError: [Errno 2] Entity not found
[TEST]: areaitem: 4  mode:fixed  speed:100   color1:#000000  color2: #000000

Traceback (most recent call last):
  File "/usr/lib/python3/AKBL/Engine/Driver.py", line 117, in take_over
    self.__usb_device.set_configuration()
  File "/usr/lib/python3/dist-packages/usb/core.py", line 915, in set_configuration
    self._ctx.managed_set_configuration(self, configuration)
  File "/usr/lib/python3/dist-packages/usb/core.py", line 113, in wrapper
    return f(self, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/usb/core.py", line 159, in managed_set_configuration
    self.backend.set_configuration(self.handle, cfg.bConfigurationValue)
  File "/usr/lib/python3/dist-packages/usb/backend/libusb1.py", line 812, in set_configuration
    _check(self.lib.libusb_set_configuration(dev_handle.handle, config_value))
  File "/usr/lib/python3/dist-packages/usb/backend/libusb1.py", line 604, in _check
    raise USBError(_strerror(ret), ret, _libusb_errno[ret])
usb.core.USBError: [Errno 16] Resource busy

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/share/AKBL/BlockTesting/BlockTesting.py", line 265, in on_button_block_make_test_clicked
    self.__controller.add_reset_line(self.__computer.reset_all_lights_on)
  File "/usr/lib/python3.12/AKBL/Engine/Controller.py", line 87, in add_reset_line
    self.__driver.take_over()
  File "/usr/lib/python3/AKBL/Engine/Driver.py", line 119, in take_over
    self.__usb_device.detach_kernel_driver(0)
  File "/usr/lib/python3/dist-packages/usb/core.py", line 1121, in detach_kernel_driver
    self._ctx.backend.detach_kernel_driver(
  File "/usr/lib/python3/dist-packages/usb/backend/libusb1.py", line 920, in detach_kernel_driver
    _check(self.lib.libusb_detach_kernel_driver(dev_handle.handle, intf))
  File "/usr/lib/python3/dist-packages/usb/backend/libusb1.py", line 604, in _check
    raise USBError(_strerror(ret), ret, _libusb_errno[ret])
usb.core.USBError: [Errno 2] Entity not found

[TEST]: areaitem: 4194304    mode:fixed  speed:100   color1:#000000  color2: #000000

Traceback (most recent call last):
  File "/usr/lib/python3/AKBL/Engine/Driver.py", line 117, in take_over
    self.__usb_device.set_configuration()
  File "/usr/lib/python3/dist-packages/usb/core.py", line 915, in set_configuration
    self._ctx.managed_set_configuration(self, configuration)
  File "/usr/lib/python3/dist-packages/usb/core.py", line 113, in wrapper
    return f(self, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/usb/core.py", line 159, in managed_set_configuration
    self.backend.set_configuration(self.handle, cfg.bConfigurationValue)
  File "/usr/lib/python3/dist-packages/usb/backend/libusb1.py", line 812, in set_configuration
    _check(self.lib.libusb_set_configuration(dev_handle.handle, config_value))
  File "/usr/lib/python3/dist-packages/usb/backend/libusb1.py", line 604, in _check
    raise USBError(_strerror(ret), ret, _libusb_errno[ret])
usb.core.USBError: [Errno 16] Resource busy

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/share/AKBL/BlockTesting/BlockTesting.py", line 265, in on_button_block_make_test_clicked
    self.__controller.add_reset_line(self.__computer.reset_all_lights_on)
  File "/usr/lib/python3.12/AKBL/Engine/Controller.py", line 87, in add_reset_line
    self.__driver.take_over()
  File "/usr/lib/python3/AKBL/Engine/Driver.py", line 119, in take_over
    self.__usb_device.detach_kernel_driver(0)
  File "/usr/lib/python3/dist-packages/usb/core.py", line 1121, in detach_kernel_driver
    self._ctx.backend.detach_kernel_driver(
  File "/usr/lib/python3/dist-packages/usb/backend/libusb1.py", line 920, in detach_kernel_driver
    _check(self.lib.libusb_detach_kernel_driver(dev_handle.handle, intf))
  File "/usr/lib/python3/dist-packages/usb/backend/libusb1.py", line 604, in _check
    raise USBError(_strerror(ret), ret, _libusb_errno[ret])
usb.core.USBError: [Errno 2] Entity not found

[TEST]: areaitem: 8  mode:fixed  speed:100   color1:#000000  color2: #000000

Traceback (most recent call last):
  File "/usr/lib/python3/AKBL/Engine/Driver.py", line 117, in take_over
    self.__usb_device.set_configuration()
  File "/usr/lib/python3/dist-packages/usb/core.py", line 915, in set_configuration
    self._ctx.managed_set_configuration(self, configuration)
  File "/usr/lib/python3/dist-packages/usb/core.py", line 113, in wrapper
    return f(self, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/usb/core.py", line 159, in managed_set_configuration
    self.backend.set_configuration(self.handle, cfg.bConfigurationValue)
  File "/usr/lib/python3/dist-packages/usb/backend/libusb1.py", line 812, in set_configuration
    _check(self.lib.libusb_set_configuration(dev_handle.handle, config_value))
  File "/usr/lib/python3/dist-packages/usb/backend/libusb1.py", line 604, in _check
    raise USBError(_strerror(ret), ret, _libusb_errno[ret])
usb.core.USBError: [Errno 16] Resource busy

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/share/AKBL/BlockTesting/BlockTesting.py", line 265, in on_button_block_make_test_clicked
    self.__controller.add_reset_line(self.__computer.reset_all_lights_on)
  File "/usr/lib/python3.12/AKBL/Engine/Controller.py", line 87, in add_reset_line
    self.__driver.take_over()
  File "/usr/lib/python3/AKBL/Engine/Driver.py", line 119, in take_over
    self.__usb_device.detach_kernel_driver(0)
  File "/usr/lib/python3/dist-packages/usb/core.py", line 1121, in detach_kernel_driver
    self._ctx.backend.detach_kernel_driver(
  File "/usr/lib/python3/dist-packages/usb/backend/libusb1.py", line 920, in detach_kernel_driver
    _check(self.lib.libusb_detach_kernel_driver(dev_handle.handle, intf))
  File "/usr/lib/python3/dist-packages/usb/backend/libusb1.py", line 604, in _check
    raise USBError(_strerror(ret), ret, _libusb_errno[ret])
usb.core.USBError: [Errno 2] Entity not found

[TEST]: areaitem: 16     mode:fixed  speed:100   color1:#000000  color2: #000000

Traceback (most recent call last):
  File "/usr/lib/python3/AKBL/Engine/Driver.py", line 117, in take_over
    self.__usb_device.set_configuration()
  File "/usr/lib/python3/dist-packages/usb/core.py", line 915, in set_configuration
    self._ctx.managed_set_configuration(self, configuration)
  File "/usr/lib/python3/dist-packages/usb/core.py", line 113, in wrapper
    return f(self, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/usb/core.py", line 159, in managed_set_configuration
    self.backend.set_configuration(self.handle, cfg.bConfigurationValue)
  File "/usr/lib/python3/dist-packages/usb/backend/libusb1.py", line 812, in set_configuration
    _check(self.lib.libusb_set_configuration(dev_handle.handle, config_value))
  File "/usr/lib/python3/dist-packages/usb/backend/libusb1.py", line 604, in _check
    raise USBError(_strerror(ret), ret, _libusb_errno[ret])
usb.core.USBError: [Errno 16] Resource busy

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/share/AKBL/BlockTesting/BlockTesting.py", line 265, in on_button_block_make_test_clicked
    self.__controller.add_reset_line(self.__computer.reset_all_lights_on)
  File "/usr/lib/python3.12/AKBL/Engine/Controller.py", line 87, in add_reset_line
    self.__driver.take_over()
  File "/usr/lib/python3/AKBL/Engine/Driver.py", line 119, in take_over
    self.__usb_device.detach_kernel_driver(0)
  File "/usr/lib/python3/dist-packages/usb/core.py", line 1121, in detach_kernel_driver
    self._ctx.backend.detach_kernel_driver(
  File "/usr/lib/python3/dist-packages/usb/backend/libusb1.py", line 920, in detach_kernel_driver
    _check(self.lib.libusb_detach_kernel_driver(dev_handle.handle, intf))
  File "/usr/lib/python3/dist-packages/usb/backend/libusb1.py", line 604, in _check
    raise USBError(_strerror(ret), ret, _libusb_errno[ret])
usb.core.USBError: [Errno 2] Entity not found

[TEST]: areaitem: 32     mode:fixed  speed:100   color1:#000000  color2: #000000

Traceback (most recent call last):
  File "/usr/lib/python3/AKBL/Engine/Driver.py", line 117, in take_over
    self.__usb_device.set_configuration()
  File "/usr/lib/python3/dist-packages/usb/core.py", line 915, in set_configuration
    self._ctx.managed_set_configuration(self, configuration)
  File "/usr/lib/python3/dist-packages/usb/core.py", line 113, in wrapper
    return f(self, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/usb/core.py", line 159, in managed_set_configuration
    self.backend.set_configuration(self.handle, cfg.bConfigurationValue)
  File "/usr/lib/python3/dist-packages/usb/backend/libusb1.py", line 812, in set_configuration
    _check(self.lib.libusb_set_configuration(dev_handle.handle, config_value))
  File "/usr/lib/python3/dist-packages/usb/backend/libusb1.py", line 604, in _check
    raise USBError(_strerror(ret), ret, _libusb_errno[ret])
usb.core.USBError: [Errno 16] Resource busy

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/share/AKBL/BlockTesting/BlockTesting.py", line 265, in on_button_block_make_test_clicked
    self.__controller.add_reset_line(self.__computer.reset_all_lights_on)
  File "/usr/lib/python3.12/AKBL/Engine/Controller.py", line 87, in add_reset_line
    self.__driver.take_over()
  File "/usr/lib/python3/AKBL/Engine/Driver.py", line 119, in take_over
    self.__usb_device.detach_kernel_driver(0)
  File "/usr/lib/python3/dist-packages/usb/core.py", line 1121, in detach_kernel_driver
    self._ctx.backend.detach_kernel_driver(
  File "/usr/lib/python3/dist-packages/usb/backend/libusb1.py", line 920, in detach_kernel_driver
    _check(self.lib.libusb_detach_kernel_driver(dev_handle.handle, intf))
  File "/usr/lib/python3/dist-packages/usb/backend/libusb1.py", line 604, in _check
    raise USBError(_strerror(ret), ret, _libusb_errno[ret])
usb.core.USBError: [Errno 2] Entity not found

[TEST]: areaitem: 64     mode:fixed  speed:100   color1:#000000  color2: #000000

Traceback (most recent call last):
  File "/usr/lib/python3/AKBL/Engine/Driver.py", line 117, in take_over
    self.__usb_device.set_configuration()
  File "/usr/lib/python3/dist-packages/usb/core.py", line 915, in set_configuration
    self._ctx.managed_set_configuration(self, configuration)
  File "/usr/lib/python3/dist-packages/usb/core.py", line 113, in wrapper
    return f(self, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/usb/core.py", line 159, in managed_set_configuration
    self.backend.set_configuration(self.handle, cfg.bConfigurationValue)
  File "/usr/lib/python3/dist-packages/usb/backend/libusb1.py", line 812, in set_configuration
    _check(self.lib.libusb_set_configuration(dev_handle.handle, config_value))
  File "/usr/lib/python3/dist-packages/usb/backend/libusb1.py", line 604, in _check
    raise USBError(_strerror(ret), ret, _libusb_errno[ret])
usb.core.USBError: [Errno 16] Resource busy

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/share/AKBL/BlockTesting/BlockTesting.py", line 265, in on_button_block_make_test_clicked
    self.__controller.add_reset_line(self.__computer.reset_all_lights_on)
  File "/usr/lib/python3.12/AKBL/Engine/Controller.py", line 87, in add_reset_line
    self.__driver.take_over()
  File "/usr/lib/python3/AKBL/Engine/Driver.py", line 119, in take_over
    self.__usb_device.detach_kernel_driver(0)
  File "/usr/lib/python3/dist-packages/usb/core.py", line 1121, in detach_kernel_driver
    self._ctx.backend.detach_kernel_driver(
  File "/usr/lib/python3/dist-packages/usb/backend/libusb1.py", line 920, in detach_kernel_driver
    _check(self.lib.libusb_detach_kernel_driver(dev_handle.handle, intf))
  File "/usr/lib/python3/dist-packages/usb/backend/libusb1.py", line 604, in _check
    raise USBError(_strerror(ret), ret, _libusb_errno[ret])
usb.core.USBError: [Errno 2] Entity not found

[TEST]: areaitem: 128    mode:fixed  speed:100   color1:#000000  color2: #000000

Traceback (most recent call last):
  File "/usr/lib/python3/AKBL/Engine/Driver.py", line 117, in take_over
    self.__usb_device.set_configuration()
  File "/usr/lib/python3/dist-packages/usb/core.py", line 915, in set_configuration
    self._ctx.managed_set_configuration(self, configuration)
  File "/usr/lib/python3/dist-packages/usb/core.py", line 113, in wrapper
    return f(self, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/usb/core.py", line 159, in managed_set_configuration
    self.backend.set_configuration(self.handle, cfg.bConfigurationValue)
  File "/usr/lib/python3/dist-packages/usb/backend/libusb1.py", line 812, in set_configuration
    _check(self.lib.libusb_set_configuration(dev_handle.handle, config_value))
  File "/usr/lib/python3/dist-packages/usb/backend/libusb1.py", line 604, in _check
    raise USBError(_strerror(ret), ret, _libusb_errno[ret])
usb.core.USBError: [Errno 16] Resource busy

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/share/AKBL/BlockTesting/BlockTesting.py", line 265, in on_button_block_make_test_clicked
    self.__controller.add_reset_line(self.__computer.reset_all_lights_on)
  File "/usr/lib/python3.12/AKBL/Engine/Controller.py", line 87, in add_reset_line
    self.__driver.take_over()
  File "/usr/lib/python3/AKBL/Engine/Driver.py", line 119, in take_over
    self.__usb_device.detach_kernel_driver(0)
  File "/usr/lib/python3/dist-packages/usb/core.py", line 1121, in detach_kernel_driver
    self._ctx.backend.detach_kernel_driver(
  File "/usr/lib/python3/dist-packages/usb/backend/libusb1.py", line 920, in detach_kernel_driver
    _check(self.lib.libusb_detach_kernel_driver(dev_handle.handle, intf))
  File "/usr/lib/python3/dist-packages/usb/backend/libusb1.py", line 604, in _check
    raise USBError(_strerror(ret), ret, _libusb_errno[ret])
usb.core.USBError: [Errno 2] Entity not found

[TEST]: areaitem: 256    mode:fixed  speed:100   color1:#000000  color2: #000000

Traceback (most recent call last):
  File "/usr/lib/python3/AKBL/Engine/Driver.py", line 117, in take_over
    self.__usb_device.set_configuration()
  File "/usr/lib/python3/dist-packages/usb/core.py", line 915, in set_configuration
    self._ctx.managed_set_configuration(self, configuration)
  File "/usr/lib/python3/dist-packages/usb/core.py", line 113, in wrapper
    return f(self, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/usb/core.py", line 159, in managed_set_configuration
    self.backend.set_configuration(self.handle, cfg.bConfigurationValue)
  File "/usr/lib/python3/dist-packages/usb/backend/libusb1.py", line 812, in set_configuration
    _check(self.lib.libusb_set_configuration(dev_handle.handle, config_value))
  File "/usr/lib/python3/dist-packages/usb/backend/libusb1.py", line 604, in _check
    raise USBError(_strerror(ret), ret, _libusb_errno[ret])
usb.core.USBError: [Errno 16] Resource busy

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/share/AKBL/BlockTesting/BlockTesting.py", line 265, in on_button_block_make_test_clicked
    self.__controller.add_reset_line(self.__computer.reset_all_lights_on)
  File "/usr/lib/python3.12/AKBL/Engine/Controller.py", line 87, in add_reset_line
    self.__driver.take_over()
  File "/usr/lib/python3/AKBL/Engine/Driver.py", line 119, in take_over
    self.__usb_device.detach_kernel_driver(0)
  File "/usr/lib/python3/dist-packages/usb/core.py", line 1121, in detach_kernel_driver
    self._ctx.backend.detach_kernel_driver(
  File "/usr/lib/python3/dist-packages/usb/backend/libusb1.py", line 920, in detach_kernel_driver
    _check(self.lib.libusb_detach_kernel_driver(dev_handle.handle, intf))
  File "/usr/lib/python3/dist-packages/usb/backend/libusb1.py", line 604, in _check
    raise USBError(_strerror(ret), ret, _libusb_errno[ret])
usb.core.USBError: [Errno 2] Entity not found

[TEST]: areaitem: 512    mode:fixed  speed:100   color1:#000000  color2: #000000

Traceback (most recent call last):
  File "/usr/lib/python3/AKBL/Engine/Driver.py", line 117, in take_over
    self.__usb_device.set_configuration()
  File "/usr/lib/python3/dist-packages/usb/core.py", line 915, in set_configuration
    self._ctx.managed_set_configuration(self, configuration)
  File "/usr/lib/python3/dist-packages/usb/core.py", line 113, in wrapper
    return f(self, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/usb/core.py", line 159, in managed_set_configuration
    self.backend.set_configuration(self.handle, cfg.bConfigurationValue)
  File "/usr/lib/python3/dist-packages/usb/backend/libusb1.py", line 812, in set_configuration
    _check(self.lib.libusb_set_configuration(dev_handle.handle, config_value))
  File "/usr/lib/python3/dist-packages/usb/backend/libusb1.py", line 604, in _check
    raise USBError(_strerror(ret), ret, _libusb_errno[ret])
usb.core.USBError: [Errno 16] Resource busy

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/share/AKBL/BlockTesting/BlockTesting.py", line 265, in on_button_block_make_test_clicked
    self.__controller.add_reset_line(self.__computer.reset_all_lights_on)
  File "/usr/lib/python3.12/AKBL/Engine/Controller.py", line 87, in add_reset_line
    self.__driver.take_over()
  File "/usr/lib/python3/AKBL/Engine/Driver.py", line 119, in take_over
    self.__usb_device.detach_kernel_driver(0)
  File "/usr/lib/python3/dist-packages/usb/core.py", line 1121, in detach_kernel_driver
    self._ctx.backend.detach_kernel_driver(
  File "/usr/lib/python3/dist-packages/usb/backend/libusb1.py", line 920, in detach_kernel_driver
    _check(self.lib.libusb_detach_kernel_driver(dev_handle.handle, intf))
  File "/usr/lib/python3/dist-packages/usb/backend/libusb1.py", line 604, in _check
    raise USBError(_strerror(ret), ret, _libusb_errno[ret])
usb.core.USBError: [Errno 2] Entity not found

[TEST]: areaitem: 1024   mode:fixed  speed:100   color1:#000000  color2: #000000

Traceback (most recent call last):
  File "/usr/lib/python3/AKBL/Engine/Driver.py", line 117, in take_over
    self.__usb_device.set_configuration()
  File "/usr/lib/python3/dist-packages/usb/core.py", line 915, in set_configuration
    self._ctx.managed_set_configuration(self, configuration)
  File "/usr/lib/python3/dist-packages/usb/core.py", line 113, in wrapper
    return f(self, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/usb/core.py", line 159, in managed_set_configuration
    self.backend.set_configuration(self.handle, cfg.bConfigurationValue)
  File "/usr/lib/python3/dist-packages/usb/backend/libusb1.py", line 812, in set_configuration
    _check(self.lib.libusb_set_configuration(dev_handle.handle, config_value))
  File "/usr/lib/python3/dist-packages/usb/backend/libusb1.py", line 604, in _check
    raise USBError(_strerror(ret), ret, _libusb_errno[ret])
usb.core.USBError: [Errno 16] Resource busy

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/share/AKBL/BlockTesting/BlockTesting.py", line 265, in on_button_block_make_test_clicked
    self.__controller.add_reset_line(self.__computer.reset_all_lights_on)
  File "/usr/lib/python3.12/AKBL/Engine/Controller.py", line 87, in add_reset_line
    self.__driver.take_over()
  File "/usr/lib/python3/AKBL/Engine/Driver.py", line 119, in take_over
    self.__usb_device.detach_kernel_driver(0)
  File "/usr/lib/python3/dist-packages/usb/core.py", line 1121, in detach_kernel_driver
    self._ctx.backend.detach_kernel_driver(
  File "/usr/lib/python3/dist-packages/usb/backend/libusb1.py", line 920, in detach_kernel_driver
    _check(self.lib.libusb_detach_kernel_driver(dev_handle.handle, intf))
  File "/usr/lib/python3/dist-packages/usb/backend/libusb1.py", line 604, in _check
    raise USBError(_strerror(ret), ret, _libusb_errno[ret])
usb.core.USBError: [Errno 2] Entity not found

[TEST]: areaitem: 2048   mode:fixed  speed:100   color1:#000000  color2: #000000

Traceback (most recent call last):
  File "/usr/lib/python3/AKBL/Engine/Driver.py", line 117, in take_over
    self.__usb_device.set_configuration()
  File "/usr/lib/python3/dist-packages/usb/core.py", line 915, in set_configuration
    self._ctx.managed_set_configuration(self, configuration)
  File "/usr/lib/python3/dist-packages/usb/core.py", line 113, in wrapper
    return f(self, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/usb/core.py", line 159, in managed_set_configuration
    self.backend.set_configuration(self.handle, cfg.bConfigurationValue)
  File "/usr/lib/python3/dist-packages/usb/backend/libusb1.py", line 812, in set_configuration
    _check(self.lib.libusb_set_configuration(dev_handle.handle, config_value))
  File "/usr/lib/python3/dist-packages/usb/backend/libusb1.py", line 604, in _check
    raise USBError(_strerror(ret), ret, _libusb_errno[ret])
usb.core.USBError: [Errno 16] Resource busy

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/share/AKBL/BlockTesting/BlockTesting.py", line 265, in on_button_block_make_test_clicked
    self.__controller.add_reset_line(self.__computer.reset_all_lights_on)
  File "/usr/lib/python3.12/AKBL/Engine/Controller.py", line 87, in add_reset_line
    self.__driver.take_over()
  File "/usr/lib/python3/AKBL/Engine/Driver.py", line 119, in take_over
    self.__usb_device.detach_kernel_driver(0)
  File "/usr/lib/python3/dist-packages/usb/core.py", line 1121, in detach_kernel_driver
    self._ctx.backend.detach_kernel_driver(
  File "/usr/lib/python3/dist-packages/usb/backend/libusb1.py", line 920, in detach_kernel_driver
    _check(self.lib.libusb_detach_kernel_driver(dev_handle.handle, intf))
  File "/usr/lib/python3/dist-packages/usb/backend/libusb1.py", line 604, in _check
    raise USBError(_strerror(ret), ret, _libusb_errno[ret])
usb.core.USBError: [Errno 2] Entity not found

[TEST]: areaitem: 4096   mode:fixed  speed:100   color1:#000000  color2: #000000

Traceback (most recent call last):
  File "/usr/lib/python3/AKBL/Engine/Driver.py", line 117, in take_over
    self.__usb_device.set_configuration()
  File "/usr/lib/python3/dist-packages/usb/core.py", line 915, in set_configuration
    self._ctx.managed_set_configuration(self, configuration)
  File "/usr/lib/python3/dist-packages/usb/core.py", line 113, in wrapper
    return f(self, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/usb/core.py", line 159, in managed_set_configuration
    self.backend.set_configuration(self.handle, cfg.bConfigurationValue)
  File "/usr/lib/python3/dist-packages/usb/backend/libusb1.py", line 812, in set_configuration
    _check(self.lib.libusb_set_configuration(dev_handle.handle, config_value))
  File "/usr/lib/python3/dist-packages/usb/backend/libusb1.py", line 604, in _check
    raise USBError(_strerror(ret), ret, _libusb_errno[ret])
usb.core.USBError: [Errno 16] Resource busy

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/share/AKBL/BlockTesting/BlockTesting.py", line 265, in on_button_block_make_test_clicked
    self.__controller.add_reset_line(self.__computer.reset_all_lights_on)
  File "/usr/lib/python3.12/AKBL/Engine/Controller.py", line 87, in add_reset_line
    self.__driver.take_over()
  File "/usr/lib/python3/AKBL/Engine/Driver.py", line 119, in take_over
    self.__usb_device.detach_kernel_driver(0)
  File "/usr/lib/python3/dist-packages/usb/core.py", line 1121, in detach_kernel_driver
    self._ctx.backend.detach_kernel_driver(
  File "/usr/lib/python3/dist-packages/usb/backend/libusb1.py", line 920, in detach_kernel_driver
    _check(self.lib.libusb_detach_kernel_driver(dev_handle.handle, intf))
  File "/usr/lib/python3/dist-packages/usb/backend/libusb1.py", line 604, in _check
    raise USBError(_strerror(ret), ret, _libusb_errno[ret])
usb.core.USBError: [Errno 2] Entity not found

[TEST]: areaitem: 8192   mode:fixed  speed:100   color1:#000000  color2: #000000

Traceback (most recent call last):
  File "/usr/lib/python3/AKBL/Engine/Driver.py", line 117, in take_over
    self.__usb_device.set_configuration()
  File "/usr/lib/python3/dist-packages/usb/core.py", line 915, in set_configuration
    self._ctx.managed_set_configuration(self, configuration)
  File "/usr/lib/python3/dist-packages/usb/core.py", line 113, in wrapper
    return f(self, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/usb/core.py", line 159, in managed_set_configuration
    self.backend.set_configuration(self.handle, cfg.bConfigurationValue)
  File "/usr/lib/python3/dist-packages/usb/backend/libusb1.py", line 812, in set_configuration
    _check(self.lib.libusb_set_configuration(dev_handle.handle, config_value))
  File "/usr/lib/python3/dist-packages/usb/backend/libusb1.py", line 604, in _check
    raise USBError(_strerror(ret), ret, _libusb_errno[ret])
usb.core.USBError: [Errno 16] Resource busy

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/share/AKBL/BlockTesting/BlockTesting.py", line 265, in on_button_block_make_test_clicked
    self.__controller.add_reset_line(self.__computer.reset_all_lights_on)
  File "/usr/lib/python3.12/AKBL/Engine/Controller.py", line 87, in add_reset_line
    self.__driver.take_over()
  File "/usr/lib/python3/AKBL/Engine/Driver.py", line 119, in take_over
    self.__usb_device.detach_kernel_driver(0)
  File "/usr/lib/python3/dist-packages/usb/core.py", line 1121, in detach_kernel_driver
    self._ctx.backend.detach_kernel_driver(
  File "/usr/lib/python3/dist-packages/usb/backend/libusb1.py", line 920, in detach_kernel_driver
    _check(self.lib.libusb_detach_kernel_driver(dev_handle.handle, intf))
  File "/usr/lib/python3/dist-packages/usb/backend/libusb1.py", line 604, in _check
    raise USBError(_strerror(ret), ret, _libusb_errno[ret])
usb.core.USBError: [Errno 2] Entity not found

[TEST]: areaitem: 16384  mode:fixed  speed:100   color1:#000000  color2: #000000

Traceback (most recent call last):
  File "/usr/lib/python3/AKBL/Engine/Driver.py", line 117, in take_over
    self.__usb_device.set_configuration()
  File "/usr/lib/python3/dist-packages/usb/core.py", line 915, in set_configuration
    self._ctx.managed_set_configuration(self, configuration)
  File "/usr/lib/python3/dist-packages/usb/core.py", line 113, in wrapper
    return f(self, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/usb/core.py", line 159, in managed_set_configuration
    self.backend.set_configuration(self.handle, cfg.bConfigurationValue)
  File "/usr/lib/python3/dist-packages/usb/backend/libusb1.py", line 812, in set_configuration
    _check(self.lib.libusb_set_configuration(dev_handle.handle, config_value))
  File "/usr/lib/python3/dist-packages/usb/backend/libusb1.py", line 604, in _check
    raise USBError(_strerror(ret), ret, _libusb_errno[ret])
usb.core.USBError: [Errno 16] Resource busy

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/share/AKBL/BlockTesting/BlockTesting.py", line 265, in on_button_block_make_test_clicked
    self.__controller.add_reset_line(self.__computer.reset_all_lights_on)
  File "/usr/lib/python3.12/AKBL/Engine/Controller.py", line 87, in add_reset_line
    self.__driver.take_over()
  File "/usr/lib/python3/AKBL/Engine/Driver.py", line 119, in take_over
    self.__usb_device.detach_kernel_driver(0)
  File "/usr/lib/python3/dist-packages/usb/core.py", line 1121, in detach_kernel_driver
    self._ctx.backend.detach_kernel_driver(
  File "/usr/lib/python3/dist-packages/usb/backend/libusb1.py", line 920, in detach_kernel_driver
    _check(self.lib.libusb_detach_kernel_driver(dev_handle.handle, intf))
  File "/usr/lib/python3/dist-packages/usb/backend/libusb1.py", line 604, in _check
    raise USBError(_strerror(ret), ret, _libusb_errno[ret])
usb.core.USBError: [Errno 2] Entity not found

[TEST]: areaitem: 131072     mode:fixed  speed:100   color1:#000000  color2: #000000

Traceback (most recent call last):
  File "/usr/lib/python3/AKBL/Engine/Driver.py", line 117, in take_over
    self.__usb_device.set_configuration()
  File "/usr/lib/python3/dist-packages/usb/core.py", line 915, in set_configuration
    self._ctx.managed_set_configuration(self, configuration)
  File "/usr/lib/python3/dist-packages/usb/core.py", line 113, in wrapper
    return f(self, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/usb/core.py", line 159, in managed_set_configuration
    self.backend.set_configuration(self.handle, cfg.bConfigurationValue)
  File "/usr/lib/python3/dist-packages/usb/backend/libusb1.py", line 812, in set_configuration
    _check(self.lib.libusb_set_configuration(dev_handle.handle, config_value))
  File "/usr/lib/python3/dist-packages/usb/backend/libusb1.py", line 604, in _check
    raise USBError(_strerror(ret), ret, _libusb_errno[ret])
usb.core.USBError: [Errno 16] Resource busy

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/share/AKBL/BlockTesting/BlockTesting.py", line 265, in on_button_block_make_test_clicked
    self.__controller.add_reset_line(self.__computer.reset_all_lights_on)
  File "/usr/lib/python3.12/AKBL/Engine/Controller.py", line 87, in add_reset_line
    self.__driver.take_over()
  File "/usr/lib/python3/AKBL/Engine/Driver.py", line 119, in take_over
    self.__usb_device.detach_kernel_driver(0)
  File "/usr/lib/python3/dist-packages/usb/core.py", line 1121, in detach_kernel_driver
    self._ctx.backend.detach_kernel_driver(
  File "/usr/lib/python3/dist-packages/usb/backend/libusb1.py", line 920, in detach_kernel_driver
    _check(self.lib.libusb_detach_kernel_driver(dev_handle.handle, intf))
  File "/usr/lib/python3/dist-packages/usb/backend/libusb1.py", line 604, in _check
    raise USBError(_strerror(ret), ret, _libusb_errno[ret])
usb.core.USBError: [Errno 2] Entity not found

[TEST]: areaitem: 262144     mode:fixed  speed:100   color1:#000000  color2: #000000

Traceback (most recent call last):
  File "/usr/lib/python3/AKBL/Engine/Driver.py", line 117, in take_over
    self.__usb_device.set_configuration()
  File "/usr/lib/python3/dist-packages/usb/core.py", line 915, in set_configuration
    self._ctx.managed_set_configuration(self, configuration)
  File "/usr/lib/python3/dist-packages/usb/core.py", line 113, in wrapper
    return f(self, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/usb/core.py", line 159, in managed_set_configuration
    self.backend.set_configuration(self.handle, cfg.bConfigurationValue)
  File "/usr/lib/python3/dist-packages/usb/backend/libusb1.py", line 812, in set_configuration
    _check(self.lib.libusb_set_configuration(dev_handle.handle, config_value))
  File "/usr/lib/python3/dist-packages/usb/backend/libusb1.py", line 604, in _check
    raise USBError(_strerror(ret), ret, _libusb_errno[ret])
usb.core.USBError: [Errno 16] Resource busy

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/share/AKBL/BlockTesting/BlockTesting.py", line 265, in on_button_block_make_test_clicked
    self.__controller.add_reset_line(self.__computer.reset_all_lights_on)
  File "/usr/lib/python3.12/AKBL/Engine/Controller.py", line 87, in add_reset_line
    self.__driver.take_over()
  File "/usr/lib/python3/AKBL/Engine/Driver.py", line 119, in take_over
    self.__usb_device.detach_kernel_driver(0)
  File "/usr/lib/python3/dist-packages/usb/core.py", line 1121, in detach_kernel_driver
    self._ctx.backend.detach_kernel_driver(
  File "/usr/lib/python3/dist-packages/usb/backend/libusb1.py", line 920, in detach_kernel_driver
    _check(self.lib.libusb_detach_kernel_driver(dev_handle.handle, intf))
  File "/usr/lib/python3/dist-packages/usb/backend/libusb1.py", line 604, in _check
    raise USBError(_strerror(ret), ret, _libusb_errno[ret])
usb.core.USBError: [Errno 2] Entity not found

[TEST]: areaitem: 524288     mode:fixed  speed:100   color1:#000000  color2: #000000

Traceback (most recent call last):
  File "/usr/lib/python3/AKBL/Engine/Driver.py", line 117, in take_over
    self.__usb_device.set_configuration()
  File "/usr/lib/python3/dist-packages/usb/core.py", line 915, in set_configuration
    self._ctx.managed_set_configuration(self, configuration)
  File "/usr/lib/python3/dist-packages/usb/core.py", line 113, in wrapper
    return f(self, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/usb/core.py", line 159, in managed_set_configuration
    self.backend.set_configuration(self.handle, cfg.bConfigurationValue)
  File "/usr/lib/python3/dist-packages/usb/backend/libusb1.py", line 812, in set_configuration
    _check(self.lib.libusb_set_configuration(dev_handle.handle, config_value))
  File "/usr/lib/python3/dist-packages/usb/backend/libusb1.py", line 604, in _check
    raise USBError(_strerror(ret), ret, _libusb_errno[ret])
usb.core.USBError: [Errno 16] Resource busy

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/share/AKBL/BlockTesting/BlockTesting.py", line 265, in on_button_block_make_test_clicked
    self.__controller.add_reset_line(self.__computer.reset_all_lights_on)
  File "/usr/lib/python3.12/AKBL/Engine/Controller.py", line 87, in add_reset_line
    self.__driver.take_over()
  File "/usr/lib/python3/AKBL/Engine/Driver.py", line 119, in take_over
    self.__usb_device.detach_kernel_driver(0)
  File "/usr/lib/python3/dist-packages/usb/core.py", line 1121, in detach_kernel_driver
    self._ctx.backend.detach_kernel_driver(
  File "/usr/lib/python3/dist-packages/usb/backend/libusb1.py", line 920, in detach_kernel_driver
    _check(self.lib.libusb_detach_kernel_driver(dev_handle.handle, intf))
  File "/usr/lib/python3/dist-packages/usb/backend/libusb1.py", line 604, in _check
    raise USBError(_strerror(ret), ret, _libusb_errno[ret])
usb.core.USBError: [Errno 2] Entity not found

[TEST]: areaitem: 1048476    mode:fixed  speed:100   color1:#000000  color2: #000000

Traceback (most recent call last):
  File "/usr/lib/python3/AKBL/Engine/Driver.py", line 117, in take_over
    self.__usb_device.set_configuration()
  File "/usr/lib/python3/dist-packages/usb/core.py", line 915, in set_configuration
    self._ctx.managed_set_configuration(self, configuration)
  File "/usr/lib/python3/dist-packages/usb/core.py", line 113, in wrapper
    return f(self, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/usb/core.py", line 159, in managed_set_configuration
    self.backend.set_configuration(self.handle, cfg.bConfigurationValue)
  File "/usr/lib/python3/dist-packages/usb/backend/libusb1.py", line 812, in set_configuration
    _check(self.lib.libusb_set_configuration(dev_handle.handle, config_value))
  File "/usr/lib/python3/dist-packages/usb/backend/libusb1.py", line 604, in _check
    raise USBError(_strerror(ret), ret, _libusb_errno[ret])
usb.core.USBError: [Errno 16] Resource busy

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/share/AKBL/BlockTesting/BlockTesting.py", line 265, in on_button_block_make_test_clicked
    self.__controller.add_reset_line(self.__computer.reset_all_lights_on)
  File "/usr/lib/python3.12/AKBL/Engine/Controller.py", line 87, in add_reset_line
    self.__driver.take_over()
  File "/usr/lib/python3/AKBL/Engine/Driver.py", line 119, in take_over
    self.__usb_device.detach_kernel_driver(0)
  File "/usr/lib/python3/dist-packages/usb/core.py", line 1121, in detach_kernel_driver
    self._ctx.backend.detach_kernel_driver(
  File "/usr/lib/python3/dist-packages/usb/backend/libusb1.py", line 920, in detach_kernel_driver
    _check(self.lib.libusb_detach_kernel_driver(dev_handle.handle, intf))
  File "/usr/lib/python3/dist-packages/usb/backend/libusb1.py", line 604, in _check
    raise USBError(_strerror(ret), ret, _libusb_errno[ret])
usb.core.USBError: [Errno 2] Entity not found

[TEST]: areaitem: 2097152    mode:fixed  speed:100   color1:#000000  color2: #000000

Traceback (most recent call last):
  File "/usr/lib/python3/AKBL/Engine/Driver.py", line 117, in take_over
    self.__usb_device.set_configuration()
  File "/usr/lib/python3/dist-packages/usb/core.py", line 915, in set_configuration
    self._ctx.managed_set_configuration(self, configuration)
  File "/usr/lib/python3/dist-packages/usb/core.py", line 113, in wrapper
    return f(self, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/usb/core.py", line 159, in managed_set_configuration
    self.backend.set_configuration(self.handle, cfg.bConfigurationValue)
  File "/usr/lib/python3/dist-packages/usb/backend/libusb1.py", line 812, in set_configuration
    _check(self.lib.libusb_set_configuration(dev_handle.handle, config_value))
  File "/usr/lib/python3/dist-packages/usb/backend/libusb1.py", line 604, in _check
    raise USBError(_strerror(ret), ret, _libusb_errno[ret])
usb.core.USBError: [Errno 16] Resource busy

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/share/AKBL/BlockTesting/BlockTesting.py", line 265, in on_button_block_make_test_clicked
    self.__controller.add_reset_line(self.__computer.reset_all_lights_on)
  File "/usr/lib/python3.12/AKBL/Engine/Controller.py", line 87, in add_reset_line
    self.__driver.take_over()
  File "/usr/lib/python3/AKBL/Engine/Driver.py", line 119, in take_over
    self.__usb_device.detach_kernel_driver(0)
  File "/usr/lib/python3/dist-packages/usb/core.py", line 1121, in detach_kernel_driver
    self._ctx.backend.detach_kernel_driver(
  File "/usr/lib/python3/dist-packages/usb/backend/libusb1.py", line 920, in detach_kernel_driver
    _check(self.lib.libusb_detach_kernel_driver(dev_handle.handle, intf))
  File "/usr/lib/python3/dist-packages/usb/backend/libusb1.py", line 604, in _check
    raise USBError(_strerror(ret), ret, _libusb_errno[ret])
usb.core.USBError: [Errno 2] Entity not found

[TEST]: areaitem: 4194304    mode:fixed  speed:100   color1:#000000  color2: #000000

Traceback (most recent call last):
  File "/usr/lib/python3/AKBL/Engine/Driver.py", line 117, in take_over
    self.__usb_device.set_configuration()
  File "/usr/lib/python3/dist-packages/usb/core.py", line 915, in set_configuration
    self._ctx.managed_set_configuration(self, configuration)
  File "/usr/lib/python3/dist-packages/usb/core.py", line 113, in wrapper
    return f(self, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/usb/core.py", line 159, in managed_set_configuration
    self.backend.set_configuration(self.handle, cfg.bConfigurationValue)
  File "/usr/lib/python3/dist-packages/usb/backend/libusb1.py", line 812, in set_configuration
    _check(self.lib.libusb_set_configuration(dev_handle.handle, config_value))
  File "/usr/lib/python3/dist-packages/usb/backend/libusb1.py", line 604, in _check
    raise USBError(_strerror(ret), ret, _libusb_errno[ret])
usb.core.USBError: [Errno 16] Resource busy

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/share/AKBL/BlockTesting/BlockTesting.py", line 265, in on_button_block_make_test_clicked
    self.__controller.add_reset_line(self.__computer.reset_all_lights_on)
  File "/usr/lib/python3.12/AKBL/Engine/Controller.py", line 87, in add_reset_line
    self.__driver.take_over()
  File "/usr/lib/python3/AKBL/Engine/Driver.py", line 119, in take_over
    self.__usb_device.detach_kernel_driver(0)
  File "/usr/lib/python3/dist-packages/usb/core.py", line 1121, in detach_kernel_driver
    self._ctx.backend.detach_kernel_driver(
  File "/usr/lib/python3/dist-packages/usb/backend/libusb1.py", line 920, in detach_kernel_driver
    _check(self.lib.libusb_detach_kernel_driver(dev_handle.handle, intf))
  File "/usr/lib/python3/dist-packages/usb/backend/libusb1.py", line 604, in _check
    raise USBError(_strerror(ret), ret, _libusb_errno[ret])
usb.core.USBError: [Errno 2] Entity not found

[TEST]: areaitem: 4194304    mode:fixed  speed:100   color1:#000000  color2: #000000

Traceback (most recent call last):
  File "/usr/lib/python3/AKBL/Engine/Driver.py", line 117, in take_over
    self.__usb_device.set_configuration()
  File "/usr/lib/python3/dist-packages/usb/core.py", line 915, in set_configuration
    self._ctx.managed_set_configuration(self, configuration)
  File "/usr/lib/python3/dist-packages/usb/core.py", line 113, in wrapper
    return f(self, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/usb/core.py", line 159, in managed_set_configuration
    self.backend.set_configuration(self.handle, cfg.bConfigurationValue)
  File "/usr/lib/python3/dist-packages/usb/backend/libusb1.py", line 812, in set_configuration
    _check(self.lib.libusb_set_configuration(dev_handle.handle, config_value))
  File "/usr/lib/python3/dist-packages/usb/backend/libusb1.py", line 604, in _check
    raise USBError(_strerror(ret), ret, _libusb_errno[ret])
usb.core.USBError: [Errno 16] Resource busy

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/share/AKBL/BlockTesting/BlockTesting.py", line 265, in on_button_block_make_test_clicked
    self.__controller.add_reset_line(self.__computer.reset_all_lights_on)
  File "/usr/lib/python3.12/AKBL/Engine/Controller.py", line 87, in add_reset_line
    self.__driver.take_over()
  File "/usr/lib/python3/AKBL/Engine/Driver.py", line 119, in take_over
    self.__usb_device.detach_kernel_driver(0)
  File "/usr/lib/python3/dist-packages/usb/core.py", line 1121, in detach_kernel_driver
    self._ctx.backend.detach_kernel_driver(
  File "/usr/lib/python3/dist-packages/usb/backend/libusb1.py", line 920, in detach_kernel_driver
    _check(self.lib.libusb_detach_kernel_driver(dev_handle.handle, intf))
  File "/usr/lib/python3/dist-packages/usb/backend/libusb1.py", line 604, in _check
    raise USBError(_strerror(ret), ret, _libusb_errno[ret])
usb.core.USBError: [Errno 2] Entity not found

Traceback (most recent call last):
  File "/usr/lib/python3/AKBL/Engine/Driver.py", line 117, in take_over
    self.__usb_device.set_configuration()
  File "/usr/lib/python3/dist-packages/usb/core.py", line 915, in set_configuration
    self._ctx.managed_set_configuration(self, configuration)
  File "/usr/lib/python3/dist-packages/usb/core.py", line 113, in wrapper
    return f(self, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/usb/core.py", line 159, in managed_set_configuration
    self.backend.set_configuration(self.handle, cfg.bConfigurationValue)
  File "/usr/lib/python3/dist-packages/usb/backend/libusb1.py", line 812, in set_configuration
    _check(self.lib.libusb_set_configuration(dev_handle.handle, config_value))
  File "/usr/lib/python3/dist-packages/usb/backend/libusb1.py", line 604, in _check
    raise USBError(_strerror(ret), ret, _libusb_errno[ret])
usb.core.USBError: [Errno 16] Resource busy

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/share/AKBL/BlockTesting/BlockTesting.py", line 283, in on_button_block_testing_lights_off_clicked
    self.__controller.add_reset_line(self.__computer.reset_all_lights_off)
  File "/usr/lib/python3.12/AKBL/Engine/Controller.py", line 87, in add_reset_line
    self.__driver.take_over()
  File "/usr/lib/python3/AKBL/Engine/Driver.py", line 119, in take_over
    self.__usb_device.detach_kernel_driver(0)
  File "/usr/lib/python3/dist-packages/usb/core.py", line 1121, in detach_kernel_driver
    self._ctx.backend.detach_kernel_driver(
  File "/usr/lib/python3/dist-packages/usb/backend/libusb1.py", line 920, in detach_kernel_driver
    _check(self.lib.libusb_detach_kernel_driver(dev_handle.handle, intf))
  File "/usr/lib/python3/dist-packages/usb/backend/libusb1.py", line 604, in _check
    raise USBError(_strerror(ret), ret, _libusb_errno[ret])
usb.core.USBError: [Errno 2] Entity not found
[TEST]: areaitem: 1  mode:fixed  speed:100   color1:#000000  color2: #000000

Traceback (most recent call last):
  File "/usr/lib/python3/AKBL/Engine/Driver.py", line 117, in take_over
    self.__usb_device.set_configuration()
  File "/usr/lib/python3/dist-packages/usb/core.py", line 915, in set_configuration
    self._ctx.managed_set_configuration(self, configuration)
  File "/usr/lib/python3/dist-packages/usb/core.py", line 113, in wrapper
    return f(self, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/usb/core.py", line 159, in managed_set_configuration
    self.backend.set_configuration(self.handle, cfg.bConfigurationValue)
  File "/usr/lib/python3/dist-packages/usb/backend/libusb1.py", line 812, in set_configuration
    _check(self.lib.libusb_set_configuration(dev_handle.handle, config_value))
  File "/usr/lib/python3/dist-packages/usb/backend/libusb1.py", line 604, in _check
    raise USBError(_strerror(ret), ret, _libusb_errno[ret])
usb.core.USBError: [Errno 16] Resource busy

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/share/AKBL/BlockTesting/BlockTesting.py", line 265, in on_button_block_make_test_clicked
    self.__controller.add_reset_line(self.__computer.reset_all_lights_on)
  File "/usr/lib/python3.12/AKBL/Engine/Controller.py", line 87, in add_reset_line
    self.__driver.take_over()
  File "/usr/lib/python3/AKBL/Engine/Driver.py", line 119, in take_over
    self.__usb_device.detach_kernel_driver(0)
  File "/usr/lib/python3/dist-packages/usb/core.py", line 1121, in detach_kernel_driver
    self._ctx.backend.detach_kernel_driver(
  File "/usr/lib/python3/dist-packages/usb/backend/libusb1.py", line 920, in detach_kernel_driver
    _check(self.lib.libusb_detach_kernel_driver(dev_handle.handle, intf))
  File "/usr/lib/python3/dist-packages/usb/backend/libusb1.py", line 604, in _check
    raise USBError(_strerror(ret), ret, _libusb_errno[ret])
usb.core.USBError: [Errno 2] Entity not found
rsm-gh commented 1 day ago

Hello @Freedom9339 ,

I just fixed the error on line 160 but that's a minor issue here, the usb.core.USBError will not let you use the software, and I can not debug it from my computer.

You could try by using the USB lib directly,

Best regards, rsm