From mboxrd@z Thu Jan 1 00:00:00 1970 From: Benjamin Tissoires Subject: Re: HID: wacom: regression - system freezes when resuming from S3 suspend Date: Mon, 22 Sep 2014 11:52:12 -0400 Message-ID: References: <542039C1.1000605@in.tum.de> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from mail-qc0-f179.google.com ([209.85.216.179]:60595 "EHLO mail-qc0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753588AbaIVPwM (ORCPT ); Mon, 22 Sep 2014 11:52:12 -0400 Received: by mail-qc0-f179.google.com with SMTP id r5so273677qcx.24 for ; Mon, 22 Sep 2014 08:52:12 -0700 (PDT) In-Reply-To: <542039C1.1000605@in.tum.de> Sender: linux-input-owner@vger.kernel.org List-Id: linux-input@vger.kernel.org To: Jonas Jelten , Jiri Kosina Cc: linux-input On Mon, Sep 22, 2014 at 11:01 AM, Jonas Jelten wrote: > Hi! > > I encountered that my system freezes when resuming my Lenovo X220t with > integrated Wacom ISDv4 tablet from S3 suspend. > > Currently running 3.17.0-rc6, I started to bisect and found that this > commit causes the issue: > > commit 29b4739134c73a2873adec93346f09bb76d6a794 > Author: Benjamin Tissoires > Date: Thu Jul 24 12:52:23 2014 -0700 > > Input: wacom - switch from an USB driver to a HID driver > > > Running 3.17.0-rc6, right after boot, this shows up in the log: > > [ 25.843484] wacom 0003:056A:00E6.0001: usb_submit_urb(ctrl) failed: -1 > [ 25.843531] wacom 0003:056A:00E6.0001: timeout initializing reports > [ 25.843886] wacom 0003:056A:00E6.0001: hidraw0: USB HID v1.11 Device > [Tablet ISD-V4] on usb-0000:00:1d.0-1.5/input0 > [ 25.846036] input: Wacom ISDv4 E6 Finger as > /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.5/2-1.5:1.1/0003:056A:00E6.0002/input/input18 > > When suspending, the screen goes off and about 8 seconds later, the > machine actually suspends. > > Right after the (instant) resume, I can see the frame buffer I had when > suspending (X screen) for about 10 seconds. During that time, no sysrq > works. After this short period, the tty1-framebuffer appears, with > messed up linebreaks (no carriage returns occur any more), and the > capslock-led starts blinking. Sysrq keys still don't work. The system is > completely frozen. > > Running the kernel from the bisected first good commit, the suspend is > faster (under 1 second) and the resume does not crash. > > I just saw the "HID: wacom: fix timeout on probe for some wacoms" mail, > which probably has to do something with my problem. > > Any ideas? Yes, this commit will fix your problem. It has just been delayed for 3.17.1 as mentioned by Jiri today. Cheers, Benjamin