From d3e8698e407f8cf3582d1f2c44f0dbb050a4a88f Mon Sep 17 00:00:00 2001 From: donbernhardo <87759236+donbernhardo@users.noreply.github.com> Date: Wed, 17 Jun 2026 21:16:21 +0200 Subject: [PATCH] Fix KP-9000-6XHML-X2 LED mux mapping --- machine.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/machine.c b/machine.c index 04db39a..b735167 100644 --- a/machine.c +++ b/machine.c @@ -40,6 +40,17 @@ __code const struct machine machine = { LEDS_1G | LEDS_LINK, 0 }, }, + .led_mux_custom = 1, + /* Measured front-panel LED pads: + * P1 amber/green: 9/10, P2: 12/15, P3: 18/21, P4: 24/25, left SFP: 26. + */ + .led_mux = { + 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, + 0x3f, 0x10, 0x12, 0x3f, + 0x14, 0x3f, 0x3f, 0x16, 0x3f, 0x3f, + 0x18, 0x3f, 0x3f, 0x1a, 0x3f, 0x3f, + 0x1c, 0x1e, 0x0c, 0x20 + }, }; void machine_custom_init(void) { }