uzbek-plus/tools/sahara_state.py
q 105bef466a Project Aurora: mainline ARM64 Linux on JZ08AU (MSM8916) LTE modem
Sanitized research log, build/reproducibility docs, DTS, kernel configs,
patches, initramfs sources, bootchain migration plans and test logs.
B5 direct boot PASS; B6 modem lifecycle in progress.
No dumps, NV/EFS, vendor firmware or device identifiers included.
2026-09-30 17:23:18 +03:00

12 lines
443 B
Python

#!/usr/bin/env python3
# Passive: only reads from EP-IN; sends nothing.
import logging
from edlclient.Library.Connection.usblib import usb_class
cdc = usb_class(portconfig=[[0x05c6, 0x9008, -1]], loglevel=logging.INFO)
print("connect", cdc.connect())
for i in range(3):
try:
v = cdc.read(length=0x30, timeout=2000)
except Exception as e:
v = f"exc {e}"
print(i, v.hex() if isinstance(v, (bytes, bytearray)) else v)