PS mouse/USB mouse no response

Polytropon freebsd at
Sun Aug 25 05:34:40 UTC 2019

On Sat, 24 Aug 2019 21:21:12 -0400, Kevin P. Neal wrote:
> On Sat, Aug 24, 2019 at 07:53:57AM +0200, Polytropon wrote:
> > On Fri, 23 Aug 2019 18:16:14 -0500, Antonio Olivares wrote:
> > > I have and old HP machine which ran windows 7 home premium and I
> > > sucessfully loaded FreeBSD 12.0-RELEASE-p10 updated successfully both
> > > freebsd-update and through pkg. The machine boots and loads X but the mouse
> > > does not respond. I have tried a PS2 mouse and corresponding
> > > moused_enable="YES" in /etc/rc.conf [...]
> > 
> > That's not sufficient. First, check for the psm (PS/2 mouse)
> > device to exist:
> > 
> > 	# dmesg | grep psm
> > 	psm0: <PS/2 Mouse> irq 12 on atkbdc0
> > 	psm0: [GIANT-LOCKED]
> > 	psm0: model MouseMan+, device ID 0
> I seem to remember that PS/2 devices only work if attached before boot.
> Is that correct?

That is correct, expected, and logical.

The PS/2 connector is _not_ capable of hot-plug operations. You can
even destroy it when you plug / unplug a PS/2 keyboard or mouse when
the system is already powered on. The specification of that port is
from a time where hot-plugging was not common, so don't take the risk.

> And, if so, is that how the OP is trying the experiment?

By rebooting. The PS/2 mouse will be connected when the system is
powered off. If possible, it should be _really_ powered off with
the switch on the back of the power supply. If there is no such
switch, remove the power cable, just to be sure. After reboot,
the dmesg output should contain the PS/2 mouse entry. Without that
entry, any experiments on PS/2 mouse support are futile.

With USB, it's a lot easier: It can be plugged in during system
operation, and kernel messages (or dmesg output, or system log
file) will immediately (!) tell you what has been attached. Further-
more, devd will, in case a ums-type device has been recognized,
start moused with the appropriate parameters.

This should all work in "text mode" (console), and of course in X.

Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...

More information about the freebsd-questions mailing list