fwcontrol -R is broken, need help, urgent

Sean Bruno seanbru at yahoo-inc.com
Mon Aug 22 19:09:08 UTC 2011


On Sun, 2011-08-21 at 06:44 -0700, Kazumaro Aoki wrote:
> From: "Dieter BSD" <dieterbsd at 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






More information about the freebsd-firewire mailing list