Graceful restart of Trunk Recorder

Status
Not open for further replies.

blantonl

Founder and CEO
Staff member
Super Moderator
Joined
Dec 9, 2000
Messages
11,149
Location
San Antonio, Whitefish, New Orleans
Does anyone know of a way to gracefully restart trunk recorder without having to reboot your machine?

Seems like the only way stop trunk-recorder is to Cntrl-C it, and then reboot the machine because the RTL drivers are all borked up.
 

jkraemer

Member
Joined
Jun 30, 2015
Messages
57
Location
BEE00
I have used Trunk Recorder for about 3 years. My restart habit works as follows:
CNTL-C to exit
Wait about 20 seconds
Hit the UP arrow to reload the previous command line and hit Enter.

Since trunk recorder has no automated gain control I find it frequent that I have to edit my config.json file with a different sdr gain value. This is where I exit trunk recorder, wait 20 seconds for the dongles to release, launch GQRX and find an appropriate gain setting, edit the config.json file, then re-launch trunk recorder with up arrow then enter.
 

DRL-XM43

Member
Joined
Jun 23, 2015
Messages
842
Location
Durham Region
Does anyone know of a way to gracefully restart trunk recorder without having to reboot your machine?

Seems like the only way stop trunk-recorder is to Cntrl-C it, and then reboot the machine because the RTL drivers are all borked up.

On mine I can just x the terminal and then restart?
 

poltergeisty

Truth is a force of nature
Banned
Joined
May 7, 2004
Messages
4,012
Location
RLG, Fly heading 053, intercept 315 DVV
I wonder if going into Device Manager and going to Human Interface Devices, then right click the device and disable/enable will do the trick? There's also some form of USB cache, but I have to find that Info. again from a computer forum I'm a member of. I'm thinking clearing that cache may help, too.

USBdeView might work as well. But that might not be such a good idea when you need that certain driver (can't remember its name now) for the SDR. View any installed/connected USB device on your system
 
Last edited:

poltergeisty

Truth is a force of nature
Banned
Joined
May 7, 2004
Messages
4,012
Location
RLG, Fly heading 053, intercept 315 DVV
My bad. Sorry, I assumed in shame that you were using Windows. Perhaps Linux, too has a USB caching mechanism that can be reset in an effort to reset the "com port" so a hard computer/OS restart is not needed.

I'm affraid my Linux knowledge is very limited so I'd have to do some digging on that one. I have however manged to install a LAMP stack and Webmin in a virtualized CentOS one day, but I have no idea what all the terminal commands are and have bookmarked all of that.
 

lukekb

Member
Joined
Sep 4, 2013
Messages
59
Let me see if I can fix this up. I think it can hang if it is not decoding any messages.

If you open another tab in the Terminal and list the processes doing `ps -a` and then `kill` the process, that should work.
 
Status
Not open for further replies.
Top