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
Comments
Have you installed |
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 |
Can you post the output of |
Here the log:
the dmesg how i should execute? Regards! |
Just run |
here go, thanks a lot! Another problem, the battery is not detected. Thanks! |
Hmm okay, can you run CC @StollD regarding ipts. |
here go!
and:
Thanks again! |
any other command, file or watever that can be helpful, ask me :) |
Okay, regarding battery: Can you test the
The battery should hopefully work after that. In addition, can you run |
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. |
hi @qzed and friends! The battery works like a charm now!!!
Thanks a lot! |
for the touch screen any idea of wat can i try to make it work?, Thanks! |
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. :( |
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 |
Thanks for testing! I'll prepare and submit a patch for that later today. |
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?. |
It should work with v5.11.5. I think that version should already be available. |
Great! thanks a lot!!! |
If you've got a bit of time you could try to search for a |
i search for TouchPenProcessor.dll in c: particion and found a ocurrency in: I atach this files in the message. |
If you think a posible idea, tell me and i will try it :) |
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. |
wow!, its seems a little light at the end of the tunnel :D. |
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. |
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. |
ok, if you know how to dump de HID descriptor in windows i execute and post it |
Hi Friends! Regards! |
No |
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 |
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 |
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! |
@Pairman |
You can build yourself following the readmes. |
@Pairman sorry dear , i tried building theese two repos from source , still doesnt work |
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. |
@Pairman sorry i found sth new |
ok seem driver operate but not sure about iptsd now I stayed tune for error log of each iptsd building |
@NP-chaonay but it still doesnt work 😮💨 |
i have touchscreen , i think with singletouch , but still no pen support |
and how can i check multitouch?? |
i tried compiling linux-surface-iptsd myself
|
full log :
|
installed libtool and the previous problem solved! 💚 |
but i |
@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 |
@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). The service needs modification, since linux-surface/iptsd needs specified device name in execution command |
@Pairman thanks dear , i tried it , and it runs Things i tried compiling and installing And i can even run iptsd /dev/hidraw1 |
Sadly I have no idea about this. iptsd runs fine on Fedora. Not sure if it's about your distro. |
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 |
@NP-chaonay |
And also i havent used github actions anymore, instead i compile and install myself and write systemd services |
Anddd i also tried installing windows and updating the firmware ... |
Let talking in linux-surface matrix for convenience |
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!
The text was updated successfully, but these errors were encountered: