Disabling Linux serial console on Embedded Development Boards

In different boards the systemctl behaved in different manner. For most of the boards to disable linux serial debug console and use it for user purpose use this command

systemctl disable serial-getty@ttyS0.service

systemctl disable getty@ttyS0

In some boards this method didn’t workout an alternate way was to use this command

systemctl mask serial-getty@ttyAMA0.service

To get non root access to serial port add it to dialout group, some systems don’t add debug console to dialout group so edit /etc/inittab and change the permissions.

Happy Hacking 🙂

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s