Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Jan 2014 18:14:41 +0400
From:      Gleb Smirnoff <glebius@FreeBSD.org>
To:        Jan Henrik Sylvester <me@janh.de>
Cc:        stable-list freebsd <freebsd-stable@freebsd.org>
Subject:   Re: 10.0-RC4 -> 10.0-RC5: Xorg stopped using /dev/sysmouse
Message-ID:  <20140109141441.GX71033@FreeBSD.org>
In-Reply-To: <52CEA744.8050105@janh.de>
References:  <52CEA744.8050105@janh.de>

next in thread | previous in thread | raw e-mail | index | archive | help
  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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140109141441.GX71033>