discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss-gnuradio] start_rx_streaming_at patch


From: Bruce McGuffin
Subject: [Discuss-gnuradio] start_rx_streaming_at patch
Date: Thu, 17 Sep 2009 11:28:01 -0400
User-agent: Thunderbird 2.0.0.22 (X11/20090625)


Hi

A while ago, Doug Geiger wrote on this group that he had written a
patch to create a function start_rx_streaming_at, which is like
start_rx_streaming but begins at a specified time synchronized with
the PPS, and that the patch could be found at http://drop.io/9eljrue

Yesterday I downloaded the patch and tried applying it to gnuradio-3.2
without success. Of the half dozen or so changes in the patch only the last
one succeeded. Here is a typical exchange from that attempt:

    patch -p2 < usrp2-rx_at-sync_rx_at.patch
    can't find file to patch at input line 5
    Perhaps you used the wrong -p or --strip option?
    The text leading up to this was:
    --------------------------
    |Index: usrp2/firmware/apps/serdes_txrx.c
    |===================================================================
    |--- usrp2/firmware/apps/serdes_txrx.c  (revision 11171)
    |+++ usrp2/firmware/apps/serdes_txrx.c  (working copy)
    --------------------------
    File to patch:

at this point, I type in:  usrp2/firmware/apps/serdes_txrx.c
and it continues:

    patching file usrp2/firmware/apps/serdes_txrx.c
    Hunk #1 FAILED at 183.
1 out of 1 hunk FAILED -- saving rejects to file usrp2/firmware/apps/serdes_txrx.c.rej

the reject file contains:

    ***************
    *** 183,188 ****
        restart_streaming();
      }


      void
      stop_rx_cmd(void)
    --- 183,192 ----
        restart_streaming();
      }

+ void start_rx_streaming_at_cmd(const u2_mac_addr_t *host, op_start_rx_streaming_t *p, uint32_t time)
    + {}
    + void restart_streaming_at(uint32_t time)
    + {}

      void
      stop_rx_cmd(void)

and as far as I can tell by looking, the 6 lines of context exactly match lines 183-188 in the file
usrp2/firmware/apps/serdes_txrx.c

So then just to see if it made a difference, I downloaded gnuradio-3.2.2
but patch didn't work there either.

Then I emailed Doug at address@hidden <mailto:address@hidden>
and it bounced. Does anybody know what I'm doing wrong here?

Thanks
Bruce





reply via email to

[Prev in Thread] Current Thread [Next in Thread]