Longmynd Software under Linux in general

Discussion about the MiniTiouner board and the MiniTiouner Digital ATV Receive Software. See also http://www.vivadatv.org/index.php
AdrianH
Posts: 87
Joined: Thu Jul 18, 2019 2:46 pm

Longmynd Software under Linux in general

Post by AdrianH » Tue Jul 28, 2020 8:46 am

I use Longmynd software under Linux Ubuntu operating system and it works very well.
Where I appreciate it was probably done with the idea of going into a raspberry Pi for other packages I was wondering if anyone has worked on the 'fake read' to provide an easier to view reporting system. I can look at the scrolling numbers and determine a call-sign/provider and an MER figure for the stream, but the rest is hard to read on the screen.

Not being a programmer just wondering if anyone has or is working on a dashboard for it?
The one I am using is from the github for myorangedragon, in case it makes any difference.

Cheers

Adrian

G6GZH
Posts: 18
Joined: Thu Jun 11, 2020 12:27 pm

Re: Longmynd Software under Linux in general

Post by G6GZH » Tue Jul 28, 2020 12:43 pm

I made a start on a simple console status display. Still work in progress but should be useful.

https://github.com/dbrooke/longmynd-status-curses

David

AdrianH
Posts: 87
Joined: Thu Jul 18, 2019 2:46 pm

Re: Longmynd Software under Linux in general

Post by AdrianH » Wed Jul 29, 2020 8:42 am

Thanks for the response Dave;

I wonder if you could explain how it is driven or what I have to do to try it.

I am also in email contact with Brian G4EWJ who contacted me of forum, so at least I am pleased it is not just me interested in this aspect.

I run a version of John G7JTT Jetson script, which means I also run Robs Live-tune software under mono to drive longmynd so would love to know if any status could be included.

Adrian

G6GZH
Posts: 18
Joined: Thu Jun 11, 2020 12:27 pm

Re: Longmynd Software under Linux in general

Post by G6GZH » Thu Jul 30, 2020 8:42 pm

Hi Adrian,
AdrianH wrote:
Wed Jul 29, 2020 8:42 am
I wonder if you could explain how it is driven or what I have to do to try it.
to download and build it the following should work:

git clone https://github.com/dbrooke/longmynd-status-curses.git
cd longmynd-status-curses
make

you should now have a program called status
AdrianH wrote:
Wed Jul 29, 2020 8:42 am
I run a version of John G7JTT Jetson script, which means I also run Robs Live-tune software under mono to drive longmynd so would love to know if any status could be included.
I'm not familiar with that script but essentially my status program is a substitute for the fake_read supplied with longmynd and it formats the information, rather than having it scroll past too fast to read, as can be seen in this screenshot https://stuff.dbrooke.me.uk/sp-Q4Iz1A.png

I hope that helps but let me know if you need any more info.

David

AdrianH
Posts: 87
Joined: Thu Jul 18, 2019 2:46 pm

Re: Longmynd Software under Linux in general

Post by AdrianH » Thu Jul 30, 2020 8:59 pm

Thanks David;

I have just been trying to install and use gcc to make the package, but had errors, one was that ncurses was not installed so have just run
sudo apt install libncuses5-dev, that removed that error but then get lots of errors saying :-

Code: Select all

/tmp/ccpeg3j7.o: In function `display_percent':
status.c:(.text+0x46): undefined reference to `mvprintw'
/tmp/ccpeg3j7.o: In function `display_mer':
status.c:(.text+0xa3): undefined reference to `mvprintw'
/tmp/ccpeg3j7.o: In function `display_yes_no':
status.c:(.text+0xf4): undefined reference to `mvprintw'
/tmp/ccpeg3j7.o: In function `display_state':
status.c:(.text+0x14f): undefined reference to `mvprintw'
status.c:(.text+0x17a): undefined reference to `mvprintw'
/tmp/ccpeg3j7.o:status.c:(.text+0x1d5): more undefined references to `mvprintw' follow
/tmp/ccpeg3j7.o: In function `main':
status.c:(.text+0x559): undefined reference to `initscr'
status.c:(.text+0x574): undefined reference to `mvprintw'
status.c:(.text+0x57a): undefined reference to `COLS'
status.c:(.text+0x580): undefined reference to `LINES'
status.c:(.text+0x594): undefined reference to `newwin'
status.c:(.text+0x5a9): undefined reference to `scrollok'
status.c:(.text+0x5c1): undefined reference to `wprintw'
status.c:(.text+0x5cd): undefined reference to `wrefresh'
status.c:(.text+0x654): undefined reference to `stdscr'
status.c:(.text+0x65c): undefined reference to `wrefresh'
status.c:(.text+0x67d): undefined reference to `wprintw'
status.c:(.text+0x689): undefined reference to `wrefresh'
collect2: error: ld returned 1 exit status

So a special thanks for the information I will install the git and take it from there, before I go off and try it is there any other pre-requisites I may need to be installed?

I will be the first to admit I do not program, I stuble through scripting with a lot of background reading.

Cheers

Adrian
Last edited by AdrianH on Thu Jul 30, 2020 9:07 pm, edited 1 time in total.

AdrianH
Posts: 87
Joined: Thu Jul 18, 2019 2:46 pm

Re: Longmynd Software under Linux in general

Post by AdrianH » Thu Jul 30, 2020 9:01 pm

Just thought of another question you mention

"my status program is a substitute for the fake_read"

So does that mean I run ./status rather than ./fake_read ?

Adrian

G6GZH
Posts: 18
Joined: Thu Jun 11, 2020 12:27 pm

Re: Longmynd Software under Linux in general

Post by G6GZH » Thu Jul 30, 2020 9:16 pm

AdrianH wrote:
Thu Jul 30, 2020 8:59 pm

So a special thanks for the information I will install the git and take it from there, before I go off and try it is there any other pre-requisites I may need to be installed?

ncurses should be the only thing needed and the errors you posted are all for ncurses so you could try a 'make clean all' which will clean out any remnants of a possible failed build and then rebuild it.

David

AdrianH
Posts: 87
Joined: Thu Jul 18, 2019 2:46 pm

Re: Longmynd Software under Linux in general

Post by AdrianH » Thu Jul 30, 2020 9:23 pm

I installed from git hub and used Make and it runs OK.

Still have errors so I must not be understanding something, which is normal.

I know that something must take the output of ./fake read, normally if I do not want any status display I will use:-

Code: Select all

cat longmynd_main_status > /dev/null &
That sticks it into oblivion. Or oif I want to see the scrolling messages I will use

Code: Select all

./fake-read
If I try to use :-

Code: Select all

cd ~/longmynd-status-curses
./status
I am getting an error of

Code: Select all

Failed to open status fifo
So what have I got wrong please David?

Adrian

G6GZH
Posts: 18
Joined: Thu Jun 11, 2020 12:27 pm

Re: Longmynd Software under Linux in general

Post by G6GZH » Thu Jul 30, 2020 9:26 pm

AdrianH wrote:
Thu Jul 30, 2020 9:01 pm

So does that mean I run ./status rather than ./fake_read ?
Yes, though the ./ prefix may need replacing with a path to the appropriate directory if you are in a different one.

David

G6GZH
Posts: 18
Joined: Thu Jun 11, 2020 12:27 pm

Re: Longmynd Software under Linux in general

Post by G6GZH » Thu Jul 30, 2020 9:33 pm

AdrianH wrote:
Thu Jul 30, 2020 9:23 pm

If I try to use :-

Code: Select all

cd ~/longmynd-status-curses
./status
I am getting an error of

Code: Select all

Failed to open status fifo
So what have I got wrong please David?
The status program assumes that the fifo is in the current directory, so don't cd out of the longmynd directory but rather just run it as

~/longmynd-status-curses/status

David

Post Reply

Return to “The MiniTiouner and MiniTioune Digital Receive Software”