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

Implement picotool reboot #128

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from
Draft

Implement picotool reboot #128

wants to merge 4 commits into from

Conversation

JohnAZoidberg
Copy link
Member

@JohnAZoidberg JohnAZoidberg commented Nov 17, 2024

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 <[email protected]>
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.

1 participant