Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Jun 2004 22:59:18 -0600
From:      Chris Miller <chrislist@bariatricsupportcenter.com>
To:        John Baldwin <jhb@FreeBSD.org>
Cc:        FreeBSD-Mobile <freebsd-mobile@FreeBSD.org>
Subject:   Re: USB mouse and keyboard problems with 5.2.1-Release
Message-ID:  <1088398757.675.15.camel@reaper1.reaperville.com>
In-Reply-To: <200406251530.53292.jhb@FreeBSD.org>
References:  <1087998930.775.32.camel@reaper1.reaperville.com> <200406241347.05092.jhb@FreeBSD.org> <1088141546.720.13.camel@reaper1.reaperville.com> <200406251530.53292.jhb@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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.)





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