Solved [Solved] Mouse not working

I am now using 10.0-STABLE and trying to get X working but the mouse does not work. The mouse works in terminal mode and I have moused, hald, and dbus enabled in rc.conf. xorg.conf has /dev/sysmouse set as an option. I am using a ThinkPad X220 which uses a red button in the middle of the keyboard as a mouse pointer.

What have I overlooked?
 
Please post your /var/log/Xorg.0.log and xorg.conf so we can see how things are configured (or not).
 
Xorg.0.log has almost 2000 lines in it, but I can see a couple of lines that suggest something is wrong.


Code:
Cannot locate a core pointer device
Cannot locate a core keyboard device
The server relies on HAL to provide the list of input devices.
If no devices become available, reconfigure HAL or disable AutoAddDevices.

It's difficult to provide the content of files requested since I can't cut and paste or copy files over onto the system I'm writing this post from.
 
Have you tried without hald and a default Xorg configuration? You can configure x11-servers/xorg-server without the hal option. I'm on 9-STABLE, but that's what I do and I have no problems with the mouse on my X220.
 
I did have this working some weeks ago but needed to upgrade from 10.0-RELEASE to 10.0-STABLE and now I can't use a mouse in X. I have tried both enabling and disabling HAL and DBUS but have yet stumble upon a solution. The mouse does work in text mode but not in X.

As to whether I should be using HAL, it sounds, from this information, http://www.x.org/wiki/XorgHAL/ that its use should be discouraged....

If your X220 does not use HAL or DBUS, then how do you configure the mouse? Did you need to alter your xorg.conf or were they auto configured?

I've tried following the instructions in https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-config.html but somehow can't get things working...Can't help feeling that they may need updating....
 
balanga said:
I did have this working some weeks ago but needed to upgrade from 10.0-RELEASE to 10.0-STABLE and now I can't use a mouse in X. I have tried both enabling and disabling HAL and DBUS but have yet stumble upon a solution. The mouse does work in text mode but not in X.

As to whether I should be using HAL, it sounds, from this information, http://www.x.org/wiki/XorgHAL/ that its use should be discouraged....

If your X220 does not use HAL or DBUS, then how do you configure the mouse? Did you need to alter your xorg.conf or were they auto configured?

I've tried following the instructions in https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-config.html but somehow can't get things working...Can't help feeling that they may need updating....

It can be somewhat hard to help without seeing how the xserver is failing when attempting to attach to devices. Given your keyboard and mouse work in the console, it's most likely not a hardware problem. My first guess, given you have updated from 10-RELEASE to 10-STABLE, is the the keyboard and mouse drivers need to be rebuilt. If your using the ports tree, you could try the following: % portmaster x11-drivers/xf86-input-mouse x11-drivers/xf86-input-keyboard and see if that helps. Also keep in mind that the xserver can be used with devd(8) or sysutils/hal for input devices. Either will work, but sysutils/hal is needed for certain non-essential functions in some desktop environments.
 
Back
Top