sonnyp / linux-minibook-x

Linux for the Chuwi MiniBook X 2023 / N100
29 stars 1 forks source link

MDA6655 -> use MXC4005 kernel driver #2

Open nexero opened 2 months ago

nexero commented 2 months ago

Hey @sonnyp,

after patching the /kernel/drivers/iio/accel/mxc4005.c kernel module, the accelerometer does work properly :) I just added MDA6655 and mda6655 to the *-device-id-structs and compiled and loaded the module via DKMS.

Maybe that's some valuable info for you and other Linux users, too.

Cheers!

nexero commented 2 months ago

FYI: someone did submit the patch already to the Linux Kernel, and it is available from 6.9-rc1 on. So when 6.9 gets released, everything should be just fine!

sonnyp commented 2 months ago

That's awesome, thanks for letting us know.

Next step is tablet mode switch, I haven't had much luck yet but kernel and hardware enablement isn't exactly my specialty.

Perhaps you'll get more lucky ? https://github.com/sonnyp/linux-minibook-x?tab=readme-ov-file#tablet-switch