From owner-freebsd-mobile Tue Jan 15 4:51:33 2002 Delivered-To: freebsd-mobile@freebsd.org Received: from mail6.speakeasy.net (mail6.speakeasy.net [216.254.0.206]) by hub.freebsd.org (Postfix) with ESMTP id 20C8237B416 for ; Tue, 15 Jan 2002 04:51:24 -0800 (PST) Received: (qmail 8898 invoked from network); 15 Jan 2002 12:51:23 -0000 Received: from unknown (HELO laptop.baldwin.cx) ([64.81.54.73]) (envelope-sender ) by mail6.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 15 Jan 2002 12:51:23 -0000 Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20020114202858.C31216@shell.wetworks.org> Date: Tue, 15 Jan 2002 04:50:40 -0800 (PST) From: John Baldwin To: Alan Clegg Subject: RE: USB Keyboard auto enable via usbd Cc: freebsd-mobile@freebsd.org Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On 15-Jan-02 Alan Clegg wrote: > I've added the following section to my /etc/usbd.conf: > > device "USB Keyboard" > devname "ukbd0" > attach "kbdcontrol -k /dev/kbd1 < /dev/ttyv0 > /dev/null" > detach "kbdcontrol -k /dev/kbd0 < /dev/ttyv0 > /dev/null" > > To take notice of the attachment (and detachment) of a USB keyboard. > > Any pro/con to getting this submitted to the code maintainers to include > in the default config? > > My one issue is that I'd like to use ${DEVNAME} in the attach kbdcontrol, > but, as you can see, the device is ukbd0 and the entry in /dev is kbd1. Sometimes it is kbd0 as well. :) What really needs to happen is that the keyboard code needs to be reworked to either be more intelligent in the kernel about doing this, or about muxing hte various keyboard inputs rather than only allowing one keyboard to input to the console. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message