Skip to content

d221: record Wi-Fi, AOP motion sensors, Bluetooth audio, suspend and resume working - #493

Open
edulmartins wants to merge 1 commit into
OrchardLinux:mainfrom
edulmartins:d221-wifi-suspend-resume
Open

edulmartins wants to merge 1 commit into
OrchardLinux:mainfrom
edulmartins:d221-wifi-suspend-resume

Conversation

@edulmartins

@edulmartins edulmartins commented Dec 2, 2026 •

Copy link
Copy Markdown
Contributor

Tested on an iPhone X (GSM, d221) running an installed Omarchy A 0.4.6 system.

Changes

  • devices/d221/device.toml: mark accelerometer, gyroscope, wifi, bluetooth_audio, suspend, and resume as working.
  • Regenerated docs/compatibility.md and docs/devices/d221.md with tools/catalog/generate matrix.

Hardware evidence

Wi-Fi (linux-orchard-apple-16k 0.3.20-1)

  • brcmfmac 0000:01:00.0: loads brcm/brcmfmac4357-pcie with TxCap and platform calibration blobs (BCM4357/4 wl0: Jan 14 2023 06:37:39 version 13.10.688.4.0.0.79 FWID 01-c14d6202).
  • nmcli: wld0:wifi:connected:@Kombixepa-Home-5G (5 GHz WPA2).
  • ping -c 3 1.1.1.1: 3/3 received, 0% loss (~20 ms).
  • curl -sI https://github.com: HTTP/2 200.

Suspend and resume (s2idle, linux-orchard-apple-16k 0.3.20-1)

  • Power button pressed once with omarchy-powerd and logind active; panel turned off and device entered s2idle:
    • omarchy-powerd: sleep-ended result=slept seconds=11.134 wakeup_irq=none end=logind awake=2.0
    • dmesg: [ 1528.618754] PM: suspend entry (s2idle) → [ 1529.407561] PM: suspend exit (~0.79 s monotonic vs 11.13 s wall sleep, confirming CLOCK_MONOTONIC paused).
    • /sys/power/suspend_stats: success=2, fail=0.
  • Power button wake:
    • omarchy-powerd: press_to_lit_ms=116.6
    • brcmfmac: reloaded firmware and reconnected wld0 to @Kombixepa-Home-5G.
    • apple-hidspi-ts: reloaded firmware in 2607 ms (try 2); touch worked to unlock the PIN screen.

AOP motion sensors & auto-rotation (nightly-20261202-23d714c06d78 + PR #425 firmware)

  • apple-aop 234800000.aop: ===( AOP IS READY )===
  • IIO devices probed: apple-aop-accel, apple-aop-gyro, apple-aop-compass, apple-aop-pressure.
    • apple-aop-accel: in_accel_z_raw=-64829 × 0.000149637 ≈ -9.70 m/s² flat.
    • apple-aop-gyro: near-zero angular velocity at rest.
    • apple-aop-pressure: 6477326 × 0.000015258 ≈ 98.8 kPa.
  • Screen auto-rotation works in every orientation on installed Omarchy A.
  • Also noted: pmp_t8015_v1 module loads cleanly (lsmod) with the nightly kernel.

Bluetooth audio (nightly-20261202-23d714c06d78 + PR #425 firmware)

  • hci0: BCM4357B1 Olympic Hercules-E Murata (build 1057), loaded brcm/BCM.apple,d221.hcd.
  • Paired soundcore Space One (7C:E9:13:87:5C:65) over bluez5 / PipeWire (wpctl sink active) and played stereo audio via pw-play, heard in headphones.

Checks

  • tools/catalog/generate matrix
  • bin/orchard python -m unittest discover -s tests: 510 tests ran, OK (skipped=2).

Assisted-by: LLM

…resume working

Hardware-verified on an iPhone X (GSM, D221) running installed Omarchy A 0.4.6.

- Wi-Fi (0.3.20-1): BCM4357/4 (brcmfmac, FWID 01-c14d6202) joins 5 GHz WPA2 via NetworkManager, ping and HTTPS verified, reconnects after s2idle.
- Suspend/resume (0.3.20-1): s2idle via omarchy-powerd and logind turns off the panel and pauses CLOCK_MONOTONIC (11.1 s wall sleep, 0.79 s monotonic; suspend_stats success=2 fail=0); Power button wakes and lights the panel in ~117 ms, brcmfmac reconnects Wi-Fi, and apple-hidspi-ts reloads firmware in ~2.6 s.
- AOP motion sensors (nightly-20261202-23d714c06d78 + PR OrchardLinux#425 firmware): apple-aop-accel (z ≈ -9.70 m/s² flat), apple-aop-gyro, apple-aop-compass and apple-aop-pressure (98.8 kPa) probe; screen auto-rotation works in every orientation.
- Bluetooth audio (nightly-20261202-23d714c06d78 + PR OrchardLinux#425 firmware): hci0 loads brcm/BCM.apple,d221.hcd (BCM4357B1 Olympic Hercules-E Murata, build 1057); soundcore Space One pairs and plays stereo audio over bluez5/PipeWire.

Assisted-by: LLM
@edulmartins
edulmartins force-pushed the d221-wifi-suspend-resume branch from 3565b6c to 8d11749 Compare December 3, 2026 00:04
@edulmartins edulmartins changed the title d221: record Wi-Fi, suspend and resume working d221: record Wi-Fi, AOP motion sensors, Bluetooth audio, suspend and resume working Dec 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant