Date: Sat, 24 Aug 2019 07:53:57 +0200 From: Polytropon <freebsd@edvax.de> To: Antonio Olivares <olivares14031@gmail.com> Cc: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: PS mouse/USB mouse no response Message-ID: <20190824075357.a091c2d6.freebsd@edvax.de> 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 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 Then add the following to /etc/rc.conf: moused_enable="YES" moused_type="auto" moused_port="/dev/psm0" Even though the _enable flag should be enough, sometimes moused doesn't seem to recognize the PS/2 mouse, that's why the lines for _type and _port. The mouse should be recognized now. It can work in parallel with a USB mouse. You don't have to do anything more than the _enable line for the USB mouse to work. > [...] and a USB mouse connected to back USB > ports and neither of the two work. Again, check if they are present, as noted above, and: # dmesg | grep ums ums0 on uhub7 ums0: <vendor 0x062a product 0x0000, class 0/0, rev 1.10/2.04, addr 6> on usbus2 ums0: 5 buttons and [XYZ] coordinates ID=0 Here, ums is the USB mouse driver. Sidenote: On the machine I've taken those examples from, both PS/2 and USB mouse work "in parallel". In /etc/rc.conf, I don't have the _type and _port entries, but they might be worth checking for investigation; read "man moused" for debug flag (very handy for experiments, as you can manually start moused, see what's happening or not, and use ^C to quit it). > The usb's power the USB mouse but the > pointer does not move and the ps2 mouse also turns on but does not work. Do they work in "text mode" (before starting X)? > I > do not have Hal installed, but on another machine it is not installed but > mouse works. You don't need HAL or other crap for a simple mouse to work. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20190824075357.a091c2d6.freebsd>