cancel
Showing results for 
Search instead for 
Did you mean: 

USB-OTG suspend on connect

MLars.10
Associate II

Hi,

We're using a STM32MP157C on a custom board and trying to get ethernet over USB to work. We have a type B USB connector on the board and when a cable is connected, the USB peripheral seems to get suspended as the logs from dwc2 shows. We've seen that there are patches for forcing sessions to be valid and added "force-b-session-valid" to the DT node. Yet the only thing we see when we connect is the suspend interrupts firing. Any ideas what's going wrong here?

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions
MLars.10
Associate II

Somehow this issue got resolved without any software changes, which makes me believe this was due to some weird hardware/board issue.

Either way, the logs were taken on a build using the ST Linux git repository on branch v4.19-stm32mp and commit 1cb30cb5ffc29a53ec2031b6a29878ddd266516c which is the same build we finally got it working on. Thanks anyway!

View solution in original post

3 REPLIES 3
Bernard PUEL
ST Employee

Which ST release version are you using on your side ?

MLars.10
Associate II

Somehow this issue got resolved without any software changes, which makes me believe this was due to some weird hardware/board issue.

Either way, the logs were taken on a build using the ST Linux git repository on branch v4.19-stm32mp and commit 1cb30cb5ffc29a53ec2031b6a29878ddd266516c which is the same build we finally got it working on. Thanks anyway!

Bernard PUEL
ST Employee

Great !