st_accel Kernel Module can't be inserted - Lenovo MIIX 320

Hi All,

So, I have been down quite the rabbit hole on this one. Basically I have gotten about as far as this one guy (and stumbled onto his post)
https://translate.google.com/translate?hl=en&sl=es&u=https://exdebian.org/foro/problemas-compilaci%C3%B3n-de-un-s%C3%B3lo-m%C3%B3dulo-warning-undefined&prev=search&pto=aue

If you try to insert the module, you get:

# modprobe st_accel

modprobe: ERROR: could not insert 'st_accel': Unknown symbol in module, or unknown parameter (see dmesg)

and a whole bunch of errors in the dmesg:

st_accel: Unknown symbol st_sensors_read_info_raw (err -2)

Then it goes quiet.

I haven’t been able to figure out how to resolve this, and nothing seems to have changed since kernel 4.x.

Any suggestions? My C is a bit rusty, but it looks almost like a set of calls has been removed from the kernel, or moved to a module that prevents it operating correctly. I don’t relish the prospect of compiling the kernel on the MIIX320 to test it, and I haven’t compiled a kernel since the early 2000s… Sadly my day job limits my time on this a bit.

Thanks

I tried:

modprobe st_accel

here (running Leap 15.2). And it tells me that the module does not exist.

You presumably got that module from somewhere else, and it is not compatible with your current kernel. Or at least that’s how it looks from here.

Hi and welcome to the Forum :slight_smile:
Easy way is to ask the openSUSE kernel developers to enable/build via a bug report, there may be some reasons why they are not enabled… openSUSE:Submitting bug reports - openSUSE

Can you post back the bug report number for a reference :wink:

It’s likely on the bug report to provide hardware information on the accelerometers in use.

https://esc.sh/blog/linux-on-lenovo-miix-320/

Maybe Kali: https://www.kali.org/downloads/