misc/168938: moused enabled causes xorg startx to fail

J B jb.1234abcd at gmail.com
Mon Jun 11 07:16:40 UTC 2012


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


More information about the freebsd-bugs mailing list