Re: fwcontrol -R is broken, need help, urgent

Sean Bruno <[email protected]> Mon, 22 Aug 2011 12:08:40 -0700
Newsgroups gmane.os.freebsd.devel.firewire
Message-ID <[email protected]>
On Sun, 2011-08-21 at 06:44 -0700, Kazumaro Aoki wrote:
> From: "Dieter BSD" <[email protected]>
> 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




_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-firewire
To unsubscribe, send any mail to "[email protected]"