mirror of
https://github.com/CyberMind-FR/secubox-deb.git
synced 2026-07-29 18:36:55 +00:00
Implement auto-mode controller for Eye Remote that handles: - Automatic host type detection (U-Boot vs Linux OS) - Mode priority: network > hid > storage - Silent storage fallback after 60s disconnected - Multiple wake-up triggers (serial, magic file, GPIO, scheduled) New files: - agent/auto_mode_controller.py: State machine controller - agent/wakeup_manager.py: Wake-up trigger handlers - files/etc/secubox/eye-remote/auto-mode.toml: Configuration - files/etc/systemd/system/secubox-auto-mode.service: Systemd unit - scripts/setup-hid-gadget.sh: HID keyboard gadget setup Modified: - gadget-setup.sh: Add hid, network, silent modes - gadget_switcher.py: Add HID mode, transfer protection - failover.py: Add SILENT_STORAGE state - gadget_status.py: Add storage mode display Features: - U-Boot detection (powered >3s without config) - Network probing with configurable endpoints - Transfer protection before mode switch - Silent fallback with wake monitoring - Storage mount status detection from Pi Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| droplet-config.sh | ||
| eye-gadget-switch.sh | ||
| fix-rfkill-sdcard.sh | ||
| setup-hid-gadget.sh | ||