How to disable serial console port at run time

Hello @ShaneCCC ,

I have to do following, can you please suggest,

  1. serial console port disabling at run time.
  2. Run ifconfig command automatically before disabling serial console port.


As I know can’t disable it at run time.
What I know is follow below.

Can you suggest is there any service responsible for console log, if so the which service?



Could you try whether this would work?

sudo systemctl disable nvgetty.service


This service is already inactive in my Jetson board and still serial console log is printing.

Please find response of command below,

root@cimcon:/boot/extlinux# systemctl status nvgetty.service
â nvgetty.service - UART on ttyTHS0
Loaded: loaded (/etc/systemd/system/nvgetty.service; enabled; vendor preset: enabled)
Active: inactive (dead) since Thu 2022-03-31 10:58:48 UTC; 22h ago
Process: 6115 ExecStart=/etc/systemd/ (code=exited, status=0/SUCCESS)
Main PID: 6115 (code=exited, status=0/SUCCESS)

Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.

Mukesh Prajapati

Then there is no method to change in runtime.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.