From owner-freebsd-firewire Tue Nov 12 17:38:54 2002 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 1350F37B401 for ; Tue, 12 Nov 2002 17:38:53 -0800 (PST) Received: from is1.mh.itc.u-tokyo.ac.jp (is1.mh.itc.u-tokyo.ac.jp [133.11.205.11]) by mx1.FreeBSD.org (Postfix) with ESMTP id ED6BF43E3B for ; Tue, 12 Nov 2002 17:38:47 -0800 (PST) (envelope-from simokawa@sat.t.u-tokyo.ac.jp) Received: from is1.mh.itc.u-tokyo.ac.jp (is1.mh.itc.u-tokyo.ac.jp [127.0.0.1]) by is1.mh.itc.u-tokyo.ac.jp (Postfix) with ESMTP id EAB9721809F for ; Wed, 13 Nov 2002 10:38:41 +0900 (JST) Received: from mailhosting.itc.u-tokyo.ac.jp (IDENT:mirapoint@mailhosting.itc.u-tokyo.ac.jp [133.11.205.3]) by is1.mh.itc.u-tokyo.ac.jp (8.11.3/8.11.3) with ESMTP id gAD1cfQ02168; Wed, 13 Nov 2002 10:38:41 +0900 Received: from ett.sat.t.u-tokyo.ac.jp (nat.keisu.t.u-tokyo.ac.jp [133.11.68.2]) by mailhosting.itc.u-tokyo.ac.jp (Mirapoint Messaging Server MOS 2.9.3.2) with ESMTP id AHI49198; Wed, 13 Nov 2002 10:38:40 +0900 (JST) Date: Wed, 13 Nov 2002 10:38:40 +0900 Message-ID: From: Hidetoshi Shimokawa To: Buzz Slye Cc: freebsd-firewire@freebsd.org Subject: Re: Howto send inquiry orb In-Reply-To: References: User-Agent: Wanderlust/2.11.0 (Wonderwall) REMI/1.14.3 (Matsudai) FLIM/1.14.3 (=?ISO-8859-1?Q?Unebigory=F2mae?=) APEL/10.3 MULE XEmacs/21.4 (patch 8) (Honest Recruiter) (i386--freebsd) 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 At Tue, 12 Nov 2002 14:01:54 -0800 (PST), Buzz Slye wrote: > > [1 ] > Hi, > > I am trying to run a Kodak camera from the firewire with the attached program. I'm not sure what a Kodak camera look like. Is it a SBP-II device? If it's so, you don't need to reimplement SBP-II. > (I am currently debugging the packet sending using an Oxford disk). > The attached progam is attempting to send a command orb inquiry to the > device. > > da4 at sbp0 bus 0 target 0 lun 0 > da4: Fixed Simplified Direct Access SCSI-4 device > sbp0:0:0 XPT_GET_TRAN_SETTINGS:. > sbp0:0:0 XPT_PATH_INQ:. > da4: 50.000MB/s transfers > da4: 28615MB (58605120 512 byte sectors: 255H 63S/T 3648C) > > After the login, running the program, the response I get is: > > fw_rcv: unknown response tcode=2 src=0xffc1 tl=20 rt=1 data=0x84516ce3 > try ad-hoc work around!! > no use... > > Apparently, the response destination does not agree with the original source. > > Questions. > > What to use for ---.mode.wreqb.src ? > > What about dest_lo ? > > Is wreqb the correct mode ? > > Where does the response go ? What is a orb inquiry? Is it SBP-II's ORB? SBP-II's ORB is not written by the host but fetched by the device(e.g. HDD). /\ Hidetoshi Shimokawa \/ simokawa@sat.t.u-tokyo.ac.jp PGP public key: http://www.sat.t.u-tokyo.ac.jp/~simokawa/pgp.html To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-firewire" in the body of the message