Open samuaz opened 2 years ago
Hello @samuaz ,
Mapping a light to each key is possible because AKBL has a dynamic configuration file. Then for doing that the block testing window must work. I don't know how to fix the usb.core.USBError: [Errno 16] Resource busy
problem because I cant reproduce it on my computer, but that may be caused by the LD_PRELOAD patch. Here you have some info:
Maybe removing the LD_PRELOAD for using the native libusb-1.0.so.0
will make it work. and in other cases, maybe updating the library to the last Ubuntu release will also make it work.
if you have more info please keep me updated, Best Regards, rsm
@rsm-gh thanks for the reply, i will try to fix the sb.core.USBError: [Errno 16] Resource busy and try to do the block testing.
Right now, I'm running Arch Linux.
Removing the LD_PRELOAD or replace the lib with the latest from ubuntu i get:
Traceback (most recent call last):
File "/usr/lib/python3.9/AKBL/Addons/BlockTesting/BlockTesting.py", line 206, in on_togglebutton_find_device_clicked
self._testing_driver.load_device(id_vendor=vendor, id_product=product, empty_computer=True)
File "/usr/lib/python3.9/AKBL/Engine/Driver.py", line 92, in load_device
self.take_over()
File "/usr/lib/python3.9/AKBL/Engine/Driver.py", line 145, in take_over
self._device.detach_kernel_driver(0)
File "/usr/lib/python3.9/site-packages/usb/core.py", line 1121, in detach_kernel_driver
self._ctx.backend.detach_kernel_driver(
File "/usr/lib/python3.9/site-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.9/site-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
another information is that when block testing starts detect my external alienware 510k keyboard by default instead of my laptop keyboard
i continue investigating.
Hello, thanks for the hard work.
I have an Alienware M15R3, I see there is a configuration profile for this model, but my model has a per key light keyboard, I change the colors but nothing happen.
It must be difficult to map each of the keys, but would it be possible to apply at least by zone or to the entire keyboard?
if i use the block-testing i see this Resource busy error:
Thanks.