Skip to main content
Dat Tran
Senior II
September 20, 2023
Solved

USB HID doesn't work without hub

  • September 20, 2023
  • 1 reply
  • 2814 views

Hi, when I inserted keyboard/mouse to USB host port, nothing happened (log console) and this even cause usb host stop working then.

But when I inserted keyboard/mouse to a hub and connect this hub to usb host port, everything working fine.

The problem is only happened with hid (keyboard/mouse). When I used USB thumb drive, it works just fine, no need the hub.

The chip I used is STM32MP153 and this is custom build

Does anyone know why or any hint?

Thanks.

This topic has been closed for replies.
Best answer by Dat Tran

I got it working. Need to enable ochi driver in device tree.

1 reply

Dat Tran
Dat TranAuthorBest answer
Senior II
September 21, 2023

I got it working. Need to enable ochi driver in device tree.

Associate II
March 5, 2024

I have a similar error but in device mode, if I connect my board to the PC without HUB there are big chances that it wont work, but when I use a hub it always is recognise be the PC. 

 

Which drive did you precisely enable and where? Can you load some screen captures?

 

Thanks in advance.