| kern.vt.spclkeys | bitmap of allowed special keys. 1 is enabled, 0 is disabled. | Encoded as: | 0x0001 Debug request key combination. (Ctrl+Alt+Esc) | 0x0002 Reboot. (Ctrl+Alt+Del) | 0x0004 Halt. | 0x0008 Power down. | Default is 15, all enabled. The "spclkeys" sysctl is no longer, replaced with per-key sysctls. | kern.vty | When both vt and sc(4) have been compiled into the kernel, the | one to use for the system console can be selected by setting this | value to ‘vt’ or ‘sc’. If this value is not set, sc(4) is used. The last sentence is true only if not booting via UEFI on amd64. The situation is now: If this value is not set and the system is not booted via UEFI, sc(4) is used. For the UEFI boot case vt(4) is used. syscons.4 may need a similar update.
Created attachment 147442 [details] proposed patch for vt.4
> This value is ignored on computers that boot from UEFI. Actually, that's not quite true: UEFI chooses vt(4) by default, BIOS chooses sc(4) by default, but it is still possible to explicitly choose either console for either case.
Created attachment 147447 [details] Another attempt.
Thanks Warren, that looks correct for the default vty setting.
https://reviews.freebsd.org/D953
A commit references this bug: Author: emaste Date: Thu Oct 16 18:49:50 UTC 2014 New revision: 273178 URL: https://svnweb.freebsd.org/changeset/base/273178 Log: Update vt(4) for UEFI defaults and special keys vt(4) is the default console for UEFI boot [1], and the bitmapped kern.vt.spclkeys sysctl has been replaced with individual kern.vt.kbd_* enable sysctls. PR: 193710 Submitted by: wblock [1] Reviewed by: wblock MFC after: 3 days Relnotes: Yes Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D953 Changes: head/share/man/man4/vt.4
A commit references this bug: Author: emaste Date: Mon Oct 20 00:22:09 UTC 2014 New revision: 273294 URL: https://svnweb.freebsd.org/changeset/base/273294 Log: MFC r273178: Update vt(4) for UEFI defaults and special keys vt(4) is the default console for UEFI boot [1], and the bitmapped kern.vt.spclkeys sysctl has been replaced with individual kern.vt.kbd_* enable sysctls. PR: 193710 Changes: _U stable/10/ stable/10/share/man/man4/vt.4
A commit references this bug: Author: emaste Date: Mon Oct 20 01:45:41 UTC 2014 New revision: 273297 URL: https://svnweb.freebsd.org/changeset/base/273297 Log: MFS10 r273294 (r273178 in HEAD): Update vt(4) for UEFI defaults and special keys vt(4) is the default console for UEFI boot [1], and the bitmapped kern.vt.spclkeys sysctl has been replaced with individual kern.vt.kbd_* enable sysctls. PR: 193710 Approved by: re Changes: _U releng/10.1/ releng/10.1/share/man/man4/vt.4