From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_2 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 66B77C33CAB for ; Mon, 13 Jan 2020 09:41:01 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 487F62075B for ; Mon, 13 Jan 2020 09:41:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726109AbgAMJlA (ORCPT ); Mon, 13 Jan 2020 04:41:00 -0500 Received: from mx2.suse.de ([195.135.220.15]:52184 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725978AbgAMJlA (ORCPT ); Mon, 13 Jan 2020 04:41:00 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 1F908B19D; Mon, 13 Jan 2020 09:40:59 +0000 (UTC) Message-ID: <1578907421.2590.2.camel@suse.com> Subject: Re: Usb midi device does not work on wake From: Oliver Neukum To: Richard Dodd , linux-usb@vger.kernel.org Date: Mon, 13 Jan 2020 10:23:41 +0100 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.26.6 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-usb-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org Am Sonntag, den 12.01.2020, 12:06 +0000 schrieb Richard Dodd: > Hello > > I've got a Novation midi-over-usb device (LaunchControl XL) that works > correctly on boot, but remains in power-off mode when waking from > sleep. > > I suspect that there is some sort of initialisation that needs to be > applied. Could anyone suggest possible causes, or point me in the > direction of the relevant source code. I found `sound/usb/quirks.c`, > which seems to be the place to handle this kind of thing, but there is > no mention of my device anywhere in the source tree at present > (1235:0061). Hi, some devices need an additional reset. They have the quirk RESET_RESUME in that file. Try adding your device to that list and recompile your kernel. HTH Oliver