From owner-freebsd-questions@freebsd.org Wed Mar 25 00:03:44 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 7EBA226ECA6 for ; Wed, 25 Mar 2020 00:03:44 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from holgerdanske.com (holgerdanske.com [184.105.128.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "holgerdanske.com", Issuer "holgerdanske.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 48n7cc5Sr1z4VvG for ; Wed, 25 Mar 2020 00:03:26 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from 99.100.19.101 ([99.100.19.101]) by holgerdanske.com with ESMTPSA (ECDHE-RSA-AES128-GCM-SHA256:TLSv1.2:Kx=ECDH:Au=RSA:Enc=AESGCM(128):Mac=AEAD) (SMTP-AUTH username dpchrist@holgerdanske.com, mechanism PLAIN) for ; Tue, 24 Mar 2020 17:03:11 -0700 Subject: Re: USB keyboard on 3.0 hub at boot To: freebsd-questions@freebsd.org References: <5b9c8400-68a9-b16a-92d1-8e2038396ac2@pinyon.org> From: David Christensen Message-ID: <01a5a95a-676c-14a2-f93d-cb17f04128b3@holgerdanske.com> Date: Tue, 24 Mar 2020 17:03:11 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 MIME-Version: 1.0 In-Reply-To: <5b9c8400-68a9-b16a-92d1-8e2038396ac2@pinyon.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 48n7cc5Sr1z4VvG X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of dpchrist@holgerdanske.com has no SPF policy when checking 184.105.128.27) smtp.mailfrom=dpchrist@holgerdanske.com X-Spamd-Result: default: False [-1.19 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-0.68)[-0.684,0]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; IP_SCORE(-0.60)[ipnet: 184.104.0.0/15(0.62), asn: 6939(-3.59), country: US(-0.05)]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_DN_NONE(0.00)[]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.80)[-0.804,0]; DMARC_NA(0.00)[holgerdanske.com]; RCVD_IN_DNSWL_NONE(0.00)[27.128.105.184.list.dnswl.org : 127.0.10.0]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:6939, ipnet:184.104.0.0/15, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Mar 2020 00:03:44 -0000 On 2020-03-24 16:34, Russell L. Carter wrote: > Greetings, > > I have a "Cooler Master Technology Inc. MasterKeys S" plugged into a > recent Anker USB 3 hub.  On boot, it is not active at the loader > prompt, and even after fully booting up, I have to pull the plug, wait > a few seconds, and then plug it back in to activate the keyboard for > eg the xdm screen. > > I've been spending some time in man syscons(4), vt(4), atkbd(4), > ukbd(4), uhci(4), and ohci(4), and I do not understand: > > 1) if it's possible to have an active USB keyboard connected to a >    USB-3 hub at the loader prompt > > 2) why my USB keyboard doesn't work even after the system is fully >    booted up, and has to be unplugged/plugged in again to activate. > > I have sc, vt, atkbd, atkbdc, ukbd, ohci, uhci, and xhci configured in > the kernel, and /boot/loader.conf contains: > > hw.vga.textmode="1" > zfs_load="YES" > ukbd_load="YES" > autofs_load="YES" > # man sound(4) EQ section: > hint.pcm.0.eq="1" > uhid_load="YES" > > These settings were originally worked out maybe 6 years ago and some > might be obsolete. > > Thanks, > Russell I find that USB 3.0 still is not reliable on FreeBSD and GNU/Linux. Surprisingly, the same can be said for PS/2 ports on newer hardware. So, I use USB 2.0 ports for keyboards, mice, and bootable USB drives. I do not know the details of the settings you have made in /boot/loader.conf. If you have an original copy from when the system was installed, you might want to try reverting any changes you have made. David