Repository navigation
Conversation
Wedged adapters often need bluetoothd to re-register after rfkill unblocks; restart the unit as well (omacom#13078). Co-authored-by: AnPod <AnPod@users.noreply.github.com>
b681a51 to
19300ad
Compare
|
Thanks for this. It duplicates two older open PRs for #13078: #13085 (restart bluetoothd and reload btusb) and #13101 (restart A note for whichever goes forward: |
|
Reviewed at Both reviews say #13085 should go forward. It is the oldest, and the oldest wins unless a newer fix is clearly better. This one is not clearly better. It runs Which of the three lands is the maintainer's decision, and this PR waits on that. |
Summary
omarchy-restart-bluetoothonly ranrfkill unblock. Wedged adapters often needbluetoothdto re-register on D-Bus after the controller bounces.The command now also
systemctl restart bluetooth.serviceand fails clearly if that restart fails.Fixes #13078
Test plan
test/shell.d/restart-bluetooth-test.sh