Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp723812pxb; Tue, 14 Sep 2021 07:25:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzfGPhKMvZ56xrv6c2xzJSoOEpklOLP2lYTM3xziMXRuKaFJ1pz/St0Wjvhqx/4aBUxajt1 X-Received: by 2002:ac2:4439:: with SMTP id w25mr13541921lfl.313.1631629527080; Tue, 14 Sep 2021 07:25:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631629527; cv=none; d=google.com; s=arc-20160816; b=OqxjSId9y4sGgg38H+NirU2ec0iJjNbC0z8lT3VRdNZAE2aK74sCFjgFJH5gl4ezWa 29qt23kNzmZ9mG6TWHC03WClZuSgjwJwTeCAaIfXU4SCqljCHRG7i4YTmnynVVF4FYkZ 3krXs2QaDAi+BrSmqoADIX03HQClm8e2KLkAtCYbHH6QzkZCaB6PpqK3CEnC7R/7IWEY K31sVKpQeDs4dtAnMMO2S4Tp02YD1KMV8Gxo77kqvb8S8XH0zbJELOaYl4iUtpkC5Lr6 ZhwX5PzlycArC1XL4LHTjPRdvl5uc1Y+ZJ7r3V5dMqsEQXW481XywijwmO9PWb935yjg 9N/A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=gvr2QS/n3A5xA5JvQiZuesVyE5ZcXNEBIxrlMiGgDqM=; b=wxzso5zCIkg4Y2PXd5ebh2Fg7ZnoYTlwtJ8nw5AoelcuqcwmQkc1PU+SbnzG6hs3z+ IytmJHti+z3RsGZLmyRLxlLhtSm+tI1u6UnBvx+7+N+S9ScPhSQy8DAMtRMuvyinpAad 7DnOuWG6ltZVw81dKoDDSTNf2OCvYPGuz+/pL6uHNZh8hWpnqi90IJEgnB2j63/Lofsw EobQTwduUBa9N7eZB9mAw2Z6mQ/CqcdoQySXmQxOxdNEfoLLei5JIIaE7Lvp5IA/XFBV wRK4/8rO2HvDdombgBRf4EfYyQRM1w19nGJ3gdnbUsTBEKRUqoTJuRUB7qlYFbIFD2Mi o8Wg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l18si12505750ljg.582.2021.09.14.07.24.58; Tue, 14 Sep 2021 07:25:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233495AbhINOXn (ORCPT + 99 others); Tue, 14 Sep 2021 10:23:43 -0400 Received: from netrider.rowland.org ([192.131.102.5]:52947 "HELO netrider.rowland.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S233309AbhINOXn (ORCPT ); Tue, 14 Sep 2021 10:23:43 -0400 Received: (qmail 156518 invoked by uid 1000); 14 Sep 2021 10:22:24 -0400 Date: Tue, 14 Sep 2021 10:22:24 -0400 From: Alan Stern To: Ondrej Zary Cc: linux-usb@vger.kernel.org, usb-storage@lists.one-eyed-alien.net, linux-kernel@vger.kernel.org Subject: Re: [PATCH] usb-storage: Add quirk for ScanLogic SL11R-IDE older than 2.6c Message-ID: <20210914142224.GB155245@rowland.harvard.edu> References: <20210913210106.12717-1-linux@zary.sk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210913210106.12717-1-linux@zary.sk> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Sep 13, 2021 at 11:01:06PM +0200, Ondrej Zary wrote: > ScanLogic SL11R-IDE with firmware older than 2.6c (the latest one) has > broken tag handling, preventing the device from working at all: > usb 1-1: new full-speed USB device number 2 using uhci_hcd > usb 1-1: New USB device found, idVendor=04ce, idProduct=0002, bcdDevice= 2.60 > usb 1-1: New USB device strings: Mfr=1, Product=1, SerialNumber=0 > usb 1-1: Product: USB Device > usb 1-1: Manufacturer: USB Device > usb-storage 1-1:1.0: USB Mass Storage device detected > scsi host2: usb-storage 1-1:1.0 > usbcore: registered new interface driver usb-storage > usb 1-1: reset full-speed USB device number 2 using uhci_hcd > usb 1-1: reset full-speed USB device number 2 using uhci_hcd > usb 1-1: reset full-speed USB device number 2 using uhci_hcd > usb 1-1: reset full-speed USB device number 2 using uhci_hcd > > Add US_FL_BULK_IGNORE_TAG to fix it. Also update my e-mail address. > > 2.6c is the only firmware that claims Linux compatibility. > The firmware can be upgraded using ezotgdbg utility: > https://github.com/asciilifeform/ezotgdbg > > Signed-off-by: Ondrej Zary > --- Acked-by: Alan Stern > drivers/usb/storage/unusual_devs.h | 9 ++++++++- > 1 file changed, 8 insertions(+), 1 deletion(-) > > diff --git a/drivers/usb/storage/unusual_devs.h b/drivers/usb/storage/unusual_devs.h > index efa972be2ee3..c6b3fcf90180 100644 > --- a/drivers/usb/storage/unusual_devs.h > +++ b/drivers/usb/storage/unusual_devs.h > @@ -416,9 +416,16 @@ UNUSUAL_DEV( 0x04cb, 0x0100, 0x0000, 0x2210, > USB_SC_UFI, USB_PR_DEVICE, NULL, US_FL_FIX_INQUIRY | US_FL_SINGLE_LUN), > > /* > - * Reported by Ondrej Zary > + * Reported by Ondrej Zary > * The device reports one sector more and breaks when that sector is accessed > + * Firmwares older than 2.6c (the latest one and the only that claims Linux > + * support) have also broken tag handling > */ > +UNUSUAL_DEV( 0x04ce, 0x0002, 0x0000, 0x026b, > + "ScanLogic", > + "SL11R-IDE", > + USB_SC_DEVICE, USB_PR_DEVICE, NULL, > + US_FL_FIX_CAPACITY | US_FL_BULK_IGNORE_TAG), > UNUSUAL_DEV( 0x04ce, 0x0002, 0x026c, 0x026c, > "ScanLogic", > "SL11R-IDE", Too bad the manufacturer didn't understand that 0x026c is not a valid bcdDevice value...