Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Aug 2019 21:00:07 -0400 (EDT)
From:      doug <doug@fledge.watson.org>
To:        Antonio Olivares <olivares14031@gmail.com>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: PS mouse/USB mouse no response
Message-ID:  <alpine.BSF.2.20.1908232027000.21839@fledge.watson.org>
In-Reply-To: <CAJ5UdcMzJVTeGDkfPxWst83FZ4KYrYv3bzqvWwm3WT8qa%2BfQzQ@mail.gmail.com>
References:  <CAJ5UdcMzJVTeGDkfPxWst83FZ4KYrYv3bzqvWwm3WT8qa%2BfQzQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 23 Aug 2019, Antonio Olivares wrote:

> Dear kind FreeBSD users,
>
> 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 and a USB mouse connected to back USB
> ports and neither of the two work.
> The same machine with either mouse work with a Linux live CD. I prefer to
> work with FreeBSB as I have the machine configured as I need it for work,
> but I need a mouse to respond. The usb's power the USB mouse but the
> pointer does not move and the ps2 mouse also turns on but does not work. I
> do not have Hal installed, but on another machine it is not installed but
> mouse works. Any ideas and suggestions are appreciated and will be tried on
> Monday when I get back to machine.
>
> Best Regards,
>
> Antonio
I have an HP laptop that is atleast 5 years old runing 11.2. Look in 
/var/run/dmesg.boot. I find the following:

psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model Generic PS/2 mouse, device ID 0

In /var/log/Xorg.0.log (take the latest one of course) grepping out mouse lines

[    47.130] (II) config/devd: adding input device (null) (/dev/sysmouse)
[    47.130] (II) LoadModule: "mouse"
[    47.130] (II) Loading /usr/local/lib/xorg/modules/input/mouse_drv.so
[    47.145] (II) Module mouse: vendor="X.Org Foundation"
[    47.145] (II) Using input driver 'mouse' for 'sysmouse'
[    47.145] (**) sysmouse: always reports core events
[    47.145] (**) Option "Device" "/dev/sysmouse"
[    47.145] (==) sysmouse: Protocol: "Auto"
[    47.145] (**) sysmouse: always reports core events
[    47.146] (==) sysmouse: Emulate3Buttons, Emulate3Timeout: 50
[    47.146] (**) sysmouse: ZAxisMapping: buttons 4 and 5
[    47.146] (**) sysmouse: Buttons: 5
[    47.146] (**) Option "config_info" "devd:sysmouse"
[    47.146] (II) XINPUT: Adding extended input device "sysmouse" (type: MOUSE, 
id 7)
[    47.146] (**) sysmouse: (accel) keeping acceleration scheme 1
[    47.146] (**) sysmouse: (accel) acceleration profile 0
[    47.147] (**) sysmouse: (accel) acceleration factor: 2.000
[    47.147] (**) sysmouse: (accel) acceleration threshold: 4
[    47.147] (II) sysmouse: SetupAuto: hw.iftype is 4, hw.model is 0
[    47.147] (II) sysmouse: SetupAuto: protocol is SysMouse
[    47.209] (II) config/devd: adding input device Mouse (/dev/psm0)
[    47.209] (II) Using input driver 'mouse' for 'Mouse'
[    47.209] (**) Mouse: always reports core events
[    47.210] (==) Mouse: Protocol: "Auto"
[    47.210] (**) Mouse: always reports core events
[    47.273] (==) Mouse: Emulate3Buttons, Emulate3Timeout: 50
[    47.273] (**) Mouse: ZAxisMapping: buttons 4 and 5
[    47.273] (**) Mouse: Buttons: 5
[    47.273] (II) XINPUT: Adding extended input device "Mouse" (type: MOUSE, id 8)
[    47.274] (**) Mouse: (accel) keeping acceleration scheme 1
[    47.274] (**) Mouse: (accel) acceleration profile 0
[    47.274] (**) Mouse: (accel) acceleration factor: 2.000
[    47.274] (**) Mouse: (accel) acceleration threshold: 4
[    47.294] (II) Mouse: SetupAuto: hw.iftype is 3, hw.model is 0
[    47.294] (II) Mouse: SetupAuto: protocol is PS/2
[    47.737] (II) Mouse: ps2EnableDataReporting: succeeded

I have xorg-7.7_3  and hal-0.5.14_34. The mouse is a really old usb logitec

ps shows: /usr/sbin/moused -p /dev/ums0 -t auto -I /var/run/moused.ums0.pid

Rc.conf:  moused_enable="YES"
           moused_port="/dev/ums0"

           #dbus_enable="YES"
           #hald_enable="YES"
           #slim_enable="YES"

The comment says I used moused_port to disable the touchpad but it does not do 
that. I disable the touchpad by: "xinput set-prop 8 "Device Enabled" 0"

I did the auto xorg thing. Maybe because my hardware is pretty similar to yours 
you can see some difference. I could not pick out the mouse from "pciconf -lv"

I hope this give your some things to look at.



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