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

STM32F4: USB HID Keyboard not working in BIOS (before Linux start) #2997

Open
dariogoetz opened this issue May 24, 2024 · 0 comments
Open

STM32F4: USB HID Keyboard not working in BIOS (before Linux start) #2997

dariogoetz opened this issue May 24, 2024 · 0 comments

Comments

@dariogoetz
Copy link

MCU: STM32F401CC

I have written an embassy-based keyboard firmware for a keyboard. The firmware works well in Linux. However, the keyboard does not produce anything when the laptop asks for a system password when booting (before Linux starts).

I could reproduce the issue with the code from the examples directory examples/stm32f4/src/bin/usb_hid_keyboard.rs (adjusted for clocks of the STM32F401CC, otherwise vanilla): Within my Linux system, it produces an a when pulling PC13 up. In the password prompt before starting Linux, however, nothing happens.

I have another firmware based on rtic, stm32f4xx-hal, and usb-device that does not have this issue, so I would exclude it being a hardware issue.

Any ideas, what the issue could be?

@dariogoetz dariogoetz changed the title USB HID Keyboard not working in BIOS (before Linux start) STM32F4: USB HID Keyboard not working in BIOS (before Linux start) May 24, 2024
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