Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Sep 2004 11:25:10 +0200
From:      Hank Hampel <lists@niamodnikufesin.de>
To:        FreeBSD Laptoppers <freebsd-mobile@freebsd.org>
Subject:   Re: switching to usb kbd and mouse
Message-ID:  <20040914092510.GC4012@warning.this.domain.does.not-exist.de>
In-Reply-To: <16710.46860.769767.857543@roam.psg.com>
References:  <16710.46860.769767.857543@roam.psg.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--iFRdW5/EC4oqxDHL
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi Randy!

On (040913), Randy Bush wrote:
> but how to i move the keyboard to usb?

This is pretty easy too, just use the following command:
/usr/sbin/kbdcontrol -k /dev/kbd1=20

To do this automagically you can configure the following in
/etc/usbd.conf (in this example for my Cherry 4100-DE keyboard):

device "Cherry 4100 USB Keyboard"
   devname "ukbd0"
   vendor 0x046a
   product 0x0001
   attach "/usr/sbin/kbdcontrol -k /dev/kbd1 -l german.iso < /dev/ttyv0 > /=
dev/null"
   detach "/usr/sbin/kbdcontrol -k /dev/kbd0 -l german.iso < /dev/ttyv0 > /=
dev/null"

For USB mice there should already be a configuration line in
usbd.conf.

You just have to make sure that the usbd is started at boot time, by
inserting usbd_enable=3D"YES" to your rc.conf.


Best regards, Hank

--iFRdW5/EC4oqxDHL
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (FreeBSD)

iD8DBQFBRrj2XSKk5/a79toRAkBfAKDZ1RDuyuL+NkyZvOV0NVh46uLnBwCg4ID2
lyqmD2lS0JzsMilkUwoD+bY=
=RCfw
-----END PGP SIGNATURE-----

--iFRdW5/EC4oqxDHL--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040914092510.GC4012>