From owner-freebsd-hardware Fri Feb 8 19:49:28 2002 Delivered-To: freebsd-hardware@freebsd.org Received: from mail5.speakeasy.net (mail5.speakeasy.net [216.254.0.205]) by hub.freebsd.org (Postfix) with ESMTP id 598CF37B404 for ; Fri, 8 Feb 2002 19:49:14 -0800 (PST) Received: (qmail 14889 invoked from network); 9 Feb 2002 03:49:13 -0000 Received: from unknown (HELO laptop.baldwin.cx) ([65.90.117.49]) (envelope-sender ) by mail5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 9 Feb 2002 03:49:13 -0000 Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20020207193911.U1513-100000@gerard> Date: Fri, 08 Feb 2002 22:49:08 -0500 (EST) From: John Baldwin To: =?ISO-8859-1?Q?G=E9rard_Roudier?= Subject: Re: USB "Memorybird" quirks Cc: FreeBSD Hackers Mailing List , Cc: FreeBSD Hackers Mailing List , FreeBSD Hardware Mailing List , Oliver Fromme , "Eugene M. Kim" , Terry Lambert , Josef Karthauser Sender: owner-freebsd-hardware@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On 07-Feb-02 Gérard Roudier wrote: > > On Thu, 7 Feb 2002, Josef Karthauser wrote: > >> On Thu, Feb 07, 2002 at 03:52:26PM -0800, Terry Lambert wrote: >> > > >> > > IIRC this problem is being addressed at a more fundamental level on >> > > -current, by adding a 6-byte-to-10-byte READ command translator >> > > somewhere in the abstraction layer. >> > >> > Could this be "auto-quirked"? >> > >> >> As in, try a 6 byte command, and if that fails try a 10 byte command >> instead? >> >> Unfortunately although I'm maintaining USB in -current, I don't have a >> complete in depth understanding of the code yet. :( I'm mainly trying >> to fix my problems by taking from NetBSD. > > A couple of READ/WRITE 6 byte commands are still mandatory for SCSI block > devices in order to accomodate softwares as boot software for example that > may not be upgradable on systems still in use. Softwares that are > maintained should no longer use 6 byte commands, but use the 10 byte > commands replacement (for years...). Just so you know, I made the umass driver for UFI and ATA translate SCSI 6 byte commands to 10 byte commands. There is a simple function call to do the change if you wish to do this in for the SCSI transforms as well. As far as axeing 6 byte commands all together, I will plead ignorance and defer to the scsi@ list and CAM folks. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hardware" in the body of the message