From owner-freebsd-questions Wed May 9 12:39:20 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail.dada.it (mail3.dada.it [195.110.96.70]) by hub.freebsd.org (Postfix) with SMTP id 9098037B423 for ; Wed, 9 May 2001 12:39:15 -0700 (PDT) (envelope-from ale@unixmania.net) Received: (qmail 5730 invoked from network); 9 May 2001 19:37:55 -0000 Received: from unknown (HELO libero.sunshine.ale) (195.110.114.252) by mail.dada.it with SMTP; 9 May 2001 19:37:55 -0000 Received: by libero.sunshine.ale (Postfix, from userid 1001) id 191265ECA; Wed, 9 May 2001 21:33:22 +0200 (CEST) Date: Wed, 9 May 2001 21:33:21 +0200 From: Alessandro de Manzano To: Wayne Pascoe Cc: freebsd-questions@freebsd.org Subject: Re: USB keyboard (MS) Message-ID: <20010509213321.D10916@libero.sunshine.ale> Reply-To: Alessandro de Manzano References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from wayne.pascoe@realtime.co.uk on Wed, May 09, 2001 at 03:19:02PM +0100 X-Operating-System: FreeBSD 4.3-STABLE Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, May 09, 2001 at 03:19:02PM +0100, Wayne Pascoe wrote: > According to the ukbd man page, I should be able to use my usb > keyboard as /dev/kbd1, using kbdcontrol to set this up. > > I can't do kbdcontrol -i < /dev/kbd1. It says > /dev/kbd1: Device not configured I've quite the same kbd and works fine here (4.3-stable) I use it on my rack mounted servers (no kbd/mouse/monitor connected) As kbdcontrol(1) man page says, I use kbdcontrol -k /dev/kbd1 < /dev/console when I want to switch from my PS/2 kbd to the USB one, and kbdcontrol -k /dev/kbd0 for viceversa. Note that " < /dev/console" is needed only if you send the command from remote tty (telnet, ssh, serial, etc.). Of course you need USB and ukbd support compiled in the kernel and the devices /dev/kbd* libero:(root)/root# ls -l /dev/kbd* crw------- 1 root wheel 112, 0 Apr 23 23:49 /dev/kbd0 crw------- 1 root wheel 112, 1 Apr 23 23:49 /dev/kbd1 finally, you need usbd(8) running with 'usbd_enable="YES" ' in /etc/rc.conf -- bye! Ale ale@unixmania.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message