Mouse doesn't work

  1. I installed FreeBSD 10.2.
  2. pkg install xorg
  3. pkg install xfce
  4. startxfce4
but my mouse doesn't work. What should I do? I'm trying to learn FreeBSD but fifth step I encounter a problem :) thanks
 

Attachments

  • a2015-12-02_1754.png
    a2015-12-02_1754.png
    387.8 KB · Views: 471
Please don't run XFCE as root.

What kind of mouse do you have? Make sure that moused is enabled by running sysrc moused_enable=YES and service moused restart
 
Most mice are USB, and run moused(8) automatically. It should not be necessary to enable it and start it manually.

But knn does not identify the hardware. It could be a touchpad or something.
 
It has been awhile since I've used Xfce4 but I recall having a similiar problem. For me, I solved it via is a "settings" option for the mouse. There are options for hardware vs software pointers. You can use the keyboard to navigate the menu.
 
Post your /var/log/Xorg.0.log on pastebin or something similar.
 
I recall trying different options in the Device dropdown box. Have you tried not starting Xorg and seeing if you have a mouse pointer in the console?
Other suggestions:
1) Do you have a mouse pointer in the default twm window manager?
2) review mouse(4).
3) Stop and start /etc/rc.d/moused manually and watch for error messages.
4) Look at hardware problems, try a different mouse
 
Apparently this thing emulates a psm(4) mouse. So you need to add to /etc/rc.conf:
Code:
moused_enable="YES"
 
I think the OP stated that he had tried moused_enable="YES".

Here is the link where I managed to get a working mouse: xfce4 mouse

This may be obsolete as I recall that hal is no longer used in the default xorg.
The newly written (Thanks wblock@) Xorg configuration FreeBSD Handbook - Xorg and the Xfce4 keyboard/mouse documentation. Xfce4 keyboard/mouse.

I recall that sysmouse is the software mouse and /dev/psm0 the hardware mouse. Does the xfce gui offer /dev/psm0?
 
Back
Top