From owner-freebsd-firewire@FreeBSD.ORG Sun Jul 4 12:19:25 2004 Return-Path: Delivered-To: freebsd-firewire@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3351B16A4CE for ; Sun, 4 Jul 2004 12:19:25 +0000 (GMT) Received: from tora.nunu.org (YahooBB219003182029.bbtec.net [219.3.182.29]) by mx1.FreeBSD.org (Postfix) with ESMTP id A2F2043D41 for ; Sun, 4 Jul 2004 12:19:23 +0000 (GMT) (envelope-from simokawa@sat.t.u-tokyo.ac.jp) Received: from tora.nunu.org (unknown [192.168.1.2]) by tora.nunu.org (Postfix) with ESMTP id E95FA4B26D; Sun, 4 Jul 2004 21:19:21 +0900 (JST) Date: Sun, 04 Jul 2004 21:19:21 +0900 Message-ID: <87eknsrmly.wl@tora.nunu.org> From: Hidetoshi Shimokawa To: Buzz Slye In-Reply-To: References: User-Agent: Wanderlust/2.10.1 (Watching The Wheels) SEMI/1.14.5 (Awara-Onsen) FLIM/1.14.5 (Demachiyanagi) APEL/10.6 MULE XEmacs/21.4 (patch 14) (Reasonable Discussion) (i386--freebsd) MIME-Version: 1.0 (generated by SEMI 1.14.5 - "Awara-Onsen") Content-Type: text/plain; charset=US-ASCII cc: freebsd-firewire@freebsd.org Subject: Re: Digital Cameras X-BeenThere: freebsd-firewire@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Firewire support in FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Jul 2004 12:19:25 -0000 At Thu, 1 Jul 2004 11:26:41 -0700 (PDT), Buzz Slye wrote: > > We've been using firewire digital cameras for some time now for > remote sensing and flying them on UAV's (with a pc104 data system). > We are using a Basler color camera (model A101fc), a Basler single > band camera for hyperspectral imaging, and also an Omega thermal > camera. These cameras conform to spec 1.20 (spec id 0xa02d). Check > www.uav-applications.org (Aircraft and Payload) for some background > info. > > The digital camera library and the 1394 raw library were converted > from the available Linux libraries to FreeBSD. We are still using the That's great. Are you going to make them a port or some other forms others can use it? > firewire version of last April/May (2003). When the July version came > along, it didn't work any more, so we've been stuck with the old ver- > sion. I have been trying to upgrade to the latest version (March 28). > > Async read and write commands are used to read and set the camera > registers for exposure, gain, shutter, and frame size etc. Camera > images are downloaded with iso stream transfer. I don't need to > support iso xmit, but only to iso receive from the camera. Normal > operation is to acquire single frames every few seconds for over- > lapping images of the ground. > > The latest current of fwdev.c (2004/05/23) works for me now for > async read and write. Also, my fix with uiomove for fw_read, per my > mail of 6/24 appears to work OK. A remaining problem is because I You need the uiomove patch to catch response from the camera, right? FireWire binding from userland is not usable state now, some other people who is interested in AV/C support have similar problem. We need some more work on this area. > only acquire single frames, but not continuously, I would like a way > to stop listening (or divert the output) while I go back to the camera > to tell it to stop xmitting. > > Buzz Slye > NASA / Ames I have a copy of digital camera spec. but I've not read it yet. Are frames sent with iso packets? Is it hard to close the device to stop listening? We may add a new ioctl that calls fc->irx_disable(), but we carefully handle buffer allocation/deallocation. I'm glad to hear that you are developing a serious FireWire application on FreeBSD. /\ Hidetoshi Shimokawa \/ simokawa@sat.t.u-tokyo.ac.jp PGP public key: http://www.sat.t.u-tokyo.ac.jp/~simokawa/pgp.html