On Tue, 4 May 2021 at 02:23, Neha Prakash <
neha....@gmail.com> wrote:
>
> Hi Qamar,
>
> Thanks for your reply. I have already tried this. This path is not helpful for me, as the paths that I am getting are not persistent across USB disconnects.
> Basically, this path is not a unique ID for any port. I need a unique identifier for the port to use it.
/sys/bus/usb/devices should give you consistent IDs for any internal
physical USB port which hw/driver is not buggy.
What is your application/needs? Are you doing factory validation?
Chris