From nobody Sun Jun 18 02:09:54 2023 X-Original-To: freebsd-arm@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QkGYj0CNYz4fNDF for ; Sun, 18 Jun 2023 02:09:45 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (www.zefox.net [50.1.20.27]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "www.zefox.com", Issuer "www.zefox.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QkGYg5yyHz3kJd for ; Sun, 18 Jun 2023 02:09:43 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Authentication-Results: mx1.freebsd.org; dkim=none; spf=none (mx1.freebsd.org: domain of fbsd@www.zefox.net has no SPF policy when checking 50.1.20.27) smtp.mailfrom=fbsd@www.zefox.net; dmarc=none Received: from www.zefox.net (localhost [127.0.0.1]) by www.zefox.net (8.17.1/8.15.2) with ESMTPS id 35I29td0038091 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO) for ; Sat, 17 Jun 2023 19:09:55 -0700 (PDT) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.17.1/8.15.2/Submit) id 35I29sUQ038090 for freebsd-arm@freebsd.org; Sat, 17 Jun 2023 19:09:54 -0700 (PDT) (envelope-from fbsd) Date: Sat, 17 Jun 2023 19:09:54 -0700 From: bob prohaska To: freebsd-arm@freebsd.org Subject: Re: keyboard doesn't work at Boot Menu Message-ID: References: <70CC43FC-2055-409E-A94E-76F934C14AE2@yahoo.com> <5875BDD2-B792-4FE1-8F42-99D996CAE71D@yahoo.com> <7D1BE218-B8B5-40EB-8CF3-C09CDEABA9C3@yahoo.com> List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spamd-Result: default: False [-1.06 / 15.00]; AUTH_NA(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-0.98)[-0.985]; NEURAL_HAM_SHORT(-0.98)[-0.976]; MID_RHS_WWW(0.50)[]; WWW_DOT_DOMAIN(0.50)[]; MIME_GOOD(-0.10)[text/plain]; MLMMJ_DEST(0.00)[freebsd-arm@freebsd.org]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:7065, ipnet:50.1.16.0/20, country:US]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; BLOCKLISTDE_FAIL(0.00)[50.1.20.27:server fail]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_THREE(0.00)[3]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; DMARC_NA(0.00)[zefox.net]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; RCVD_TLS_LAST(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] X-Rspamd-Queue-Id: 4QkGYg5yyHz3kJd X-Spamd-Bar: - X-ThisMailContainsUnwantedMimeParts: N [apologies if I'm barging in] Just for fun I tried rebooting my 8GB Pi4 running -current from the video console and USB keyboard (old Logitec). On reboot there was no beastie menu (maybe it was turned off) but the loader responded to the USB keyboard to allow boot to single user mode. The HDMI output ended with .... Dual Console: Serial Primary, Video Secondary and after that the keyboard became unresponsive, although the caps lock key still toggled the light. Meanwhile the serial console reported: Enter full pathname of shell or RETURN for /bin/sh: After hitting return, it continued Cannot read termcap database; using dumb terminal settings. Cannot read termcap database; using dumb terminal settings. Issuing exit to the root shell on the serial console brought up a login prompt on the video console and it worked as normal. At this point /boot/msdos/config.txt contains [all] arm_64bit=1 dtparam=audio=on,i2c_arm=on,spi=on dtoverlay=mmc dtoverlay=disable-bt device_tree_address=0x4000 kernel=u-boot.bin [pi4] #hdmi_safe=1 armstub=armstub8-gic.bin gpio=2,3=a0 which I think haven't been tampered with. /boot/loader.conf contains # Configure USB OTG; see usb_template(4). hw.usb.template=3 umodem_load="YES" # Multiple console (serial+efi gop) enabled. boot_multicons="YES" boot_serial="YES" # Disable the beastie menu and color beastie_disable="YES" loader_color="NO" filemon_load="YES" # net.inet.tcp.tolerate_missing_ts="1" #hw.usb.debug=1 vm.pageout_oom_seq="4096" vm.pfault_oom_attempts="120" vm.pfault_oom_wait="20" [likely the vm stuff is pointless] If there's anything useful I can try please say so. Thanks for reading, bob prohaska