From 70178de7d2d675c575db869cc6a59a3fbb1b7325 Mon Sep 17 00:00:00 2001 From: Mikkeli Date: Sun, 11 Oct 2026 15:25:58 +0900 Subject: [PATCH] =?UTF-8?q?ADB=20in=20the=20car:=20record=20the=20first=20?= =?UTF-8?q?test=20=E2=80=94=20control=20works,=20bulk=20transfer=20stalls?= =?UTF-8?q?=20on=20NCM=20loss?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01DDwfd6Ki8UfG4hK6W5YpJz --- docs/ADB-IN-CAR.md | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/docs/ADB-IN-CAR.md b/docs/ADB-IN-CAR.md index 0eadc30..cc5e68a 100644 --- a/docs/ADB-IN-CAR.md +++ b/docs/ADB-IN-CAR.md @@ -91,8 +91,22 @@ emulators, and a tunnel there shows up a second time as `emulator-5554`. - **Wireless debugging** (Android 11+, pairing codes) survives better, but it only runs over WiFi, so it does not use this link. -## Status +## Status (2026-10-11) -The NCM link and the app over it are verified (2026-10-09). The ADB path above is -**untested in the car**; HyperOS may need its USB-debugging security options for -installs over TCP as it did over USB. +Tested with the tablet on the Orin, charging through the PD hub: + +- **Works:** `adb tcpip 5555` on HyperOS, the SSH forward, `adb connect`, `shell`, + `input`, `screencap`. The app retargeted to `ws://192.168.55.1:7700/` showed + *USB link up, bound*, the Orin's gateway with no mock banner, and a mark reached + the recorder (answered *no session*, correctly, with no CAN traffic). +- **Bulk transfer does not.** The NCM link loses packets under load: ping loss + rose from 0% at 5 packets/s to as much as 32% at 20 packets/s, mostly small + packets, with no error counted on the Orin's side. TCP backs off (RTO ~10 s), + and throughput collapses to **~54 kB/s**. A 20 MB push took 6 minutes. The + 165 MB debug APK install failed, and so will `flutter run`'s first install. + The app's own traffic (small, 5 Hz) is unaffected so far. + +Until the link loss is understood, install at the desk over USB, and use the car +path for `logcat`, `shell` and screenshots. Suspects, untested: the NCM gadget's +packet aggregation on the Orin's 5.15 kernel, the PD hub, USB power management on +either side. The gadget also offers RNDIS, which would be the first comparison.