From owner-freebsd-usb@FreeBSD.ORG Thu Aug 16 17:13:35 2007 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 B0BD816A41A for ; Thu, 16 Aug 2007 17:13:35 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from gateway.cybervisiontech.com.ua (gateway.cybervisiontech.com.ua [88.81.251.18]) by mx1.freebsd.org (Postfix) with ESMTP id 68C0A13C428 for ; Thu, 16 Aug 2007 17:13:35 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from localhost (hq.cybervisiontech.com [127.0.0.1]) by gateway.cybervisiontech.com.ua (Postfix) with ESMTP id 6D30AED551E for ; Thu, 16 Aug 2007 20:13:35 +0300 (EEST) X-Virus-Scanned: amavisd-new at cybervisiontech.com Received: from gateway.cybervisiontech.com.ua ([127.0.0.1]) by localhost (hq.cybervisiontech.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nyp47DFDQJCT for ; Thu, 16 Aug 2007 20:13:34 +0300 (EEST) Received: from [10.2.1.87] (rein.cybervisiontech.com.ua [10.2.1.87]) by gateway.cybervisiontech.com.ua (Postfix) with ESMTP id 5FD04ED5515 for ; Thu, 16 Aug 2007 20:13:34 +0300 (EEST) Message-ID: <46C485BD.3040001@icyb.net.ua> Date: Thu, 16 Aug 2007 20:13:33 +0300 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.6 (X11/20070803) MIME-Version: 1.0 To: freebsd-usb@freebsd.org References: <46C44170.3040108@icyb.net.ua> In-Reply-To: <46C44170.3040108@icyb.net.ua> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: scsi_da quirk for a device with "no name" 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: Thu, 16 Aug 2007 17:13:35 -0000 on 16/08/2007 15:22 Andriy Gapon said the following: > I have ASUS P535 PPC+phone with Windows Mobile 5 on it. > It has an option to act as a USB mass storage (instead of attempting > acivesync). [snip] > So I attempted the latter quirk and it helped me! But there is one not > good thing about the way I did that - I used wild cards ("*") for all > three of vendor, product and revision. This is because they all appear > to be empty/unset. This is shown in both kernel messages and by > camcontrol devlist and by camcontrol inquiry. > I am not sure if there are any risks of applying the quirk to all > possible da devices, there will be only umass ones in my case, but I > still would like to do something more specific to the device in question. > > Will empty patterns work ? I mean if I put "", "", "" entry into the > quirk array. Actually, I can test this myself soon, but not today. No, empty strings/patterns (all 3 of them) do not work. Are there any better ways ? I know, "use the source, Luke" :-) -- Andriy Gapon