Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Jun 2012 09:16:38 +0200
From:      J B <jb.1234abcd@gmail.com>
To:        FreeBSD-gnats-submit@freebsd.org, freebsd-bugs@freebsd.org
Subject:   Re: misc/168938: moused enabled causes xorg startx to fail
Message-ID:  <CAJXMFhHHfunN4akw2B0%2BBozangV3fkk52XWvXCKywkdPWnvHoA@mail.gmail.com>
In-Reply-To: <201206110520.q5B5KBGR084341@freefall.freebsd.org>
References:  <201206110517.q5B5HHoB013766@red.freebsd.org> <201206110520.q5B5KBGR084341@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a bit strange.
To fix the problem I disabled moused in /etc/rc.conf .
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 have 2 mouses: Lenovo thinkpad stick and external usb mouse.

There was a fix offered on questions-list:
Disable hal in xorg.conf, ServerLayout section:
Option "AutoAddDevices" "Off"

I assume this is a temp solution only.

So I enabled moused in /etc/rc.conf, with the above xorg.conf fix. and rebooted.
'startx' log shows:

(EE) config/hal: NewInputDeviceRequest failed (8)
(EE) config/hal: NewInputDeviceRequest failed (8)

but mouses seem to work again.
jb



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJXMFhHHfunN4akw2B0%2BBozangV3fkk52XWvXCKywkdPWnvHoA>