Backport Surface 3 touchscreen driver

Bug #1611901 reported by SJ
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Medium
Unassigned
Xenial
Expired
Medium
Unassigned
Yakkety
Expired
Medium
Unassigned

Bug Description

The surface3_spi touchscreen driver finally hit Linus' kernel tree in v4.8rc1. It would be great if this could be backported to the kernels that Ubuntu ships.

The relevant upstream commits should be:
e399037e06beec6d190a302ff5e4fee4aae77c50 ACPI / scan: set status to 0 if _STA failed
30f3a6ab44d8d06bb3d94f6320e4aa76df59d025 spi: pxa2xx: Add support for both chip selects on Intel Braswell
4feacbc24eea0c5f36728017575cc0ad28d8758b Input: add new driver for the Surface 3
427ee20610a7c252e99d08e08e70a4203c6059d0 Input: surface3_spi - Prepare to add support for Surface Pen
72fb4765ac9eea56a94282f29cdc70706f21494e Input: surface3_spi - add surface pen support for Surface 3

These should hopefully be enough to get the touchscreen working. 4.4 is a really old kernel, so there might be some additional ACPI fixes needed. I'm not 100% certain. This is all that was needed on top of 4.6.

Config options needed on i386 and amd64:
CONFIG_SPI_PXA2XX=m
CONFIG_PINCTRL_CHERRYVIEW=m
CONFIG_TOUCHSCREEN_SURFACE3_SPI=m

---
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
CasperVersion: 1.376
CurrentDesktop: Unity
DistroRelease: Ubuntu 16.04
LiveMediaBuild: Ubuntu 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719)
Lsusb:
 Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
 Bus 001 Device 004: ID 1286:204c Marvell Semiconductor, Inc.
 Bus 001 Device 003: ID 045e:07de Microsoft Corp.
 Bus 001 Device 002: ID 03f0:b107 Hewlett-Packard v255w/c310w Flash Drive
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: Microsoft Corporation Surface 3
Package: linux (not installed)
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/casper/vmlinuz.efi file=/cdrom/preseed/username.seed boot=casper quiet splash systemd.unit=rescue.target ---
ProcVersionSignature: Ubuntu 4.4.0-31.50-generic 4.4.13
RelatedPackageVersions:
 linux-restricted-modules-4.4.0-31-generic N/A
 linux-backports-modules-4.4.0-31-generic N/A
 linux-firmware 1.157.2
Tags: xenial
Uname: Linux 4.4.0-31-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
_MarkForUpload: True
dmi.bios.date: 03/09/2015
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 1.51116.178
dmi.board.asset.tag: 0
dmi.board.name: Surface 3
dmi.board.vendor: Microsoft Corporation
dmi.board.version: 00
dmi.chassis.type: 9
dmi.chassis.vendor: Microsoft Corporation
dmi.chassis.version: 1
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr1.51116.178:bd03/09/2015:svnMicrosoftCorporation:pnSurface3:pvrB16D1SW1C4G1X1:rvnMicrosoftCorporation:rnSurface3:rvr00:cvnMicrosoftCorporation:ct9:cvr1:
dmi.product.name: Surface 3
dmi.product.version: B16D1SW1C4G1X1
dmi.sys.vendor: Microsoft Corporation

Revision history for this message
Brad Figg (brad-figg) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:

apport-collect 1611901

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
SJ (stephenjust) wrote : AlsaInfo.txt

apport information

tags: added: apport-collected xenial
description: updated
Revision history for this message
SJ (stephenjust) wrote : CRDA.txt

apport information

Revision history for this message
SJ (stephenjust) wrote : CurrentDmesg.txt

apport information

Revision history for this message
SJ (stephenjust) wrote : IwConfig.txt

apport information

Revision history for this message
SJ (stephenjust) wrote : JournalErrors.txt

apport information

Revision history for this message
SJ (stephenjust) wrote : Lspci.txt

apport information

Revision history for this message
SJ (stephenjust) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
SJ (stephenjust) wrote : ProcInterrupts.txt

apport information

Revision history for this message
SJ (stephenjust) wrote : ProcModules.txt

apport information

Revision history for this message
SJ (stephenjust) wrote : PulseList.txt

apport information

Revision history for this message
SJ (stephenjust) wrote : RfKill.txt

apport information

Revision history for this message
SJ (stephenjust) wrote : UdevDb.txt

apport information

Revision history for this message
SJ (stephenjust) wrote : WifiSyslog.txt

apport information

description: updated
SJ (stephenjust)
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
SJ (stephenjust)
description: updated
Changed in linux (Ubuntu):
importance: Undecided → Medium
status: Confirmed → Triaged
Changed in linux (Ubuntu Xenial):
status: New → Triaged
importance: Undecided → Medium
tags: added: kernel-da-key
penalvch (penalvch)
tags: added: cherry-pick
tags: added: bios-outdated
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Does this bug still exists after applying the latest updates?

Changed in linux (Ubuntu):
status: Triaged → Incomplete
Changed in linux (Ubuntu Xenial):
status: Triaged → Incomplete
Changed in linux (Ubuntu Yakkety):
status: Triaged → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu Yakkety) because there has been no activity for 60 days.]

Changed in linux (Ubuntu Yakkety):
status: Incomplete → Expired
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu Xenial) because there has been no activity for 60 days.]

Changed in linux (Ubuntu Xenial):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.