ZSA Moonlander Wally and Keymapp not working in Kinoite/Silverblue

Hey all!

I’m having trouble getting my ZSA Moonlander keyboard to flash in Fedora Kinoite, either in a toolbox, or on the host. In a toolbox I get Failed to open a device with path ‘/dev/hidraw6’: Permission denied on the host I get ./wally: error while loading shared libraries: libwebkit2gtk-4.0.so.37: cannot open shared object f
ile: No such file or directory. I’m hoping to avoid layering the dependency webkit2gtk4.0.x86_64 but I will if I have to.

Does anyone have experience with flashing new firmware to their ZSA keyboards using a toolbox?

Which Linux distro are you using? Fedora Kinoite

Which release version? 42

Which kernel are you using? 6.16.11-200.fc42.x86_64 (64-bit)

Which Framework Laptop 16 model are you using? AMD Ryzen™ 7940HS Series

arch here, but I needed to add a udev rule:

➜  ~ cat /etc/udev/rules.d/50-zsa.rules
# Rules for Oryx web flashing and live training
KERNEL=="hidraw*", ATTRS{idVendor}=="16c0", MODE="0664", GROUP="plugdev"
KERNEL=="hidraw*", ATTRS{idVendor}=="3297", MODE="0664", GROUP="plugdev"

# Legacy rules for live training over webusb (Not needed for firmware v21+)
  # Rule for all ZSA keyboards
  SUBSYSTEM=="usb", ATTR{idVendor}=="3297", GROUP="plugdev"
  # Rule for the Moonlander
  SUBSYSTEM=="usb", ATTR{idVendor}=="3297", ATTR{idProduct}=="1969", GROUP="plugdev"
  # Rule for the Ergodox EZ
  SUBSYSTEM=="usb", ATTR{idVendor}=="feed", ATTR{idProduct}=="1307", GROUP="plugdev"
  # Rule for the Planck EZ
  SUBSYSTEM=="usb", ATTR{idVendor}=="feed", ATTR{idProduct}=="6060", GROUP="plugdev"

# Wally Flashing rules for the Ergodox EZ
ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="04[789B]?", ENV{ID_MM_DEVICE_IGNORE}="1"
ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="04[789A]?", ENV{MTP_NO_PROBE}="1"
SUBSYSTEMS=="usb", ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="04[789ABCD]?", MODE:="0666"
KERNEL=="ttyACM*", ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="04[789B]?", MODE:="0666"

You don’t need all of this, keyboard dependent, but also I can’t imagine it hurting.

Oh, you also need the plugdev group if you don’t already have it:

sudo groupadd plugdev
sudo usermod -aG plugdev $USER

Then restart, and I think you should be good? Fairly sure that’s all I did (I have an ergo dox)

Thanks, yeah, I’ve taken these steps, but the binary won’t run without the requisite dependencies. Did you run this in a container like Distrobox or Toolbox?

I followed these instruction: Linux install · zsa/wally Wiki · GitHub

This would have involved installed libwebkiw2gtk 4.1, which the fedora instructions also have. I’m not a linux expert, but I’m going to presume that 4.1 contains 4.0 inside it.

Oh, and I’m not running it in a container or anything, just normally on system, as my user.