Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
2.9 KiB
Red Bear OS Bluetooth Validation Runbook
This runbook is the canonical operator path for exercising the current bounded Bluetooth Battery Level slice on Red Bear OS.
It does not claim that Bluetooth is broadly solved. Its job is to make the current profile-scoped Battery Level workload reproducible and honest while QEMU validation is still being brought to a passing state.
Goal
Produce one or both of the following:
- a successful bounded Bluetooth validation run via
redbear-bluetooth-battery-check - a repeatable QEMU/UEFI validation log via
./local/scripts/test-bluetooth-qemu.sh --check
Path A - Host-side QEMU validation
Use this when the host supports the repo's normal x86_64 QEMU/UEFI flow.
On the host
Build the tracked Bluetooth profile first:
./local/scripts/build-redbear.sh redbear-bluetooth-experimental
Then run the automated QEMU harness:
./local/scripts/test-bluetooth-qemu.sh --check
What that harness is intended to do:
- boots
redbear-bluetooth-experimentalin QEMU withqemu-xhci - logs in automatically on the serial console
- runs
redbear-bluetooth-battery-checktwice in one boot - reboots the guest
- runs
redbear-bluetooth-battery-checkagain after the clean reboot
Artifact to preserve
- the full terminal log from
./local/scripts/test-bluetooth-qemu.sh --check - any serial or CI log captured around the run
Path B - Interactive guest validation
Use this when you want to inspect the runtime manually inside the guest.
On the host
./local/scripts/test-bluetooth-qemu.sh
Inside the guest
Run the packaged checker directly:
redbear-bluetooth-battery-check
The legacy guest helper remains as a compatibility wrapper:
test-bluetooth-runtime.sh
Useful supporting commands inside the guest:
redbear-btusb --status
redbear-btctl --status
redbear-info --verbose
What success means today
Current success is still bounded success:
- the explicit-startup
redbear-btusbandredbear-btctlpath can be exercised in QEMU - the packaged checker can be rerun repeatedly in one boot
- the checker covers daemon restart cleanup and disconnect stale-state cleanup within the current Battery Level slice
- the exact Battery Service / Battery Level UUID pair can be read through the bounded read-only
workload and reported conservatively by
redbear-info
Those are the target success conditions for the current QEMU proof. Until the harness exits cleanly end to end, describe the validation state as “QEMU harness and packaged checker present, validation still in progress.”
This is not yet the same as:
- real controller bring-up proof
- generic BLE or generic GATT maturity
- write support or notify support
- real pairing or broad reconnect semantics
- desktop Bluetooth parity, HID, audio, or passthrough-backed hardware claims