Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debian 12 vs iptsd #105

Open
horvathcsabalaszlo opened this issue Jan 23, 2023 · 4 comments
Open

Debian 12 vs iptsd #105

horvathcsabalaszlo opened this issue Jan 23, 2023 · 4 comments

Comments

@horvathcsabalaszlo
Copy link

Hi,

I re-imaged my tablet with Debian12 (KDE Neon eaten too much RAM.)
And again, spam touches, and without ipsd, the touch screen stops, as it happened on Neon in #91
But after installing the new iptsd, Neon was OK, Debian 12 not.

  • i downloaded and built the kernel module, but in the kernel it's already the 1.0.0 version
  • could not build iptsd, because of missing hidrd. (log below, hidrd is banned from Debian)
  • downloaded the latest Github action for iptsd, installed, and the touch screen does not work at all

Now i have the Surface kernel stock iptsd : iptsd/unknown,now 0.5.1-1 amd64

Can someone please help me how to get the iptsd working with the new version?

Thanks for any help :)

Meson build issue :

$ meson build
The Meson build system
Version: 1.0.0
Source dir: /home/user/Dokumentumok/iptsd/iptsd
Build dir: /home/user/Dokumentumok/iptsd/iptsd/build
Build type: native build
Project name: iptsd
Project version: 0.5.1
C compiler for the host machine: cc (gcc 12.2.0 "cc (Debian 12.2.0-14) 12.2.0")
C linker for the host machine: cc ld.bfd 2.40
C++ compiler for the host machine: c++ (gcc 12.2.0 "c++ (Debian 12.2.0-14) 12.2.0")
C++ linker for the host machine: c++ ld.bfd 2.40
Host machine cpu family: x86_64
Host machine cpu: x86_64
Configuring [email protected] using configuration
Found pkg-config: /usr/bin/pkg-config (1.8.0)
Run-time dependency systemd found: YES 252
Run-time dependency udev found: YES 252
Configuring configure.h using configuration
Compiler for C++ supports arguments -Wuninitialized: YES 
Compiler for C++ supports arguments -Wno-unused-result: YES 
Compiler for C++ supports arguments -Wlogical-op: YES 
Compiler for C++ supports arguments -Wmissing-include-dirs: YES 
Compiler for C++ supports arguments -Wpointer-arith: YES 
Compiler for C++ supports arguments -Winit-self: YES 
Compiler for C++ supports arguments -Wimplicit-fallthrough=2: YES 
Compiler for C++ supports arguments -Wendif-labels: YES 
Compiler for C++ supports arguments -Wstrict-aliasing=2: YES 
Compiler for C++ supports arguments -Woverflow: YES 
Compiler for C++ supports arguments -Wno-missing-braces: YES 
Compiler for C++ supports arguments -Wno-missing-field-initializers: YES 
Compiler for C++ supports arguments -Wno-unused-parameter: YES 
Compiler for C++ supports arguments -march=x86-64-v3: YES 
Did not find CMake 'cmake'
Found CMake: NO
Run-time dependency cli11 found: NO (tried pkgconfig and cmake)
Looking for a fallback subproject for the dependency CLI11

Executing subproject cli11 

cli11| Program scripts/ExtractVersion.py found: YES (/home/user/Dokumentumok/iptsd/iptsd/subprojects/CLI11-2.2.0/scripts/ExtractVersion.py)
cli11| Project name: CLI11
cli11| Project version: 2.2.0
cli11| C++ compiler for the host machine: c++ (gcc 12.2.0 "c++ (Debian 12.2.0-14) 12.2.0")
cli11| C++ linker for the host machine: c++ ld.bfd 2.40
cli11| Build targets in project: 0
cli11| Subproject cli11 finished.

Dependency CLI11 from subproject subprojects/CLI11-2.2.0 found: YES 2.2.0
Run-time dependency fmt found: NO (tried pkgconfig and cmake)
Looking for a fallback subproject for the dependency fmt

Executing subproject fmt 

fmt| Project name: fmt
fmt| Project version: 9.0.0
fmt| C++ compiler for the host machine: c++ (gcc 12.2.0 "c++ (Debian 12.2.0-14) 12.2.0")
fmt| C++ linker for the host machine: c++ ld.bfd 2.40
fmt| Build targets in project: 1
fmt| Subproject fmt finished.

Dependency fmt found: YES 9.0.0 (overridden)
Run-time dependency inih found: NO (tried pkgconfig and cmake)
Looking for a fallback subproject for the dependency inih

Executing subproject inih 

inih| Project name: inih
inih| Project version: undefined
inih| C compiler for the host machine: cc (gcc 12.2.0 "cc (Debian 12.2.0-14) 12.2.0")
inih| C linker for the host machine: cc ld.bfd 2.40
inih| C++ compiler for the host machine: c++ (gcc 12.2.0 "c++ (Debian 12.2.0-14) 12.2.0")
inih| C++ linker for the host machine: c++ ld.bfd 2.40
inih| Build targets in project: 3
inih| Subproject inih finished.

Dependency inih from subproject subprojects/inih-r54 found: YES undefined
Run-time dependency spdlog found: NO (tried pkgconfig and cmake)
Looking for a fallback subproject for the dependency spdlog

Executing subproject spdlog 

spdlog| Project name: spdlog
spdlog| Project version: 1.10.0
spdlog| C++ compiler for the host machine: c++ (gcc 12.2.0 "c++ (Debian 12.2.0-14) 12.2.0")
spdlog| C++ linker for the host machine: c++ ld.bfd 2.40
spdlog| Run-time dependency threads found: YES
spdlog| Dependency fmt found: YES 9.0.0 (overridden)
spdlog| Build targets in project: 4
spdlog| Subproject spdlog finished.

Dependency spdlog from subproject subprojects/spdlog-1.10.0 found: YES 1.10.0
Run-time dependency microsoft.gsl found: NO (tried pkgconfig and cmake)
Looking for a fallback subproject for the dependency Microsoft.GSL (modules: Microsoft.GSL::GSL)

Executing subproject microsoft-gsl 

microsoft-gsl| Project name: microsoft-gsl
microsoft-gsl| Project version: 4.0.0
microsoft-gsl| C++ compiler for the host machine: c++ (gcc 12.2.0 "c++ (Debian 12.2.0-14) 12.2.0")
microsoft-gsl| C++ linker for the host machine: c++ ld.bfd 2.40
microsoft-gsl| Build targets in project: 4
microsoft-gsl| Subproject microsoft-gsl finished.

Dependency Microsoft.GSL (modules: Microsoft.GSL::GSL) from subproject subprojects/GSL-4.0.0 found: YES 4.0.0
Library hidrd_item found: NO
Run-time dependency hidrd_item found: NO (tried pkgconfig and cmake)
Looking for a fallback subproject for the dependency hidrd_item

Executing subproject hidrd 

hidrd| Project name: hidrd
hidrd| Project version: undefined
hidrd| C compiler for the host machine: cc (gcc 12.2.0 "cc (Debian 12.2.0-14) 12.2.0")
hidrd| C linker for the host machine: cc ld.bfd 2.40
hidrd| subprojects/hidrd/meson.build:4: DEPRECATION: Importing unstable modules as "unstable_external_project" instead of "unstable-external_project"
hidrd| subprojects/hidrd/meson.build:4: WARNING: Module External build system has no backwards or forwards compatibility and might not exist in future releases.

subprojects/hidrd/meson.build:7:0: ERROR: Command "/home/user/Dokumentumok/iptsd/iptsd/subprojects/hidrd/bootstrap" failed with status 127.

A full log can be found at /home/user/Dokumentumok/iptsd/iptsd/build/meson-logs/meson-log.txt
WARNING: Running the setup command as `meson [options]` instead of `meson setup [options]` is ambiguous and deprecated.

@NP-chaonay
Copy link
Contributor

downloaded the latest Github action for iptsd, installed, and the touch screen does not work at all

you have to reinstall kernelspace driver too but it depends on your device model

so without device model, I could not tell the detailed instruction

@horvathcsabalaszlo
Copy link
Author

horvathcsabalaszlo commented Jan 24, 2023

downloaded the latest Github action for iptsd, installed, and the touch screen does not work at all

you have to reinstall kernelspace driver too but it depends on your device model

so without device model, I could not tell the detailed instruction

It's a Surface 4 Pro. I tried to build the kernel module, but the dkms install said that the module 1.0.0 is already installed.

In the meantime as a workaround i set the stability threshold to 0.9 in ipts.conf, so it seems at least usable,but not as good as it was in the previous setup.

@StollD
Copy link
Member

StollD commented Jan 24, 2023

It's a Surface 4 Pro. I tried to build the kernel module, but the dkms install said that the module 1.0.0 is already installed.

This was a recent change by DKMS. Try sudo dkms autoinstall --force --all

@horvathcsabalaszlo
Copy link
Author

horvathcsabalaszlo commented Jan 24, 2023

It's a Surface 4 Pro. I tried to build the kernel module, but the dkms install said that the module 1.0.0 is already installed.

This was a recent change by DKMS. Try sudo dkms autoinstall --force --all

Got a strange message. The scary thing is that i have the headers installed :D

$ sudo dkms autoinstall --force --all
Sign command: /lib/modules//build/scripts/sign-file
Binary /lib/modules//build/scripts/sign-file not found, modules won't be signed
Error! Your kernel headers for kernel  cannot be found at /lib/modules//build or /lib/modules//source.
Please install the linux-headers- package or use the --kernelsourcedir option to tell DKMS where it's located.
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.

Tried to build :

$ sudo make dkms-install
cp -r /home/colt/Dokumentumok/iptsd/intel-precise-touch /usr/src/ipts-1.0.0
dkms add ipts/1.0.0
Error! DKMS tree already contains: ipts-1.0.0
You cannot add the same module/version combo more than once.
make: *** [Makefile:45: dkms-install] Error 3

However, after this, the touch screen stopped responding after i rebooted :D

But since i set stability threshold to 0.9 in ipts.conf , the screen is working mostly OK. Strange...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants