WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Enabling USB ports on Compute Module 4  (Read 1239 times)

Offline Wildcat

  • Newbie
  • *
  • Posts: 11
Enabling USB ports on Compute Module 4
« on: November 07, 2021, 11:23:07 AM »
I decided to install piCore64-13.0 on a Compute Module 4 with 32GB eMMC, 8 GB RAM and WIFI.
The CM4 is mounted on the CM4 IO board.

According to the PI documentation, the USB ports are disabled by default.
To enable, add the command below to the config.txt file:

dtoverlay=dwc2,dr_mode=host

After adding the line to config.txt and reboot, My USB keyboard still does not work.

The same CM4 hardware running RPI OS is working!

The keyboard works fine with my RPI-4B running the same piCore version.

Are additional commands needed to activate the USB ports?

Thanks

Offline Greg Erskine

  • Sr. Member
  • ****
  • Posts: 402
Re: Enabling USB ports on Compute Module 4
« Reply #1 on: November 07, 2021, 11:31:27 AM »
Maybe add

Code: [Select]
[CM4]
otg_mode=1

to config.txt

Offline Wildcat

  • Newbie
  • *
  • Posts: 11
Re: Enabling USB ports on Compute Module 4
« Reply #2 on: November 07, 2021, 02:48:13 PM »
Hi Greg,

Good advice. The CM4 works now.

Thanks,
WildCat