avell-unofficial-control-center icon indicating copy to clipboard operation
avell-unofficial-control-center copied to clipboard

AttributeError: 'NoneType' object has no attribute 'is_kernel_driver_active'

Open caioaamaral opened this issue 4 years ago • 2 comments

Tried at avell G1544 FOX, any aucc command gives me the following error (also it keeps asking for sudo)

aucc -c green -b 4
Traceback (most recent call last):
  File "/usr/local/bin/aucc", line 11, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.5/dist-packages/aucc/main.py", line 86, in main
    control = ControlCenter(vendor_id=0x048d, product_id=0xce00)
  File "/usr/local/lib/python3.5/dist-packages/aucc/main.py", line 37, in __init__
    super(ControlCenter, self).__init__(vendor_id, product_id)
  File "/usr/local/lib/python3.5/dist-packages/aucc/core/handler.py", line 50, in __init__
    super(DeviceHandler, self).__init__(vendor_id, product_id)
  File "/usr/local/lib/python3.5/dist-packages/aucc/core/handler.py", line 16, in __init__
    self._device = self._get_device(vendor_id, product_id)
  File "/usr/local/lib/python3.5/dist-packages/aucc/core/handler.py", line 27, in _get_device
    if device.is_kernel_driver_active(1):
AttributeError: 'NoneType' object has no attribute 'is_kernel_driver_active'

caioaamaral avatar May 07 '20 23:05 caioaamaral

My bad, seems like hwinfo does not show Integrated Technology Express ITE Device(8291) in keyboard section. So G1544 FOX devices are not compatible, you may close this issue tks

caioaamaral avatar May 08 '20 00:05 caioaamaral

see #48 :)

thotty avatar Feb 07 '21 22:02 thotty