It appears that Supervisor suddenly decided to remove my Bluetooth USB device - or did it detect it appeared to have been removed and Supervisor reacted to that?
21-02-24 04:53:44 INFO (MainThread) [supervisor.hardware.monitor] Detecting HardwareAction.REMOVE usb hardware /dev/bus/usb/001/103
A quick look through the syslog
and it seems this happens fairly regularly! On the last occasion though, it did not add it back in. Looking at the incrementing numbers this seems to be happening a lot.
The final ‘ADD’ is me manually removing and reinserting the dongle.
/var/log/syslog:Feb 24 04:53:44 hassio hassio-supervisor[7409]: #033[32m21-02-24 04:53:44 INFO (MainThread) [supervisor.hardware.monitor] Detecting HardwareAction.REMOVE usb hardware /dev/bus/usb/001/103#033[0m
/var/log/syslog:Feb 24 06:53:57 hassio hassio-supervisor[7409]: #033[32m21-02-24 06:53:57 INFO (MainThread) [supervisor.hardware.monitor] Detecting HardwareAction.ADD usb hardware /dev/bus/usb/001/104#033[0m
/var/log/syslog.1:Feb 23 06:21:51 hassio hassio-supervisor[7409]: #033[32m21-02-23 06:21:51 INFO (MainThread) [supervisor.hardware.monitor] Detecting HardwareAction.REMOVE usb hardware /dev/bus/usb/001/096#033[0m
/var/log/syslog.1:Feb 23 06:21:54 hassio hassio-supervisor[7409]: #033[32m21-02-23 06:21:54 INFO (MainThread) [supervisor.hardware.monitor] Detecting HardwareAction.ADD usb hardware /dev/bus/usb/001/097#033[0m
/var/log/syslog.1:Feb 23 09:13:26 hassio hassio-supervisor[7409]: #033[32m21-02-23 09:13:26 INFO (MainThread) [supervisor.hardware.monitor] Detecting HardwareAction.REMOVE usb hardware /dev/bus/usb/001/097#033[0m
/var/log/syslog.1:Feb 23 09:13:30 hassio hassio-supervisor[7409]: #033[32m21-02-23 09:13:30 INFO (MainThread) [supervisor.hardware.monitor] Detecting HardwareAction.ADD usb hardware /dev/bus/usb/001/099#033[0m
/var/log/syslog.1:Feb 23 10:36:10 hassio hassio-supervisor[7409]: #033[32m21-02-23 10:36:10 INFO (MainThread) [supervisor.hardware.monitor] Detecting HardwareAction.REMOVE usb hardware /dev/bus/usb/001/099#033[0m
/var/log/syslog.1:Feb 23 10:36:13 hassio hassio-supervisor[7409]: #033[32m21-02-23 10:36:13 INFO (MainThread) [supervisor.hardware.monitor] Detecting HardwareAction.ADD usb hardware /dev/bus/usb/001/100#033[0m
/var/log/syslog.1:Feb 23 18:17:46 hassio hassio-supervisor[7409]: #033[32m21-02-23 18:17:46 INFO (MainThread) [supervisor.hardware.monitor] Detecting HardwareAction.REMOVE usb hardware /dev/bus/usb/001/100#033[0m
/var/log/syslog.1:Feb 23 18:17:48 hassio hassio-supervisor[7409]: #033[32m21-02-23 18:17:48 INFO (MainThread) [supervisor.hardware.monitor] Detecting HardwareAction.ADD usb hardware /dev/bus/usb/001/101#033[0m
/var/log/syslog.1:Feb 23 18:33:22 hassio hassio-supervisor[7409]: #033[32m21-02-23 18:33:22 INFO (MainThread) [supervisor.hardware.monitor] Detecting HardwareAction.REMOVE usb hardware /dev/bus/usb/001/101#033[0m
/var/log/syslog.1:Feb 23 18:33:25 hassio hassio-supervisor[7409]: #033[32m21-02-23 18:33:25 INFO (MainThread) [supervisor.hardware.monitor] Detecting HardwareAction.ADD usb hardware /dev/bus/usb/001/102#033[0m
/var/log/syslog.1:Feb 23 18:43:51 hassio hassio-supervisor[7409]: #033[32m21-02-23 18:43:51 INFO (MainThread) [supervisor.hardware.monitor] Detecting HardwareAction.REMOVE usb hardware /dev/bus/usb/001/102#033[0m
/var/log/syslog.1:Feb 23 18:43:54 hassio hassio-supervisor[7409]: #033[32m21-02-23 18:43:54 INFO (MainThread) [supervisor.hardware.monitor] Detecting HardwareAction.ADD usb hardware /dev/bus/usb/001/103#033[0m
Before I discovered what was happening, I tried a hciconfig -a
but got a bluetooth busy
response.
Having removed and reinserted the dongle, hciconfig
responds as expected.