Zigbee coordinator removed from RPi when zigbee2mqtt addon started

Hi. I have been running zigbee2mqtt via hass os on my RPi3. It worked fine, but today it stopped with the error message of Zigbee2MQTT:error 2021-07-01 09:23:00: Error: Failed to connect to the adapter (Error: SRSP - SYS - ping after 6000ms). I have seen this one when USB ports changed or something, so I powered off RPi and connected my cc2531 to RPi. The green LED light starts working and I see in the system logs that it’s added as usual. But then, when I start the zigbee2mqtt addon, the USB stick is disconnected exactly when zigbee2mqtt logs show that it’s trying to connect to it, almost like killing it!

21-07-01 09:21:51 INFO (MainThread) [supervisor.hardware.monitor] Detecting HardwareAction.ADD usb hardware /dev/bus/usb/001/008
21-07-01 09:21:51 INFO (MainThread) [supervisor.hardware.monitor] Detecting HardwareAction.ADD serial hardware /dev/ttyACM0 - /dev/serial/by-id/usb-Texas_Instruments_TI_CC2531_USB_CDC___0X00124B001CD6EA1E-if00
21-07-01 09:22:18 INFO (SyncWorker_2) [supervisor.docker.addon] Starting Docker add-on zigbee2mqtt/zigbee2mqtt-aarch64 with version 1.19.1-1
21-07-01 09:22:41 INFO (MainThread) [supervisor.hardware.monitor] Detecting HardwareAction.REMOVE serial hardware /dev/ttyACM0 - /dev/serial/by-id/usb-Texas_Instruments_TI_CC2531_USB_CDC___0X00124B001CD6EA1E-if00
21-07-01 09:22:41 INFO (MainThread) [supervisor.hardware.monitor] Detecting HardwareAction.REMOVE usb hardware /dev/bus/usb/001/008

I am able to reproduce it 100% of the time. It also sometimes happen “out of nowhere” even when I don’t start z2m but e.g. install an addon:

21-07-01 09:36:01 INFO (SyncWorker_2) [supervisor.docker.interface] Downloading docker image zigbee2mqtt/zigbee2mqtt-edge-aarch64 with tag edge.
21-07-01 09:36:56 INFO (MainThread) [supervisor.hardware.monitor] Detecting HardwareAction.ADD usb hardware /dev/bus/usb/001/010
21-07-01 09:36:56 INFO (MainThread) [supervisor.hardware.monitor] Detecting HardwareAction.ADD serial hardware /dev/ttyACM0 - /dev/serial/by-id/usb-Texas_Instruments_TI_CC2531_USB_CDC___0X00124B001CD6EA1E-if00
21-07-01 09:37:51 INFO (MainThread) [supervisor.hardware.monitor] Detecting HardwareAction.REMOVE serial hardware /dev/ttyACM0 - /dev/serial/by-id/usb-Texas_Instruments_TI_CC2531_USB_CDC___0X00124B001CD6EA1E-if00
21-07-01 09:37:51 INFO (MainThread) [supervisor.hardware.monitor] Detecting HardwareAction.REMOVE usb hardware /dev/bus/usb/001/010

Anyone knows why? Can it be RPi power issues (it uses the top 3A charger)? Can I see a reason why the USB disconnects?

Thanks!

I reflashed the coordinator and it magically started working just fine :man_shrugging: .