From owner-freebsd-scsi@freebsd.org Tue Jan 31 23:41:11 2017 Return-Path: Delivered-To: freebsd-scsi@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8B2C8CCAC28 for ; Tue, 31 Jan 2017 23:41:11 +0000 (UTC) (envelope-from chuck@tuffli.net) Received: from mail-yb0-x229.google.com (mail-yb0-x229.google.com [IPv6:2607:f8b0:4002:c09::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 550ED901 for ; Tue, 31 Jan 2017 23:41:11 +0000 (UTC) (envelope-from chuck@tuffli.net) Received: by mail-yb0-x229.google.com with SMTP id o65so47523161ybo.2 for ; Tue, 31 Jan 2017 15:41:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tuffli-net.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=GwQ437s5oqH7J3p3OpJUIJLGMeDfH45LfVCPBoXa3Lo=; b=JKQKkew22pR0xwrgnSH8b9ZqXNFMqx6JOK+3hj3YC+XJzjSakcOmQPvfGoFB00FR7y iDBCS98BYi1y++SMbx93i2rFLBK6Szh1zYSLhYHHQNU2Wqb3iQgDmaIwmb9tIStmv6mh DLxe/FUCA/w/BP6BPHPZTD+7WwgCHTZsP7XWwC0PGTyZWFF8ZIKo9uojJOqdmPXn54zm bn81yPrww3Kr4iYYMtko0o5MfWEPfYJYGmEpxGkCjHtGzunJrFpGF+V8+PYHLLfG4tEh 09GcU63fg1srXORRJ/Cth8KWqSZHTdgzb7GTvpBjmxOMB81q2fKa8S19bgllJRK1kBtc syiw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=GwQ437s5oqH7J3p3OpJUIJLGMeDfH45LfVCPBoXa3Lo=; b=NrwqV2wzOggaz2cM4J1Jz0uO9dKhIJ/7cq0OibCpT6EXUbXWAE4BqfvQPG/JqSXrtj 6u744haDMCOsGQyuzhVlAyKFDSgxQJ267UGKwtpo16L/ahlBQAvYge5wUHioOgU93ZzF Nd7zQj05LddFN6TMRkTmamBurBoki4XgUFaBf3apuawpBCNnRlW863PAIuzWSMiPM+dr OwMVITh+GEHd+CG+NlAoDht8hmK+Il0ZxkHsSGi+XhIVVGfGGPczp0hKd5LIKObH4EGo ncN0s69doJ+qp/fZX8OMGBPd57IRe6jknG68A1ctRty9S7gAy0m4jHsBI+pFgznlr+7k BzvA== X-Gm-Message-State: AIkVDXLwqUW9VyUfSJsjGSjrT9oPwJyAQxixChV8DgNd+2p4pbqFzs4sopRVDgq5UOmWPNxxzm7T4jurE4d6Ew== X-Received: by 10.37.208.150 with SMTP id h144mr16376226ybg.154.1485906070294; Tue, 31 Jan 2017 15:41:10 -0800 (PST) MIME-Version: 1.0 Received: by 10.129.167.74 with HTTP; Tue, 31 Jan 2017 15:41:09 -0800 (PST) In-Reply-To: <20170131024141.GA26604@mithlond.kdm.org> References: <20170131024141.GA26604@mithlond.kdm.org> From: Chuck Tuffli Date: Tue, 31 Jan 2017 15:41:09 -0800 Message-ID: Subject: Re: how to determine protocol of USB devices To: "Kenneth D. Merry" Cc: freebsd-scsi Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Jan 2017 23:41:11 -0000 On Mon, Jan 30, 2017 at 6:41 PM, Kenneth D. Merry wrote: ... > That code might eventually move over to libcam, but I thought it might be > good to give it a little time before locking down the API. The underlying > components are there, though (cam_fill_ataio() and scsi_ata_pass()). > > I'm curious to hear what your solution is once you figure it out. It would > be good to know as far as generically supporting USB devices for things > like firmware downloads. (I don't know much about USB storage.) Thanks for the pointers, Ken. I'll let you know how this turns out. --chuck