Diode
Diode

Reputation: 15

Disabling the linux virtual console completely

I have a raspberry pi, which listens on the network and plays videos on hdmi when told. This is accomplished with omxplayer, without X11.

I want to make the screen completely back at all times except when omxplayer is showing something. By default there were a getty, linux debug output, a blinking cursor, a raspberry logo etc showing on the hdmi output. I have managed to disable everything with several cmdline.txt options.

However, it feels like a whole bunch of workarounds. I would like to disable the text output to the screen altogether in linux, like disabling the virtual terminal and the console altogether. Just like there is nothing on the 3.5mm sound output by default I don't want anything on the hdmi. Is this possible?

Upvotes: 0

Views: 4070

Answers (2)

hakskel
hakskel

Reputation: 223

Check out this question for details on how to disable the VT console.

For my specific system (i.MX6), getty was still being initialized on tty1 so I had to disable it on startup:

systemctl stop [email protected]
systemctl disable [email protected]

You can also disable the framebuffer through a bootloader option. I'm not sure which bootloader the RPi uses but you can look into the fbcon parameter.

The default might be fbcon=map:1 in which case you should to map it to a different fbdev device. This should remove the VT console entirely.

Upvotes: 0

CL.
CL.

Reputation: 180080

You have to recompile the kernel.

After enabling CONFIG_EXPERT, you can disable CONFIG_VT.

Upvotes: 2

Related Questions