From owner-freebsd-stable@FreeBSD.ORG Thu Jan 9 14:14:44 2014 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B930E8FC for ; Thu, 9 Jan 2014 14:14:44 +0000 (UTC) Received: from cell.glebius.int.ru (glebius.int.ru [81.19.69.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 3FB64182B for ; Thu, 9 Jan 2014 14:14:43 +0000 (UTC) Received: from cell.glebius.int.ru (localhost [127.0.0.1]) by cell.glebius.int.ru (8.14.7/8.14.7) with ESMTP id s09EEf5d093446 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 9 Jan 2014 18:14:41 +0400 (MSK) (envelope-from glebius@FreeBSD.org) Received: (from glebius@localhost) by cell.glebius.int.ru (8.14.7/8.14.7/Submit) id s09EEfSC093445; Thu, 9 Jan 2014 18:14:41 +0400 (MSK) (envelope-from glebius@FreeBSD.org) X-Authentication-Warning: cell.glebius.int.ru: glebius set sender to glebius@FreeBSD.org using -f Date: Thu, 9 Jan 2014 18:14:41 +0400 From: Gleb Smirnoff To: Jan Henrik Sylvester Subject: Re: 10.0-RC4 -> 10.0-RC5: Xorg stopped using /dev/sysmouse Message-ID: <20140109141441.GX71033@FreeBSD.org> References: <52CEA744.8050105@janh.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <52CEA744.8050105@janh.de> User-Agent: Mutt/1.5.22 (2013-10-16) Cc: stable-list freebsd X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Jan 2014 14:14:44 -0000 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.