iso receive

Buzz Slye buzz at gaia.arc.nasa.gov
Tue Apr 27 12:46:59 PDT 2004


    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




More information about the freebsd-firewire mailing list