BBB /dev/ttyO0

Good day to all,

Can someone please explain how to take over /dev/ttyO0 *permanently* for
applications?

root@beaglebone:~# systemctl status serial-getty@ttyO0.service
serial-getty@ttyO0.service - Serial Getty on ttyO0
          Loaded: loaded (/lib/systemd/system/serial-getty@.service; static)
          Active: active (running) since Fri, 31 Dec 1999 19:00:07
-0500; 15 years and 0 months ago
        Main PID: 625 (agetty)
          CGroup: name=systemd:/system/serial-getty@.service/ttyO0
                  └ 625 /sbin/agetty -s ttyO0 115200 38400 9600

root@beaglebone:~# systemctl stop serial-getty@ttyO0.service

root@beaglebone:~# systemctl disable serial-getty@ttyO0.service
Failed to issue method call: No such file or directory

Changing /boot/uboot/uEnv.txt from: "console=ttyO0,115200n8" to
"console=ttyO4,115200n8" rendered ttyO0 dysfunctional.

Thanks, Enoch.

I have been having the same trouble. I edited /boot/uboot/uEnv.txt and set the console to ttyO1 instead of ttyO0 and that seemed to work. Commenting out the line made no difference.

Hope that helps.

Thanks,
Stuart