How to deactivate kernel output on ttyS2?
#1
Hi,
I'd like to fully deactivate the console output on ttyS2 as I'd like to use it. How is it possible to do it?
I'm quite new on Linux boards, I4ve try to search for that, understand that there are things to do with the u-boot or equivalent but really didn't find a simple how to to make it possible.
I'm using a Debian version on the RockPro64. The one recommended.
Thanks a lot
  Reply
#2
Use systemctl [stop|start|enable|disable]

1. Check for getty
$ ps aux | grep getty
root       829  0.0  0.0   3980  1992 ttyS2    Ss+  02:21   0:00 /sbin/agetty -o -p -- \u --keep-baud 115200,38400,9600 ttyS2 vt220

2. Stop getty on ttyS2.
$ sudo systemctl stop [email protected]

Repeating the ps command will show that getty is gone, but it will return after reboot.  To persist you can:

3. Disable getty on ttyS2:
$ sudo systemctl disable [email protected]
  Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Problem with compiling ayufans linux kernel voegelit 4 190 01-14-2020, 07:38 AM
Last Post: patstew
  Mainline Kernel 5.4 Solution khaosgrille 1 156 01-05-2020, 12:57 PM
Last Post: khaosgrille
  Upgrade Debian kernel on a SD/SATA drive boot combo. linuxha 6 165 12-12-2019, 04:43 AM
Last Post: dukla2000
  Frequent kernel panic, possibly due to PCIe SSD? meier 4 288 11-22-2019, 05:15 PM
Last Post: meier
  Linux Build Help: Stuck at "Starting kernel ..." ihamilton 2 487 10-10-2019, 12:51 PM
Last Post: ihamilton
  RockPro64 Official Kernel Support ASIC 23 4,386 08-29-2019, 05:39 PM
Last Post: tuxd3v
  armbian buster/5.2 preempt-rt kernel rocksa 1 273 08-01-2019, 05:51 PM
Last Post: dukla2000
  kernel comparison Mentaluproar 3 375 07-29-2019, 07:30 PM
Last Post: tuxd3v
  Building a custom kernel on @mrfixit's Debian distro? Tim Jones 1 227 06-14-2019, 11:21 PM
Last Post: tllim
Question Libre kernel/distro on Pbook Pro? aleksei 0 176 06-06-2019, 11:20 PM
Last Post: aleksei

Forum Jump:


Users browsing this thread: 1 Guest(s)