Re: switching to usb kbd and mouse
Hank Hampel <[email protected]>
| Newsgroups | gmane.os.freebsd.devel.mobile |
|---|---|
| Message-ID | <[email protected]> |
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
signature.asc
(application/pgp-signature, 187 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBRrj2XSKk5/a79toRAkBfAKDZ1RDuyuL+NkyZvOV0NVh46uLnBwCg4ID2 lyqmD2lS0JzsMilkUwoD+bY= =RCfw -----END PGP SIGNATURE-----