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.

Thanks,
Mukesh.

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

https://docs.nvidia.com/jetson/archives/l4t-archived/l4t-325/index.html#page/Tegra%20Linux%20Driver%20Package%20Development%20Guide/kernel_boot_time.html#wwpID0E0YB0HA

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

Thanks,
Mukesh

Hi,

Could you try whether this would work?

sudo systemctl disable nvgetty.service

Hello,

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/nvgetty.sh (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.

Thanks,
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.