Enable TTY

modulename: tty_io.ko

and/or

console.ko

configname: CONFIG_TTY

Linux Kernel Configuration
└─>Device Drivers
└─>Character devices
└─>Enable TTY
In linux kernel since version 3.1 (release Date: 2011-10-24)  
Allows you to remove TTY support which can save space, and
blocks features that require TTY from inclusion in the kernel.
TTY is required for any text terminals or serial port
communication. Most users should leave this enabled.

source code:
is selected by
CONFIG_TI_ST
CONFIG_PPP_ASYNC
CONFIG_USB_VL600
CONFIG_ISDN_DRV_GIGASET
CONFIG_MISDN_NETJET
CONFIG_VT
CONFIG_CYCLADES
CONFIG_MOXA_INTELLIO
CONFIG_ISI
CONFIG_PPC_EPAPR_HV_BYTECHAN
CONFIG_GOLDFISH_TTY
CONFIG_GOLDFISH_TTY_EARLY_CONSOLE
CONFIG_SERIAL_8250
CONFIG_SERIAL_8250_CONSOLE
CONFIG_SERIAL_8250_LPSS
CONFIG_SERIAL_8250_MID
CONFIG_SERIAL_AMBA_PL010
CONFIG_SERIAL_AMBA_PL010_CONSOLE
CONFIG_SERIAL_AMBA_PL011
CONFIG_SERIAL_AMBA_PL011_CONSOLE
CONFIG_SERIAL_EARLYCON_ARM_SEMIHOST
CONFIG_SERIAL_SB1250_DUART
CONFIG_SERIAL_SB1250_DUART_CONSOLE
CONFIG_SERIAL_ATMEL
CONFIG_SERIAL_ATMEL_CONSOLE
CONFIG_SERIAL_KS8695
CONFIG_SERIAL_KS8695_CONSOLE
CONFIG_SERIAL_MESON
CONFIG_SERIAL_MESON_CONSOLE
CONFIG_SERIAL_CLPS711X
CONFIG_SERIAL_CLPS711X_CONSOLE
CONFIG_SERIAL_SAMSUNG
CONFIG_SERIAL_SAMSUNG_CONSOLE
CONFIG_SERIAL_SIRFSOC
CONFIG_SERIAL_SIRFSOC_CONSOLE
CONFIG_SERIAL_TEGRA
CONFIG_SERIAL_MAX3100
CONFIG_SERIAL_MAX310X
CONFIG_SERIAL_DZ
CONFIG_SERIAL_DZ_CONSOLE
CONFIG_SERIAL_ZS
CONFIG_SERIAL_ZS_CONSOLE
CONFIG_SERIAL_21285
CONFIG_SERIAL_21285_CONSOLE
CONFIG_SERIAL_MPSC
CONFIG_SERIAL_MPSC_CONSOLE
CONFIG_SERIAL_PXA
CONFIG_SERIAL_PXA_CONSOLE
CONFIG_SERIAL_SA1100
CONFIG_SERIAL_SA1100_CONSOLE
CONFIG_SERIAL_IMX
CONFIG_SERIAL_IMX_CONSOLE
CONFIG_SERIAL_UARTLITE
CONFIG_SERIAL_UARTLITE_CONSOLE
CONFIG_SERIAL_SUNCORE
CONFIG_SERIAL_MUX
CONFIG_SERIAL_MUX_CONSOLE
CONFIG_SERIAL_IP22_ZILOG
CONFIG_SERIAL_IP22_ZILOG_CONSOLE
CONFIG_SERIAL_SH_SCI
CONFIG_SERIAL_SH_SCI_CONSOLE
CONFIG_SERIAL_SH_SCI_EARLYCON
CONFIG_SERIAL_PNX8XXX
CONFIG_SERIAL_PNX8XXX_CONSOLE
CONFIG_SERIAL_HS_LPC32XX
CONFIG_SERIAL_HS_LPC32XX_CONSOLE
CONFIG_SERIAL_MCF
CONFIG_SERIAL_MCF_CONSOLE
CONFIG_SERIAL_PMACZILOG
CONFIG_SERIAL_PMACZILOG_CONSOLE
CONFIG_SERIAL_CPM
CONFIG_SERIAL_CPM_CONSOLE
CONFIG_SERIAL_SGI_L1_CONSOLE
CONFIG_SERIAL_PIC32
CONFIG_SERIAL_PIC32_CONSOLE
CONFIG_SERIAL_MPC52xx
CONFIG_SERIAL_MPC52xx_CONSOLE
CONFIG_SERIAL_ICOM
CONFIG_SERIAL_TXX9
CONFIG_SERIAL_TXX9_CONSOLE
CONFIG_SERIAL_VR41XX
CONFIG_SERIAL_VR41XX_CONSOLE
CONFIG_SERIAL_JSM
CONFIG_SERIAL_SGI_IOC4
CONFIG_SERIAL_SGI_IOC3
CONFIG_SERIAL_MSM
CONFIG_SERIAL_MSM_CONSOLE
CONFIG_SERIAL_QCOM_GENI
CONFIG_SERIAL_QCOM_GENI_CONSOLE
CONFIG_SERIAL_VT8500
CONFIG_SERIAL_VT8500_CONSOLE
CONFIG_SERIAL_NETX
CONFIG_SERIAL_NETX_CONSOLE
CONFIG_SERIAL_OMAP
CONFIG_SERIAL_OMAP_CONSOLE
CONFIG_SERIAL_LANTIQ
CONFIG_SERIAL_QE
CONFIG_SERIAL_SCCNXP
CONFIG_SERIAL_SCCNXP_CONSOLE
CONFIG_SERIAL_SC16IS7XX
CONFIG_SERIAL_SC16IS7XX_I2C
CONFIG_SERIAL_SC16IS7XX_SPI
CONFIG_SERIAL_TIMBERDALE
CONFIG_SERIAL_BCM63XX
CONFIG_SERIAL_BCM63XX_CONSOLE
CONFIG_SERIAL_GRLIB_GAISLER_APBUART
CONFIG_SERIAL_GRLIB_GAISLER_APBUART_CONSOLE
CONFIG_SERIAL_ALTERA_JTAGUART
CONFIG_SERIAL_ALTERA_JTAGUART_CONSOLE
CONFIG_SERIAL_ALTERA_JTAGUART_CONSOLE_BYPASS
CONFIG_SERIAL_ALTERA_UART
CONFIG_SERIAL_ALTERA_UART_CONSOLE
CONFIG_SERIAL_PCH_UART
CONFIG_SERIAL_PCH_UART_CONSOLE
CONFIG_SERIAL_MXS_AUART
CONFIG_SERIAL_MXS_AUART_CONSOLE
CONFIG_SERIAL_XILINX_PS_UART
CONFIG_SERIAL_XILINX_PS_UART_CONSOLE
CONFIG_SERIAL_AR933X
CONFIG_SERIAL_AR933X_CONSOLE
CONFIG_SERIAL_EFM32_UART
CONFIG_SERIAL_MPS2_UART_CONSOLE
CONFIG_SERIAL_MPS2_UART
CONFIG_SERIAL_EFM32_UART_CONSOLE
CONFIG_SERIAL_ARC
CONFIG_SERIAL_ARC_CONSOLE
CONFIG_SERIAL_RP2
CONFIG_SERIAL_FSL_LPUART
CONFIG_SERIAL_FSL_LPUART_CONSOLE
CONFIG_SERIAL_CONEXANT_DIGICOLOR
CONFIG_SERIAL_CONEXANT_DIGICOLOR_CONSOLE
CONFIG_SERIAL_ST_ASC
CONFIG_SERIAL_ST_ASC_CONSOLE
CONFIG_SERIAL_MEN_Z135
CONFIG_SERIAL_SPRD
CONFIG_SERIAL_SPRD_CONSOLE
CONFIG_SERIAL_STM32
CONFIG_SERIAL_STM32_CONSOLE
CONFIG_SERIAL_MVEBU_UART
CONFIG_SERIAL_MVEBU_CONSOLE
CONFIG_SERIAL_OWL
CONFIG_SERIAL_OWL_CONSOLE
CONFIG_HVC_CONSOLE
CONFIG_HVC_OPAL
CONFIG_HVC_RTAS
CONFIG_HVC_IUCV
CONFIG_HVC_XEN
CONFIG_HVC_XEN_FRONTEND
CONFIG_HVC_UDBG
CONFIG_HVC_DCC
CONFIG_HVC_RISCV_SBI
CONFIG_VIRTIO_CONSOLE
CONFIG_IPWIRELESS
CONFIG_MWAVE
CONFIG_I2C_TAOS_EVM
CONFIG_SND_OMAP_SOC_AMS_DELTA
CONFIG_USB_CONFIGFS_SERIAL
CONFIG_USB_CONFIGFS_ACM
CONFIG_USB_CONFIGFS_OBEX
CONFIG_USB_G_SERIAL
CONFIG_USB_CDC_COMPOSITE
CONFIG_USB_G_NOKIA
CONFIG_USB_G_ACM_MS
CONFIG_USB_G_MULTI
CONFIG_USB_G_MULTI_RNDIS
CONFIG_USB_G_MULTI_CDC
CONFIG_USB_G_DBGP
CONFIG_MKISS
CONFIG_KGDB_SERIAL_CONSOLE
CONFIG_KGDB_SERIAL_CONSOLE