0

I have to push firmware files to multiple usb devices (2 files per device) via ymodem file transfer. However just before uploading the files the device needs to be rebooted to get access to the file transfer menu. Once it reboots the port that it gets assigned to is no longer the same - due to re-enumeration. As a result trying to open the port, that it was originally assigned to transfer the file gives an error. Is there a way around this or perhaps have a dedicated port for each device???

Thanks, Archie

Archie
  • 153
  • 9
  • 1
    Check `ID_PATH` from `udevadm info`. It should not change unless hubs are reset and re-enumerated. – dimich Feb 04 '23 at 03:31
  • Thanks @dimich. that worked.... grep'ing either with DEVPATH or ID_PATH will give the info that I am looking for. Thanks again. – Archie Feb 06 '23 at 21:04

0 Answers0