From owner-freebsd-usb@FreeBSD.ORG Thu Jul 25 12:29:19 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 1D182873; Thu, 25 Jul 2013 12:29:19 +0000 (UTC) (envelope-from hps@bitfrost.no) Received: from mta.bitpro.no (mta.bitpro.no [92.42.64.202]) by mx1.freebsd.org (Postfix) with ESMTP id CD9A725BA; Thu, 25 Jul 2013 12:29:18 +0000 (UTC) Received: from mail.lockless.no (mail.lockless.no [46.29.221.38]) by mta.bitpro.no (Postfix) with ESMTP id 6E14B7A191; Thu, 25 Jul 2013 14:29:11 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mail.lockless.no (Postfix) with ESMTP id C9BB38EFF61; Thu, 25 Jul 2013 14:29:15 +0200 (CEST) X-Virus-Scanned: by amavisd-new-2.6.4 (20090625) (Debian) at lockless.no Received: from mail.lockless.no ([127.0.0.1]) by localhost (mail.lockless.no [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6F41gJnFZhWQ; Thu, 25 Jul 2013 14:29:15 +0200 (CEST) Received: from laptop015.hselasky.homeunix.org (cm-176.74.213.204.customer.telag.net [176.74.213.204]) by mail.lockless.no (Postfix) with ESMTPSA id DAE068EFF60; Thu, 25 Jul 2013 14:29:14 +0200 (CEST) Message-ID: <51F11A72.5080606@bitfrost.no> Date: Thu, 25 Jul 2013 14:30:42 +0200 From: Hans Petter Selasky Organization: Bitfrost A/S User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130522 Thunderbird/17.0.6 MIME-Version: 1.0 To: Patrick Lamaiziere Subject: Re: umass (da) quirk ? References: <20130725142348.788c25cc@mr129166> In-Reply-To: <20130725142348.788c25cc@mr129166> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Alexander Motin , freebsd-usb@freebsd.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Jul 2013 12:29:19 -0000 On 07/25/13 14:23, Patrick Lamaiziere wrote: > Hello, > > 9.2/amd64 > > I have to add a scsi_da quirk (Q_DA_NO_PREVENT) on a Kinston DT 101 G2 > usb stick to make it works. > > This quirk is confirmed by a PR on Netbsd but NetBSD adds also few > other Kingston usb keys with this quirk. > http://freshbsd.org/commit/netbsd/6920595603b43ca9e73ca9bcc95e63d9201c9ad3 > > So while I'm here, i would like to include these other devices in my > PR, but how can I know the match string to put in the quirk without the > hardware? > > the quirk is: > { > /* > * Kingston DT 101 G2 USB stick. > * PR: > */ > {T_DIRECT, SIP_MEDIA_REMOVABLE, "Kingston", "DT 101 G2", > "*"}, /*quirks*/ DA_Q_NO_PREVENT > }, > > Another question, I'm sure this key worked on FreeBSD 9.0, and it works > fine on 8.3. I am asking why a quirk is needed now? > Hi, I suspect the SCSI/CAM code has changed a bit since 8.3. --HPS