diff --git a/config/skills/zsa-moonlander/SKILL.md b/config/skills/zsa-moonlander/SKILL.md new file mode 100644 index 0000000..219c854 --- /dev/null +++ b/config/skills/zsa-moonlander/SKILL.md @@ -0,0 +1,18 @@ +--- +name: zsa-moonlander +description: Use ZSA Zapp to identify, prepare and flash the user's Moonlander from Arceus via Riolu. Use for Moonlander firmware, Oryx layout revisions, QMK tap-hold tuning and flash detection or recovery. +--- + +The physical Moonlander normally plugs into Arceus USB 9-2. Proxmox VM 141 (Riolu) owns this port, including bootloader re-enumeration. Run Zapp in Riolu through the existing Arceus handoff SSH config. + +```bash +ssh -F ~/handoffs/homelab/lucario/riolu/ssh-config riolu-bootstrap '~/.local/bin/zapp devices --skip-bluetooth' +``` + +Zapp 1.2.0 is installed for `svc`. The guest's `70-zsa-moonlander.rules` grants that account USB access through the `zsa-moonlander` group. Runtime Moonlander is `3297:1969`. The STM32 DFU bootloader is `0483:df11`. If Zapp cannot see the device, check `qm monitor` USB inventory on Arceus and the USB tree in Riolu. When flashing directly on the Deck, confirm the Deck itself sees the DFU device before investigating browser or Flatpak access. + +Use Oryx to edit or clone the layout and Zapp to fetch and flash a compiled revision. Retain the last known-good revision or binary and confirm the exact Moonlander target at the time of flashing. Review published artifacts at [ZSA Downloads](https://downloads.zsa.io/zapp/) and check the archive SHA-256. `zapp flash ` writes firmware. `zapp update` can immediately fetch and flash the latest Oryx revision, so use `devices` for discovery. + +For Shift/Ctrl/Alt tap-hold changes, preserve the assignments and start with one key or a cloned layout. Test an intentional chord and rapid ordinary typing. See [ZSA tap-hold guidance](https://blog.zsa.io/tap-hold-explained/) and [QMK per-key options](https://docs.qmk.fm/tap_hold). + +A DFU cycle can detach the input devices from Riolu's static Xorg configuration. Keep the Deck's local controls available. If input is missing after the keyboard returns in normal USB mode, stop `riolu-deskflow`, restart `riolu-xorg`, then start `riolu-deskflow` in Riolu. Confirm both input devices reopen and the Deck reconnects. See the [Riolu Wiki notes](https://wiki.godemperordoge.org/homelab/reference/virtualization/cachyos-gaming-gtx1080#5-moonlander-and-mouse-switching). diff --git a/home/agents.nix b/home/agents.nix index d9fbf39..54030c2 100644 --- a/home/agents.nix +++ b/home/agents.nix @@ -8,7 +8,7 @@ let # through codemode, the CLI flavour through the mcp bridge (no sandbox). sharedSkills = [ "git" "gt" "mise-cli" "secrets_man" "searxng" "playwright-cli" - "context-discipline" "homelab-policies" "memory-layer" "roku-tv" + "context-discipline" "homelab-policies" "memory-layer" "roku-tv" "zsa-moonlander" ]; cliSkills = [ "infra-change" "wiki-update" "wiki-view" "lapis-memory" ]; allSkills = sharedSkills ++ cliSkills;