Post Go back to editing

Running RFSOM-BOX-GUI in PackRF with 2019_R2 Image

Recently I received a pair of PackRFs. When I ran with 2016_R1 image, the RFSOM-BOX-GUI showed up immediately.

However, when I ran with 2019_R2 image, the Linux penguin showed first and then the Linux desktop showed up. The screen is so small that I could not find the application tab and run the RFSOM-BOX-GUI, let alone finding the IP address of the PackRF.

Is there a way to start the RFSOM-BOX-GUI by using the click wheel and button only?

Thanks a lot in advance.

  • While installing rfsom-box-gui, here are the two errors I got:

    root@analog:~/rfsom-box-gui/build_packrf# make install
    /usr/lib/qt5/bin/qmake -install qinstall -exe rfsom-box-gui /usr/local/bin/rfsom-box-gui
    strip /usr/local/bin/rfsom-box-gui
    /usr/lib/qt5/bin/qmake -install qinstall -exe /root/rfsom-box-gui/bin/rfsom-box-gui-start.sh /usr/local/bin/rfsom-box-gui-start.sh
    strip /usr/local/bin/rfsom-box-gui-start.sh
    strip:/usr/local/bin/rfsom-box-gui-start.sh: file format not recognized
    make: [Makefile:878: install_scripts] Error 1 (ignored)
    /usr/lib/qt5/bin/qmake -install qinstall /root/rfsom-box-gui/bin/gps_get_coords.sh /usr/local/bin/gps_get_coords.sh
    /usr/lib/qt5/bin/qmake -install qinstall /root/rfsom-box-gui/bin/get_gmap.sh /usr/local/bin/get_gmap.sh
    /usr/lib/qt5/bin/qmake -install qinstall /root/rfsom-box-gui/bin/camera_view.sh /usr/local/bin/camera_view.sh
    /usr/lib/qt5/bin/qmake -install qinstall /root/rfsom-box-gui/bin/start_terminal.sh /usr/local/bin/start_terminal.sh
    /usr/lib/qt5/bin/qmake -install qinstall /root/rfsom-box-gui/bin/read_pss /usr/local/bin/read_pss
    /usr/lib/qt5/bin/qmake -install qinstall /root/rfsom-box-gui/bin/start_stream.sh /usr/local/bin/start_stream.sh
    /usr/lib/qt5/bin/qmake -install qinstall /root/rfsom-box-gui/bin/recv_stream.sh /usr/local/bin/recv_stream.sh
    /usr/lib/qt5/bin/qmake -install qinstall /root/rfsom-box-gui/bin/start_plot.sh /usr/local/bin/start_plot.sh
    /usr/lib/qt5/bin/qmake -install qinstall /root/rfsom-box-gui/bin/enc-onoff.sh /usr/local/bin/enc-onoff.sh
    /usr/lib/qt5/bin/qmake -install qinstall /root/rfsom-box-gui/bin/batt_man.sh /usr/local/bin/batt_man.sh
    /usr/lib/qt5/bin/qmake -install qinstall /root/rfsom-box-gui/bin/send_tone.sh /usr/local/bin/send_tone.sh
    /usr/lib/qt5/bin/qmake -install qinstall /root/rfsom-box-gui/tun_tap/en_macsec.sh /usr/local/bin/en_macsec.sh
    /usr/lib/qt5/bin/qmake -install qinstall -exe /root/rfsom-box-gui/bin/start_buffer_stream.sh /usr/local/bin/start_buffer_stream.sh
    strip /usr/local/bin/start_buffer_stream.sh
    strip:/usr/local/bin/start_buffer_stream.sh: file format not recognized
    make: [Makefile:892: install_scripts] Error 1 (ignored)
    /usr/lib/qt5/bin/qmake -install qinstall /root/rfsom-box-gui/bin/configure_peer.sh /usr/local/bin/configure_peer.sh
    /usr/lib/qt5/bin/qmake -install qinstall /root/rfsom-box-gui/bin/testmode.sh /usr/local/bin/testmode.sh
    /usr/lib/qt5/bin/qmake -install qinstall /root/rfsom-box-gui/share/rfsom-box-gui /usr/local/share/rfsom-box-gui
    chmod 777 /usr/local/bin/rfsom-box-gui-start.sh; chmod 777 /usr/local/bin/gps_get_coords.sh; chmod 777 /usr/local/bin/read_pss; chmod 777 /usr/local/bin/start_stream.sh; chmod 777 /usr/local/bin/en_macsec.sh; chmod 777 /usr/local/bin/get_gmap.sh; chmod 777 /usr/local/bin/enc-onoff.sh; chmod 777 /usr/local/bin/batt_man.sh; chmod 777 /usr/local/bin/send_tone.sh; chmod 777 /usr/local/bin/start_buffer_stream.sh; chmod 777 /usr/local/bin/configure_peer.sh; chmod 777 /usr/local/bin/testmode.sh;

  • Finally I can change or set the frequency by removing "-q" in the iio_attr command when the libiio version is 0.23. I removed "-q" in both launcher.json and landing.json.

    By removing "-q" in landing.json, I can read the temperature again.

  • I checked the /etc/rc.local file in the 2019_R2 image after typing "sudo adi_update_tools.sh dev" to update the tools. It does have the command "/usr/local/bin/rfsom-box-gui-start.sh" to run RFSOM Box GUI automatically. However, when I run /etc/rc.local, there are some errors. 

    root@analog:~# /etc/rc.local
    My IP address is 10.0.0.185 2601:582:c180:2820::e5bc 2601:582:c180:2820:6568:7625:edf3:1845
    input-event-daemon: open(/dev/input/by-path/platform-fpga-axi@0:pzsdr_sound-event): No such file or directory
    /usr/local/bin/rfsom-box-gui-start.sh: 20: echo: echo: I/O error
    /usr/local/bin/rfsom-box-gui-start.sh: 21: echo: echo: I/O error
    /usr/local/bin/rfsom-box-gui-start.sh: 22: echo: echo: I/O error
    WARNING: Unable to read INI file: -5
    killing duplicate process 8242
    Setting the defaults
    modem_write: Can't open Rx modem_uio device
    modem_write: Can't open Rx modem_uio device
    modem_write: Can't open Rx modem_uio device
    modem_write: Can't open Rx modem_uio device
    modem_write: Can't open Rx modem_uio device
    modem_write: Can't open Rx modem_uio device
    modem_write: Can't open Rx modem_uio device
    modem_write: Can't open Rx modem_uio device
    modem_write: Can't open Rx modem_uio device
    modem_write: Can't open Rx modem_uio device
    modem_write: Can't open Rx modem_uio device
    modem_write: Can't open Rx modem_uio device
    Starting IIO Daemon version 0.23.e2d7161b
    ERROR: Bind failed: Address already in use (98)
    modem_write: Can't open Rx modem_uio device
    modem_read: Can't open Rx modem_uio device
    payloadLen: 67260
    All Done
    root@analog:~#

    Could you show me how to fix it?

  • Some stuff changed when we switched to Kuiper Linux. I'm looking into a solution for it and let you know once I figure it out ..

    -Adrian 

  • Hi .. 

    Can you edit /etc/rc.local and remove the line invoking rfsom-box-gui-start.sh . 

    After this can you try running adi_update_tools.sh as I've updated the scripts and the application.

    Thanks,

    -Adrian

  • Can I still use "adi_update_tools.sh dev" instead of adi_update_tools.sh? This is because I still prefer libiio ver 0.23.

  • I fixed the iio_attr -q here: https://github.com/analogdevicesinc/rfsom-box-gui/commit/d2bf5906deccda3a15a9ec873c13d89dfb29dc88 I think this bug predates libiio v0.23 so you should be able to use libiio v0.23 without issues.

    -Adrian

  • Thank you for your fix, Adrian. I use either "adi_update_tools.sh dev" or "adi_update_tools.sh" and the RFSOM-BOX-GUI comes out.

  • Hi Adrian,

    If I boot the Packrf and don't want open rfsom-box-gui at startup, how should I do?

    Thank you very much.