1.2 KiB
1.2 KiB
ModemManager control stage
- Added
backend/modem_control.py, a strict allowlist ofenableanddisableoperations usingmmcliargument vectors (no shell interpolation). - Added a Modems service action state and refreshed modem inventory after each operation.
- Added enable/disable buttons and a confirmation dialog before disabling a modem.
- Added backend unit tests for argument validation and command construction.
Safety and limits
- ModemManager/polkit performs authorization; this code does not bypass it.
- Disabling a modem can terminate mobile connectivity.
- SIM PIN/PUK, APN, and connection management are not implemented.
- Hyprlock and hypridle are unchanged. This is not a secure Quickshell lock screen.
- The QML UI has not been run in a Hyprland session in this environment.
User verification
- On a phone with ModemManager, open Settings → Mobile network and SIM.
- Confirm the modem ID, state and signal. Test enable and disable only when loss of mobile connectivity is acceptable.
- Verify the confirmation dialog cancels correctly and errors are visible.
- On desktop without modem, verify the mobile settings section stays hidden.