Moonlander Oryx configuration on Ubuntu

ubuntulinuxmoonlanderkeyboardoryx

Issue

Flashing Moonlander on Ubuntu (I am using 21.04) caused following error in console.

warning OpenDevices: libusb: bad access [code -3]

Fixes

  1. Install dependency
sudo apt install libusb-dev
  1. Create a udev rule file
sudo touch /etc/udev/rules.d/50-wally.rules
  1. Add Moonlander configuration in the rule file
1# STM32 rules for the Moonlander and Planck EZ2SUBSYSTEMS=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="df11", \3    MODE:="0666", \4    SYMLINK+="stm32_dfu"

Now reboot!!!

Resources

  1. https://github.com/zsa/wally/wiki/Linux-install#2-create-a-udev-rule-file
  2. https://pcfr.uk/2020/11/29/actually-playing-with-ergodox.html