From owner-freebsd-emulation@FreeBSD.ORG Sun Oct 26 10:49:08 2008 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B72A51065670; Sun, 26 Oct 2008 10:49:08 +0000 (UTC) (envelope-from martin.laabs@mailbox.tu-dresden.de) Received: from mailout2.zih.tu-dresden.de (mailout2.zih.tu-dresden.de [141.30.67.73]) by mx1.freebsd.org (Postfix) with ESMTP id 754E98FC1B; Sun, 26 Oct 2008 10:49:08 +0000 (UTC) (envelope-from martin.laabs@mailbox.tu-dresden.de) Received: from rmc67-31.zih.tu-dresden.de ([141.30.67.31] helo=server-n) by mailout2.zih.tu-dresden.de with esmtp (Exim 4.63) (envelope-from ) id 1Ku3BA-0006fK-5o; Sun, 26 Oct 2008 11:49:06 +0100 Received: from localhost (p5B0EDE65.dip.t-dialin.net [91.14.222.101]) by server-n (Postfix) with ESMTP id EB22B100A08E; Sun, 26 Oct 2008 11:49:02 +0100 (CET) Date: Sun, 26 Oct 2008 11:49:02 +0100 To: "freebsd-hackers@freebsd.org" From: "Martin Laabs" Content-Type: text/plain; charset=iso-8859-1 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Message-ID: User-Agent: Opera Mail/9.51 (Linux) X-TUD-Virus-Scanned: mailout2.zih.tu-dresden.de Cc: "freebsd-emulation@freebsd.org" Subject: linux-libusb done X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Oct 2008 10:49:08 -0000 Hi, I've build succesfully an androgynous libusb. This is a libusb in linux binary format with freebsd-like usb-access. (I use it to run a jtag-debugging utility which is supplied as a linux binary only.) Unfortunately I had to patch the linux.ko module to support the ioctl calls out of the linux application. I can supply the libusb.so, a patch for the source of libusb as well as the linux_ioctl.c on request. Unfotunately I did not save the original linux_ioctl.c so I can not publish a patch yet. (I'll do a cvsup these days ..) Anyone who wants to maintain such a port? Greetings, Martin