From owner-freebsd-current@FreeBSD.ORG Mon Mar 6 21:50:10 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 8326416A420 for ; Mon, 6 Mar 2006 21:50:10 +0000 (GMT) (envelope-from current@dino.sk) Received: from bsd.dino.sk (bsd.dino.sk [213.215.72.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id BB1D843DB6 for ; Mon, 6 Mar 2006 21:49:16 +0000 (GMT) (envelope-from current@dino.sk) Received: from [192.168.16.13] ([213.215.74.194]) (AUTH: PLAIN milan, SSL: TLSv1/SSLv3,128bits,RC4-MD5) by bsd.dino.sk with esmtp; Mon, 06 Mar 2006 22:51:47 +0100 id 00000047.440CAEF3.000182EC From: Milan Obuch To: freebsd-current@freebsd.org Date: Mon, 6 Mar 2006 22:48:45 +0100 User-Agent: KMail/1.8.3 References: <4408E4E9.1010705@savvis.net> In-Reply-To: <4408E4E9.1010705@savvis.net> MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200603062248.47937.current@dino.sk> Subject: Re: HEADSUP: kbdmux(4) is in both HEAD and RELENG_6 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: Mon, 06 Mar 2006 21:50:10 -0000 On Saturday 04 March 2006 01:52, Maksim Yevmenkin wrote: > Dear Hackers, > > kbdmux(4) is now fully integrated into HEAD and RELENG_6. please give it > a try and let us know if you have any problems. > Great news - and it works. I did a test with fresh build from cvsupped sources today morning, rebuild everything and it works on my TabletPC TC1000. Many thanks, I think this is a must for every notebook/similar device user. > there is one more cosmetic change that i'd like to get in. please take a > look at the following patch > > http://people.freebsd.org/~emax/kbdmux-etc.diff.txt > > (freefall:~emax/kbdmux-etc.diff.txt) > > the idea is to add new 'setkeyboard' method to the /etc/rc.d/syscons. it > accepts the keyboard device name (i.e. /dev/kbd0). this method will do > nothing is kbdmux(4) is the current active keyboard, otherwise it will > switch active keyboard as requested. the ukbd(4) entries in the > /etc/devd.conf are modified to use /etc/rc.d/syscons and new > 'setkeyboard' method. basically, imo, this should make it consistent for > both kbdmux and non-kbdmux cases. > I test only the kbdmux case, it works with built-in side buttons (atkbd technically, some hacking necessary, maybe, to get all buttons work), detachable USB keyboard, and with PS/2 keyboard connected via USB-PS/2 convertor. Big thanks. Milan