Skip to content

cdba: add keys to press/release the fastboot button #74

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

Closed
wants to merge 1 commit into from

Conversation

kcxt
Copy link
Member

@kcxt kcxt commented May 19, 2024

For some testing it's useful to manually press the fastboot button. Add support for doing this with <[C-a] f>

cdba.h Outdated
@@ -23,6 +23,8 @@ enum {
MSG_FASTBOOT_PRESENT,
MSG_FASTBOOT_DOWNLOAD,
MSG_FASTBOOT_BOOT,
MSG_FASTBOOT_BTN_PRESS,
MSG_FASTBOOT_BTN_RELEASE,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

protocol abi break

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't like the idea of having two messages for a single button. Maybe we should follow something like (MSG_BUTTON <button:u8, state:bool>)?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 ^

For some testing it's useful to manually press the fastboot button.
Add support for doing this.

Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org>
@kcxt kcxt force-pushed the caleb/fastboot-button branch from 84cfa2f to 58fd0d5 Compare May 22, 2024 16:46
@lumag
Copy link
Collaborator

lumag commented Feb 13, 2025

@calebccff any chance of this getting fixed?

@stephan-gh
Copy link
Contributor

@calebccff any chance of this getting fixed?

Yes, I kind of did in #83 (with some other changes).

@lumag
Copy link
Collaborator

lumag commented Feb 21, 2025

Thanks, closing in favour of #83

@lumag lumag closed this Feb 21, 2025
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

Successfully merging this pull request may close these issues.

4 participants