From owner-cvs-all@FreeBSD.ORG Tue Nov 16 19:02:27 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8497416A4D0 for ; Tue, 16 Nov 2004 19:02:27 +0000 (GMT) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.207]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0F5DD43D49 for ; Tue, 16 Nov 2004 19:02:27 +0000 (GMT) (envelope-from maksim.yevmenkin@gmail.com) Received: by rproxy.gmail.com with SMTP id a36so762036rnf for ; Tue, 16 Nov 2004 11:02:26 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=nS71QfxF7u5/S9JFd1t6hYcWHBlGzyGgMgMCo7ETNRF18ib6jb4P3Nzo0pB64727qMj4GH+adyTdTbXFgs4fQxi9KLGthXDSBdmgkCx3Jjalei80urKekeH1y+tHhYAka3f7rXpAQBVx4Ev0nml9ihPotbH05MdtlA4ObWRnz+c= Received: by 10.38.163.14 with SMTP id l14mr445166rne; Tue, 16 Nov 2004 11:02:26 -0800 (PST) Received: by 10.38.75.35 with HTTP; Tue, 16 Nov 2004 11:02:26 -0800 (PST) Message-ID: Date: Tue, 16 Nov 2004 11:02:26 -0800 From: Maksim Yevmenkin To: "M. Warner Losh" In-Reply-To: <20041116.114156.42773121.imp@bsdimp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <20041116180905.GA11906@odin.ac.hmc.edu> <20041116183549.GB11906@odin.ac.hmc.edu> <20041116.114156.42773121.imp@bsdimp.com> cc: brooks@one-eyed-alien.net cc: cvs-src@freebsd.org cc: phk@phk.freebsd.dk cc: src-committers@freebsd.org cc: cvs-all@freebsd.org Subject: Re: cvs commit: src/sys/dev/vkbd vkbd.c vkbd_var.h src/sys/modules/vkbd Makefile X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Maksim Yevmenkin List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Nov 2004 19:02:27 -0000 On Tue, 16 Nov 2004 11:41:56 -0700 (MST), M. Warner Losh wrote: > In message: <20041116183549.GB11906@odin.ac.hmc.edu> > Brooks Davis writes: > : I'm primairly intrested in solving the problem of machines with a AT > : keyboard controller (which currently attached non-existant keyboards to > : allow hot-pluging) and a USB keyboard. The second case I'm intrested > : in is a LOM card. In one case I've seen one present the keyboard as a > : USB keyboard which means you need to support two USB keyboards. > > I think emax's vkbd isn't the same as the 'many to one' keyboard mux > driver that's been talked about to solve #1 of your two desires. It that is true, but... you *could* obtain scan codes from two or more sources and write them into the *same* vkbd. so, you could call it a keyboard mux to some extend. the only problem is the vkbd state (shifts controls etc). the state problem have to be addressed by user right now. there might be a way to solve it. basically create one virtual keyboard and then attach few cdev's to it. each cdev will maintain its own state. the "final" scancodes from each cdev will go into the same virtual keyboard. > is designed to allow other sources of key events that come from > outside the kernel. I don't think he's implementing the moral > equivalent of moused. again true max