From owner-freebsd-current@FreeBSD.ORG Wed Mar 1 00:29:54 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E79BD16A420 for ; Wed, 1 Mar 2006 00:29:54 +0000 (GMT) (envelope-from maksim.yevmenkin@savvis.net) Received: from ismybrain.com (ismybrain.com [64.246.42.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id 95BB943D46 for ; Wed, 1 Mar 2006 00:29:54 +0000 (GMT) (envelope-from maksim.yevmenkin@savvis.net) Received: from [10.254.186.111] (localhost.localdomain [127.0.0.1]) by ismybrain.com (8.11.6/8.11.6) with ESMTP id k210TrM26373; Tue, 28 Feb 2006 19:29:53 -0500 Message-ID: <4404EAFF.1010007@savvis.net> Date: Tue, 28 Feb 2006 16:29:51 -0800 From: Maksim Yevmenkin User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050404) X-Accept-Language: en-us, en MIME-Version: 1.0 To: noackjr@alumni.rice.edu References: <44034160.8060905@savvis.net> <44042885.6040604@alumni.rice.edu> In-Reply-To: <44042885.6040604@alumni.rice.edu> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org Subject: Re: [PATCH] upcoming kbdmux(4) integration X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Mar 2006 00:29:55 -0000 Jonathan Noack wrote: > On 02/27/06 13:13, Maksim Yevmenkin wrote: > >>the bug, causing hard lockup with kbdmux(4), atkbd(4) and psm(4), was >>fixed in both releng_6 and head. >> >>i'd like to go ahead and integrate kbdmux(4) with the kbd code and >>syscons(4). also i'd like to make kbdmux(4) default in -current. > > I'm sure I'm missing something simple, but I can't figure out how to > configure this. I have a ps/2 keyboard (atkbd0/kbd0), kbdmux > (kbdmux0/kbd1), and a usb keyboard (ukbd0/kbd2). I tried to follow the > examples in kbdcontrol but kept running into "unable to (un)mux the > keyboard: Invalid argument" and "device busy" errors. with the patch, committed to -current today, everything will happen automatically. without the patch # kbdcontrol -a ukbd0 < /dev/kbdmux0 -- add ukbd0 to mux # kbdcontrol -k /dev/kbdmux0 < /dev/ttyv0 -- switch keyboard to kbdmux/ukbd # kbdcontrol -a atkbd0 < /dev/ttyv0 -- add atkbd0 to kbdmux thanks, max