From owner-freebsd-usb@FreeBSD.ORG Thu Nov 15 06:20:26 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 954BE16A494 for ; Thu, 15 Nov 2007 06:20:26 +0000 (UTC) (envelope-from xiaofanc@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.180]) by mx1.freebsd.org (Postfix) with ESMTP id 6E74013C447 for ; Thu, 15 Nov 2007 06:20:26 +0000 (UTC) (envelope-from xiaofanc@gmail.com) Received: by wa-out-1112.google.com with SMTP id k17so551656waf for ; Wed, 14 Nov 2007 22:20:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=pRJiv5beUDuM6b56N4sOMce6GE3EolQizc1nMaadER4=; b=lh7+3el4q3pUOfJqFqvX9rSVh0Vgw1Bqpqo9WLfermbIBdKWzAhvmqlqCMby4j0FXGXQRvgTV0YqKsO59KS5AOqECXzTVjDXPQ42h/UYalqeKX1wQhZth7jX6W8taUsCbKjxnTwiip5HlsPD2yee2oX/XfysazHj0wexbyHe5i4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=KviY0q71QCUcxj15CAXRIR/JX74bERoXwgewzVChkMQdZmRst9L1BNEQo76FGlcTSOTxQYPv3CO30sdYGyTV3b9Z5wuB1kuDhENfe9sTHq4anKMEn/Naf1N8Cj1K2l0th8X7npO5/R+iEHk/G2iNq3MCDazsN/ytZoX3bMCH50s= Received: by 10.115.59.4 with SMTP id m4mr151431wak.1195107625876; Wed, 14 Nov 2007 22:20:25 -0800 (PST) Received: by 10.114.176.17 with HTTP; Wed, 14 Nov 2007 22:20:25 -0800 (PST) Message-ID: Date: Thu, 15 Nov 2007 14:20:25 +0800 From: "Xiaofan Chen" To: freebsd-usb@freebsd.org In-Reply-To: <20071112095326.GA85828@tirith.brixandersen.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20071112095326.GA85828@tirith.brixandersen.dk> Subject: Re: OpenUSB for FreeBSD? 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, 15 Nov 2007 06:20:26 -0000 On 11/12/07, Henrik Brix Andersen wrote: > > Is it possible for some people here to implement a backend > > (based on ugen?) for FreeBSD? > > Interesting - definitely something I will take a look at. Thank you > for the pointer. > > > Or maybe at least improve the current libusb-0.1.x implemenation > > for FreeBSD. > > Yeah, I was looking at backporting some of the features from libusb > CVS HEAD to libusb-0.1 on FreeBSD a while back and improving FreeBSD > compatability as well for an application, I work on - but we ended up > making FreeBSD specific work-arounds in the application instead. Could you be a bit more specific? I know there are some missing calls in FreeBSD. And I have problems with libusb interrupt write with the default kernel (hangs). It is documented here. http://lists.freebsd.org/pipermail/freebsd-usb/2007-November/004128.html But I am not so sure if it is a libusb problem or the kernel USB driver problem. The HPS stack seems to be better in this aspect and I got some libusb application ported from Linux/Windows to FreeBSD thanks to the help from Hans. > The current stable version of libusb certainly makes a lot to wish for > on FreeBSD. > Seems to be quite true. Regards, Xiaofan http://mcuee.blogspot.com