From owner-freebsd-multimedia@FreeBSD.ORG Fri May 18 11:04:33 2007 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DA6AD16A404; Fri, 18 May 2007 11:04:32 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe07.swip.net [212.247.154.193]) by mx1.freebsd.org (Postfix) with ESMTP id 7D94E13C469; Fri, 18 May 2007 11:04:31 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] Received: from [82.116.76.134] (account mc467741@c2i.net HELO [192.168.1.106]) by mailfe07.swip.net (CommuniGate Pro SMTP 5.1.7) with ESMTPA id 493616936; Fri, 18 May 2007 13:04:29 +0200 From: Hans Petter Selasky To: Luigi Rizzo Date: Fri, 18 May 2007 13:04:17 +0200 User-Agent: KMail/1.9.5 MIME-Version: 1.0 Content-Type: Multipart/Mixed; boundary="Boundary-00=_xgYTGQnRoVIHbpD" Message-Id: <200705181304.17222.hselasky@c2i.net> X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-multimedia@freebsd.org, freebsd-usb@freebsd.org Subject: Linux USB emulation layer now committed to my new USB stack for FreeBSD X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 May 2007 11:04:33 -0000 --Boundary-00=_xgYTGQnRoVIHbpD Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, If you are interested, the files are: http://www.turbocat.net/~hselasky/isdn4bsd/sources/src/sys/dev/usb/usb_compat_linux.c http://www.turbocat.net/~hselasky/isdn4bsd/sources/src/sys/dev/usb/usb_compat_linux.h It is almost finished now. And it is not very much code. Also I have a preliminary patch for Luigi's webcam driver! But it does not compile yet. NOTE: Before you use a Linux USB endpoint you have to call: usb_setup_endpoint() with the buffer size you want. For isoc transfers the buffer size is ignored. Just set a dummy value. Do you have time to fix the rest Luigi? The Linux USB compat layer is in SVN and P4. http://www.turbocat.net/~hselasky/usb4bsd --HPS --Boundary-00=_xgYTGQnRoVIHbpD--