switching to usb kbd and mouse

Hank Hampel lists at niamodnikufesin.de
Tue Sep 14 02:25:17 PDT 2004


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 

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="YES" to your rc.conf.


Best regards, Hank
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-mobile/attachments/20040914/46291294/attachment.bin


More information about the freebsd-mobile mailing list