USB mouse and keyboard problems with 5.2.1-Release
Chris Miller
chrislist at bariatricsupportcenter.com
Sun Jun 27 22:01:00 PDT 2004
I finally got some time to work with this again :)
On Fri, 2004-06-25 at 13:30, John Baldwin wrote:
> >
> > 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
>
I was in X-Windows when I tried the command. Doing it from an actual
console worked just fine. Thanks, now the keyboard works like it
should.
> 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?
The only two lines that I see in GENERIC.hints that relate to psm are
the following which both already exist in my /boot/device.hints file:
hint.psm.0.at="atkbdc"
hint.psm.0.irq="12"
I tried booting with ACPI disabled and still psm0 doesn't show up.
Any other ideas?
The keyboard is also not recognized at all if it is unplugged when I
boot the system and then plug it in later. (Same problem that the mouse
has.) So I assume the USB setup has problems. I took an old hard drive
and installed a fresh install of 5.2.1-Release on it to see if I had
messed something up somewhere along the line, but it had the same
problem. USB mouse craps out if it is unplugged after booting and
/dev/psm0 doesn't exist.
Any other thoughts would be appreciated.
Thanks,
Chris
Just a recap for anyone reading this thread. The usb mouse works fine
if it is plugged in when the system boots, but will not work if it is
unplugged and then plugged back in. (Same with the keyboard, I tried a
USB hard drive too and it doesn't appear to work either.)
The touch pad which should show up as /dev/psm0 also doesn't work.
/etc/rc.conf includes:
usbd_enable="YES"
moused_enable="YES"
moused_type="auto"
moused_port="/dev/psm0" (note: changing this to /dev/ums0 does not fix
the usb mouse when it is unplugged and plugged back in.)
More information about the freebsd-mobile
mailing list