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

Pen/Touch Support for Surface Pro 7+ #411

Closed
ferkorol opened this issue Mar 7, 2021 · 54 comments
Closed

Pen/Touch Support for Surface Pro 7+ #411

ferkorol opened this issue Mar 7, 2021 · 54 comments
Labels
A: ipts (new) Area: Intel IPTS touchscreen driver (v5.+) C: missing feature Category: Missing Feature D: Surface Pro 7+ Device: Surface Pro 7+

Comments

@ferkorol
Copy link

ferkorol commented Mar 7, 2021

Hi Friends!

This week i bought a SP7+ i5 model and its a beauty and a pure horse power. Yesterday i install ubuntu 20.04 and apply this linux surface package.
The touchscreen don't work at all.
Please add support to this latest surface model.

Regards!

@SamLukeYes
Copy link

Have you installed iptsd and enabled iptsd.service?

@ferkorol
Copy link
Author

ferkorol commented Mar 8, 2021

Yes, i follow the guide with all steps, uname -a display the kernel 5.11-surface string. But the touchscreen dont work at all. Before of this SP7+ im have de SB2 15, SB1 13 and SP4. All models works with linux-surface kernel or the old jakeday.

Regards

@qzed
Copy link
Member

qzed commented Mar 8, 2021

Can you post the output of systemctl status iptsd.service and a dmesg log?

@ferkorol
Copy link
Author

ferkorol commented Mar 8, 2021

Here the log:


fer@surface:~$ systemctl status iptsd.service
● iptsd.service - Intel Precise Touch & Stylus Daemon
     Loaded: loaded (/lib/systemd/system/iptsd.service; enabled; vendor preset: enabled)
     Active: failed (Result: exit-code) since Mon 2021-03-08 20:02:59 -03; 10min ago
       Docs: https://github.com/linux-surface/iptsd
   Main PID: 6086 (code=exited, status=254)

mar 08 20:02:59 surface systemd[1]: Started Intel Precise Touch & Stylus Daemon.
mar 08 20:02:59 surface iptsd[6086]: ERROR: ../src/control.c:141: Failed to open /dev/ipts/0: No such file or directory
mar 08 20:02:59 surface iptsd[6086]: ERROR: ../src/main.c:83: Failed to start IPTS: No such file or directory
mar 08 20:02:59 surface systemd[1]: iptsd.service: Main process exited, code=exited, status=254/n/a
mar 08 20:02:59 surface systemd[1]: iptsd.service: Failed with result 'exit-code'.

the dmesg how i should execute?

Regards!

@qzed
Copy link
Member

qzed commented Mar 8, 2021

the dmesg how i should execute?

Just run sudo dmesg > dmesg.log and attach the dmesg.log file here.

@ferkorol
Copy link
Author

ferkorol commented Mar 9, 2021

here go, thanks a lot!

dmesg.log

Another problem, the battery is not detected.

Thanks!

@qzed
Copy link
Member

qzed commented Mar 9, 2021

Hmm okay, can you run bash -c "grep '.*' /sys/bus/acpi/devices/*/path" | grep MSHW and lspci and post the output?

CC @StollD regarding ipts.

@ferkorol
Copy link
Author

ferkorol commented Mar 9, 2021

here go!

fer@surface:~$ bash -c "grep '.*' /sys/bus/acpi/devices/*/path" | grep MSHW
/sys/bus/acpi/devices/MSHW0005:00/path:\_SB_.SLT_
/sys/bus/acpi/devices/MSHW0006:00/path:\_SB_.WSAF
/sys/bus/acpi/devices/MSHW0040:00/path:\_SB_.MSBT
/sys/bus/acpi/devices/MSHW0084:00/path:\_SB_.SSH_
/sys/bus/acpi/devices/MSHW0119:00/path:\_SB_.WSID
/sys/bus/acpi/devices/MSHW0125:00/path:\_SB_.PC00.I2C0.FINK
/sys/bus/acpi/devices/MSHW0184:00/path:\_SB_.PC00.I2C4.ACSD

and:

fer@surface:~$ lspci
00:00.0 Host bridge: Intel Corporation Device 9a14 (rev 01)
00:02.0 VGA compatible controller: Intel Corporation Device 9a49 (rev 01)
00:05.0 Multimedia controller: Intel Corporation Device 9a19 (rev 01)
00:06.0 PCI bridge: Intel Corporation Device 9a09 (rev 01)
00:0a.0 Signal processing controller: Intel Corporation Device 9a0d (rev 01)
00:0d.0 USB controller: Intel Corporation Device 9a13 (rev 01)
00:10.0 Serial bus controller [0c80]: Intel Corporation Device a0d8 (rev 20)
00:10.6 Digitizer Pen: Intel Corporation Device a0d0 (rev 20)
00:12.0 Serial controller: Intel Corporation Device a0fc (rev 20)
00:14.0 USB controller: Intel Corporation Device a0ed (rev 20)
00:14.2 RAM memory: Intel Corporation Device a0ef (rev 20)
00:14.3 Network controller: Intel Corporation Device a0f0 (rev 20)
00:15.0 Serial bus controller [0c80]: Intel Corporation Device a0e8 (rev 20)
00:15.2 Serial bus controller [0c80]: Intel Corporation Device a0ea (rev 20)
00:15.3 Serial bus controller [0c80]: Intel Corporation Device a0eb (rev 20)
00:16.0 Communication controller: Intel Corporation Device a0e0 (rev 20)
00:19.0 Serial bus controller [0c80]: Intel Corporation Device a0c5 (rev 20)
00:1e.0 Communication controller: Intel Corporation Device a0a8 (rev 20)
00:1f.0 ISA bridge: Intel Corporation Device a082 (rev 20)
00:1f.3 Audio device: Intel Corporation Device a0c8 (rev 20)
00:1f.5 Serial bus controller [0c80]: Intel Corporation Device a0a4 (rev 20)
01:00.0 Non-Volatile memory controller: KIOXIA Corporation Device 0001

Thanks again!

@ferkorol
Copy link
Author

ferkorol commented Mar 9, 2021

any other command, file or watever that can be helpful, ask me :)

@qzed
Copy link
Member

qzed commented Mar 9, 2021

Okay, regarding battery: Can you test the feature/sp7plus branch of the surface aggregator module? To do that, run:

  1. git clone https://github.com/linux-surface/surface-aggregator-module.git
  2. cd surface-aggregator-module/module
  3. git checkout feature/sp7plus
  4. make clean all
  5. make modprobe-unload
  6. make insmod
  7. systemctl restart upower.service

The battery should hopefully work after that. In addition, can you run ls -al /sys/class/power_supply after that and post the output?

@StollD
Copy link
Member

StollD commented Mar 9, 2021

00:10.6 Digitizer Pen: Intel Corporation Device a0d0 (rev 20)

This is bad(tm).

This is a Touch Host Controller, which is Intels new (read: 3rd or 4th) way of doing IPTS, introduced with Tiger Lake. According to wikipedia the SP7+ has an 11th gen CPU instead of a 10th gen one, so that would line up.

The THC is not supported at all right now, and based on some poking it probably wont be for some time, because the interface is very different to the old MEI based IPTS, so the code cant be reused.

See also linux-surface/intel-precise-touch#8 for THC support.

@ferkorol
Copy link
Author

ferkorol commented Mar 9, 2021

hi @qzed and friends!

The battery works like a charm now!!!
Captura de pantalla de 2021-03-09 07-36-41

fer@surface:~/Descargas/surface-aggregator-module/module$ ls -al /sys/class/power_supply
total 0
drwxr-xr-x  2 root root 0 mar  9 04:25 .
drwxr-xr-x 82 root root 0 mar  9 04:25 ..
lrwxrwxrwx  1 root root 0 mar  9 07:35 ADP1 -> ../../devices/platform/MSHW0119:00/01:02:01:01:01/power_supply/ADP1
lrwxrwxrwx  1 root root 0 mar  9 07:35 BAT1 -> ../../devices/platform/MSHW0119:00/01:02:01:01:00/power_supply/BAT1

Thanks a lot!

@ferkorol
Copy link
Author

ferkorol commented Mar 9, 2021

for the touch screen any idea of wat can i try to make it work?,

Thanks!

@StollD
Copy link
Member

StollD commented Mar 9, 2021

for the touch screen any idea of wat can i try to make it work?

Get Intel to actually support the hardware they yeet out into the wild :P

At the moment there really isnt anything you can do, sorry. The hardware doesnt have a driver, or any form of documentation. Someone needs to figure that out and write a driver from scratch. And that will take time. A lot of time. :(

@ferkorol
Copy link
Author

ferkorol commented Mar 9, 2021

ohhh. If you have any kind of news, please write a message and i will try, for now i will use windows + WSL2 to work with linux, but i preserve the second partition with ubuntu in the wait of the working driver.

Thank you a lot

@qzed
Copy link
Member

qzed commented Mar 9, 2021

The battery works like a charm now!!!

Thanks for testing! I'll prepare and submit a patch for that later today.

@ferkorol
Copy link
Author

hi @qzed !, yesterday im switch again to my ubuntu partition and the battery haven' been detected. Then i re run the 4 to 6 steps and it re work. With the next versión of linux-surface kernel it will work out of the box?.
thanks!

@qzed
Copy link
Member

qzed commented Mar 11, 2021

It should work with v5.11.5. I think that version should already be available.

@ferkorol
Copy link
Author

Great! thanks a lot!!!
If only work the touchscreen drivers the SP7+ will be a so perfect linux portable machine.
Regards!

@qzed
Copy link
Member

qzed commented Mar 11, 2021

If you've got a bit of time you could try to search for a TouchPenProcessor.dll on Windows. I think that could give us a hint on how much the technology has changed. If it's still there, there's still (some) user-space touch processing, so I think that'd indicate that the new driver required is still just a transport/communication driver.

@ferkorol
Copy link
Author

TouchPenProcessor.zip
libreria

i search for TouchPenProcessor.dll in c: particion and found a ocurrency in:
C:\Windows\System32\DriverStore\FileRepository\surfacetouchpenprocessorupdate.inf_amd64_0f7734be7b70d45e

I atach this files in the message.
Thanks!

@ferkorol
Copy link
Author

If you think a posible idea, tell me and i will try it :)

@qzed
Copy link
Member

qzed commented Mar 11, 2021

Thanks! Looks like this might be a different version of that DLL, the suffix seems new (and it's also quite a bit larger). So I guess the SP7+ will still be using IPTSD, we just need to figure out the transport driver.

@ferkorol
Copy link
Author

wow!, its seems a little light at the end of the tunnel :D.
Count with me for any kind of test

@qzed
Copy link
Member

qzed commented Mar 11, 2021

Well, we're still pretty far from it. That DLL gives an indication on what the data might look like (but there are no guarantees). We still need a kernel driver for the new PCI device, which either requires a lot of reverse-engineering work on the Windows driver or some sort of spec/code-dump from Intel.

@StollD
Copy link
Member

StollD commented Mar 11, 2021

You could try dumping the HID descriptor of the touch device from windows. That could tell us roughly what data to expect. However, I have no idea how to actually do that. I remember @archseer doing it though, maybe he can help. And it is purely academic since we dont know how to talk to the hardware.

@ferkorol
Copy link
Author

ok, if you know how to dump de HID descriptor in windows i execute and post it

@qzed qzed added A: ipts (new) Area: Intel IPTS touchscreen driver (v5.+) C: missing feature Category: Missing Feature D: Surface Pro 7+ Device: Surface Pro 7+ labels Mar 17, 2021
@ferkorol
Copy link
Author

Hi Friends!
There was someting i can try or any news abbout the support for the touchscreen on the SP7+ ?

Regards!

@StollD
Copy link
Member

StollD commented Apr 12, 2021

No

@qzed qzed changed the title Please add support for surface pro 7 PLUS Pen/Touch Support for Surface Pro 7+ Apr 23, 2021
@ferkorol
Copy link
Author

Hi!,

https://www.phoronix.com/scan.php?page=news_item&px=Better-Surface-Linux-5.12

Can i have some kind of hope when you upgrade to the kernel 5.12? :)

Any kind of test, count with me

@StollD
Copy link
Member

StollD commented Apr 27, 2021

No, the patches in 5.12 are SAM patches. They are not related to the touchscreen and we have been shipping them in the patched kernel forever now, so nothing will change.

Like I said, if you want the THC hardware to be supported, you need to complain to Intel who continue to throw out exotic and weird hardware into the wild and then ignore it. Either they support it, or someone who owns the hardware figures out enough about it to write a driver themselves. And currently there doesnt seem to be anyone who is interested in that.

I am going to close this issue in favor of linux-surface/intel-precise-touch#8

@StollD StollD closed this as completed Apr 27, 2021
@Pairman
Copy link

Pairman commented Aug 3, 2022

Hey, if you are still watching this issue, the touch and stylus are now functioning. See the feature matrix and build the needed part yourself!

@alirezadigi
Copy link

@Pairman
can you please help? by showing "How?" :) 🤝

@Pairman
Copy link

Pairman commented Oct 30, 2022

@Pairman can you please help? by showing "How?" :) 🤝

You can build yourself following the readmes.
ithc-linux is for single-touch support. iptsd is for multitouch & pen support, and this needs manually compilation too to get it work on sp7p

@alirezadigi
Copy link

@Pairman sorry dear , i tried building theese two repos from source , still doesnt work
HW:surface pro 7+ /intel 10500 / ram 8 / 256gb ssd
surface pen model : 2020
could you please help? 🤝

@Pairman
Copy link

Pairman commented Nov 1, 2022

@Pairman sorry dear , i tried building theese two repos from source , still doesnt work HW:surface pro 7+ /intel 10500 / ram 8 / 256gb ssd surface pen model : 2020 could you please help? 🤝

Could you provide the compiling logs? I'm just a normal user than experienced developer, but maybe I can help with certain issues I met before.

@alirezadigi
Copy link

@Pairman sorry i found sth new
After system boot and when i login .... i can touch the screen for about 3 seconds... after that it disables ...
Ill send compilation logs today but the most important one is that there is no /dev/iptsd/0 device :/
Thanks a lot 🙏 💓

@NP-chaonay
Copy link

After system boot and when i login .... i can touch the screen for about 3 seconds... after that it disables ...
Ill send compilation logs today but the most important one is that there is no /dev/iptsd/0 device :/
Thanks a lot 🙏 💓

@alirezadigi

ok seem driver operate but not sure about iptsd

now I stayed tune for error log of each iptsd building

@alirezadigi
Copy link

@NP-chaonay
i could make pen work , but it sometimes doesnt work after reboot , and it again works after second reboot
but i reinstalled KUBUNTU in my SP7 and it doesnt work now
my steps
installing surface-linux/surface-linux with apt (from instructions in wiki)
installing surface-linux/iptsd from github actions
cloning quo/ithc-linux from github and compiling

but it still doesnt work 😮‍💨

@alirezadigi
Copy link

i have touchscreen , i think with singletouch , but still no pen support
@Pairman
@NP-chaonay
any ideas what i should also install?

@alirezadigi
Copy link

and how can i check multitouch??

@alirezadigi
Copy link

i tried compiling linux-surface-iptsd myself
get errors


$ meson build
The Meson build system
Version: 0.61.2
Source dir: /home/alirezadigi/iptsd
Build dir: /home/alirezadigi/iptsd/build
Build type: native build
Project name: iptsd
Project version: 0.5.1
C compiler for the host machine: cc (gcc 11.3.0 "cc (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0")
C linker for the host machine: cc ld.bfd 2.38
C++ compiler for the host machine: c++ (gcc 11.3.0 "c++ (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0")
C++ linker for the host machine: c++ ld.bfd 2.38
Host machine cpu family: x86_64
Host machine cpu: x86_64
Configuring iptsd@.service using configuration
Did not find pkg-config by name 'pkg-config'
Found Pkg-config: NO
Did not find CMake 'cmake'
Found CMake: NO
Run-time dependency systemd found: NO (tried pkgconfig and cmake)
etc/meson.build:21: WARNING: systemd integration was enabled, but systemd was not found
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 
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/alirezadigi/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 11.3.0 "c++ (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0")
cli11| C++ linker for the host machine: c++ ld.bfd 2.38
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 11.3.0 "c++ (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0")
fmt| C++ linker for the host machine: c++ ld.bfd 2.38
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 11.3.0 "cc (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0")
inih| C linker for the host machine: cc ld.bfd 2.38
inih| C++ compiler for the host machine: c++ (gcc 11.3.0 "c++ (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0")
inih| C++ linker for the host machine: c++ ld.bfd 2.38
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 11.3.0 "c++ (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0")
spdlog| C++ linker for the host machine: c++ ld.bfd 2.38
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 11.3.0 "c++ (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0")
microsoft-gsl| C++ linker for the host machine: c++ ld.bfd 2.38
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 11.3.0 "cc (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0")
hidrd| C linker for the host machine: cc ld.bfd 2.38

subprojects/hidrd/meson.build:7:0: ERROR: Command "/home/alirezadigi/iptsd/subprojects/hidrd/bootstrap" failed with status 1.

A full log can be found at /home/alirezadigi/iptsd/build/meson-logs/meson-log.txt```

@alirezadigi
Copy link

full log :

alirezadigi@alirezadigi-Surface-Pro-7:~/iptsd$ cat build/meson-logs/meson-log.txt 
Build started at 2022-11-02T15:25:38.495755
Main binary: /usr/bin/python3
Build Options: 
Python system: Linux
The Meson build system
Version: 0.61.2
Source dir: /home/alirezadigi/iptsd
Build dir: /home/alirezadigi/iptsd/build
Build type: native build
Project name: iptsd
Project version: 0.5.1
Sanity testing C compiler: cc
Is cross compiler: False.
Sanity check compiler command line: cc sanitycheckc.c -o sanitycheckc.exe -D_FILE_OFFSET_BITS=64
Sanity check compile stdout:

-----
Sanity check compile stderr:

-----
Running test binary command: /home/alirezadigi/iptsd/build/meson-private/sanitycheckc.exe
C compiler for the host machine: cc (gcc 11.3.0 "cc (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0")
C linker for the host machine: cc ld.bfd 2.38
Sanity testing C++ compiler: c++
Is cross compiler: False.
Sanity check compiler command line: c++ sanitycheckcpp.cc -o sanitycheckcpp.exe -D_FILE_OFFSET_BITS=64
Sanity check compile stdout:

-----
Sanity check compile stderr:

-----
Running test binary command: /home/alirezadigi/iptsd/build/meson-private/sanitycheckcpp.exe
C++ compiler for the host machine: c++ (gcc 11.3.0 "c++ (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0")
C++ linker for the host machine: c++ ld.bfd 2.38
Sanity testing C compiler: cc
Is cross compiler: False.
Sanity check compiler command line: cc sanitycheckc.c -o sanitycheckc.exe -D_FILE_OFFSET_BITS=64
Sanity check compile stdout:

-----
Sanity check compile stderr:

-----
Running test binary command: /home/alirezadigi/iptsd/build/meson-private/sanitycheckc.exe
C compiler for the build machine: cc (gcc 11.3.0 "cc (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0")
C linker for the build machine: cc ld.bfd 2.38
Sanity testing C++ compiler: c++
Is cross compiler: False.
Sanity check compiler command line: c++ sanitycheckcpp.cc -o sanitycheckcpp.exe -D_FILE_OFFSET_BITS=64
Sanity check compile stdout:

-----
Sanity check compile stderr:

-----
Running test binary command: /home/alirezadigi/iptsd/build/meson-private/sanitycheckcpp.exe
C++ compiler for the build machine: c++ (gcc 11.3.0 "c++ (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0")
C++ linker for the build machine: c++ ld.bfd 2.38
Build machine cpu family: x86_64
Build machine cpu: x86_64
Host machine cpu family: x86_64
Host machine cpu: x86_64
Target machine cpu family: x86_64
Target machine cpu: x86_64
Configuring iptsd@.service using configuration
Pkg-config binary for 1 is not cached.
Pkg-config binary missing from cross or native file, or env var undefined.
Trying a default Pkg-config fallback at pkg-config
Did not find pkg-config by name 'pkg-config'
Found Pkg-config: NO
Pkg-config binary for machine 1 not found. Giving up.
CMake binary for 1 is not cached
CMake binary missing from cross or native file, or env var undefined.
Trying a default CMake fallback at cmake
Did not find CMake 'cmake'
Found CMake: NO
CMake binary for machine 1 not found. Giving up.
Run-time dependency systemd found: NO (tried pkgconfig and cmake)
etc/meson.build:21: WARNING: systemd integration was enabled, but systemd was not found
Configuring configure.h using configuration
Running compile:
Working directory:  /home/alirezadigi/iptsd/build/meson-private/tmp7jvqklft
Command line:  c++ /home/alirezadigi/iptsd/build/meson-private/tmp7jvqklft/testfile.cpp -o /home/alirezadigi/iptsd/build/meson-private/tmp7jvqklft/output.obj -c -D_FILE_OFFSET_BITS=64 -O0 -fpermissive -Wuninitialized 

Code:
 extern int i;
int i;

Compiler stdout:
 
Compiler stderr:
 
Compiler for C++ supports arguments -Wuninitialized: YES 
Running compile:
Working directory:  /home/alirezadigi/iptsd/build/meson-private/tmp99ymhvb7
Command line:  c++ /home/alirezadigi/iptsd/build/meson-private/tmp99ymhvb7/testfile.cpp -o /home/alirezadigi/iptsd/build/meson-private/tmp99ymhvb7/output.obj -c -D_FILE_OFFSET_BITS=64 -O0 -fpermissive -Wunused-result -Wno-unused-result 

Code:
 extern int i;
int i;

Compiler stdout:
 
Compiler stderr:
 
Compiler for C++ supports arguments -Wno-unused-result: YES 
Running compile:
Working directory:  /home/alirezadigi/iptsd/build/meson-private/tmp2ak0conw
Command line:  c++ /home/alirezadigi/iptsd/build/meson-private/tmp2ak0conw/testfile.cpp -o /home/alirezadigi/iptsd/build/meson-private/tmp2ak0conw/output.obj -c -D_FILE_OFFSET_BITS=64 -O0 -fpermissive -Wlogical-op 

Code:
 extern int i;
int i;

Compiler stdout:
 
Compiler stderr:
 
Compiler for C++ supports arguments -Wlogical-op: YES 
Running compile:
Working directory:  /home/alirezadigi/iptsd/build/meson-private/tmpj_ytc0mi
Command line:  c++ /home/alirezadigi/iptsd/build/meson-private/tmpj_ytc0mi/testfile.cpp -o /home/alirezadigi/iptsd/build/meson-private/tmpj_ytc0mi/output.obj -c -D_FILE_OFFSET_BITS=64 -O0 -fpermissive -Wmissing-include-dirs 

Code:
 extern int i;
int i;

Compiler stdout:
 
Compiler stderr:
 
Compiler for C++ supports arguments -Wmissing-include-dirs: YES 
Running compile:
Working directory:  /home/alirezadigi/iptsd/build/meson-private/tmpvi1p_66j
Command line:  c++ /home/alirezadigi/iptsd/build/meson-private/tmpvi1p_66j/testfile.cpp -o /home/alirezadigi/iptsd/build/meson-private/tmpvi1p_66j/output.obj -c -D_FILE_OFFSET_BITS=64 -O0 -fpermissive -Wpointer-arith 

Code:
 extern int i;
int i;

Compiler stdout:
 
Compiler stderr:
 
Compiler for C++ supports arguments -Wpointer-arith: YES 
Running compile:
Working directory:  /home/alirezadigi/iptsd/build/meson-private/tmp8ry6n_8k
Command line:  c++ /home/alirezadigi/iptsd/build/meson-private/tmp8ry6n_8k/testfile.cpp -o /home/alirezadigi/iptsd/build/meson-private/tmp8ry6n_8k/output.obj -c -D_FILE_OFFSET_BITS=64 -O0 -fpermissive -Winit-self 

Code:
 extern int i;
int i;

Compiler stdout:
 
Compiler stderr:
 
Compiler for C++ supports arguments -Winit-self: YES 
Running compile:
Working directory:  /home/alirezadigi/iptsd/build/meson-private/tmpbxtod86s
Command line:  c++ /home/alirezadigi/iptsd/build/meson-private/tmpbxtod86s/testfile.cpp -o /home/alirezadigi/iptsd/build/meson-private/tmpbxtod86s/output.obj -c -D_FILE_OFFSET_BITS=64 -O0 -fpermissive -Wimplicit-fallthrough=2 

Code:
 extern int i;
int i;

Compiler stdout:
 
Compiler stderr:
 
Compiler for C++ supports arguments -Wimplicit-fallthrough=2: YES 
Running compile:
Working directory:  /home/alirezadigi/iptsd/build/meson-private/tmp_fx_ewwk
Command line:  c++ /home/alirezadigi/iptsd/build/meson-private/tmp_fx_ewwk/testfile.cpp -o /home/alirezadigi/iptsd/build/meson-private/tmp_fx_ewwk/output.obj -c -D_FILE_OFFSET_BITS=64 -O0 -fpermissive -Wendif-labels 

Code:
 extern int i;
int i;

Compiler stdout:
 
Compiler stderr:
 
Compiler for C++ supports arguments -Wendif-labels: YES 
Running compile:
Working directory:  /home/alirezadigi/iptsd/build/meson-private/tmpdl0u2p4f
Command line:  c++ /home/alirezadigi/iptsd/build/meson-private/tmpdl0u2p4f/testfile.cpp -o /home/alirezadigi/iptsd/build/meson-private/tmpdl0u2p4f/output.obj -c -D_FILE_OFFSET_BITS=64 -O0 -fpermissive -Wstrict-aliasing=2 

Code:
 extern int i;
int i;

Compiler stdout:
 
Compiler stderr:
 
Compiler for C++ supports arguments -Wstrict-aliasing=2: YES 
Running compile:
Working directory:  /home/alirezadigi/iptsd/build/meson-private/tmpekebvi5g
Command line:  c++ /home/alirezadigi/iptsd/build/meson-private/tmpekebvi5g/testfile.cpp -o /home/alirezadigi/iptsd/build/meson-private/tmpekebvi5g/output.obj -c -D_FILE_OFFSET_BITS=64 -O0 -fpermissive -Woverflow 

Code:
 extern int i;
int i;

Compiler stdout:
 
Compiler stderr:
 
Compiler for C++ supports arguments -Woverflow: YES 
Running compile:
Working directory:  /home/alirezadigi/iptsd/build/meson-private/tmpnv631l2u
Command line:  c++ /home/alirezadigi/iptsd/build/meson-private/tmpnv631l2u/testfile.cpp -o /home/alirezadigi/iptsd/build/meson-private/tmpnv631l2u/output.obj -c -D_FILE_OFFSET_BITS=64 -O0 -fpermissive -Wmissing-braces -Wno-missing-braces 

Code:
 extern int i;
int i;

Compiler stdout:
 
Compiler stderr:
 
Compiler for C++ supports arguments -Wno-missing-braces: YES 
Running compile:
Working directory:  /home/alirezadigi/iptsd/build/meson-private/tmpic20v0tn
Command line:  c++ /home/alirezadigi/iptsd/build/meson-private/tmpic20v0tn/testfile.cpp -o /home/alirezadigi/iptsd/build/meson-private/tmpic20v0tn/output.obj -c -D_FILE_OFFSET_BITS=64 -O0 -fpermissive -Wmissing-field-initializers -Wno-missing-field-initializers 

Code:
 extern int i;
int i;

Compiler stdout:
 
Compiler stderr:
 
Compiler for C++ supports arguments -Wno-missing-field-initializers: YES 
Running compile:
Working directory:  /home/alirezadigi/iptsd/build/meson-private/tmpg148zm_s
Command line:  c++ /home/alirezadigi/iptsd/build/meson-private/tmpg148zm_s/testfile.cpp -o /home/alirezadigi/iptsd/build/meson-private/tmpg148zm_s/output.obj -c -D_FILE_OFFSET_BITS=64 -O0 -fpermissive -Wunused-parameter -Wno-unused-parameter 

Code:
 extern int i;
int i;

Compiler stdout:
 
Compiler stderr:
 
Compiler for C++ supports arguments -Wno-unused-parameter: YES 
Running compile:
Working directory:  /home/alirezadigi/iptsd/build/meson-private/tmpxe8s_lhs
Command line:  c++ /home/alirezadigi/iptsd/build/meson-private/tmpxe8s_lhs/testfile.cpp -o /home/alirezadigi/iptsd/build/meson-private/tmpxe8s_lhs/output.obj -c -D_FILE_OFFSET_BITS=64 -O0 -fpermissive -march=x86-64-v3 

Code:
 extern int i;
int i;

Compiler stdout:
 
Compiler stderr:
 
Compiler for C++ supports arguments -march=x86-64-v3: YES 
Pkg-config binary for 1 is cached as not found.
Pkg-config binary for machine 1 not found. Giving up.
CMake binary for 1 is cached as not found
CMake binary for machine 1 not found. Giving up.
Run-time dependency cli11 found: NO (tried pkgconfig and cmake)
Looking for a fallback subproject for the dependency CLI11

Executing subproject cli11 

Program scripts/ExtractVersion.py found: YES (/home/alirezadigi/iptsd/subprojects/CLI11-2.2.0/scripts/ExtractVersion.py)
Running command: /home/alirezadigi/iptsd/subprojects/CLI11-2.2.0/scripts/ExtractVersion.py
--- stdout ---
2.2.0

--- stderr ---


Project name: CLI11
Project version: 2.2.0
C++ compiler for the host machine: c++ (gcc 11.3.0 "c++ (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0")
C++ linker for the host machine: c++ ld.bfd 2.38
C++ compiler for the build machine: c++ (gcc 11.3.0 "c++ (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0")
C++ linker for the build machine: c++ ld.bfd 2.38
Build targets in project: 0
Subproject cli11 finished.

Dependency CLI11 from subproject subprojects/CLI11-2.2.0 found: YES 2.2.0
Pkg-config binary for 1 is cached as not found.
Pkg-config binary for machine 1 not found. Giving up.
CMake binary for 1 is cached as not found
CMake binary for machine 1 not found. Giving up.
Run-time dependency fmt found: NO (tried pkgconfig and cmake)
Looking for a fallback subproject for the dependency fmt

Executing subproject fmt 

Project name: fmt
Project version: 9.0.0
C++ compiler for the host machine: c++ (gcc 11.3.0 "c++ (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0")
C++ linker for the host machine: c++ ld.bfd 2.38
C++ compiler for the build machine: c++ (gcc 11.3.0 "c++ (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0")
C++ linker for the build machine: c++ ld.bfd 2.38
Build targets in project: 1
Subproject fmt finished.

Dependency fmt found: YES 9.0.0 (overridden)
Pkg-config binary for 1 is cached as not found.
Pkg-config binary for machine 1 not found. Giving up.
CMake binary for 1 is cached as not found
CMake binary for machine 1 not found. Giving up.
Run-time dependency inih found: NO (tried pkgconfig and cmake)
Looking for a fallback subproject for the dependency inih

Executing subproject inih 

Project name: inih
Project version: undefined
C compiler for the host machine: cc (gcc 11.3.0 "cc (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0")
C linker for the host machine: cc ld.bfd 2.38
C compiler for the build machine: cc (gcc 11.3.0 "cc (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0")
C linker for the build machine: cc ld.bfd 2.38
C++ compiler for the build machine: c++ (gcc 11.3.0 "c++ (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0")
C++ linker for the build machine: c++ ld.bfd 2.38
C++ compiler for the host machine: c++ (gcc 11.3.0 "c++ (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0")
C++ linker for the host machine: c++ ld.bfd 2.38
Build targets in project: 3
Subproject inih finished.

Dependency inih from subproject subprojects/inih-r54 found: YES undefined
Pkg-config binary for 1 is cached as not found.
Pkg-config binary for machine 1 not found. Giving up.
CMake binary for 1 is cached as not found
CMake binary for machine 1 not found. Giving up.
Run-time dependency spdlog found: NO (tried pkgconfig and cmake)
Looking for a fallback subproject for the dependency spdlog

Executing subproject spdlog 

Project name: spdlog
Project version: 1.10.0
C++ compiler for the host machine: c++ (gcc 11.3.0 "c++ (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0")
C++ linker for the host machine: c++ ld.bfd 2.38
C++ compiler for the build machine: c++ (gcc 11.3.0 "c++ (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0")
C++ linker for the build machine: c++ ld.bfd 2.38
Run-time dependency threads found: YES
Dependency fmt found: YES 9.0.0 (overridden)
Adding test "tests"
Build targets in project: 4
Subproject spdlog finished.

Dependency spdlog from subproject subprojects/spdlog-1.10.0 found: YES 1.10.0
Pkg-config binary for 1 is cached as not found.
Pkg-config binary for machine 1 not found. Giving up.
CMake binary for 1 is cached as not found
CMake binary for machine 1 not found. Giving up.
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 

Project name: microsoft-gsl
Project version: 4.0.0
C++ compiler for the host machine: c++ (gcc 11.3.0 "c++ (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0")
C++ linker for the host machine: c++ ld.bfd 2.38
C++ compiler for the build machine: c++ (gcc 11.3.0 "c++ (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0")
C++ linker for the build machine: c++ ld.bfd 2.38
Build targets in project: 4
Subproject microsoft-gsl finished.

Dependency Microsoft.GSL (modules: Microsoft.GSL::GSL) from subproject subprojects/GSL-4.0.0 found: YES 4.0.0
Running compile:
Working directory:  /home/alirezadigi/iptsd/build/meson-private/tmpkgyidooy
Command line:  c++ /home/alirezadigi/iptsd/build/meson-private/tmpkgyidooy/testfile.cpp -o /home/alirezadigi/iptsd/build/meson-private/tmpkgyidooy/output.exe -D_FILE_OFFSET_BITS=64 -O0 -fpermissive -Wl,--start-group -lhidrd_item -Wl,--end-group -Wl,--allow-shlib-undefined 

Code:
 int main(void) { return 0; }

Compiler stdout:
 
Compiler stderr:
 /usr/bin/ld: cannot find -lhidrd_item: No such file or directory
collect2: error: ld returned 1 exit status

Running compile:
Working directory:  /home/alirezadigi/iptsd/build/meson-private/tmp6n_5u4bk
Command line:  c++ /home/alirezadigi/iptsd/build/meson-private/tmp6n_5u4bk/testfile.cpp -o /home/alirezadigi/iptsd/build/meson-private/tmp6n_5u4bk/output.exe -D_FILE_OFFSET_BITS=64 -O0 -fpermissive 

Code:
 #include<stdio.h>
        
        int main(void) {
            printf("%ld\n", (long)(sizeof(void *)));
            return 0;
        }
Compiler stdout:
 
Compiler stderr:
 
Program stdout:

8

Program stderr:


Running compile:
Working directory:  /home/alirezadigi/iptsd/build/meson-private/tmpn8tgkz7g
Command line:  c++ /home/alirezadigi/iptsd/build/meson-private/tmpn8tgkz7g/testfile.cpp -o /home/alirezadigi/iptsd/build/meson-private/tmpn8tgkz7g/output.obj -c -D_FILE_OFFSET_BITS=64 -O0 -fpermissive --print-search-dirs 

Code:
 
Compiler stdout:
 install: /usr/lib/gcc/x86_64-linux-gnu/11/
programs: =/usr/lib/gcc/x86_64-linux-gnu/11/:/usr/lib/gcc/x86_64-linux-gnu/11/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/11/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/11/../../../../x86_64-linux-gnu/bin/x86_64-linux-gnu/11/:/usr/lib/gcc/x86_64-linux-gnu/11/../../../../x86_64-linux-gnu/bin/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/11/../../../../x86_64-linux-gnu/bin/
libraries: =/usr/lib/gcc/x86_64-linux-gnu/11/:/usr/lib/gcc/x86_64-linux-gnu/11/../../../../x86_64-linux-gnu/lib/x86_64-linux-gnu/11/:/usr/lib/gcc/x86_64-linux-gnu/11/../../../../x86_64-linux-gnu/lib/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/11/../../../../x86_64-linux-gnu/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/11/:/usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/11/../../../../lib/:/lib/x86_64-linux-gnu/11/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/11/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/11/../../../../x86_64-linux-gnu/lib/:/usr/lib/gcc/x86_64-linux-gnu/11/../../../:/lib/:/usr/lib/

Compiler stderr:
 
Library hidrd_item found: NO
Pkg-config binary for 1 is cached as not found.
Pkg-config binary for machine 1 not found. Giving up.
CMake binary for 1 is cached as not found
CMake binary for machine 1 not found. Giving up.
Run-time dependency hidrd_item found: NO (tried pkgconfig and cmake)
Looking for a fallback subproject for the dependency hidrd_item

Executing subproject hidrd 

Project name: hidrd
Project version: undefined
C compiler for the host machine: cc (gcc 11.3.0 "cc (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0")
C linker for the host machine: cc ld.bfd 2.38
C compiler for the build machine: cc (gcc 11.3.0 "cc (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0")
C linker for the build machine: cc ld.bfd 2.38
Running command: /home/alirezadigi/iptsd/subprojects/hidrd/bootstrap
--- stdout ---

--- stderr ---
configure.ac:26: warning: The macro `AC_CONFIG_HEADER' is obsolete.
configure.ac:26: You should run autoupdate.
./lib/autoconf/status.m4:719: AC_CONFIG_HEADER is expanded from...
configure.ac:26: the top level
configure.ac:54: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:54: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.ac:54: the top level
include/hidrd/usage/Makefile.am:22: warning: '%'-style pattern rules are a GNU make extension
lib/fmt/Makefile.am:22: error: Libtool library used but 'LIBTOOL' is undefined
lib/fmt/Makefile.am:22:   The usual way to define 'LIBTOOL' is to add 'LT_INIT'
lib/fmt/Makefile.am:22:   to 'configure.ac' and run 'aclocal' and 'autoconf' again.
lib/fmt/Makefile.am:22:   If 'LT_INIT' is in 'configure.ac', make sure
lib/fmt/Makefile.am:22:   its definition is in aclocal's search path.
lib/fmt/code/Makefile.am:20: error: Libtool library used but 'LIBTOOL' is undefined
lib/fmt/code/Makefile.am:20:   The usual way to define 'LIBTOOL' is to add 'LT_INIT'
lib/fmt/code/Makefile.am:20:   to 'configure.ac' and run 'aclocal' and 'autoconf' again.
lib/fmt/code/Makefile.am:20:   If 'LT_INIT' is in 'configure.ac', make sure
lib/fmt/code/Makefile.am:20:   its definition is in aclocal's search path.
lib/fmt/hex/Makefile.am:20: error: Libtool library used but 'LIBTOOL' is undefined
lib/fmt/hex/Makefile.am:20:   The usual way to define 'LIBTOOL' is to add 'LT_INIT'
lib/fmt/hex/Makefile.am:20:   to 'configure.ac' and run 'aclocal' and 'autoconf' again.
lib/fmt/hex/Makefile.am:20:   If 'LT_INIT' is in 'configure.ac', make sure
lib/fmt/hex/Makefile.am:20:   its definition is in aclocal's search path.
lib/fmt/natv/Makefile.am:20: error: Libtool library used but 'LIBTOOL' is undefined
lib/fmt/natv/Makefile.am:20:   The usual way to define 'LIBTOOL' is to add 'LT_INIT'
lib/fmt/natv/Makefile.am:20:   to 'configure.ac' and run 'aclocal' and 'autoconf' again.
lib/fmt/natv/Makefile.am:20:   If 'LT_INIT' is in 'configure.ac', make sure
lib/fmt/natv/Makefile.am:20:   its definition is in aclocal's search path.
lib/fmt/spec/Makefile.am:22: error: Libtool library used but 'LIBTOOL' is undefined
lib/fmt/spec/Makefile.am:22:   The usual way to define 'LIBTOOL' is to add 'LT_INIT'
lib/fmt/spec/Makefile.am:22:   to 'configure.ac' and run 'aclocal' and 'autoconf' again.
lib/fmt/spec/Makefile.am:22:   If 'LT_INIT' is in 'configure.ac', make sure
lib/fmt/spec/Makefile.am:22:   its definition is in aclocal's search path.
lib/fmt/spec/snk/Makefile.am:20: error: Libtool library used but 'LIBTOOL' is undefined
lib/fmt/spec/snk/Makefile.am:20:   The usual way to define 'LIBTOOL' is to add 'LT_INIT'
lib/fmt/spec/snk/Makefile.am:20:   to 'configure.ac' and run 'aclocal' and 'autoconf' again.
lib/fmt/spec/snk/Makefile.am:20:   If 'LT_INIT' is in 'configure.ac', make sure
lib/fmt/spec/snk/Makefile.am:20:   its definition is in aclocal's search path.
lib/fmt/xml/Makefile.am:22: error: Libtool library used but 'LIBTOOL' is undefined
lib/fmt/xml/Makefile.am:22:   The usual way to define 'LIBTOOL' is to add 'LT_INIT'
lib/fmt/xml/Makefile.am:22:   to 'configure.ac' and run 'aclocal' and 'autoconf' again.
lib/fmt/xml/Makefile.am:22:   If 'LT_INIT' is in 'configure.ac', make sure
lib/fmt/xml/Makefile.am:22:   its definition is in aclocal's search path.
lib/fmt/xml/snk/Makefile.am:20: error: Libtool library used but 'LIBTOOL' is undefined
lib/fmt/xml/snk/Makefile.am:20:   The usual way to define 'LIBTOOL' is to add 'LT_INIT'
lib/fmt/xml/snk/Makefile.am:20:   to 'configure.ac' and run 'aclocal' and 'autoconf' again.
lib/fmt/xml/snk/Makefile.am:20:   If 'LT_INIT' is in 'configure.ac', make sure
lib/fmt/xml/snk/Makefile.am:20:   its definition is in aclocal's search path.
lib/fmt/xml/src/Makefile.am:20: error: Libtool library used but 'LIBTOOL' is undefined
lib/fmt/xml/src/Makefile.am:20:   The usual way to define 'LIBTOOL' is to add 'LT_INIT'
lib/fmt/xml/src/Makefile.am:20:   to 'configure.ac' and run 'aclocal' and 'autoconf' again.
lib/fmt/xml/src/Makefile.am:20:   If 'LT_INIT' is in 'configure.ac', make sure
lib/fmt/xml/src/Makefile.am:20:   its definition is in aclocal's search path.
lib/item/Makefile.am:20: error: Libtool library used but 'LIBTOOL' is undefined
lib/item/Makefile.am:20:   The usual way to define 'LIBTOOL' is to add 'LT_INIT'
lib/item/Makefile.am:20:   to 'configure.ac' and run 'aclocal' and 'autoconf' again.
lib/item/Makefile.am:20:   If 'LT_INIT' is in 'configure.ac', make sure
lib/item/Makefile.am:20:   its definition is in aclocal's search path.
lib/opt/Makefile.am:20: error: Libtool library used but 'LIBTOOL' is undefined
lib/opt/Makefile.am:20:   The usual way to define 'LIBTOOL' is to add 'LT_INIT'
lib/opt/Makefile.am:20:   to 'configure.ac' and run 'aclocal' and 'autoconf' again.
lib/opt/Makefile.am:20:   If 'LT_INIT' is in 'configure.ac', make sure
lib/opt/Makefile.am:20:   its definition is in aclocal's search path.
lib/strm/Makefile.am:22: error: Libtool library used but 'LIBTOOL' is undefined
lib/strm/Makefile.am:22:   The usual way to define 'LIBTOOL' is to add 'LT_INIT'
lib/strm/Makefile.am:22:   to 'configure.ac' and run 'aclocal' and 'autoconf' again.
lib/strm/Makefile.am:22:   If 'LT_INIT' is in 'configure.ac', make sure
lib/strm/Makefile.am:22:   its definition is in aclocal's search path.
lib/strm/snk/Makefile.am:20: error: Libtool library used but 'LIBTOOL' is undefined
lib/strm/snk/Makefile.am:20:   The usual way to define 'LIBTOOL' is to add 'LT_INIT'
lib/strm/snk/Makefile.am:20:   to 'configure.ac' and run 'aclocal' and 'autoconf' again.
lib/strm/snk/Makefile.am:20:   If 'LT_INIT' is in 'configure.ac', make sure
lib/strm/snk/Makefile.am:20:   its definition is in aclocal's search path.
lib/strm/src/Makefile.am:20: error: Libtool library used but 'LIBTOOL' is undefined
lib/strm/src/Makefile.am:20:   The usual way to define 'LIBTOOL' is to add 'LT_INIT'
lib/strm/src/Makefile.am:20:   to 'configure.ac' and run 'aclocal' and 'autoconf' again.
lib/strm/src/Makefile.am:20:   If 'LT_INIT' is in 'configure.ac', make sure
lib/strm/src/Makefile.am:20:   its definition is in aclocal's search path.
lib/usage/Makefile.am:31: warning: '%'-style pattern rules are a GNU make extension
lib/usage/Makefile.am:20: error: Libtool library used but 'LIBTOOL' is undefined
lib/usage/Makefile.am:20:   The usual way to define 'LIBTOOL' is to add 'LT_INIT'
lib/usage/Makefile.am:20:   to 'configure.ac' and run 'aclocal' and 'autoconf' again.
lib/usage/Makefile.am:20:   If 'LT_INIT' is in 'configure.ac', make sure
lib/usage/Makefile.am:20:   its definition is in aclocal's search path.
lib/util/Makefile.am:20: error: Libtool library used but 'LIBTOOL' is undefined
lib/util/Makefile.am:20:   The usual way to define 'LIBTOOL' is to add 'LT_INIT'
lib/util/Makefile.am:20:   to 'configure.ac' and run 'aclocal' and 'autoconf' again.
lib/util/Makefile.am:20:   If 'LT_INIT' is in 'configure.ac', make sure
lib/util/Makefile.am:20:   its definition is in aclocal's search path.
autoreconf: error: automake failed with exit status: 1



subprojects/hidrd/meson.build:7:0: ERROR: Command "/home/alirezadigi/iptsd/subprojects/hidrd/bootstrap" failed with status 1.

@alirezadigi
Copy link

installed libtool and the previous problem solved! 💚

@alirezadigi
Copy link

but i
still have pen issues ...

@NP-chaonay
Copy link

but i still have pen issues ...

@alirezadigi so is installing linux-surface/iptsd from github actions is done well without error?

idk how to check if iptsd is running exactly

but somehow you list systemd (i hope your distro using this) services, and you got service name with "iptsd" and ending with somehow alike "@hidraw1"

you could use that service name (of iptsd) to check status on systemd

@Pairman
Copy link

Pairman commented Nov 3, 2022

@alirezadigi I met with this issue before. It seems iptsd cannot automatically start when device is detected ( idk what does the detection does, but that's what the devs says about the automatically generated service file). I manually wrote a service file so that it can start with linux (not suggested by devs though).

quo/iptsd#1 (comment)

The service needs modification, since linux-surface/iptsd needs specified device name in execution command

@alirezadigi
Copy link

@Pairman thanks dear , i tried it , and it runs
But i have touch after reboot just for 3 seconds ... after that it stops working ...
Im really confused, tried installing and compiling all of theese , but still no pen
Touch is ok with just installing linux-surface kernel, but pen no...

Things i tried compiling and installing
quo/iptsd
quo/linux-ithc
linux-surface/iptsd
linux-surface/intel-precise-touch

And i can even run iptsd /dev/hidraw1
It says connected to device .....
But still no touch

@Pairman
Copy link

Pairman commented Nov 3, 2022

@Pairman thanks dear , i tried it , and it runs But i have touch after reboot just for 3 seconds ... after that it stops working ... Im really confused, tried installing and compiling all of theese , but still no pen Touch is ok with just installing linux-surface kernel, but pen no...

Things i tried compiling and installing quo/iptsd quo/linux-ithc linux-surface/iptsd linux-surface/intel-precise-touch

And i can even run iptsd /dev/hidraw1 It says connected to device ..... But still no touch

Sadly I have no idea about this. iptsd runs fine on Fedora. Not sure if it's about your distro.

@NP-chaonay
Copy link

@alirezadigi

ok so let confirm that your iptsd is from github action of linux-surface/iptsd, if you have installed quo/iptsd after linux-sruface/iptsd, then try to reinstall linux-surface/iptsd.

You should not install quo/iptsd.

then follow my #411 (comment)

and then see the check status on systemd

@alirezadigi
Copy link

@NP-chaonay
Hi again , i tried agaaaaaain a fresh install and installed kernel , compiled and installed quo/linux-ithc ,compiled and installed linux-surface/iptsd and wrote custom service for it
The pen and touch worked fine , i tried restarting 3 times and it still worked
But after a shutdown and after turning on by key the pen and touch broke again
Let me do again a fresh install ...
Can you please say instructions step by step?
And number them please?

@alirezadigi
Copy link

And also i havent used github actions anymore, instead i compile and install myself and write systemd services

@alirezadigi
Copy link

Anddd i also tried installing windows and updating the firmware ...

@NP-chaonay
Copy link

@alirezadigi

ok so let confirm that your iptsd is from github action of linux-surface/iptsd, if you have installed quo/iptsd after linux-sruface/iptsd, then try to reinstall linux-surface/iptsd.

You should not install quo/iptsd.

then follow my #411 (comment)

and then see the check status on systemd

Let talking in linux-surface matrix for convenience

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A: ipts (new) Area: Intel IPTS touchscreen driver (v5.+) C: missing feature Category: Missing Feature D: Surface Pro 7+ Device: Surface Pro 7+
Projects
None yet
Development

No branches or pull requests

7 participants