USB mouse and keyboard problems with 5.2.1-Release

John Baldwin jhb at FreeBSD.org
Fri Jun 25 12:38:55 PDT 2004


On Friday 25 June 2004 01:32 am, Chris Miller wrote:
> On Thu, 2004-06-24 at 11:47, John Baldwin wrote:
> > Hmm, my USB mice all work fine when plugged, unplugged so I'm not sure
> > what you are running into there.  As far as keyboards, you currently have
> > to tell FreeBSD to use the USB keyboard via 'kbdcontrol -k /dev/kbd1'
> > using the PS/2 keyboard (yes, this is rather lame, hopefully someday the
> > keyboard driver will be fixed to mux the inputs from all the physical
> > keyboards)
>
> When I try that command I get the following:
> # kbdcontrol -k /dev/kbd1
> kbd1
>     ukbd0, type:generic (0)
> kbdcontrol: unable to set keyboard: Inappropriate ioctl for device

You need to be on an actual screen console (like ttyv0) to do this, you can't 
do it over ssh unless you do something like:

kbdcontrol -k /dev/kbd1 </dev/ttyv0 >/dev/ttyv0

> So I'm not exactly sure what to do about it.   The keyboard is an
> annoyance but not the end of the world.  But the mouse and track pad are
> making me seriously think about going back to Linux with this machine.

Have you tried adding the psm.0 hints from sys/i386/conf/GENERIC.hints to 
your /boot/device.hints file?  Also, does psm0 show up if you boot with ACPI 
disabled?

-- 
John Baldwin <jhb at FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org


More information about the freebsd-mobile mailing list