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=-5.3 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 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 DA4B6C433DB for ; Fri, 5 Mar 2021 19:31:02 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 9DDCD650A6 for ; Fri, 5 Mar 2021 19:31:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230007AbhCETac (ORCPT ); Fri, 5 Mar 2021 14:30:32 -0500 Received: from netrider.rowland.org ([192.131.102.5]:49113 "HELO netrider.rowland.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S229616AbhCETaE (ORCPT ); Fri, 5 Mar 2021 14:30:04 -0500 Received: (qmail 49912 invoked by uid 1000); 5 Mar 2021 14:30:03 -0500 Date: Fri, 5 Mar 2021 14:30:03 -0500 From: Alan Stern To: Sedat Dilek Cc: Mathias Nyman , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Greg Kroah-Hartman Subject: Re: [xhci] usb 4-1: reset SuperSpeed Gen 1 USB device number 2 using xhci_hcd Message-ID: <20210305193003.GE48113@rowland.harvard.edu> References: <20210301155321.GA1490228@rowland.harvard.edu> <20210305160728.GE38200@rowland.harvard.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Mar 05, 2021 at 08:22:22PM +0100, Sedat Dilek wrote: > The quirks match: > > [Fri Mar 5 20:06:56 2021] usb-storage 4-1:1.0: USB Mass Storage device detected > [Fri Mar 5 20:06:56 2021] usb-storage 4-1:1.0: Quirks match for vid > 174c pid 55aa: 400000 > > That seems not to be the trick: > > root# LC_ALL=C dmesg -T | grep 'usb 4-1:' > [Fri Mar 5 20:06:55 2021] usb 4-1: new SuperSpeed Gen 1 USB device > number 2 using xhci_hcd > [Fri Mar 5 20:06:55 2021] usb 4-1: New USB device found, > idVendor=174c, idProduct=55aa, bcdDevice= 1.00 > [Fri Mar 5 20:06:55 2021] usb 4-1: New USB device strings: Mfr=2, > Product=3, SerialNumber=1 > [Fri Mar 5 20:06:55 2021] usb 4-1: Product: MEDION HDDrive-n-GO > [Fri Mar 5 20:06:55 2021] usb 4-1: Manufacturer: MEDION > [Fri Mar 5 20:06:55 2021] usb 4-1: SerialNumber: 3180000000000000092C > [Fri Mar 5 20:06:57 2021] usb 4-1: reset SuperSpeed Gen 1 USB device > number 2 using xhci_hcd Okay, that indicates the ATA commands are being sent not by the kernel but by some program. I'm not sure how you can easily find out which program; probably the best thing to do is turn them off one by one until you find the one responsible. Alan Stern