Date: Mon, 26 May 2014 08:27:04 +0200 From: Hans Petter Selasky <hps@selasky.org> To: Julian Elischer <julian@freebsd.org>, "Ronald F. Guilmette" <rfg@tristatelogic.com>, freebsd-usb@freebsd.org Subject: Re: Test Results Message-ID: <5382DEB8.5020600@selasky.org> In-Reply-To: <5382DD90.3000903@freebsd.org> References: <1986.1401074203@server1.tristatelogic.com> <5382DC2B.4040504@selasky.org> <5382DD90.3000903@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 05/26/14 08:22, Julian Elischer wrote: > I've seen this pattern a bit too much. > > user: I see error X > dev: turn on quirk Y, disabling {lock device, queuing, syncing, > block erase, etc.} > > > Would it be possible for part of the attach code for drives, to silently > run through a bunch of these commands and just turn off those that > return errors? In the Old (old) SCSI code we did this in some devices, > and in some cases there were capability descriptions in some of the > sense pages. > > (though I think that was on some proprietary subdrivers). Yes we already do that. Please send me patches/improvements for: sys/dev/usb/usb_msctest.c and usb_error_t usb_msc_auto_quirk(struct usb_device *udev, uint8_t iface_index) --HPS
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5382DEB8.5020600>