Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Implement picotool reboot #128

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

Draft
JohnAZoidberg wants to merge 4 commits into main
base: main
Choose a base branch
Loading
from usbd-picotool-reset
Draft

Implement picotool reboot #128

JohnAZoidberg wants to merge 4 commits into main from usbd-picotool-reset

Conversation

@JohnAZoidberg
Copy link
Member

@JohnAZoidberg JohnAZoidberg commented Nov 17, 2024
edited
Loading

This adds support for fwupd/fwupd#7931

> fwupdtool get-devices --plugins rp_pico
Framework 16
│
└─QT PY - Framework 16 Inputmodule FW:
 Device ID: 809393a5a616ceee01c5f132d2bd08605ca95663
 Current version: 0.20
 Vendor: Adafruit (USB:0x32AC)
 GUID: bcfeedb2-8315-5d69-be9d-0d0822cb4ad8 ← USB\VID_32AC&PID_001F
 Device Flags: • Internal device
 • Updatable
 • Unsigned Payload
 • Can tag for emulation

when using the quirk

[USB\VID_32AC&PID_001F]
Plugin=rp_pico
Flags=internal
Icon=computer
CounterpartGuid=BLOCK\VEN_2E8A&DEV_0003

so we should also add the quirk in a BOS descriptor.

Works:
```
> sudo ./build/picotool reboot -f -u
> sudo ./build/picotool reboot -f
```
TODO: Can we keep USB VID/PID?
Signed-off-by: Daniel Schaefer <dhs@frame.work>
Signed-off-by: Daniel Schaefer <dhs@frame.work>
Depends on: raspberrypi/picotool#177
Signed-off-by: Daniel Schaefer <dhs@frame.work>
Signed-off-by: Daniel Schaefer <dhs@frame.work>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

AltStyle によって変換されたページ (->オリジナル) /