https://github.com/wpilibsuite/scservices/blob/main/expansionhub/SystemDUsbMonitor.h uses systemd to handle hotplugging USB serial devices. This would be something nice to have built into WPILib that vendors could use.