Bug 21998

Summary: missing pci-id patch needed to fix lenovo yoga 720 touchpad
Product: Mageia Reporter: Mika Laitio <lamikr>
Component: RPM PackagesAssignee: Kernel and Drivers maintainers <kernel>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: marja11
Version: 6   
Target Milestone: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Source RPM: kernel-desktop-4.9.56-1.mga6 CVE:
Status comment:

Description Mika Laitio 2017-11-09 09:32:09 CET
Description of problem:

Touchpad does not work with the mga6 due to missing PCI-id definition on kernel file drivers/mfd/intel-lpss-pci.c

Patch is available in upstream git tree for upcoming 4.14 kernel and I have tested and verified that it works. So please add following fix from
upstream kernel commit:

commit e4b91470bd79b988253ec00590e5b554042af4a7
Author: Florian R. Hölzlwimmer <git.ich@frhoelzlwimmer.de>
Date:   Sat Aug 19 15:26:22 2017 +0200

        mfd: intel-lpss: Add missing PCI ID for Intel Sunrise Point LPSS devices
    
    This patch adds a missing PCI ID of the Intel Sunrise Point chipset to the Intel LPSS driver.
    It fixes a bug causing the touchpad of the Lenovo Yoga 720-15 not to be recognized.
    See also bug 1700657 on bugs.launchpad.net.
    
    Many thanks to CoolStar, who found this solution!
    
    Reported-by: CoolStar <coolstarorganization@gmail.com>
    Tested-by: Mike Schwartz <mykesx@gmail.com>
    Tested-by: Björn Dahlgren <bjodah@gmail.com>
    Signed-off-by: Florian R. Hölzlwimmer <git.ich@frhoelzlwimmer.de>
    Signed-off-by: Lee Jones <lee.jones@linaro.org>

diff --git a/drivers/mfd/intel-lpss-pci.c b/drivers/mfd/intel-lpss-pci.c
index ad388bb056cd..d1c46de89eb4 100644
--- a/drivers/mfd/intel-lpss-pci.c
+++ b/drivers/mfd/intel-lpss-pci.c
@@ -221,6 +221,7 @@ static const struct pci_device_id intel_lpss_pci_ids[] = {
        { PCI_VDEVICE(INTEL, 0xa12a), (kernel_ulong_t)&spt_info },
        { PCI_VDEVICE(INTEL, 0xa160), (kernel_ulong_t)&spt_i2c_info },
        { PCI_VDEVICE(INTEL, 0xa161), (kernel_ulong_t)&spt_i2c_info },
+ { PCI_VDEVICE(INTEL, 0xa162), (kernel_ulong_t)&spt_i2c_info },
        { PCI_VDEVICE(INTEL, 0xa166), (kernel_ulong_t)&spt_uart_info },
        /* KBL-H */
        { PCI_VDEVICE(INTEL, 0xa2a7), (kernel_ulong_t)&spt_uart_info },



Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
Marja Van Waes 2017-11-09 19:07:30 CET

Assignee: bugsquad => kernel
CC: (none) => marja11

Comment 1 Mika Laitio 2018-01-29 17:13:54 CET
fixed on 4.14.10-desktop-1.mga6

Status: NEW => RESOLVED
Resolution: (none) => FIXED