From owner-freebsd-hackers Tue Aug 27 12:10:49 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3F23337B400 for ; Tue, 27 Aug 2002 12:10:46 -0700 (PDT) Received: from insomnia.spc.org (insomnia.spc.org [195.224.94.183]) by mx1.FreeBSD.org (Postfix) with SMTP id 85A6443E42 for ; Tue, 27 Aug 2002 12:10:44 -0700 (PDT) (envelope-from bms@insomnia.spc.org) Received: (qmail 7648 invoked by uid 1031); 27 Aug 2002 19:09:56 -0000 Date: Tue, 27 Aug 2002 20:09:56 +0100 From: Bruce M Simpson To: Nick Hibma Cc: Soeren Schmidt , Ian Dowse , "joe@FreeBSD.ORG" , "hackers@FreeBSD.ORG" Subject: Re: USB->ATA devices Message-ID: <20020827190955.GF24795@spc.org> References: <200208271536.g7RFapYX004079@freebsd.dk> <20000101203734.M3514-100000@heather.van-laarhoven.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20000101203734.M3514-100000@heather.van-laarhoven.org> User-Agent: Mutt/1.3.28i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, Aug 27, 2002 at 08:29:00PM +0200, Nick Hibma wrote: > > > There are many possible ATA/ATAPI over USB protocols, so turning > > > the ATA request into one or more USB transfers is a bridge-specific > > > operation. Basically these odd protocols exist because the manufacturers > > > of the various bridges have decided to cut corners and not implement > > > the standard USB mass storage interface. > > Sounds like a can of worms better left unopened... > Translating the commands in the umass driver is the best you can do I'm > afraid. I've already started going down this road. Although it involves overriding the standard CAM callback that umass uses so that ATA replies can get translated into their SCSI equivalents. It's horrid. Having said that, I don't really want to continue along this road unless absolutely necessary; I sidestepped the issue in the end by buying alternative hardware. Now that I have a need to read and write SmartMedia, it gets worse... BMS To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message