10.0-RC4 -> 10.0-RC5: Xorg stopped using /dev/sysmouse

Gleb Smirnoff glebius at FreeBSD.org
Thu Jan 9 14:14:44 UTC 2014


  Jan,

On Thu, Jan 09, 2014 at 02:42:28PM +0100, Jan Henrik Sylvester wrote:
J> Although the announcement is still pending, I have just upgraded two
J> machines from 10.0-RC4 to 10.0-RC5. Now my mouse is not working in Xorg
J> anymore.
J> 
J> Is it necessary to rebuild all ports due to the ABI change in r260406?
J> Is there a reasonable way to find out, which ports are affected? Is
J> r260406 related at all?
J> 
J> Some details in case the cause of the problem is not simply using old
J> packages:
J> 
J> /dev/psm0 and /dev/usm0 are both picked up by moused and still work on
J> ttyvX (due to moused_enable="YES" and devd_enable="YES" in rc.conf).
J> 
J> Before the upgrade, Xorg would use /dev/sysmouse, but now it tries to
J> open /dev/psm0 and /dev/usm0 directly, which fails, since they are
J> already in use.
J> 
J> I thought "Device" "/dev/sysmouse" as "InputDevice" in my xorg.conf was
J> still relevant, but at least /dev/psm0 and /dev/usm0 are detected by
J> hald, since they are not listed in xorg.conf.
J> 
J> >From ps, I see hald is still recognizing sysmouse:
J> 
J> hald-addon-mouse-sysmouse: /dev/psm0 (hald-addon-mouse-sy)
J> hald-addon-mouse-sysmouse: /dev/ums0 (hald-addon-mouse-sy)
J> 
J> All ports related are up to date and have been build WITH_NEW_XORG=yes
J> but otherwise default options on 10.0-RC3 or 10.0-RC4 (amd64).

In my case after moving to newer X.org I needed to put line

        Option "AutoAddDevices" "Off"

and remove line

	Option "AllowEmptyInput" "Off"

from the Section "ServerLayout".

After that I got my mouse and keyboard working.

-- 
Totus tuus, Glebius.


More information about the freebsd-stable mailing list