From owner-freebsd-usb@FreeBSD.ORG Fri Dec 2 21:43:52 2011 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E4620106566C for ; Fri, 2 Dec 2011 21:43:52 +0000 (UTC) (envelope-from emaste@freebsd.org) Received: from mail1.sandvine.com (Mail1.sandvine.com [64.7.137.134]) by mx1.freebsd.org (Postfix) with ESMTP id A72E48FC12 for ; Fri, 2 Dec 2011 21:43:52 +0000 (UTC) Received: from labgw2.phaedrus.sandvine.com (192.168.222.22) by WTL-EXCH-1.sandvine.com (192.168.196.31) with Microsoft SMTP Server id 14.0.694.0; Fri, 2 Dec 2011 16:43:52 -0500 Received: by labgw2.phaedrus.sandvine.com (Postfix, from userid 10332) id D460133C02; Fri, 2 Dec 2011 16:43:51 -0500 (EST) Date: Fri, 2 Dec 2011 16:43:51 -0500 From: Ed Maste To: Hans Petter Selasky Message-ID: <20111202214351.GA65599@sandvine.com> References: <20111202022550.GA78199@sandvine.com> <201112022144.25817.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <201112022144.25817.hselasky@c2i.net> User-Agent: Mutt/1.4.2.1i Cc: freebsd-usb@freebsd.org Subject: Re: USB flash regression between 9.0-BETA1 and r227413 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Dec 2011 21:43:53 -0000 On Fri, Dec 02, 2011 at 09:44:25PM +0100, Hans Petter Selasky wrote: > On Friday 02 December 2011 03:25:50 Ed Maste wrote: > > After rebuilding and installing a new kernel from a couple of weeks ago > > my embedded USB flash no longer works. > > > > Working kernel was: > > FreeBSD 9.0-BETA1 #1 r225223M: Sat Aug 27 22:21:54 EDT 2011 > > Can you try to add the no-synchronize cache quirk for your device by using > usbconfig? Obviously the manufacturer did not test all SCSI commands! > > --HPS Thanks, that does it. # usbconfig add_quirk UQ_MSC_NO_SYNC_CACHE This device is: ugen3.2: at usbus3, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON bLength = 0x0012 bDescriptorType = 0x0001 bcdUSB = 0x0200 bDeviceClass = 0x0000 bDeviceSubClass = 0x0000 bDeviceProtocol = 0x0000 bMaxPacketSize0 = 0x0040 idVendor = 0x0634 idProduct = 0x0655 bcdDevice = 0x1110 iManufacturer = 0x0001 iProduct = 0x0002 iSerialNumber = 0x0003 bNumConfigurations = 0x0001 Should be easy to quirk now, although it seems there are a number of devices afflicted with this same problem. I wonder if other operating systems just don't use this command? -Ed