From owner-freebsd-hackers Sun Jan 7 16:49:38 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from outmail.utsunomiya-u.ac.jp (outmail.utsunomiya-u.ac.jp [160.12.196.3]) by hub.freebsd.org (Postfix) with ESMTP id 56C6137B400; Sun, 7 Jan 2001 16:49:20 -0800 (PST) Received: from zodiac.mech.utsunomiya-u.ac.jp (IDENT:8Rv1Y89YKUQ+pTXplWtPrwxkzJAJJRsM@zodiac.mech.utsunomiya-u.ac.jp [160.12.42.1]) by outmail.utsunomiya-u.ac.jp (8.11.0/3.7Wpl2) with ESMTP id f080nFH27744; Mon, 8 Jan 2001 09:49:15 +0900 (JST) Received: from zodiac.mech.utsunomiya-u.ac.jp (IDENT:Il1yWWiJ8rxS7XuksnBjyeKPn35/zOAg@zodiac.mech.utsunomiya-u.ac.jp [160.12.42.1]) by zodiac.mech.utsunomiya-u.ac.jp (8.9.3+3.2W/3.7W/zodiac-May2000) with ESMTP id JAA27262; Mon, 8 Jan 2001 09:56:56 +0900 (JST) Message-Id: <200101080056.JAA27262@zodiac.mech.utsunomiya-u.ac.jp> To: Robert Watson Cc: hackers@freebsd.org, John Polstra , yokota@zodiac.mech.utsunomiya-u.ac.jp Subject: Re: KVM switch vs. FreeBSD psm driver (Solved!) In-reply-to: Your message of "Sun, 07 Jan 2001 10:52:41 EST." References: Date: Mon, 08 Jan 2001 09:56:55 +0900 From: Kazutaka YOKOTA Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >So, question: is there a reason why we can't enable both the USB keyboard >and a native PS/2 keyboard with syscons? It seems that I frequently find >myself in a position where I'd like to plug in a keyboard, or switch KVM >choices to a machine, and discover myself with no access to the hardware >console, and I know at least one person who uses FreeBSD in production and >finds this to be a serious impediment (as it requires the system to be >rebooted to regain console access, and when you have 8 machines per KVM, >and you boot them all, switching back and forth to catch each probe is >effectively impossible). Presumably our syscons is intended to select on >source of I/O and use it, but it might be worth considering a change here. This IS already possible in RELENG_4 and -CURRENT. Add the flags 0x100 to syscons (this is default in both RELENG_4 and CURRENT). Then syscons will look for a keyboard if it started without one at boot time. I don't know if this mechanism works well with KVMs. I never tested with KVMs, because I don't use one. But, it works wonderfully with the USB keyboard. As for unplugging/plugging the AT keyboard... Well, I don't recommend that. That will likely fly your keyboard controller... But, still syscons should be able to use the AT keyboard which is plugged after boot, so long as atkbd is forced to install at boot time. Kazu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message