Received: by 2002:a05:7412:2a91:b0:fc:a2b0:25d7 with SMTP id u17csp633061rdh; Wed, 14 Feb 2024 07:12:48 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVwSSDkhDbxRcRCSAjS00Zc9ySaD/yqoy2Xqmi4vm3y5yxqdGyiag+fOCDwdzi8dHmkFBB0n6DjABwNvll/ZUnIJ4MJBsszinoaiZLqRg== X-Google-Smtp-Source: AGHT+IHNOr3lSvsUkmDTCZsCD37M/+te0VFZSSlA52cxe0302HUJzqtSpVrkqmO6xDBjYVdNZQUZ X-Received: by 2002:a17:906:fa94:b0:a3c:c75e:df60 with SMTP id lt20-20020a170906fa9400b00a3cc75edf60mr1817967ejb.14.1707923568195; Wed, 14 Feb 2024 07:12:48 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707923568; cv=pass; d=google.com; s=arc-20160816; b=Rc4K8CsmJbxjqdO9DoxEHVzxi1IaTdpKSVI8YY46DYqKN6BYxdF2lYYeMhwCSFEUaF hBVU9JRqUg6Zfv4oh3fN1jvDFcL7uK1ApyKgZTQZBN1DTDSU6azbRbCOu95pH6I3z1oK RFDo0nczKy+9iPslIidzDXB8zvbmnjAiQc5IEve+ZlZhJOJaFz+ZQExf3OEZB0EN1RWr DvQlPlX9MNssmQMCAm+XyIM76rAXGiA7qemgc/MWeHZKawl4p08/o+27BHmAzHv76o60 sBvHB6bUAmDiPikDM2Ao46OgZhF1T/AF8Hh5XEJ9qZt7ubW03WLZqoIOHOlqgQtb5m1Q eNMQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date; bh=4GMO4JSD9wp9shNKaZ9KuZRrWUgx3g+sO9SMfGxNa9g=; fh=ECE5QK8IeeuDcYV4XNFsBeZW0tflj3o/Wz1Bfyt3+6o=; b=VqxGumSHU1JXSW1NlEpi7sOEByy022Dj15gS3d42/bpJSlEmNNzKF3cMEYkLKRxGl5 zAtBDFQhYKVqMBOwICQZ3o5tJN9Sq5k1hl1GOOzekaNo/i0QQ9M5npkXu+dN52aQrtc5 FpJWJA1gl4omBnj9JZvsptSKDBvXrUd0dZK/pYuugstWK53GH8hfVzi6yzpwRE7b8rjk fGCGNf4CfZc2j7EeL8Lvfq7LU65mfYZWrlp1S4bFrgFwK42EeZ87UIZT7/KOgLOxHzej mhL9iD3zZzJjTuf5Tmr040bbqBfz4vZZ20MjWfA9V6hvJa4puQBGLJW4Thh+LJkAZYyG F7LQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=netrider.rowland.org); spf=pass (google.com: domain of linux-kernel+bounces-65381-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-65381-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=harvard.edu X-Forwarded-Encrypted: i=2; AJvYcCWlG+1RsAh7FofPs60vebY8HMryLwzx/qBpwfyu5Wwhri+shKKgu+L/KSCFfXeQgFDUv19bgV3uKTB0rOTP419giQuhgPeICPTeV2KS5Q== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id h13-20020a1709062dcd00b00a3d75598441si5448eji.387.2024.02.14.07.12.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Feb 2024 07:12:48 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-65381-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=netrider.rowland.org); spf=pass (google.com: domain of linux-kernel+bounces-65381-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-65381-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=harvard.edu Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 3F4C61F2A39A for ; Wed, 14 Feb 2024 15:05:17 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E97875BAD9; Wed, 14 Feb 2024 15:05:05 +0000 (UTC) Received: from netrider.rowland.org (netrider.rowland.org [192.131.102.5]) by smtp.subspace.kernel.org (Postfix) with SMTP id 6791C5B5DB for ; Wed, 14 Feb 2024 15:05:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.131.102.5 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707923105; cv=none; b=kMzwsr3FPoOiohu1o7ZJDR8t3Vfhlpo0T6na3OMDfBg8x3zF0ne9LiGcDP6GJ/7lwKepBwmCvnsdJpZj1kpJx12t2pvEkm7GlEogb6iHTZoWjF2p2gqAFoZ4D5qllNZ9SxvVFQVjICllEv34bcrfteGmknpsU+Mc7wdjEuvmO2A= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707923105; c=relaxed/simple; bh=77hqZacp7RPt/Y7Aykf062O5VL0oTkoRQ9q8TQoSnXA=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=hlaeMRgpzD2VNI2kW2R7Er+aMEBLTQ5WkFUprDfEvBF4wR8+b6yJXuFeKn72Fy4mzMiFslKQLq1opAJR6P3B1k/dID2vqRdDXo1Javu4moc9rOD/yggamlzNzhYrq/tNbG3mC9yRjaRU/hjeKF2a6Su1UafoypAZ8v2w3q6g6DQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=rowland.harvard.edu; spf=pass smtp.mailfrom=netrider.rowland.org; arc=none smtp.client-ip=192.131.102.5 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=rowland.harvard.edu Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=netrider.rowland.org Received: (qmail 403091 invoked by uid 1000); 14 Feb 2024 10:04:56 -0500 Date: Wed, 14 Feb 2024 10:04:56 -0500 From: Alan Stern To: Selvarasu Ganesan Cc: tern@rowland.harvard.edu, gregkh@linuxfoundation.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, quic_ppratap@quicinc.com, quic_wcheng@quicinc.com, quic_jackp@quicinc.com Subject: Re: [PATCH] usb-storage: Add US_FL_FIX_INQUIRY quirk for Intenso Twist Line USB 3.2 Message-ID: <39cd8789-7764-4904-8cb9-21f239b3c04c@rowland.harvard.edu> References: <20240214111721.18346-1-quic_selvaras@quicinc.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240214111721.18346-1-quic_selvaras@quicinc.com> On Wed, Feb 14, 2024 at 03:17:21AM -0800, Selvarasu Ganesan wrote: > The Intenso Twist Line USB 3.2 flash drive fails to respond to the > INQUIRY data stage request for a 36 bulk in request from the host. This > commit adds the US_FL_FIX_INQUIRY flag to fake the INQUIRY command for > this device, preventing a storage enumeration failure. > > USBMON log: > ffffff8a3ee06a00 3192811972 S Ci:2:009:0 s c0 33 0000 0000 0002 2 < > ffffff8a3ee06a00 3192862051 C Ci:2:009:0 -2 0 > ffffff8a3ee06a00 3192862185 S Ci:2:009:0 s c0 33 0000 0000 0002 2 < > ffffff8a3ee06a00 3192912299 C Ci:2:009:0 -2 0 > ffffff8a3ee06e00 3193040068 S Ci:2:003:0 s c1 04 0930 bf80 0004 4 < > ffffff8a3ee06e00 3193040214 C Ci:2:003:0 0 4 = 880b0700 > ffffff8a3ee06e00 3193040279 S Ci:2:002:0 s a3 00 0000 0003 0004 4 < > ffffff8a3ee06e00 3193040427 C Ci:2:002:0 0 4 = 00010000 > ffffff8a3ee06e00 3193040470 S Ci:2:002:0 s a3 00 0000 0004 0004 4 < > ffffff8a3ee06e00 3193040672 C Ci:2:002:0 0 4 = 03050000 > ffffff892b309500 3193824092 S Ci:2:009:0 s a1 fe 0000 0000 0001 1 < > ffffff892b309500 3193824715 C Ci:2:009:0 0 1 = 00 > ffffff892b309500 3193825060 S Bo:2:009:2 -115 31 = 55534243 01000000 24000000 80000612 00000024 00000000 00000000 000000 > ffffff892b309500 3193825150 C Bo:2:009:2 0 31 > > ffffff8b8419d400 3193825737 S Bi:2:009:1 -115 36 < > ffffff8a3ee06400 3194040175 S Ci:2:003:0 s c1 04 0930 bf80 0004 4 < > ffffff8a3ee06400 3194040372 C Ci:2:003:0 0 4 = 880b0700 > ffffff89bee5b100 3194040591 S Ci:2:002:0 s a3 00 0000 0003 0004 4 < > ffffff89bee5b100 3194040681 C Ci:2:002:0 0 4 = 00010000 > ffffff89bee5b100 3194040999 S Ci:2:002:0 s a3 00 0000 0004 0004 4 < > ffffff89bee5b100 3194041083 C Ci:2:002:0 0 4 = 03050000 > ffffff8a3ee06a00 3195040349 S Ci:2:003:0 s c1 04 0930 bf80 0004 4 < This is very surprising. A mass-storage device that doesn't respond to INQUIRY commands won't work with Windows or Mac OSX. Have you tried testing the device with those operating systems to see what they send and how it responds? Alan Stern