iso receive
Hidetoshi Shimokawa
simokawa at sat.t.u-tokyo.ac.jp
Wed Apr 28 09:55:37 PDT 2004
You need to allocate receive buffer by ioctl() with FW_SSTBUF before
setting the channel.
The only way to stop the iso listening is to close the fd for now.
/\ Hidetoshi Shimokawa
\/ simokawa at sat.t.u-tokyo.ac.jp
PGP public key: http://www.sat.t.u-tokyo.ac.jp/~simokawa/pgp.html
At Tue, 27 Apr 2004 12:46:53 -0700 (PDT),
Buzz Slye wrote:
>
>
> The following code is used to set the channel to listen to for
> iso receive.
>
> int raw1394_set_channel(struct raw1394_handle *handle, int channel)
> {
> struct fw_isochreq chreq;
>
> chreq.ch = channel;
> chreq.tag = 0;
> if (ioctl(handle->fd, FW_SRSTREAM, &chreq) < 0) return (-1);
>
> return 0;
> }
>
> This code crashes the system. What are we doing wrong here?
>
> It used to work OK last june 2003 in version 1.2.4.10 of fwdev.c
>
> Also, how does one stop iso listening on a channel?
>
> Robert Slye
> NASA - Ames Research Center
> Moffett Field CA 94035
>
> buzz at gaia.arc.nasa.gov
>
>
> _______________________________________________
> freebsd-firewire at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-firewire
> To unsubscribe, send any mail to "freebsd-firewire-unsubscribe at freebsd.org"
>
More information about the freebsd-firewire
mailing list