Cc2531 doesn't start when raspberry restart

Hi, I have a raspberry pi 4 with home assistant and a cc2531 connected by usb to use zigbee2mqtt.

I have several zigbee devices and everything works fine but every time I restart the raspberry the cc2531 seems to stop working (in fact the green light is not set) and I have to disconnect it from the usb and reconnect it and then it works again and it turns on the green light.

It happens to me both connected with a usb extension cable and connected directly to the raspberry. The Raspberry is powered by a poe rj45 -> usb c converter, but if I powered it through the charger that I got with the raspberry, the same thing happens. Any idea how to fix it?

Thank you so much.

HassOS 4.15
HA 0.117.4
zigbee2mqtt 1.16.1
Cc2531: https://www.ebay.es/itm/CC2531-ANTENNA-FREE-CASE-ZigBee2MQTT-Pre-flashed-Coordinator-Router-ZigBee-/113926193098?nav=SEARCH cc2531 + antena - Coordinator

Hardware after restart:

serial:
  - /dev/ttyACM0
  - >-
    /dev/serial/by-id/usb-Texas_Instruments_TI_CC2531_USB_CDC___0X00124B001949C1DF-if00
  - /dev/ttyAMA0

Log:

[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] done.
[services.d] starting services
[services.d] done.
./run.sh: line 17: [Info] Configuration backup found in /share/zigbee2mqtt/.configuration.yaml.bk. Skipping config backup.: No such file or directory
[Info] Socat is DISABLED and not started
2020-11-07T00:28:52: PM2 log: Launching in no daemon mode
2020-11-07T00:28:53: PM2 log: App [npm:0] starting in -fork mode-
2020-11-07T00:28:53: PM2 log: App [npm:0] online
> [email protected] start /zigbee2mqtt-1.16.1
> node index.js
Zigbee2MQTT:info  2020-11-07 00:28:57: Logging to console and directory: '/share/zigbee2mqtt/log/2020-11-07.00-28-56' filename: log.txt
Zigbee2MQTT:info  2020-11-07 00:28:57: Starting Zigbee2MQTT version 1.16.1 (commit #1.16.1)
Zigbee2MQTT:info  2020-11-07 00:28:57: Starting zigbee-herdsman...
Zigbee2MQTT:error 2020-11-07 00:28:57: Error while starting zigbee-herdsman
Zigbee2MQTT:error 2020-11-07 00:28:57: Failed to start zigbee
Zigbee2MQTT:error 2020-11-07 00:28:57: Exiting...
Zigbee2MQTT:error 2020-11-07 00:28:57: Error: Error while opening serialport 'Error: Error: No such file or directory, cannot open /dev/ttyACM1'
    at Znp.<anonymous> (/zigbee2mqtt-1.16.1/node_modules/zigbee-herdsman/dist/adapter/z-stack/znp/znp.js:136:32)
    at Generator.next (<anonymous>)
    at /zigbee2mqtt-1.16.1/node_modules/zigbee-herdsman/dist/adapter/z-stack/znp/znp.js:27:71
    at new Promise (<anonymous>)
    at __awaiter (/zigbee2mqtt-1.16.1/node_modules/zigbee-herdsman/dist/adapter/z-stack/znp/znp.js:23:12)
    at SerialPort.<anonymous> (/zigbee2mqtt-1.16.1/node_modules/zigbee-herdsman/dist/adapter/z-stack/znp/znp.js:134:49)
    at SerialPort._error (/zigbee2mqtt-1.16.1/node_modules/zigbee-herdsman/node_modules/@serialport/stream/lib/index.js:198:14)
    at /zigbee2mqtt-1.16.1/node_modules/zigbee-herdsman/node_modules/@serialport/stream/lib/index.js:242:12
npm
 ERR! code ELIFECYCLE
npm ERR! errno 1
npm
 ERR! [email protected] start: `node index.js`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

Hardware after disconect and conect cc2531 (working again):

serial:
  - /dev/ttyACM1
  - >-
    /dev/serial/by-id/usb-Texas_Instruments_TI_CC2531_USB_CDC___0X00124B001949C1DF-if00
  - /dev/ttyAMA0

Log working:

> node index.js
Zigbee2MQTT:info  2020-11-07 00:49:16: Logging to console and directory: '/share/zigbee2mqtt/log/2020-11-07.00-49-15' filename: log.txt
Zigbee2MQTT:info  2020-11-07 00:49:16: Starting Zigbee2MQTT version 1.16.1 (commit #1.16.1)
Zigbee2MQTT:info  2020-11-07 00:49:16: Starting zigbee-herdsman...
Zigbee2MQTT:info  2020-11-07 00:49:19: zigbee-herdsman started
Zigbee2MQTT:info  2020-11-07 00:49:19: Coordinator firmware version: '{"meta":{"maintrel":3,"majorrel":2,"minorrel":6,"product":0,"revision":20190608,"transportrev":2},"type":"zStack12"}'
Zigbee2MQTT:info  2020-11-07 00:49:19: Currently 14 devices are joined:
Zigbee2MQTT:info  2020-11-07 00:49:19: 0x00124b001938c406 (0x00124b001938c406): CC2530.ROUTER - Custom devices (DiY) [CC2530 router](http://ptvo.info/cc2530-based-zigbee-coordinator-and-router-112/) (Router)
...

Have you tried using a different usb port?

Yes, with the same result :frowning:

I have tried with another USB cc2531 with the same result ¿any idea how to solve it?

Any chance this is related?