From owner-freebsd-usb@FreeBSD.ORG Sat Nov 17 09:09:02 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 AB82816A41B for ; Sat, 17 Nov 2007 09:09:02 +0000 (UTC) (envelope-from julian@elischer.org) Received: from outV.internet-mail-service.net (outV.internet-mail-service.net [216.240.47.245]) by mx1.freebsd.org (Postfix) with ESMTP id 88FB213C4D5 for ; Sat, 17 Nov 2007 09:09:01 +0000 (UTC) (envelope-from julian@elischer.org) Received: from mx0.idiom.com (HELO idiom.com) (216.240.32.160) by out.internet-mail-service.net (qpsmtpd/0.40) with ESMTP; Sat, 17 Nov 2007 00:57:18 -0800 X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e Received: from julian-mac.elischer.org (home.elischer.org [216.240.48.38]) by idiom.com (Postfix) with ESMTP id 3D7F8126A5B; Sat, 17 Nov 2007 00:57:18 -0800 (PST) Message-ID: <473EACF0.2070005@elischer.org> Date: Sat, 17 Nov 2007 00:57:20 -0800 From: Julian Elischer User-Agent: Thunderbird 2.0.0.6 (Macintosh/20070728) MIME-Version: 1.0 To: Hans Petter Selasky References: <20071112095326.GA85828@tirith.brixandersen.dk> <200711170938.28339.hselasky@c2i.net> In-Reply-To: <200711170938.28339.hselasky@c2i.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-usb@freebsd.org 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: Sat, 17 Nov 2007 09:09:02 -0000 Hans Petter Selasky wrote: > Hi, > > On Thursday 15 November 2007, Xiaofan Chen wrote: >> 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 problem about clear stall on the interrupt endpoint is a pure device > problem. Your USB device must re-queue any lost interrupt packets after clear > stall! > >> 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. > > I haven't got time yet to look at the latest version of libusb. I have some > plans to make a replacement for /dev/ugen, that can interact on USB > interfaces that already have drivers on them. Currently I'm very busy with > other USB stuff. like, err documentation maybe? > > --HPS > _______________________________________________ > freebsd-usb@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-usb > To unsubscribe, send any mail to "freebsd-usb-unsubscribe@freebsd.org"