Find USB hub connected devices by-id or by-path

Hi.
I was running HA for couple of years. Right now I wanted to switch to RPI4. I installed everything, but in my configuration I have several USB devices connected with USB hub (6x Arduino Mega board.
Home Assistant is seeing only the USB Hub path /ttyAMA0. I want to see the connected devices as well.
Previously I used SSH to login and use ls -l /dev/serial/by-id or ls -l /dev/serial/by-path.
Right now when I open CLI or SSH - the /dev/serial folder is not available. I see only ttyAMA0 and several others.
How can I check the IDs of each connected device to USB hub?

I tried following commands;
‘docker exec homeassistant /dev/by-id
ls -l /dev/serial/by-id’

Short update from me: I tried to reconnect USB hub and it looks like the USB hub is broken (that’s why I didnt find dev/serial folder. I will replace the hub and I will try again