Zigbee e-dongle lost after HA core upgrade

Every time i upgrade HA Core my zigbee coordinator USB e-dongle gets out of HA. HA just stops seeing the device.
Dongle is passed to the HA virtual machine with this xml configuration:

    <hostdev mode='subsystem' type='usb' managed='no'>
      <source startupPolicy='optional'>
        <vendor id='0x10c4'/>
        <product id='0xea60'/>
        <address bus='2' device='6'/>
      </source>
      <alias name='hostdev0'/>
      <address type='usb' bus='0' port='1'/>
    </hostdev>

Is it possible to fix that behavior? Device is seen as Generic Zigbee Coordinator (EZSP). FW version 6.10.3.0 build 297.

# lsusb -tv
Bus 003 Device 001: ID 1d6b:0001
Bus 001 Device 001: ID 1d6b:0001
**Bus 001 Device 002: ID 10c4:ea60**
Bus 004 Device 001: ID 1d6b:0001
Bus 002 Device 001: ID 1d6b:0002

This is written to syslog:

[ 1830.717724] cp210x ttyUSB0: usb_serial_generic_read_bulk_callback - urb stopped: -32
st[ 1833.142057] cp210x ttyUSB0: usb_serial_generic_write_bulk_callback - nonzero urb status: -71
[ 1833.149159] cp210x ttyUSB0: failed set request 0x7 status: -19
[ 1833.154067] cp210x ttyUSB0: failed set request 0x12 status: -19
[ 1833.155995] cp210x ttyUSB0: failed set request 0x0 status: -19

The only way to fix this is to restart virtual machine

Hello Alexander Serkin,

If you are addressing the dongle in HA using that, it may have changed designations. Tell HA to connect to the serial-by-id link.
Like these:

1 Like

The problem is that HA OS VM does not detect the device ID 10c4:ea60 completely after upgrade, so lsusb do not show it anymore. This is not the destination name change issue.