Date: Wed, 9 May 2001 21:33:21 +0200 From: Alessandro de Manzano <ale@unixmania.net> To: Wayne Pascoe <wayne.pascoe@realtime.co.uk> Cc: freebsd-questions@freebsd.org Subject: Re: USB keyboard (MS) Message-ID: <20010509213321.D10916@libero.sunshine.ale> In-Reply-To: <m1vgnay59l.fsf@zaphod.realtime.co.uk>; from wayne.pascoe@realtime.co.uk on Wed, May 09, 2001 at 03:19:02PM %2B0100 References: <m1vgnay59l.fsf@zaphod.realtime.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010509213321.D10916>
