Last month I migrated from a VM-install to the Home Assistant Blue Kit based on the Odroid N2+. I’d like to add bluetooth support and have tried with two different bluetooth usb dongles, but neither worked. The device tracker throws the following error
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/bluetooth_tracker/device_tracker.py", line 177, in update_bluetooth
await perform_bluetooth_update()
File "/usr/src/homeassistant/homeassistant/components/bluetooth_tracker/device_tracker.py", line 140, in perform_bluetooth_update
devices = await hass.async_add_executor_job(discover_devices, device_id)
File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/src/homeassistant/homeassistant/components/bluetooth_tracker/device_tracker.py", line 57, in discover_devices
result = bluetooth.discover_devices(
File "/usr/local/lib/python3.8/site-packages/bluetooth/bluez.py", line 26, in discover_devices
device_id = _bt.hci_get_route()
OSError: [Errno 19] No such device
So it seems the device just isn’t recognized. I already restarted the entire host, to no avail. When I plug in the dongle, this shows up in the logs of the host
[141826.830632] usb 1-1.2: new full-speed USB device number 5 using xhci-hcd
[141827.083187] usbcore: registered new interface driver btusb
[141827.197514] audit: type=1334 audit(1610367202.705:359): prog-id=51 op=LOAD
[141827.197656] audit: type=1334 audit(1610367202.705:360): prog-id=52 op=LOAD
[141857.441239] audit: type=1334 audit(1610367232.951:361): prog-id=52 op=UNLOAD
[141857.441248] audit: type=1334 audit(1610367232.951:362): prog-id=51 op=UNLOAD
My knowledge of Linux and therefor the host system is limited. Can anyone give me pointers on how to debug this further?