Skip to content

USB Support #2

@bryandph

Description

@bryandph

Hi there,

Awesome repo, great work. I have used your kernel patches to great effect on my UConsole in my own NixOS config.

I was able to get USB (specifically the built-in keyboard) working on a CM4 with the patches you have in this project by modifying config.txt after I flashed the generated SD-Card image.

The option to change is (https://www.raspberrypi.com/documentation/computers/config_txt.html#otg_mode-raspberry-pi-4-only):

[cm4]
otg_mode=1

which should switch to:

[cm4]
otg_mode=0

There may be a way to use the USB3.0 controller (I think it's connected via PCI and may need more patching to get it working), but it seems like reverting to the 2.0 controller allows the keyboard to be detected along with other USB devices.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions