rmi4 defunct on T460p [was: [git pull] Input updates for v4.15-rc8]
From: Jiri Slaby
Date: Tue Feb 13 2018 - 03:22:16 EST
On 02/09/2018, 02:39 AM, Dmitry Torokhov wrote:
> On Thu, Feb 08, 2018 at 11:04:22AM +0100, Jiri Slaby wrote:
>> On 01/19/2018, 06:42 PM, Dmitry Torokhov wrote:
>>> Please pull from:
>>>
>>> git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git for-linus
>>>
>>> to receive updates for the input subsystem. You will get:
>>>
>> ...
>>> - touchpad on Lenovo T640p is switched over to SMbus/RMI
>> ...
>>
>>> çææ (1):
>>> Input: synaptics - Lenovo Thinkpad T460p devices should use RMI
>>
>> Hi,
>>
>> one of openSUSE users with T460p reports that the touchpad is defunct
>> after resume in 4.15. psmouse.synaptics_intertouch=0 works around the
>> problem.
>>
>> The problem is:
>> kernel: rmi4_smbus 8-002c: failed to get SMBus version number!
>> kernel: rmi4_physical rmi4-00: rmi_driver_reset_handler: Failed to read
>> current IRQ mask.
>> kernel: rmi4_f01 rmi4-00.fn01: Failed to restore normal operation: -16.
>> kernel: rmi4_f01 rmi4-00.fn01: Resume failed with code -16.
>> kernel: rmi4_physical rmi4-00: Failed to suspend functions: -16
>> kernel: rmi4_smbus 8-002c: Failed to resume device: -16
>> kernel: rmi4_f03 rmi4-00.fn03: rmi_f03_pt_write: Failed to write to F03
>> TX register (-16).
>>
>> The downstream bug is at:
>> https://bugzilla.suse.com/show_bug.cgi?id=1079862
>>
>> Any ideas?
>
> Hmm, maybe the seuence between psmouse and rmi/smbus is not quite right
> on resume on that box. Can you ask the reporter to:
>
> echo 1 > /sys/power/pm_print_times
> suspend/resume
He uploaded it here:
https://bugzilla.suse.com/attachment.cgi?id=759933
thanks,
--
js
suse labs