From owner-freebsd-usb@FreeBSD.ORG Tue Jul 23 18:10:07 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 65668758 for ; Tue, 23 Jul 2013 18:10:07 +0000 (UTC) (envelope-from tomek.cedro@gmail.com) Received: from mail-qc0-x22a.google.com (mail-qc0-x22a.google.com [IPv6:2607:f8b0:400d:c01::22a]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 2F4AC2CC4 for ; Tue, 23 Jul 2013 18:10:07 +0000 (UTC) Received: by mail-qc0-f170.google.com with SMTP id s1so4527343qcw.15 for ; Tue, 23 Jul 2013 11:10:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; bh=lC4m11vNnqELjmWdmT3BVa9Bfr9V3m2uNgvjkgsdP44=; b=AyiS6FFNZULYVT9mquEPAQ4/Z0q49skzM6wsI0tEwttRMFrYCXlMf7OufqtrsACdAs s35UQ0dCKWHCtToj2OYthZd9kQwL0Bc70cTlowq8E1LhTGg4wQBwJSd1ZVJziIn3iS4K c0zQ7zoeOnlyTv6do0fGOif147AiICsdkhXQdHM/B5VvOdrm4CkZQZHXenFFvAWEUfZ2 3nDj0NBPRYiaovyoN4GOeldOPsCHmf+SayGaJkpVSOgbJbf3nDo7a6X5z0oqBbEhI82z i00+yrzH8pr8PoyZ00B37FuLyzWStZm6IJQitMkZFhjzVbbXpD4NLUG+F+s7VivD1V0B OTjA== MIME-Version: 1.0 X-Received: by 10.224.122.66 with SMTP id k2mr41563445qar.47.1374603006236; Tue, 23 Jul 2013 11:10:06 -0700 (PDT) Sender: tomek.cedro@gmail.com Received: by 10.49.70.229 with HTTP; Tue, 23 Jul 2013 11:10:06 -0700 (PDT) Date: Tue, 23 Jul 2013 20:10:06 +0200 X-Google-Sender-Auth: djqFF7Pyl3GkGvUksQfBbBhu0XE Message-ID: Subject: LibFTDI/LibUSB 1.0 and Asyncrhonous I/O on FreeBSD From: CeDeROM To: "freebsd-usb@FreeBSD.org" Content-Type: text/plain; charset=UTF-8 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: Tue, 23 Jul 2013 18:10:07 -0000 Hello :-) LibUSB 1.0 introduced Asyncrhonous I/O [1] which in conjuction with LibFTDI 1.0 [2] gives significant performance improvement on FT2232* based chips used in various UART/JTAG/SWD interfaces. I am working on LibSWD [3] and would like to use this Asyncrhonous I/O on my FreeBSD box. I know there is an internal BSD implementation of LibUSB, so my question is it possible to use this Asynchronous I/O with FreeBSD implementation of LibUSB, or more specifically is it possible to use LibFTDI 1.0 to improve speed of my driver for FT2232 chip? :-) Any hints appreciated! :-) Tomek [1] http://www.libusb.org/wiki/libusb-1.0 [2] http://www.intra2net.com/en/developer/libftdi/ [3] http://libswd.sf.net -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info