Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Jun 2012 13:08:04 -0600 (MDT)
From:      Warren Block <wblock@wonkity.com>
To:        jb <jb.1234abcd@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: xfce 4.10 update problems
Message-ID:  <alpine.BSF.2.00.1206111305430.84255@wonkity.com>
In-Reply-To: <loom.20120611T171615-573@post.gmane.org>
References:  <loom.20120610T233219-766@post.gmane.org> <alpine.BSF.2.00.1206101811220.78656@wonkity.com> <loom.20120611T171615-573@post.gmane.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 11 Jun 2012, jb wrote:

> Warren Block <wblock <at> 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.



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