<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Monospace;
        panose-1:0 0 0 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0in;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:.5in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:1658652896;
        mso-list-type:hybrid;
        mso-list-template-ids:521150910 67698689 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;}
@list l0:level1
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:Symbol;}
@list l0:level2
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:"Courier New";}
@list l0:level3
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:Wingdings;}
@list l0:level4
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:Symbol;}
@list l0:level5
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:"Courier New";}
@list l0:level6
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:Wingdings;}
@list l0:level7
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:Symbol;}
@list l0:level8
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:"Courier New";}
@list l0:level9
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:Wingdings;}
@list l1
        {mso-list-id:1719433977;
        mso-list-type:hybrid;
        mso-list-template-ids:492077988 -450314682 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;}
@list l1:level1
        {mso-level-start-at:0;
        mso-level-number-format:bullet;
        mso-level-text:-;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:21.0pt;
        text-indent:-.25in;
        font-family:"Times New Roman","serif";
        mso-fareast-font-family:Calibri;}
@list l1:level2
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:57.0pt;
        text-indent:-.25in;
        font-family:"Courier New";}
@list l1:level3
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:93.0pt;
        text-indent:-.25in;
        font-family:Wingdings;}
@list l1:level4
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:129.0pt;
        text-indent:-.25in;
        font-family:Symbol;}
@list l1:level5
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:165.0pt;
        text-indent:-.25in;
        font-family:"Courier New";}
@list l1:level6
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:201.0pt;
        text-indent:-.25in;
        font-family:Wingdings;}
@list l1:level7
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:237.0pt;
        text-indent:-.25in;
        font-family:Symbol;}
@list l1:level8
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:273.0pt;
        text-indent:-.25in;
        font-family:"Courier New";}
@list l1:level9
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:309.0pt;
        text-indent:-.25in;
        font-family:Wingdings;}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">Hi all,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Would anyone know how to disable the virtual terminals in linux?  I am using Yocto, Morty version on an i.MX6 processor.  Even though our base distribution is Yocto, unfortunately we have diverged from building it with recipes, so this
 is more of a straight linux question than Yocto… <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">To give some detail as to my problem:  It is for an embedded device that has an HDMI port - when I attach a terminal to the HDMI port it shows the Linux Penguin logo, a getty service and blanks out after 600 seconds.  I just want to use
 the hdmi port as an output with nothing displayed on the output and I want it to stay on all the time.   <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I have found that the hdmi port maps to /dev/tty1 – when I type:  echo “asdfasdf” > /dev/tty1 I see the characters output to the monitor.   <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Here are a few things I have tried to no avail – a lot of these are not needed if I can figure out how to disable it as a virtual terminal…<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoListParagraph" style="text-indent:-.25in;mso-list:l0 level1 lfo1"><![if !supportLists]><span style="font-family:Symbol"><span style="mso-list:Ignore">·<span style="font:7.0pt "Times New Roman"">        
</span></span></span><![endif]>I figured out how to disable the getty service but a cursor still blinks.   I don’t even want a cursor to show<o:p></o:p></p>
<p class="MsoListParagraph"><o:p> </o:p></p>
<p class="MsoListParagraph" style="text-indent:-.25in;mso-list:l0 level1 lfo1"><![if !supportLists]><span style="font-family:Symbol"><span style="mso-list:Ignore">·<span style="font:7.0pt "Times New Roman"">        
</span></span></span><![endif]>I have tried to disable the display of the penguins  by disabling the LOGO in the kernel config parameters:<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">#CONFIG_LOGO=y<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">#CONFIG_LOGO_LINUX_MONO=y<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">#CONFIG_LOGO_LINUX_VGA16=y<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">#CONFIG_LOGO_LINUX_CLUT224=y<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-left:.5in">To no avail.  The logo still shows :<span style="font-family:Wingdings">L</span> . 
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoListParagraph" style="text-indent:-.25in;mso-list:l0 level1 lfo1"><![if !supportLists]><span style="font-family:Symbol"><span style="mso-list:Ignore">·<span style="font:7.0pt "Times New Roman"">        
</span></span></span><![endif]>The fact that it blanks after 600 seconds is console blanking – I can see it set to 600 in the file:  /sys/module/kernel/parameters/consoleblank.  When I issue the command:  echo -e '\033[9;0]'>/dev/tty1<o:p></o:p></p>
<p class="MsoListParagraph">It sets the console blanking to 0 and wakes the terminal.  Being able to wake the console up is limited success but I would like to disable the virtual terminal altogether…<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoListParagraph" style="text-indent:-.25in;mso-list:l0 level1 lfo1;text-autospace:none">
<![if !supportLists]><span style="font-size:10.0pt;font-family:Symbol"><span style="mso-list:Ignore">·<span style="font:7.0pt "Times New Roman"">        
</span></span></span><![endif]><span style="font-size:10.0pt;font-family:Monospace">I tried commenting out these virtual terminal defines in the config file to no avail:<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span style="font-size:10.0pt;font-family:Monospace">#CONFIG_VT=y<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span style="font-size:10.0pt;font-family:Monospace">#CONFIG_VT_CONSOLE=y<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span style="font-size:10.0pt;font-family:Monospace">#CONFIG_VT_CONSOLE_SLEEP=y<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span style="font-size:10.0pt;font-family:Monospace">#CONFIG_HW_CONSOLE=y<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span style="font-size:10.0pt;font-family:Monospace">#CONFIG_VT_HW_CONSOLE_BINDING=y<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoListParagraph">Everything I have read suggests that /dev/tty1 is a virtual terminal or console. 
<span style="font-size:10.0pt;font-family:Monospace">From what I read about the VT option, disabling the CONFIG_VT should do it:</span><o:p></o:p></p>
<p style="margin-left:1.0in"><span lang="EN" style="font-size:8.5pt;font-family:"Verdana","sans-serif";color:#222222">VT — Virtual terminal<o:p></o:p></span></p>
<p style="margin-left:1.0in"><span lang="EN" style="font-size:8.5pt;font-family:"Verdana","sans-serif";color:#222222">Say yes here to get support for terminal devices with display and keyboard devices. These are called "virtual" because you can run several
 virtual terminals (also called virtual consoles) on one physical terminal.<o:p></o:p></span></p>
<p style="margin-left:1.0in"><span lang="EN" style="font-size:8.5pt;font-family:"Verdana","sans-serif";color:#222222">You need at least one virtual terminal device in order to make use of your keyboard and monitor. Therefore, only people configuring an embedded
 system would want to say no here in order to save some memory; the only way to log into such a system is then via a serial or network connection.<o:p></o:p></span></p>
<p style="margin-left:1.0in"><span lang="EN" style="font-size:8.5pt;font-family:"Verdana","sans-serif";color:#222222">Virtual terminals are useful because, for example, one virtual terminal can display system messages and warnings, another one can be used for
 a text-mode user session, and a third could run an X session, all in parallel. Switching between virtual terminals is done with certain key combinations, usually Alt-function key.<o:p></o:p></span></p>
<p style="margin-left:1.0in"><span lang="EN" style="font-size:8.5pt;font-family:"Verdana","sans-serif";color:#222222">If you are unsure, say yes, or else you won't be able to do much with your Linux system.<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span lang="EN" style="font-size:10.0pt;font-family:Monospace">But for some reason it doesn’t do anything!<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN" style="font-size:10.0pt;font-family:Monospace"><o:p> </o:p></span></p>
<p class="MsoListParagraph" style="text-indent:-.25in;mso-list:l0 level1 lfo1"><![if !supportLists]><span style="font-size:12.0pt;font-family:Symbol"><span style="mso-list:Ignore">·<span style="font:7.0pt "Times New Roman"">        
</span></span></span><![endif]><span lang="EN" style="font-size:10.0pt;font-family:Monospace">I found this thread; 
<a href="https://askubuntu.com/questions/357039/how-do-i-disable-virtual-consoles-tty1-6">
https://askubuntu.com/questions/357039/how-do-i-disable-virtual-consoles-tty1-6</a>.  But it is not much help since my distribution does not have any of the directories in the solutions offered in this thread.  For instance I do not have a /etc/events.d nor
 do I have a </span><span style="font-size:12.0pt;font-family:"Times New Roman","serif"">/etc/default/console-setup file nor do I have a /etc/init directory…   I imagine the reason for this is that my distribution uses systemd and the solutions are SysV based
 init maybe?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif""><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif"">Disabling the logo or console blanking would not be necessary if I could just figure out how to disable that port as a terminal… 
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif""><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif"">So does anyone have pointers or things I could try?  I am relatively new (returning after 10 years - I worked with DNX 10 years ago v2.6 and it seems everything I knew
 about init is fairly obsolete lol) to linux so I am sure I am missing a lot…<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif""><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif"">Thanks,<o:p></o:p></span></p>
<p class="MsoListParagraph" style="margin-left:21.0pt;text-indent:-.25in;mso-list:l1 level1 lfo2">
<![if !supportLists]><span style="font-size:12.0pt;font-family:"Times New Roman","serif""><span style="mso-list:Ignore">-<span style="font:7.0pt "Times New Roman"">         
</span></span></span><![endif]><span style="font-size:12.0pt;font-family:"Times New Roman","serif"">Chuck<o:p></o:p></span></p>
</div>
<font size="-2" face="Arial" color="#000000"><br>
<br>
This transmission is intended solely for the addressee and contains confidential information.<br>
If you are not the intended recipient, please immediately inform the sender and delete the message and any attachments from your system.<br>
Furthermore, please do not copy the message or disclose the contents to anyone unless agreed otherwise. To the extent permitted by law we shall in no way be liable for any damages, whatever their nature, arising out of transmission failures, viruses, external influence, delays and the like.<br></font>
</body>
</html>