switching to usb kbd and mouse

Vladimir Grebenschikov vova at fbsd.ru
Tue Sep 14 02:32:20 PDT 2004


В пн, 13/09/2004 в 23:17 -1000, Randy Bush пишет:
> so i boot my thinkpad t40p with normal keyboard and touchpad mouse.
> i decide to go to usb mouse and keyboard.  it seems to work to move
> the mouse by just killing moused and restarting it as
> 
>     moused -p /dev/ums0 -t auto
> 
> but how to i move the keyboard to usb?

You need something like this:

/etc/usbd.conf:
...
# Keyboard
device "Keyboard"
        devname "ukbd[0-9]+"
        attach "/usr/sbin/kbdcontrol -k /dev/kbd1 < /dev/ttyv0"
        detach "/usr/sbin/kbdcontrol -k /dev/kbd0 < /dev/ttyv0"
...


> randy

-- 
Vladimir B. Grebenchikov
vova at fbsd.ru


More information about the freebsd-mobile mailing list