From owner-freebsd-firewire@FreeBSD.ORG Thu Mar 22 19:33:06 2007 Return-Path: X-Original-To: freebsd-firewire@FreeBSD.ORG Delivered-To: freebsd-firewire@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1047316A404; Thu, 22 Mar 2007 19:33:06 +0000 (UTC) (envelope-from anderson@centtech.com) Received: from mh1.centtech.com (moat3.centtech.com [64.129.166.50]) by mx1.freebsd.org (Postfix) with ESMTP id D3C8C13C44B; Thu, 22 Mar 2007 19:33:05 +0000 (UTC) (envelope-from anderson@centtech.com) Received: from [10.177.171.220] (neutrino.centtech.com [10.177.171.220]) by mh1.centtech.com (8.13.8/8.13.8) with ESMTP id l2MJX4eZ014315; Thu, 22 Mar 2007 14:33:05 -0500 (CDT) (envelope-from anderson@centtech.com) Message-ID: <4602D9F0.9050805@centtech.com> Date: Thu, 22 Mar 2007 14:33:04 -0500 From: Eric Anderson User-Agent: Thunderbird 1.5.0.10 (X11/20070320) MIME-Version: 1.0 To: Hidetoshi Shimokawa References: <46028460.5000004@centtech.com> <626eb4530703220718q4d293a16wfbb0a70cf21e624b@mail.gmail.com> <46029A6E.9070000@centtech.com> <626eb4530703220845qdedffbdod4bd9894dec51e6@mail.gmail.com> <626eb4530703220921p3f6176efxe2b8085724436afb@mail.gmail.com> In-Reply-To: <626eb4530703220921p3f6176efxe2b8085724436afb@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.88.4/2904/Thu Mar 22 06:03:31 2007 on mh1.centtech.com X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=8.0 tests=BAYES_00 autolearn=ham version=3.1.6 X-Spam-Checker-Version: SpamAssassin 3.1.6 (2006-10-03) on mh1.centtech.com Cc: hopet@ics.muni.cz, freebsd-firewire@FreeBSD.ORG Subject: Re: fwcontrol -R issues with several cameras 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: Thu, 22 Mar 2007 19:33:06 -0000 On 03/22/07 11:21, Hidetoshi Shimokawa wrote: > Oops, I must be wrong. > Option '-M' has to be used with '-R' . Yea, I'm not using -M really anyway. I only tried it to make sure it didn't do something different. Eric > On 3/23/07, Hidetoshi Shimokawa wrote: >> I found a trivial bug in fwcontrol.c for '-M' option. >> >> RCS file: /home/ncvs/src/usr.sbin/fwcontrol/fwcontrol.c,v retrieving >> revision 1.23 >> diff -u -r1.23 fwcontrol.c >> --- fwcontrol.c 26 Oct 2006 22:33:38 -0000 1.23 >> +++ fwcontrol.c 22 Mar 2007 15:37:25 -0000 >> @@ -764,7 +764,7 @@ >> errx(EX_USAGE, "unrecognized method: %s", >> optarg); >> } >> - break; >> + /* fall through */ >> case 'R': >> open_dev(&fd, devbase); >> if (recvfn == NULL) /* guess... */ >> >> Without this patch, 'fwcontrol -Md' will exit immediately. >> But I am not sure whether this fix your problem. > -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology An undefined problem has an infinite number of solutions. ------------------------------------------------------------------------