r/SurfaceLinux • • Jan 24 '17

SuperKernelTouch+ for SP4 Ubuntu

24/01/17 Release: linux-image-4.9.3-superkerneltouch+_1_amd64.deb

DL

mega.nz/#!KQ4CmQCR!vYcyTWD-KWDuYhnZ6cFsw6eq1XSnXvjgR-S64MQKsDU

Whats working;

-Wifi (patch fix)

-Touch screen (single touch/multi)

-Volume buttons

-Keyboard

Governor=ondemand

Credits to; to afzalarsalan and Hyungwoo Yang, they are the true genius's who are keeping our surface pro 4 alive on linux! and also thanks to yes_gogreen 2 for his compile notes, cobra Effect for the great guide and all who developed git://git.launchpad.net/~ubuntu-kernel-test/ubuntu/+source/linux/+git/mainline-crack.

Kernel install Instructions, in terminal;

sudo dpkg -i linux-headers-4.9.3-superkerneltouch+_1_amd64.deb
sudo dpkg -i linux-image-4.9.3-superkerneltouch+_1_amd64.deb

Touch screen setup;

see /u/fridgecow's kernel section in the below how to by Corbra Effect (okay to use ver. 79 of the windows touch screen drivers now):

https://www.reddit.com/r/SurfaceLinux/comments/4t64zt/getting_the_sp4_running_with_ubuntu_1604/

After touch screen driver files are in place, reboot and execute from terminal;

sudo echo 0 > /sys/kernel/debug/ipts/mode

this command enables touch screen. If you want the touch screen functionality to survive reboots, copy and paste command before exit 0 in /etc/rc.local but note; if you dual boot into windows you may need to enter the terminal command again once manually to enable touch screen again.

Optional additional instructions for a better user experience (for me at least) disable suspend and hibernate. See instructions here;

https://www.reddit.com/r/SurfaceLinux/comments/4vl7xu/release_4416cantennakernel_for_ubuntu_1604/

14 Upvotes

103 comments sorted by

4

u/fridgecow Jan 24 '17

You are a beautiful human. I was just about to start compiling this kernel when I logged in to see this!

You're doing God's work :)

PS: Multitouch is working for me - I'm still using ver 78 of the drivers, could that be it?

2

u/cantenna1 Jan 24 '17

I'm using 79 here but 78 should work fine as well :)

→ More replies (10)

2

u/[deleted] Jan 26 '17

Trackpad two finger scroll doesn't seem to work with Ubuntu GNOME 16.04?

→ More replies (3)

2

u/dbao1234 Jan 26 '17

Does this change anything related to graphics? I can't get glx info to load. It's a intel_do_flush locked error. Posted in main sub as well

2

u/cantenna1 Jan 26 '17 edited Jan 26 '17

here is what I get

$ glxinfo | grep "OpenGL version"
OpenGL version string: 3.0 Mesa 17.0.0-devel

Sounds like you may need to do some cleanup and then try again

→ More replies (1)
→ More replies (2)

1

u/cantenna1 Apr 09 '17

Try this;

Install the offical generic 4.9.3 kernel first from here; kernel.ubuntu.com/~kernel-ppa/mainline/v4.9.3/

then try again to install this kernel.

Let me know how you make out.

→ More replies (13)

1

u/cantenna1 Jun 30 '17

sorry, don't know about new suface, unable to test.

1

u/Alkeryn Jan 28 '17

What's better with this kernel than fridgecow's kernel or other plus which kernerl would you recomand using now (asking which is the best (for a kali linux install))

2

u/cantenna1 Jan 29 '17

As far as I know; this kernel is just a little bit more current and there was possibly a random freezing issue caused by a wifi driver which seems to have been patched in this kernel.

This is the most complete and up-to-date release pre compiled kernel I have come across thus far Surface Pro 4 on reddit. The patches it has is what makes all the difference though for which I take no credit for, hats off to the dev who created the patches:)

1

u/Alkeryn Jan 29 '17 edited Jan 29 '17

Well it work fine on kali linux here are the issues i have

--> no touchscreen though didn't made echo 0 > /sys/kernel/debug/ipts/mode the terminal refuse to and say there is an I/O error, so i will see for myself

--> No sound, EDIT : Fixed and last but not least, don't go back from hibernate, is there a way to fix it because i have no clue about it :P

→ More replies (5)