Advance USB implementation plan and validation docs

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
2026-04-17 13:32:43 +01:00
parent 6f93b6ed43
commit 9bda932ed4
3 changed files with 862 additions and 340 deletions
+8 -3
View File
@@ -98,6 +98,11 @@ enumerated, ports have devices attached, and device descriptors are readable.
| Script | What it tests |
|--------|---------------|
| `test-usb-qemu.sh --check` | Full USB stack (xHCI + HID + SCSI + BOS) |
| `test-usb-storage-qemu.sh` | USB mass storage autospawn |
| `test-xhci-irq-qemu.sh --check` | xHCI interrupt delivery mode |
| `test-usb-qemu.sh --check` | Full USB stack (xHCI + HID + SCSI + BOS + no crashes) |
| `test-usb-storage-qemu.sh` | USB mass storage autospawn + crash pattern check |
| `test-xhci-irq-qemu.sh --check` | xHCI interrupt delivery mode (MSI/MSI-X/INTx) |
In-guest quick checks:
- `lsusb` — walks `/scheme/usb.*`, reads descriptors, shows vendor:product + quirks
- `redbear-info --verbose` — reports USB controller count and integration status
- `redbear-usb-check` — scheme tree walk with pass/fail exit code