Feasibility of adding kernel module to BomeBox?

Would it be feasible to try to compile and insert a linux kernel module to drive a Steinberg Midex device? I have done such things in the past with various versions of linux, but never OpenWRT.

We will look into it but no promises.

Steve Caldwell
Bome Customer Care


Also available for paid consulting services: bome@sniz.biz

Actually I was considering trying it myself and was seeking reassurance that it wasn’t a poor idea.

I assume if I compile and upload the module whose code is at GitHub - sgorpi/midex8: Linux driver for Steinberg's MIDEX8, login via ssh and do insmod, it might not load, but at least wouldn’t brick the device as far as you can tell?

exactly. We have published the OpenWRT version here:

Unfortunately that build system is old, so may not run well on current host systems.

Let us know if you have any luck! Or, if you get stuck, maybe we can finish building that module.

I have reached a barrier I cannot surmount in building the toolchain: mtd-utils will not compile. I have been banging my head against it for days, patching and fiddling and getting a bit further through it each time, but I can’t find out how to get past an error in mkfs.jffs2.c where printf doesn’t understand the appearance of PRIdoff_t.

I understand you probably have other claims on your time and attention, but if I you have any clue about how to get mtd-utils compiled, or by-pass it altogether if necessary, I would be very grateful.

which version of mtd-utils is used by your build? I’ve run into problems when the build uses newer versions of the tools. Also, any printf’s that are prepended by if (verbose) can be commented out safely.

Also, if you only want to compile your own module(s), you technically don’t need to compile any tools that are used for the OS itself. So you could just remove mtd-utils from the build.

Sorry I cannot be more of a help at this time.

I have at last a kernel module that works for my midex8. I had to use Claude code to pull it together in the end. If anyone with a midex device would like to try it, and is okay getting into the bomebox with ssh and scp, let me know.

sounds great! Do you have a github repo for that? Or feel free to send it to me and we may integrate it into the next firmware update.
https://www.bome.com/contact

The repo is at -

Sorry if it’s a bit of a mess, I only have the thinnest understanding of git.

Amazing! thanks. I will see if we can include it in the regular firmware.
Florian