Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Aug 2011 12:08:40 -0700
From:      Sean Bruno <seanbru@yahoo-inc.com>
To:        Kazumaro Aoki <ka@flu.if0.org>, Dieter BSD <dieterbsd@engineer.com>
Cc:        "freebsd-firewire@freebsd.org" <freebsd-firewire@freebsd.org>
Subject:   Re: fwcontrol -R is broken, need help, urgent
Message-ID:  <1314040120.2560.1.camel@hitfishpass-lx.corp.yahoo.com>
In-Reply-To: <20110821.224402.45702056.ka@flu.if0.org>
References:  <20110819235902.227920@gmx.com> <20110821.224402.45702056.ka@flu.if0.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 2011-08-21 at 06:44 -0700, Kazumaro Aoki wrote:
> From: "Dieter BSD" <dieterbsd@engineer.com>
> Subject: fwcontrol -R is broken, need help, urgent
> Date: Fri, 19 Aug 2011 23:59:01 +0000
> 
> > "fwcontrol -R foo.dv" gives:
> > fwcontrol: detect_recv_fn: ioctl FW_SSTBUF: Bad file descriptor
> > 
> > I tried both controllers (-u 0, -u 1), same result.
> > 
> > I know that -R worked under 6.x with the VIA controller.
> > (Still can't do -S with the VIA due to the cyclemaster PR.)
> > I'm fairly sure that -R worked with the NEC under 6.x and 7.x.
> 
> I met the same problem, and I use fwcontrol in 6R on 8R box.
> Fortunately, I noticed the problem when I used 6R on a different PC,
> and I made the statically linked fwcontrol binary on 6R machine, and I
> kept it.
> 
> Kazumaro
> _______________________________________________

Ugh, I see one obvious problem, the device wasn't open at all when
detect_recv_fn() was called.  Try this patch:

http://people.freebsd.org/~sbruno/fwcontrol.diff

Sean







Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1314040120.2560.1.camel>