Tiny Core Linux

Tiny Core Base => Raspberry Pi => Topic started by: Wildcat on November 07, 2021, 11:23:07 AM

Title: Enabling USB ports on Compute Module 4
Post by: Wildcat 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
Title: Re: Enabling USB ports on Compute Module 4
Post by: Greg Erskine on November 07, 2021, 11:31:27 AM
Maybe add

Code: [Select]
[CM4]
otg_mode=1

to config.txt
Title: Re: Enabling USB ports on Compute Module 4
Post by: Wildcat on November 07, 2021, 02:48:13 PM
Hi Greg,

Good advice. The CM4 works now.

Thanks,
WildCat