I attempted to implement this myself, but I think I am missing a step somewhere. If anyone is be able to spot something I might have missed, please do let me know, as I am was familiar with ZMK prior to this attempt.
I use a Kinesis 360Advantage Pro, as such I am using firmware from them.
Steps taken:
- Forked the Kinesis repo: Original: https://github.com/KinesisCorporation/Adv360-Pro-ZMK My fork: https://github.com/instance-id/Adv360-Pro-ZMK
- Checked the west.yml file from the above repo to locate the base firmware and forked it: Original: https://github.com/ReFil/zmk My fork: https://github.com/instance-id/zmk
- Made the same modifications from PR: zmkfirmware/zmk#1318 in my forked repo under the appropriate branch: https://github.com/instance-id/zmk/commit/5b1a6afe5d19afa7ee9bc82e12316f8311060e54
- Updated the west.yml in my forked firware building repo to point to my forked firmware source repo and branch. https://github.com/instance-id/Adv360-Pro-ZMK/blob/V2.0/config/west.yml
- Made updates to my defconfig files to add the new CONFIG_SHELL and other variables to enabled the features: https://github.com/instance-id/Adv360-Pro-ZMK/commit/eb46aa12d86b4de0ebcc4578a6e42f4ed7973f66
- Build the firmware and checked the build steps under "Adv360 Left Kconfig file" and "Adv360 Right Kconfig file" to see that variables were set: Ex. https://img.instance.id/3ngKFWgXv0JX/direct
- Applied firmware to my keyboard.
- Installed the tools and libraries needed for USBIP as per: https://github.com/caksoylar/zmk-posix-testbed#testing-the-keyboard-through-usbip
- Ran
sudo usbip list -r localhost
, received following message:
zsh ✗ usbip list -r localhost
usbip: error: could not connect to localhost:3240: System error
Unfortunately, this is where I am now stuck. These steps I took were assumptions that this was the right way to go about this in the first place, so it is possible that I am off at any point in this process. If someone might be able to point me in the right direction, I would greatly appreciate it.
At least here, before using
usbip
I need to modprobe a few extra kernel modules:Does that help?