@khm I was wondering, I have this wacom pen tablet that I would like to add support for on 9legacy, how do I go about doing that? I don't know anything about drivers, I'm not even sure if I know what a driver is, is it a small application?
@neauoire @khm Think of it as a module in the first place. The OS kernel can load it and run it. Plan 9 tries to keep the interface rather simple. See here for the USB driver framework as if now in Harvey:
https://github.com/Harvey-OS/harvey/blob/main/sys/src/9/amd64/devusb.c
@neauoire @khm To be honest, I have about no clue, just heard it's hard. Even with emulation, tests can be misleading; the emulation may still behave a bit different. I would suggest a lot of trial/error first, and regarding testing strategies, hopefully the Linux Foundation's efforts with KernelCI will help in the future.
https://github.com/kernelci/
A suggestion seen often is to look at BSD drivers and port them to Plan 9, possibly NetBSD+OpenBSD specifically. Some FreeBSD drivers stem from there.