From owner-freebsd-current@FreeBSD.ORG Thu Mar 10 15:08:25 2005 Return-Path: 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 7591716A4CE; Thu, 10 Mar 2005 15:08:25 +0000 (GMT) Received: from bgo1smout1.broadpark.no (bgo1smout1.broadpark.no [217.13.4.94]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0A8A043D3F; Thu, 10 Mar 2005 15:08:25 +0000 (GMT) (envelope-from des@des.no) Received: from bgo1sminn1.broadpark.no ([217.13.4.93]) by bgo1smout1.broadpark.no (Sun Java System Messaging Server 6.1 HotFix 0.05 (built Oct 21 2004)) with ESMTP id <0ID500HKN5SYU660@bgo1smout1.broadpark.no>; Thu, 10 Mar 2005 16:02:58 +0100 (CET) Received: from dsa.des.no ([80.203.228.37]) by bgo1sminn1.broadpark.no (Sun Java System Messaging Server 6.1 HotFix 0.05 (built Oct 21 2004)) with ESMTP id <0ID500KGD656DJ50@bgo1sminn1.broadpark.no>; Thu, 10 Mar 2005 16:10:18 +0100 (CET) Received: by dsa.des.no (Pony Express, from userid 666) id AFE444519E; Thu, 10 Mar 2005 16:08:23 +0100 (CET) Received: from xps.des.no (xps.des.no [10.0.0.12]) by dsa.des.no (Pony Express) with ESMTP id CABC9A0CAA; Thu, 10 Mar 2005 16:08:19 +0100 (CET) Received: by xps.des.no (Postfix, from userid 1001) id B93AA33C1B; Thu, 10 Mar 2005 16:08:19 +0100 (CET) Date: Thu, 10 Mar 2005 16:08:19 +0100 From: des@des.no (=?iso-8859-1?q?Dag-Erling_Sm=F8rgrav?=) In-reply-to: <20050309194028.GA17398@odin.ac.hmc.edu> To: Brooks Davis Message-id: <86y8cvsfmk.fsf@xps.des.no> MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: quoted-printable X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on dsa.des.no References: <20050309194028.GA17398@odin.ac.hmc.edu> User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3 (berkeley-unix) X-Spam-Status: No, score=-2.8 required=5.0 tests=ALL_TRUSTED,AWL autolearn=disabled version=3.0.2 X-Spam-Level: cc: freebsd-current@freebsd.org cc: Alex Welycz cc: freebsd-usb@freebsd.org Subject: Re: KVM USB X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Thu, 10 Mar 2005 15:08:25 -0000 Brooks Davis writes: > This is caused by a bug in /etc/devd.conf that I fixed a week ago in 5. > Just change the line to refer to ukbd0 instead of bogusly refering to > kbd1. The problem was caused by crappy examples in the manpage making > me think you had to use the generic /dev/kbd# device not the specific > /dev/ukdb# device with kbdcontrol. It's still wrong. At the very least, the attach trigger should be changed to attach 100 { device-name "ukbd[0-9]+"; action "kbdcontrol -k /dev/$device-name < /dev/console"; }; but actually there is no way devd can get it right in the general case, because there's no correct answer to what to do on detach. The correct solution would be to teach kbd to multiplex keyboards, like scmouse multiplexes mice. DES --=20 Dag-Erling Sm=F8rgrav - des@des.no