Skip to contentSkip to conversation

New: USB keyboard working on Raspberry CM4 IO with "raspberrypicm4io_64_defconfig"

Buildroot [email protected] 1 participant 4 messages Jan 6, 2024 – Jan 8, 2024

lore
Share & tools
lore
#0 lore raw

https://bugs.busybox.net/show_bug.cgi?id=15910

Bug ID: 15910
Summary: USB keyboard working on Raspberry CM4 IO with
"raspberrypicm4io_64_defconfig"
Product: buildroot
Version: unspecified
Hardware: All
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Other
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Target Milestone: ---

I use the last : Buildroot 2023.11-512-gd1c067e01b.

Without changing any options in "make menuconfig" excepted setting a root password

1. "make raspberrypicm4io_64_defconfig"
2. "make"
3. install on a Compute module 4 with its standard IO board.
4. I always boot with a screen + i ve tested various USB keyboard.

The log are correct, some usb device are detected. I m stuck on the prompt: "buildroot login: _"

Nothing Happens in the TTY when i press keys.

Note that the generated config.txt contains :

# enable dwc2 USB controller (USB 2.0)
dtoverlay=dwc2,dr_mode=host
Signature · 6 lines
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw

[Buildroot] [Bug 15910] USB keyboard is not working by default "raspberrypicm4io_64_defconfig"

https://bugs.busybox.net/show_bug.cgi?id=15910

Benoit Pereira da Silva <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

            Summary|USB keyboard working on     |USB keyboard is not working
                   |Raspberry CM4 IO with       |by default
                   |"raspberrypicm4io_64_defcon |"raspberrypicm4io_64_defcon
                   |fig"                        |fig"
Signature · 6 lines
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#2 lore raw

[Buildroot] [Bug 15910] USB keyboard is not working by default "raspberrypicm4io_64_defconfig"

In reply to [email protected]

https://bugs.busybox.net/show_bug.cgi?id=15910

--- Comment #1 from Peter Seiderer <[email protected]> ---
You need to load the module dwc2 ('modprobe dwc2' either over the serial console or from a startup script) AND disconnect micro USB port (J11 USB slave) you connected for flashing..., alternative is to enable '/dev management (Dynamic using devtmpfs + eudev' (BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y) for automatic module loading AND do not forget to disconnect micro USB port (J11 USB slave) you connected for flashing...

Signature · 6 lines
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#3 lore raw

[Buildroot] [Bug 15910] USB keyboard is not working by default "raspberrypicm4io_64_defconfig"

In reply to [email protected]

https://bugs.busybox.net/show_bug.cgi?id=15910

Benoit Pereira da Silva <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Benoit Pereira da Silva <[email protected]> --- Peter,

Thank you very much setting /dev management (Dynamic using devtmpfs + eudev) Did solve my issue.

I'm a newbie to buildroot, and did not know that "dev" were strictly static and i need to activate "devtmpfs + eudev".

I will read attentively the documentation next time.

Signature · 6 lines
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot