From owner-freebsd-questions@FreeBSD.ORG Mon Jun 11 19:08:05 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4F7A1106566B for ; Mon, 11 Jun 2012 19:08:05 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 0AEB78FC16 for ; Mon, 11 Jun 2012 19:08:04 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.5/8.14.5) with ESMTP id q5BJ84DR084327; Mon, 11 Jun 2012 13:08:04 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.5/8.14.5/Submit) with ESMTP id q5BJ84t3084324; Mon, 11 Jun 2012 13:08:04 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Mon, 11 Jun 2012 13:08:04 -0600 (MDT) From: Warren Block To: jb In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (wonkity.com [127.0.0.1]); Mon, 11 Jun 2012 13:08:04 -0600 (MDT) Cc: freebsd-questions@freebsd.org Subject: Re: xfce 4.10 update problems X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jun 2012 19:08:05 -0000 On Mon, 11 Jun 2012, jb wrote: > Warren Block wonkity.com> writes: > >> ... >>> - startx fails when moused enabled >>> (EE) xf86OpenSerial: Cannot open device /dev/psm0 >>> Device busy. >>> (EE) PS/2 Mouse: cannot open input device >>> (EE) PreInit returned NULL for "PS/2 Mouse" >>> (EE) config/hal: NewInputDeviceRequest failed (8) >>> xinit: connection to X server lost >>> >>> Any known solutions ? >> >> Disable hal in xorg.conf, ServerLayout section: >> >> Option "AutoAddDevices" "Off" > > OK, that's way to go. > > But there is something strange. > I tried to fix the problem by disabling moused in /etc/rc.conf . > After reboot, I could 'startx' X session. > But 'ps' still showed moused processes: > $ ps auxww |grep -i mouse > root 1286 0.0 0.1 9716 1148 ?? Ss 8:55AM 0:01.02 > /usr/sbin/moused -p /dev/ums0 -t auto -I /var/run/moused.ums0.pid > root 1888 0.0 0.1 9716 1144 ?? Is 8:55AM 0:00.00 > /usr/sbin/moused -p /dev/psm0 -t auto > root 2045 0.0 0.1 12340 2516 ?? I 8:55AM 0:00.01 > hald-addon-mouse-sysmouse: /dev/psm0 (hald-addon-mouse-sy) > root 2065 0.0 0.1 12340 2520 ?? I 8:55AM 0:00.01 > hald-addon-mouse-sysmouse: /dev/ums0 (hald-addon-mouse-sy) > jb 2262 0.0 0.1 9748 1284 2 S+ 9:03AM 0:00.01 > grep -i mouse > > I tested it by rebooting 3 times. > I have 2 mouses: Lenovo Thinkpad stick and external usb mouse. devd runs moused when USB mice are attached, even if moused_enable="NO" is set in rc.conf. That's not a bad thing. It seems like enabling moused is needed somehow, maybe just to get a handle on the mice before HAL starts.