bluetooth: harden interactive controller power handling - #560
Merged
Bhargav-qcom (bhargav0610) merged 1 commit intoSep 1, 2026
Conversation
BlueZ on Debian and Ubuntu can ignore or defer power requests when bluetoothctl is driven through a plain stdin pipe, even though the same command succeeds in a manual terminal session. Use an expect PTY when available, wait for the BlueZ acknowledgement, and require a stable Powered state before declaring success. Prepare rfkill and expect through the package provider on Debian-family images, and use the PTY scanner as the first scan fallback. Keep the established default-controller and non-PTY fallbacks for Yocto and minimal images. Signed-off-by: Srikanth Muppandam <smuppand@qti.qualcomm.com>
Srikanth Muppandam (smuppand)
requested review from
Vkenjam and
Bhargav-qcom (bhargav0610)
August 31, 2026 09:42
Vkenjam
approved these changes
Aug 31, 2026
Bhargav-qcom (bhargav0610)
approved these changes
Sep 1, 2026
Bhargav-qcom (bhargav0610)
approved these changes
Sep 1, 2026
Bhargav-qcom (bhargav0610)
merged commit Sep 1, 2026
6b2c826
into
qualcomm-linux:main
14 checks passed
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.
Summary
Fixes #559
BlueZ on Debian and Ubuntu can ignore or defer controller power requests when
bluetoothctlis driven through a plain stdin pipe, although the same command succeeds in a manual interactive session.expectPTY for Bluetooth power operations when available.Powered=yes/noverification.rfkillandexpectare provisioned through the package provider on Debian and Ubuntu.