• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Solved [Solved] Mouse not working

balanga

Daemon

Thanks: 68
Messages: 2,056

#1
My mouse on a ThinkPad X220 does not work with FreeBSD (v10). Do I need to do anything special to configure it?
 

balanga

Daemon

Thanks: 68
Messages: 2,056

#3
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?
 

SirDice

Administrator
Staff member
Administrator
Moderator

Thanks: 6,097
Messages: 26,989

#4
Please post your /var/log/Xorg.0.log and xorg.conf so we can see how things are configured (or not).
 

balanga

Daemon

Thanks: 68
Messages: 2,056

#5
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.
 

jrm@

Daemon
Developer

Thanks: 454
Messages: 1,177

#6
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.
 

balanga

Daemon

Thanks: 68
Messages: 2,056

#7
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....
 

protocelt

Daemon

Thanks: 404
Messages: 1,253

#8
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.
 
Top