failover: add van-modem-usb-kick — recover EC25 modem when it never enumerates at boot

Seen after moving the modem onto the new powered UGreen hub: the port
sometimes never signals a connect during boot (no descriptor-read attempt at
all in dmesg), so the hub never rescans it. Unbind/rebinding the inner hub
chip reproduces the same connect edge a physical unplug/replug does.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
Andreas Wrede
2026-08-04 10:17:36 -04:00
co-authored by Claude Sonnet 5
parent e7a82126f2
commit a1bad186b1
3 changed files with 135 additions and 1 deletions
+11
View File
@@ -0,0 +1,11 @@
[Unit]
Description=EC25 modem boot-recovery backstop (kicks its USB hub if the modem never enumerated)
After=systemd-udev-settle.service
Wants=systemd-udev-settle.service
[Service]
Type=simple
ExecStart=/usr/local/sbin/van-modem-usb-kick @MODEM_USB_VENDOR@ @STARLINK_IFACE@
[Install]
WantedBy=multi-user.target