We don’t have a lot of documentation on the SJ201 drivers yet but they are all communicated via i2c and there are examples for each of these use cases in mycroft-core:
There’s also hardware volume and the switch interface here
For your user to be able to send these commands you need a few packages and for the user running Mycroft (or the system) to have the appropriate permissions.
and if you’re looking to roll a distro from scratch then you might want to look at some of the stuff happening in OpenVoice OS. Their primary build system uses buildroot and I just saw there’s also some work to get a debos build going again
NeonGecko also has a repo with scripts to build on top of an Ubuntu 20.04 image here: GitHub - NeonGeckoCom/neon-image-recipe . So far, I have wifi-connect, sj201 drivers, and nearly-complete mycroft_embedded_shell (gui).