Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to enable USB ports on the Raspberry Pi Compute Module 4 (CM4)? #256

Open
dmlz76 opened this issue Apr 10, 2024 · 0 comments
Open

How to enable USB ports on the Raspberry Pi Compute Module 4 (CM4)? #256

dmlz76 opened this issue Apr 10, 2024 · 0 comments

Comments

@dmlz76
Copy link

dmlz76 commented Apr 10, 2024

Hello,

For my project I'm trying to use the RP CM4 due to the small form factor and the ability to use custom base boards (currently I'm using this board CM4-IO-BASE-C for prototyping, but long term I'm planning to make a custom one for my project).
I'm able to boot Chromium OS successfully, however the USB keyboard and mouse are not detected.
This is a known hurdle for CM4, since by default CM4 has the USB controller disabled to save on power.
For Raspi OS they work around this by adding this to the boot config.txt:
dtoverlay=dwc2, dr_mode=host

If I understand correctly this switches to a different USB driver (dwc2) which presumably knows how to enable the USB controller.

Is it possible to do something similar on Chromium OS?

I also tried FydeOS and openFyde and they all run into the same issue, so I suspect this is something in the base Chromium OS setup ...
I'm trying to get my setup so I can build from source, so even if the solution requires code changes that would work for me ... I'm just not very knowledgeable in the Chromium/Linux driver tree setup, so any help or pointers will be greatly appreciated.
Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant