From owner-freebsd-firewire Mon Apr 8 9:50:11 2002 Delivered-To: freebsd-firewire@freebsd.org Received: from venus.kiu.ac.jp (venus.kiu.ac.jp [202.254.212.2]) by hub.freebsd.org (Postfix) with ESMTP id 9479137B417 for ; Mon, 8 Apr 2002 09:50:07 -0700 (PDT) Received: from soleil.kiu.ac.jp (saturn-dmz [202.254.212.3]) by venus.kiu.ac.jp (8.9.3/3.7W) with ESMTP id BAA24780 for ; Tue, 9 Apr 2002 01:50:06 +0900 (JST) Received: from konijn (saturn-edu001.internal.kiu [172.22.1.4]) by soleil.kiu.ac.jp (8.9.3/3.7W) with ESMTP id BAA17574 for ; Tue, 9 Apr 2002 01:49:55 +0900 (JST) Date: Tue, 9 Apr 2002 01:50:00 +0900 Mime-Version: 1.0 (Apple Message framework v481) Content-Type: text/plain; charset=US-ASCII; format=flowed From: junichi nagata To: freebsd-firewire@FreeBSD.ORG Content-Transfer-Encoding: 7bit Message-Id: X-Mailer: Apple Mail (2.481) Sender: owner-freebsd-firewire@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG subscribe freebsd-firewire To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-firewire" in the body of the message From owner-freebsd-firewire Wed Apr 10 5:56:19 2002 Delivered-To: freebsd-firewire@freebsd.org Received: from mail.sat.t.u-tokyo.ac.jp (nat.keisu.t.u-tokyo.ac.jp [133.11.68.2]) by hub.freebsd.org (Postfix) with ESMTP id 1795A37B419 for ; Wed, 10 Apr 2002 05:56:12 -0700 (PDT) Received: from ett.sat.t.u-tokyo.ac.jp (ett.sat.t.u-tokyo.ac.jp [10.6.1.30]) by mail.sat.t.u-tokyo.ac.jp (Postfix) with ESMTP id 0EA1B2DAC8; Wed, 10 Apr 2002 21:56:11 +0900 (JST) Date: Wed, 10 Apr 2002 21:56:10 +0900 Message-ID: From: Hidetoshi Shimokawa To: freebsd-firewire@freebsd.org Cc: dvts-users@sfc.wide.ad.jp, ikob@koganei.wide.ad.jp Subject: Re: [Firewire-BSD 261] driver update (SBP-II/Firewire) In-Reply-To: References: <3C8C283C.A5161533@cablespeed.com> <200203101530.AAA05124@ns.kobe1995.net> User-Agent: Wanderlust/2.4.1 (Stand By Me) REMI/1.14.3 (Matsudai) FLIM/1.13.2 (Kasanui) APEL/10.3 MULE XEmacs/21.2 (beta19) (Shinjuku) (i386-unknown-freebsd3.2) X-Face: OE([KxWyJI0r[R~S/>7ia}SJ)i%a,$-9%7{*yihQk|]gl}2p#"oXmX/fT}Bn7:#j7i14gu$ jgR\S*&C3R/pJX List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Updated, http://people.freebsd.org/~simokawa/firewire-20020410.tar.gz A dumb ethernet-emulation has been added. Enjoy, /\ Hidetoshi Shimokawa \/ simokawa@sat.t.u-tokyo.ac.jp PGP public key: http://www.sat.t.u-tokyo.ac.jp/~simokawa/pgp.html $Id: 00README,v 1.1 2002/04/08 09:03:02 simokawa Exp $ IEEE 1394 support for FreeBSD-5.X and 4.X. 1. Introduction This tarball contains IEEE1394(Firewire) driver which is first written by Katsushi Kobayashi[1] and modified by Hidetoshi Shimokawa . Please note this driver is still under development. The driver consists of 5 parts: - fwohci.c/fwohci_pci.c OHCI[2] driver - IEEE1394 link/phys chip control - firewire.c Chip independent driver - CSR - Transaction - Character devices for userland - sbp.c SBP-II[3] (a.k.a. SCSI over Firewire) driver - if_fwe.c NON-Standard implementation of Ethernet over FireWire. - bus_mgm.c (userland) Bus management function for user. show topology map, change gap count, bus reset, etc. 2. Installation Suppose you have kernel source at /sys. - Extract tarball at root directory. - cd /sys/dev/firewire - make - make install - make load For FreeBSD-4 user: - ./MAKEDEV 3. SBP-II support (sbp) - You need CAM(SCSI) support in your kernel. If you are using FreeBSD-5 before 2002/03/23 or FreeBSD-4 before 2002/4/8, you need to apply CAM-patch in this archive to handle HDD's(T_RBC or T_DIRECT which doesn't support READ_6). - If you connect a few firwire devices only, try the following to reduce gap overhead. - ./bus_mgm -g 8 4. Ethernet over Firewire (if_fwe) This is a sample driver for ethernet emulation. Please note this does NOT conform to any standards like IP over Firewire(RFC2734[4]). It just sends ethernet frames encapsulated in asynchronous stream packets. It doesn't scale because it does something like unicast over multicast, but it's easy to be implemented and you can use any facilities what ethernet can do. (ipv6, bridging, vlan etc.) It also has DEVICE_POLLING[5] support. To enable it, edit your kernel config file and Makefile.fwe then rebuild kernel and if_fwe.ko. Note this driver checks kern.polling.enable only when enabling the interface. When you enable polling after the interface is up, try 'ifconfig fwe0 down;ifconfig fwe0 up'. 5. DV I have not tested yet. References: [1] ftp://ftp.uec.ac.jp/pub/firewire/beta/ [2] http://developer.intel.com/technology/1394/download/ohci_11.htm [3] http://www.t10.org/scsi-3.htm [4] http://www.faqs.org/rfcs/rfc2734.html [5] http://info.iet.unipi.it/~luigi/polling/ Hidetoshi Shimokawa simokawa@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-firewire" in the body of the message From owner-freebsd-firewire Fri Apr 12 9:49:35 2002 Delivered-To: freebsd-firewire@freebsd.org Received: from boromir.vpop.net (dns1.vpop.net [206.117.147.2]) by hub.freebsd.org (Postfix) with ESMTP id 5C2C737B41D for ; Fri, 12 Apr 2002 09:49:27 -0700 (PDT) Received: from vpop.net (bilbo.vpop.net [65.103.33.41]) by boromir.vpop.net (8.11.6/8.11.6) with ESMTP id g3CGnHF04174; Fri, 12 Apr 2002 09:49:17 -0700 (PDT) (envelope-from mreimer@vpop.net) Message-ID: <3CB66743.9080500@vpop.net> Date: Thu, 11 Apr 2002 23:49:07 -0500 From: Matthew Reimer Organization: VPOP Technologies, Inc. User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:0.9.9) Gecko/20020316 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Hidetoshi Shimokawa Cc: freebsd-firewire@FreeBSD.ORG, dvts-users@sfc.wide.ad.jp, ikob@koganei.wide.ad.jp Subject: Re: [Firewire-BSD 261] driver update (SBP-II/Firewire) References: <3C8C283C.A5161533@cablespeed.com> <200203101530.AAA05124@ns.kobe1995.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-firewire@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hidetoshi Shimokawa wrote: > Updated, > > http://people.freebsd.org/~simokawa/firewire-20020410.tar.gz > > A dumb ethernet-emulation has been added. > > Enjoy, > > /\ Hidetoshi Shimokawa \/ simokawa@sat.t.u-tokyo.ac.jp PGP public > key: http://www.sat.t.u-tokyo.ac.jp/~simokawa/pgp.html Thank you for your firewire work! I look forward to using it to extract video from my video camera. Does DVTS work with this driver? The driver sees my camera but apparently doesn't implement what DVTS needs: ./dvsave -f 300 -o foo.dv -i /dev/fw0 saving 300 DV frames socket 1394: Protocol not supported Failed to open IEEE1394 I'm willing to test patches, etc. to help get this working. Matt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-firewire" in the body of the message From owner-freebsd-firewire Fri Apr 12 10:49:54 2002 Delivered-To: freebsd-firewire@freebsd.org Received: from ns.koganei.wide.ad.jp (koganei.wide.ad.jp [202.249.37.254]) by hub.freebsd.org (Postfix) with ESMTP id 904E537B400 for ; Fri, 12 Apr 2002 10:49:51 -0700 (PDT) Received: from koganei.wide.ad.jp (16.pool1.sf.att.ne.jp [165.76.171.31]) (authenticated (0 bits)) by ns.koganei.wide.ad.jp (8.11.6/8.11.6) with ESMTP id g3CHonD76715; Sat, 13 Apr 2002 02:50:50 +0900 (JST) (envelope-from ikob@koganei.wide.ad.jp) Message-ID: <3CB71E30.1040406@koganei.wide.ad.jp> Date: Sat, 13 Apr 2002 02:49:36 +0900 From: Katsushi Kobayashi User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.8) Gecko/20020204 X-Accept-Language: en-us MIME-Version: 1.0 To: Matthew Reimer Cc: Hidetoshi Shimokawa , freebsd-firewire@FreeBSD.ORG, dvts-users@sfc.wide.ad.jp Subject: Re: [Firewire-BSD 261] driver update (SBP-II/Firewire) References: <3C8C283C.A5161533@cablespeed.com> <200203101530.AAA05124@ns.kobe1995.net> <3CB66743.9080500@vpop.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-firewire@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello, Right now, DV support is temporary postponed, since the requirement of storage support is larger than DV. Also, the API around DV is different from former version using DVTS application. Basically, capturing DV stream will be work, if DVTS code is modified. To display DV video frame is not supported current release. Thanlks, Matthew Reimer wrote: > Hidetoshi Shimokawa wrote: > > Updated, > > > > http://people.freebsd.org/~simokawa/firewire-20020410.tar.gz > > > > A dumb ethernet-emulation has been added. > > > > Enjoy, > > > > /\ Hidetoshi Shimokawa \/ simokawa@sat.t.u-tokyo.ac.jp PGP public > > key: http://www.sat.t.u-tokyo.ac.jp/~simokawa/pgp.html > > Thank you for your firewire work! I look forward to using it to > extract video from my video camera. > > Does DVTS work with this driver? The driver sees my camera but > apparently doesn't implement what DVTS needs: > > ./dvsave -f 300 -o foo.dv -i /dev/fw0 > saving 300 DV frames > socket 1394: Protocol not supported > Failed to open IEEE1394 > > I'm willing to test patches, etc. to help get this working. > > Matt > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-firewire" in the body of the message