Date: Tue, 27 Apr 2004 12:46:53 -0700 (PDT) From: Buzz Slye <buzz@gaia.arc.nasa.gov> To: freebsd-firewire@freebsd.org Subject: iso receive Message-ID: <Pine.GSO.4.58.0404271245250.9410@mono.arc.nasa.gov>
next in thread | raw e-mail | index | archive | help
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@gaia.arc.nasa.gov
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.58.0404271245250.9410>
