trigger control: serialport: initport improved