From owner-freebsd-firewire@FreeBSD.ORG Fri May 22 19:15:29 2009 Return-Path: Delivered-To: freebsd-firewire@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 52750106568E for ; Fri, 22 May 2009 19:15:29 +0000 (UTC) (envelope-from sean.bruno@dsl-only.net) Received: from iron2.pdx.net (iron2.pdx.net [69.64.224.71]) by mx1.freebsd.org (Postfix) with ESMTP id 2E4588FC1B for ; Fri, 22 May 2009 19:15:28 +0000 (UTC) (envelope-from sean.bruno@dsl-only.net) Received: (qmail 7731 invoked from network); 22 May 2009 12:15:26 -0700 Received: from 069-064-235-060.pdx.net (HELO ?192.168.1.130?) (69.64.235.60) by iron2.pdx.net with (DHE-RSA-AES256-SHA encrypted) SMTP; 22 May 2009 12:15:26 -0700 From: Sean Bruno To: Steve Polyack In-Reply-To: <4A169891.5080609@comcast.net> References: <4A169891.5080609@comcast.net> Content-Type: text/plain Date: Fri, 22 May 2009 12:15:27 -0700 Message-Id: <1243019727.3373.16.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.24.5 (2.24.5-1.fc10) Content-Transfer-Encoding: 7bit Cc: freebsd-firewire@FreeBSD.org Subject: Re: libraw1394 and FreeBSD X-BeenThere: freebsd-firewire@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Firewire support in FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 May 2009 19:15:29 -0000 On Fri, 2009-05-22 at 08:20 -0400, Steve Polyack wrote: > Hello, > I've seen a few posts in the archives referring to porting libraw1394 > to FreeBSD. However, none of these appear to have been successful. I'm > considering giving this a shot, but I will likely need some guidance. I > have a few questions/points from what I've gathered from past discussions: Excellent. I'm around, but a little swamped right now under other school related things. I hope to have some free time soon though. I've jotted down a few thoughts below. > 1. libraw1394 implements some ISO 1394 read/write/stop/start/etc > functions for firewire on linux. It's been said that these are already > implemented in the FreeBSD kernel modules which provide firewire > access. Is this correct? If so, libraw1394 only needs rewritten enough > to provide the freebsd kernel interface in a linux application-familiar > sense. > Take a look at how fwcontrol interfaces with the driver. Let me know if you would like to see some changes at the interface. > 2. What is going on with firewire development in FreeBSD currently? If > I attempt to complete this port, am I better off working with 8-CURRENT > as opposed to 7.2-RELEASE? I'm aware the USB stack in 8 is totally > rewritten; is the same true for the firewire modules? > Firewire is fairly static right now. I had hoped to start a bit of re-writing before 8.0 is released, but it's going to be cutting it close. I have been enhancing -Current only for the last few months, and I have been kind of ignoring 7 and 6. So the code has diverged a bit. If you can do it, please start with -Current and see what can be done there first. > > I believe this would be a valuable port for FreeBSD. It would enable us > to use a wide range of audio and DV interfaces via firewire and existing > linux "drivers" which only depend on libraw1394, opening up > possibilities like using FreeBSD for audio and video editing. Agreed. Let me know what devices you have access to. Sean