From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jiri Slaby Subject: wacom + runtime PM = AA deadlock Date: Mon, 13 Sep 2010 14:24:45 +0200 Message-ID: <4C8E180D.4020309@suse.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: 7bit Return-path: Received: from mail-fx0-f46.google.com ([209.85.161.46]:59891 "EHLO mail-fx0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754910Ab0IMMYs (ORCPT ); Mon, 13 Sep 2010 08:24:48 -0400 Sender: linux-input-owner@vger.kernel.org List-Id: linux-input@vger.kernel.org To: pingc@wacom.com Cc: Dmitry Torokhov , linux-input@vger.kernel.org, Linux kernel mailing list , linux-pm Hi, by mistake when runtime PM is enabled by default for input devices, X hangs on wacom open: [] mutex_lock+0x1a/0x40 [] wacom_resume+0x3b/0x90 [wacom] [] usb_resume_interface+0xd2/0x190 [] usb_resume_both+0x6d/0x110 [] usb_runtime_resume+0x24/0x40 [] __pm_runtime_resume+0x26f/0x450 [] __pm_runtime_resume+0x1da/0x450 [] pm_runtime_resume+0x2a/0x50 [] usb_autopm_get_interface+0x26/0x60 [] wacom_open+0x36/0x90 [wacom] wacom_open took wacom->lock and calls usb_autopm_get_interface which in turn calls wacom_resume which tries to aquire the lock again. More details (dmesg including) at: https://bugzilla.novell.com/show_bug.cgi?id=638506 Any ideas how to fix that properly? thanks, -- js suse labs