Pi-Star_DV_Dash icon indicating copy to clipboard operation
Pi-Star_DV_Dash copied to clipboard

Always show selected MMDVM Display Port, even if not present or active at that moment

Open on7lds opened this issue 6 years ago • 2 comments

Always fill the MMDVM Display Type: Port dropdown with the possible devices, even if they are not present or active at that moment. Also, when not present or not active, show it in the dropdown e.g. '/dev/ttyUSB0 (not present now)' or '/dev/ttyNextionDriver (not active now)' This will prevent showing 'none' as port when the configured port is (temporary) unavailable: e.g. user forgot to plug in the USB/serial convertor or NextionDriver is not running. It will also help users not being too confused when restoring a configuration on a host which lacks the selected port because of restoring to different hardware (e.g. /dev/ttyS0)

on7lds avatar Feb 24 '19 12:02 on7lds

Is it possible to stop MMDVMHost from starting if the selected device is not available in the system ?

AndyTaylorTweet avatar Apr 26 '19 07:04 AndyTaylorTweet

MMDVMHost will start and when the port is not active when starting, it will run without display. Would you prefer to not start MMDVMHost in that case ?

on7lds avatar Apr 26 '19 18:04 on7lds