From 4f21f105e6fb27bf6c904d1c1111e346b99731e8 Mon Sep 17 00:00:00 2001 From: Bran Date: Thu, 15 Oct 2026 18:39:16 -0700 Subject: [PATCH 2/5] Add the Quectel EP06 as a supported device The EP06 (MDM9640, firmware EP06ALAR02A03M4G) runs its own Linux with a /dev/diag, reachable over adb once the adb flag is set in AT+QCFG="usbcfg". It has no display, battery or buttons, so it uses the headless UI path. Verified on an EP06 inside a GL.iNet GL-XE300 running OpenWrt 24.10.6, with the daemon started by the module's own init at boot. --- daemon/src/main.rs | 2 +- lib/src/lib.rs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/daemon/src/main.rs b/daemon/src/main.rs index 57be647..4496b8b 100644 --- a/daemon/src/main.rs +++ b/daemon/src/main.rs @@ -253,7 +253,7 @@ async fn run_with_config( Device::Tplink => display::tplink::update_ui, Device::Tmobile => display::tmobile::update_ui, Device::Wingtech => display::wingtech::update_ui, - Device::Pinephone => display::headless::update_ui, + Device::Pinephone | Device::Ep06 => display::headless::update_ui, Device::Uz801 => display::uz801::update_ui, }; update_ui(&task_tracker, &config, shutdown_token.clone(), ui_update_rx); diff --git a/lib/src/lib.rs b/lib/src/lib.rs index b77a4f2..16eb3b1 100644 --- a/lib/src/lib.rs +++ b/lib/src/lib.rs @@ -47,6 +47,7 @@ pub enum Device { Pinephone, Uz801, Moxee, + Ep06, } /// Facts about the device rayhunter is running on, gathered at runtime and -- 2.47.3