Repository navigation
Conversation
We may want to ignore failures to open the tty, for instance: when powering off all devices in a system that has fewer USB ports than are needed to register all the consoles. Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
We may want to ignore the failure to open the ftdi port, for instance in situations where the system has fewer USB ports than are needed to register all the consoles with multiple devices and all we want is to just power them all off. Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Provide a variant of device_open() that doesn't bail-out on failure to open the console. This will be used by an upcoming new command of cdba-power that allows to power-off all configured boards. Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Extend cdba-power with a command allowing to disable all configured boards at once. This is useful on boot of the cdba host where all boards get powered up. One can set up a one-shot systemd service that disables all the boards. Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
brgl
force-pushed
the
topic/cdba-power-all-off
branch
from
October 12, 2026 09:38
5bc1a77 to
9f0ea65
Compare
Contributor
Author
|
I extended the series with some changes that allow to use this on cdba hosts with few USB ports (RPi 4 has 32 total) on which we need to ignore all the consoles. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Extend cdba-power with a command allowing to disable all configured boards at once. This is useful on boot of the cdba host where all boards get powered up. One can set up a one-shot systemd service that disables all the boards.