From owner-freebsd-hardware Thu Feb 7 16: 3: 5 2002 Delivered-To: freebsd-hardware@freebsd.org Received: from alicia.nttmcl.com (alicia.nttmcl.com [216.69.69.10]) by hub.freebsd.org (Postfix) with ESMTP id 95D6637B400; Thu, 7 Feb 2002 16:03:00 -0800 (PST) Received: (from gene@localhost) by alicia.nttmcl.com (8.10.1/8.10.1) id g1802uV19724; Thu, 7 Feb 2002 16:02:56 -0800 (PST) Date: Thu, 7 Feb 2002 16:02:56 -0800 From: "Eugene M. Kim" To: Terry Lambert Cc: Oliver Fromme , FreeBSD Hardware Mailing List , FreeBSD Hackers Mailing List Subject: Re: USB "Memorybird" quirks Message-ID: <20020207160256.A19270@alicia.nttmcl.com> References: <200202072046.g17KkSM05459@lurza.secnetix.de> <20020207125449.A9620@alicia.nttmcl.com> <3C63133A.CF411A74@mindspring.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <3C63133A.CF411A74@mindspring.com>; from tlambert2@mindspring.com on Thu, Feb 07, 2002 at 03:52:26PM -0800 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 Thu, Feb 07, 2002 at 03:52:26PM -0800, Terry Lambert wrote: > > > "Eugene M. Kim" wrote: > > > > This is a common problem of most umass devices that implements BBB > > protocol, and arises from the fact that those devices don't understand > > the 6-byte SCSI READ command. You can add a quirk entry to > > src/sys/cam/scsi_da.c (refer to quirk entries that have DA_Q_NO_6_BYTE). > > > > 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"? > > It seems to me that you should be able to add the quirk flag > to the device instance after the first failure... > > Unfortunately, I don't have one of these toys, so he'll have > to do the code himself. 8-). The USB development team seems to have something similar to your idea in their mind; see the comment for rev 1.47 of: http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/usb/umass.c?f=u&only_with_tag=MAIN&logsort=date It mentions about `da(4) becoming more intelligent about this.' Regards, Eugene To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hardware" in the body of the message