linux-surface / linux-surface

Linux Kernel for Surface Devices
4.71k stars 206 forks source link

looks like does not work on surface pro 10 #1467

Open ocean1ee1 opened 1 week ago

ocean1ee1 commented 1 week ago

I installed a latest LTS version for Ubuntu - 24.04 And then installed linux-surface step by step according to this document https://github.com/linux-surface/linux-surface/wiki/Installation-and-Setup#Debian--Ubuntu

after all steps finished, many things still not work, such as, keyboard, touchscreen, battery status, etc.

Environment

dmesg output is attached to this file newdmesg.txt

It's too long for this post

qzed commented 1 week ago

Each new device requires some amount of bring-up, so this is pretty much expected. If MS didn't change much, it should be fairly easy to at least enable support for the battery status and keyboard cover. Touchscreen might need some more time (CC @quo, @StollD ).

Could you run the diagnostics.sh script mentioned here and upload the archive it creates?

ocean1ee1 commented 1 week ago

diagnostics.tar.gz

Here is the results and hope this helpful, thanks

quo commented 1 week ago

Installing the latest version of ithc should make the touchscreen work.

ocean1ee1 commented 1 week ago

@quo,@qzed

Since I don't have much experience. Please forgive me if ask silly or bad questions.

From ithc and IPTSD pages, both of them mentioned they were included in Linux Surface kernel.

Since I installed the latest Linux Surface kernel several days ago. I wonder if the latest Linux Surface kernel(seems updated in last week) whether includes the latest ithc (seems updated in 3 weeks ago) or not?

Or is there any file in my system that indicates my ithc version is not latest?

quo commented 1 week ago

@ocean1ee1 The last two ithc commits should make the driver work with Meteor Lake devices such as the Surface Pro 10 and Surface Laptop 6. But so far these changes have only been confirmed to work on a ThinkBook, so they are not yet included in the Linux Surface kernel. Once someone actually confirms they work with the SP10 and/or SL6, the changes can be added to the Surface kernel.

ocean1ee1 commented 1 week ago

@quo With a very short test, after installed the latest ithc, touchscreen works.

Is there any more detail test steps for these touchscreen features? When I have more time, I plan to install some apps which supported pen to test more.

Btw, IMO my installation process is not so easy for a newbie, maybe the guideline can have more tips

I installed a ubuntu 24.04.

Tried [Installation without DKMS ] method first, and met a signing file problem - no such libcypto.so.1.1 file.

And then tried [Installation with DKMS ] second, and the output showed the same module and then would not replace.

and tried this command - sudo modprobe ithc modprobe: ERROR: could not insert 'ithc': Key was rejected by service

and reboot, the touchscreen still not work.

According to several old issues by searching, I renamed the ithc,ko and used DKMS install method, and then works

quo commented 1 week ago

@ocean1ee1 Nice, thanks for testing! The libcrypto error seems to be a known issue: https://github.com/linux-surface/kernel/issues/134

@StollD So the last couple ithc commits enable SL6 and SP10 support. Feel free to merge when you have some time.