Skip to content

Support NanoKVM Pro 1.2.16 EDID preset names - #72

Merged
chiconws merged 2 commits into
devfrom
fix/pro-1.2.16-edid-presets
Nov 20, 2026
Merged

chiconws merged 2 commits into
devfrom
fix/pro-1.2.16-edid-presets

Conversation

@chiconws

Copy link
Copy Markdown
Collaborator

NanoKVM Pro 1.2.16 (pre-release) renamed its built-in EDID files and dropped E58-4K16-10. With the old names, switch_edid(EdidPreset.*) fails with -3 "invalid EDID" and get_edid() returns a plain str instead of the enum.

Preset Up to 1.2.15 From 1.2.16
UHD_4K_30HZ E18-4K30FPS nanokvm-pro-3840x2160-30
UHD_4K_39HZ E48-4K39FPS nanokvm-pro-3840x2160-39
QHD_1440P_60HZ E56-2K60FPS nanokvm-pro-2560x1440-60
FHD_1080P_60HZ E54-1080P60FPS nanokvm-pro-1920x1080-60
ULTRAWIDE_3440X1440_60HZ E63-Ultrawide nanokvm-pro-3440x1440-60
WQUXGA_3840X2400_30HZ E58-4K16-10 removed
  • EdidPreset values are now the 1.2.16 names. Below 1.2.16, switch_edid sends the old name, and it accepts either name as a string.
  • get_edid returns the preset for either name.
  • From 1.2.16, switch_edid(WQUXGA_3840X2400_30HZ) raises NanoKVMNotSupportedError instead of sending a name the device rejects.
  • The update_application docstring now says that Pro 1.2.16 answers once the package is downloaded and installs it in the background. install_application_update still works, because it waits for the version to change.

Tests:

  • pytest: 557 passed, including a new test that covers both sides of 1.2.16. pre-commit passes.
  • Checked on a Pro running 1.2.16:
    • Sending E54-1080P60FPS directly returns -3 "invalid EDID".
    • Through the library, QHD_1440P_60HZ and "E63-Ultrawide" switch the EDID and read back as the enum, and the EDID went back to the original preset afterwards.

Pro 1.2.16 renamed its built-in EDID files (E18-4K30FPS became
nanokvm-pro-3840x2160-30, and so on) and dropped E58-4K16-10, so
switch_edid(EdidPreset.*) failed with "invalid EDID".

- EdidPreset values are now the 1.2.16 names. switch_edid sends the
  old name below 1.2.16 and accepts either name as a string.
- get_edid returns the preset for either name.
- WQUXGA_3840X2400_30HZ is refused locally from 1.2.16.
Pro 1.2.16 answers POST /application/update once the package is downloaded and
checked, and installs it in a separate worker. A failed install no longer
reaches the caller as an error; it only leaves the old version running.
@chiconws
chiconws merged commit 3fee4ce into dev Nov 20, 2026
2 checks passed
@chiconws
chiconws deleted the fix/pro-1.2.16-edid-presets branch November 20, 2026 01:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant