Closed hmtheboy154 closed 3 years ago
You build environment is missing the uinput kernel headers. Is CONFIG_INPUT_UINPUT
enabled in your kernel?
You build environment is missing the uinput kernel headers. Is
CONFIG_INPUT_UINPUT
enabled in your kernel?
Yes I do. But from what I see AOSP source didn't use my Linux Kernel source headers. Instead it use the one inside bionic libraries https://android.googlesource.com/platform/bionic/+/refs/tags/android-7.1.2_r39/libc/kernel/
Yeah that doesnt have the required definitions, probably because of the minimum required kernel version for nougat. But it seems to be available starting with Oreo. Is there any reason you are building Nougat instead of a more recent release?
Also FYI, iptsd depends on a header file that is automatically generated by meson. You will need to either call meson to generate it, or synthesize your own to get the latest versions from master to build.
Yeah that doesnt have the required definitions, probably because of the minimum required kernel version for nougat. But it seems to be available starting with Oreo. Is there any reason you are building Nougat instead of a more recent release?
There are many users out there still prefer Android-x86 7.1 or other similar version like PrimeOS or PhoenixOS since they are more stable and more "battery-friendly" than newer version. But since you are pointing out that Oreo have it, I'll try to get in touch with @electrikjesus from BlissOS and try to compile in newer version. Still, I hope we can find a solution so that nougat users can get touch working.
Also FYI, iptsd depends on a header file that is automatically generated by meson. You will need to either call meson to generate it, or synthesize your own to get the latest versions from master to build.
- https://github.com/linux-surface/iptsd/blob/master/configure.h.in
- https://github.com/linux-surface/iptsd/blob/master/src/config.c#L12 Yes I know when I check meson build script and created one by myself. That's why I don't have any missing header error
But since you are pointing out that Oreo have it, I'll try to get in touch with @electrikjesus from BlissOS and try to compile in newer version. Still, I hope we can find a solution so that nougat users can get touch working.
Just patch bionic to include the updated header file, or add it to the include path when iptsd is being built. Upstream doesnt have it because Nougat can run on ancient kernels (3.1y or so), which dont support these interfaces. But if you don't plan to run it on these ancient kernels, you can just add it yourself.
Thanks for your suggestion, I'll try out soon
But since you are pointing out that Oreo have it, I'll try to get in touch with @electrikjesus from BlissOS and try to compile in newer version. Still, I hope we can find a solution so that nougat users can get touch working.
Just patch bionic to include the updated header file, or add it to the include path when iptsd is being built. Upstream doesnt have it because Nougat can run on ancient kernels (3.1y or so), which dont support these interfaces. But if you don't plan to run it on these ancient kernels, you can just add it yourself.
It's working, thanks for your help :D
[100% 6/6] Install: out/target/product/x86_64/system/bin/iptsd
Hello, I'm trying to compile iptsd with Android-x86 source to support touch for Surface devices. However, when compiling I have this error.
Here is my Android.mk