From owner-cvs-src@FreeBSD.ORG Wed Mar 1 02:37:22 2006 Return-Path: X-Original-To: cvs-src@freebsd.org Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EA82416A424 for ; Wed, 1 Mar 2006 02:37:22 +0000 (GMT) (envelope-from maksim.yevmenkin@gmail.com) Received: from nproxy.gmail.com (nproxy.gmail.com [64.233.182.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id 61E2643D5E for ; Wed, 1 Mar 2006 02:37:20 +0000 (GMT) (envelope-from maksim.yevmenkin@gmail.com) Received: by nproxy.gmail.com with SMTP id n29so17130nfc for ; Tue, 28 Feb 2006 18:37:19 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=q5HalKYjGym2cLrHUbgqxqlTcM8t38pXyPE93jpTkMYt+UD8HWgZn/yuY0/qkpb2h2xkJJk09mJgr/ytGIZO8Wle6ahAXiW4c1oYWAHRY8gtkkR1kukxUINZIXWpvuyv8qc4kL9QkU9Br2Zw1ipigE8yWcsbsG0mmAjwhmCnOeo= Received: by 10.49.17.2 with SMTP id u2mr857348nfi; Tue, 28 Feb 2006 18:37:19 -0800 (PST) Received: by 10.49.4.2 with HTTP; Tue, 28 Feb 2006 18:37:19 -0800 (PST) Message-ID: Date: Tue, 28 Feb 2006 18:37:19 -0800 From: "Maksim Yevmenkin" To: "Scott Long" In-Reply-To: <4404FCC8.5070907@samsco.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <200602282346.k1SNkNHq073716@repoman.freebsd.org> <4404FCC8.5070907@samsco.org> Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/sys/dev/kbd kbd.c src/sys/dev/syscons syscons.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Mar 2006 02:37:23 -0000 On 2/28/06, Scott Long wrote: > Maksim Yevmenkin wrote: > > emax 2006-02-28 23:46:23 UTC > > > > FreeBSD src repository > > > > Modified files: > > sys/dev/kbd kbd.c > > sys/dev/syscons syscons.c > > Log: > > Integrate kbdmux(4) into syscons(4) and kbd code. > > > > By default syscons(4) will look for the kbdmux(4) keyboard first, and= then, > > if not found, look for any keyboard. > > > > Current kbd code is modified so if kbdmux(4) is the current keyboard,= all > > new keyboards are automatically added to the kbdmux(4). > > > > Switch to kbdmux(4) can be done at boot time, by loading kbdmux modul= e at > > the loader prompt, or at runtime, by kldload'ing the kbdmux module an= d > > releasing current active keyboard. > > > > If, for whatever reason, kbdmux(4) is not required/desired then just = do > > not load it and everything should work as before. It is also possible= to > > kldunload kbdmux at runtime and syscons(4) will automatically switch = to > > the first available keyboard. > > > > No response from: freebsd-current@ > > MFC after: 1 day > > > > Revision Changes Path > > 1.45 +24 -0 src/sys/dev/kbd/kbd.c > > 1.442 +42 -4 src/sys/dev/syscons/syscons.c > > Ultimately I would like to see this enabled by default so that > everything 'just works', but with a way to easily disable it in case > something goes wrong. Would that be possible? right now i can think of two ways to make it enabled by default: 1) add 'device kbdmux' to the kernel config (or even make it required) 2) set kbdmux_load to "YES" somewhere in loader.* files (somewhat similar to acpi). with option (2) above it would be easy to disable, i.e. just do unset kdbmux_load at loader command prompt or loader.rc thanks, max > > Scott > >