Categories
classic book radio

How to restart rivendell output

(Running: I’ve been doing my regular 3 days a week. Sometimes I have to walk. And I’m still lifting in the garage but not quite as regularly.)

We had a short power outage in the evening yesterday, maybe half a minute, max.

I had to go restart the radio station output. When I finally got the new server working and got things coming out over the air I was just relieved it worked. I never wrote down how I did it… or if I did, I don’t know where it is at.

So I wrestled with that for a couple of hours last night and finally gave up and went to bed.

This morning I’m a little clearer headed and I have now gotten it started again. So now I am doing the amazing thing of writing it down.

My attempt to automate it according to the rivendell/jackd page does not work. For some reason the pwm command doesn’t take.

Also, I left my actual notes on paper out in the radio shed so this is going to be a rough outline by memory, hopefully fresh enough.


Boot the server (it may reboot automatically)

open a terminal window and run journalctl -f so you can see what is happening.

open another terminal window and run the jackd-startup script with & at the end. This window has to stay up forever.

open another terminal window and, first run ps -ef | grep jack to see if the jackd is running. then run the pmw command in /usr/local/bin: pmw-whatever-it-is –device 0 -o UM1820 (?) onAir You should see that in the journalctl -f scrolling output and it should say it accomplished it ok.

Then run: systemctl restart rivendell.service

run qjackctl, open the “graph” you should see a short list of ports in a box labeled “onAir” and a long list of ports in a box labeled “Rivendell_01” (or some such) draw a line from the 0L/0R boxes of Rivendell_01 to the 0L/0R of onAir. Then push the play button.

run rdairplay and get the log you want and a place in the log that is appropriate for the current time of day and start on a two-tones if you think of it. You should see the color bars jumping up and down as the audio plays. (The color bars can be deceptive, they show rdairplay is producing audio but it may not actually be coming out!)

Listen to the “station monitor”, the beat up little fm radio we have in there to know if we are on the air… see if we are on the air.