Re: Issues with touchpad / touchscreen on yoga 900

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 3 Nov 2015 10:18:40 +0200
Mika Westerberg <mika.westerberg@xxxxxxxxxxxxxxx> wrote:

> On Mon, Nov 02, 2015 at 12:47:28PM -0700, Kevin Fenzi wrote:
> > Any other ideas or things to try? 
> > 
> > It would be nice to have a working touchpad. ;)  
> 
> Please attach acpidump of that machine to the bug (or send it directly
> to me) and provide full dmesg with i2c_hid.debug=1.

Just to circle back here, I exchanged some emails with Mika and this
one liner gets it working...

Hopefully something can be made upstreamable from this. Thanks much. 

kevin
--
diff --git a/drivers/i2c/busses/i2c-designware-platdrv.c b/drivers/i2c/busses/i2c-designware-platdrv.c
index 3dd2de3..31ea736 100644
--- a/drivers/i2c/busses/i2c-designware-platdrv.c
+++ b/drivers/i2c/busses/i2c-designware-platdrv.c
@@ -90,6 +90,11 @@ static int dw_i2c_acpi_configure(struct platform_device *pdev)
        dw_i2c_acpi_params(pdev, "SSCN", &dev->ss_hcnt, &dev->ss_lcnt, NULL);
        dw_i2c_acpi_params(pdev, "FMCN", &dev->fs_hcnt, &dev->fs_lcnt,
                           &dev->sda_hold_time);

+       dev->sda_hold_time = 30;
 
        /*
         * Provide a way for Designware I2C host controllers that are not

Attachment: pgpfdNEkuJjgV.pgp
Description: OpenPGP digital signature


[Index of Archives]     [Linux GPIO]     [Linux SPI]     [Linux Hardward Monitoring]     [LM Sensors]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux