Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Sep 2004 09:39:02 -0600 (MDT)
From:      "M. Warner Losh" <imp@bsdimp.com>
To:        resident@b-o.ru
Cc:        freebsd-mobile@freebsd.org
Subject:   Re: switching to usb kbd and mouse
Message-ID:  <20040914.093902.122063483.imp@bsdimp.com>
In-Reply-To: <200409141522.14053.resident@b-o.ru>
References:  <16710.46860.769767.857543@roam.psg.com> <1095154335.986.36.camel@localhost> <200409141522.14053.resident@b-o.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
In message: <200409141522.14053.resident@b-o.ru>
            Riabtsev Andrew <resident@b-o.ru> writes:
: On 14 September 2004 13:32, Vladimir Grebenschikov wrote:
: > =F7 =D0=CE, 13/09/2004 =D7 23:17 -1000, Randy Bush =D0=C9=DB=C5=D4:=

: > > so i boot my thinkpad t40p with normal keyboard and touchpad mous=
e.
: > > i decide to go to usb mouse and keyboard.  it seems to work to mo=
ve
: > > 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"
: btw this solution not working for me: usbd runned in debug verbose mo=
de shows =

: me that on detach event usbd did not receive devname. So i had to add=
 strings =

: vendor and product in "Keyboard" section. Is it possible to fix it so=
mehow so =

: i can plug any usb keyboards? Or vendor and product is the same for a=
ny =

: keyboard?

I've been using devd to get around such deficiencies.  However, on
detach, it seems that I don't need to run kbdcontrol at all.

Warner



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