Initially, when I try to see the connection using lsblk it doesn't show, but when I run echo 1-0022 | sudo tee /sys/bus/i2c/drivers/typec_fusb302/unbind and echo 1-022 | sudo tee /sys/bus/i2c/drivers/typec_fusb302/bind It starts working.
It uses a fusb302 ic. I have tested this in 3 boards, and each one of them has different behaviour, 1st one is fine, 2nd one has a problem with 1 port, and 3rd one has a problem with both ports. Which indicates the problem is of hardware, but why does unbinding and binding fix it ??
If the problem is really hardware, then unbinding and binding should have no effect.
PS: I am using Linux (Debian) and checked it in different distros.