Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Jul 2018 01:46:19 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r336271 - head/stand/efi/loader
Message-ID:  <201807140146.w6E1kJVS068999@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: imp
Date: Sat Jul 14 01:46:19 2018
New Revision: 336271
URL: https://svnweb.freebsd.org/changeset/base/336271

Log:
  Add reporting of whether or not a keyboard is detected. In addition,
  note that r336270's commit message was slightly incorrect. It changed
  the default setting of the console to honor the ConOut
  variable. Overrides via the command line are still possible, and we
  use the devices in ConOut to set the proper console. If, for example,
  serial cosnole is specified, we'll set console to "efi" if ConOut has
  a serial port list and to either "efi comconsole" or "comconsole efi"
  if not depending on whether -D or -D -h was specified.
  
  RelNotes: Yes
  Sponsored by: Netflix

Modified:
  head/stand/efi/loader/main.c

Modified: head/stand/efi/loader/main.c
==============================================================================
--- head/stand/efi/loader/main.c	Sat Jul 14 00:40:38 2018	(r336270)
+++ head/stand/efi/loader/main.c	Sat Jul 14 01:46:19 2018	(r336271)
@@ -622,6 +622,8 @@ main(int argc, CHAR16 *argv[])
 	 */
 	boot_howto_to_env(howto);
 	
+	printf("  Keyboard: %s", has_kbd ? "yes" : "no");
+
 	if (efi_copy_init()) {
 		printf("failed to allocate staging area\n");
 		return (EFI_BUFFER_TOO_SMALL);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201807140146.w6E1kJVS068999>