How to deactivate kernel output on ttyS2?
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
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 serial-getty@ttyS2.service

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 serial-getty@ttyS2.service

Possibly Related Threads…
Thread Author Replies Views Last Post
  No audio output with Manjaro Arm 20.04 Faradn 2 521 08-02-2020, 09:48 AM
Last Post: new-rockpro-user
  Problem with compiling ayufans linux kernel voegelit 4 682 01-14-2020, 07:38 AM
Last Post: patstew
  Mainline Kernel 5.4 Solution khaosgrille 1 669 01-05-2020, 12:57 PM
Last Post: khaosgrille
  Upgrade Debian kernel on a SD/SATA drive boot combo. linuxha 6 851 12-12-2019, 04:43 AM
Last Post: dukla2000
  Frequent kernel panic, possibly due to PCIe SSD? meier 4 746 11-22-2019, 05:15 PM
Last Post: meier
  Linux Build Help: Stuck at "Starting kernel ..." ihamilton 2 1,209 10-10-2019, 12:51 PM
Last Post: ihamilton
  RockPro64 Official Kernel Support ASIC 23 6,347 08-29-2019, 05:39 PM
Last Post: tuxd3v
  armbian buster/5.2 preempt-rt kernel rocksa 1 596 08-01-2019, 05:51 PM
Last Post: dukla2000
  kernel comparison Mentaluproar 3 644 07-29-2019, 07:30 PM
Last Post: tuxd3v
  Building a custom kernel on @mrfixit's Debian distro? Tim Jones 1 451 06-14-2019, 11:21 PM
Last Post: tllim

Forum Jump:

Users browsing this thread: 1 Guest(s)