From owner-freebsd-usb@FreeBSD.ORG Thu Jul 25 12:23:57 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 9166D7D6 for ; Thu, 25 Jul 2013 12:23:57 +0000 (UTC) (envelope-from patfbsd@davenulle.org) Received: from smtp.lamaiziere.net (net.lamaiziere.net [94.23.254.147]) by mx1.freebsd.org (Postfix) with ESMTP id 5BC8B2580 for ; Thu, 25 Jul 2013 12:23:56 +0000 (UTC) Received: from mr129166.localdomain (mr129166.cri.univ-rennes1.fr [129.20.129.166]) by smtp.lamaiziere.net (Postfix) with ESMTPA id 0BB8654AB for ; Thu, 25 Jul 2013 14:23:49 +0200 (CEST) Received: from mr129166 (localhost [127.0.0.1]) by mr129166.localdomain (Postfix) with ESMTP id 8975C1072 for ; Thu, 25 Jul 2013 14:23:48 +0200 (CEST) Date: Thu, 25 Jul 2013 14:23:48 +0200 From: Patrick Lamaiziere To: freebsd-usb@freebsd.org Subject: umass (da) quirk ? Message-ID: <20130725142348.788c25cc@mr129166> X-Mailer: Claws Mail 3.9.2 (GTK+ 2.24.19; amd64-portbld-freebsd9.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8bit 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:23:57 -0000 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? Thanks, Regards.