From owner-freebsd-usb@FreeBSD.ORG Fri Nov 15 07:31:50 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 ESMTPS id 7DB1B51D; Fri, 15 Nov 2013 07:31:50 +0000 (UTC) Received: from mta.bitpro.no (mta.bitpro.no [92.42.64.202]) by mx1.freebsd.org (Postfix) with ESMTP id 3DA2023D9; Fri, 15 Nov 2013 07:31:50 +0000 (UTC) Received: from mail.lockless.no (mail.lockless.no [46.29.221.38]) by mta.bitpro.no (Postfix) with ESMTP id 25B167A368; Fri, 15 Nov 2013 08:31:48 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mail.lockless.no (Postfix) with ESMTP id 9E30E8F9998; Fri, 15 Nov 2013 08:32:20 +0100 (CET) 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 gNx8q0LWj7fp; Fri, 15 Nov 2013 08:32:20 +0100 (CET) Received: from laptop015.home.selasky.org (cm-176.74.213.204.customer.telag.net [176.74.213.204]) by mail.lockless.no (Postfix) with ESMTPSA id F33EC8F9842; Fri, 15 Nov 2013 08:32:19 +0100 (CET) Message-ID: <5285CE2A.2020609@bitfrost.no> Date: Fri, 15 Nov 2013 08:32:58 +0100 From: Hans Petter Selasky Organization: Bitfrost A/S User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: Don Lewis , freebsd-usb@FreeBSD.org Subject: Re: U3GINIT_SCSIEJECT quirk References: <201311142337.rAENbQp7076609@gw.catspoiler.org> In-Reply-To: <201311142337.rAENbQp7076609@gw.catspoiler.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Nov 2013 07:31:50 -0000 On 11/15/13 00:37, Don Lewis wrote: > My first question is how does U3GINIT_SCSIEJECT manage to ever work? It > seems like there would be chicken vs. egg issue here. The quirk is on > the u3g device, so how would it get activated until the u3g device is > attached? The u3g device doesn't appear until the umass device is > ejected. Hi, Check the VID and PID of your USB device using usbconfig. Maybe it is not the same value in both cases? U3G patch looks OK. The SCSI quirk is not needed. This should be fixed in the SCSI stack! --HPS