You are not logged in.
My laptop(tablet) has a "Kionix 3-axis accelerometer" sensor and "Kionix 3-axis accelerometer in keyboard" sensor, which informed in Windows. It can sense the screen rotation and auto enable/disable the keyboard when the screen flip.
The driver for these sensors seems called "kxcjk1013"
It seems not work in linux, here's the dmesg message:
[tom@testlaptop ~]$ sudo dmesg | grep kxcjk
[ 7.131538] kxcjk1013 i2c-KIOX010A:00: mounting matrix not found: using identity...
[ 7.131551] kxcjk1013 i2c-KIOX010A:00: supply vdd not found, using dummy regulator
[ 7.131636] kxcjk1013 i2c-KIOX010A:00: supply vddio not found, using dummy regulator
[ 7.289021] kxcjk1013 i2c-KIOX020A:00: mounting matrix not found: using identity...
[ 7.289040] kxcjk1013 i2c-KIOX020A:00: supply vdd not found, using dummy regulator
[ 7.289126] kxcjk1013 i2c-KIOX020A:00: supply vddio not found, using dummy regulator
How can I active the sensors to work?
Offline
Its in the vanilla kernel (at least 5.13.1). Can you load it manually?
Offline
Its in the vanilla kernel (at least 5.13.1). Can you load it manually?
I checked the page, yes there is the kxcjk1013 driver. But I think my current system running kernel 5.12.13-arch1-2 contains the kxcjk1013 driver according to my dmesg info.
For further check, I disassembled my laptop, and checked the sensor chip is KXCJ9(KXCJ9_1918). Then I found a topic:
https://techtablets.com/forum/topic/kio … -on-linux/
the topic mentioned a kernel patch, just added a PID to make the driver work:
https://patchwork.kernel.org/project/li … edhat.com/
So, I want to have a try adding my specific VID and PID to build my custom kernel.
My current arch system runs 5.12.13-arch1-2 kernel, not the newest.
Is there a step by step way to build an old customed kernel?
Offline
Is there a step by step way to build an old customed kernel?
There is a wiki page for kernel compilation. But you are better off just upgrading to the new kernel: that's the whole point of Arch.
Offline