Mouse and keyboard don't work in Xorg 7.4
wblock at wonkity.com
Mon Oct 19 21:52:16 UTC 2009
On Mon, 19 Oct 2009, Andrey Zhidenkov wrote:
> I've installed FreeBSD 7.2 with Xorg 7.4 server, but mouse (usb)
> and keyboard don't work. when I start X server the only way to exit
> is Ctrl-Alt-F* and kill the process.
> I've find out that Xorg now uses hal and dbus to configure mouse and
> maybe this is a problem.
xorg-server uses if configured to use hal.
> When I start hald (/usr/local/etc/rc.d/hald start) it don't tell anything, even in
> verbose mode, except of:
> #/usr/local/sbin/hald --verbose=yes
> 22:48:16.400 [I] hald.c:669: hal 0.5.11
> 22:48:16.400 [I] hald.c:678: Will daemonize
> 22:48:16.400 [I] hald.c:679: Becoming a daemon
> #ps aux | grep hal
> mutex 68396 0.0 0.1 1660 1060 p0 D+ 10:48PM 0:00.00 grep hal
> So I think it doesn't starts.
dbus_enable="YES" and hald_enable="YES" in /etc/rc.conf?
> This is my xorg.conf (generated by `Xorg -configure):
> Section "ServerLayout"
> Identifier "X.org Configured"
> Screen 0 "Screen0" 0 0
> InputDevice "Mouse0" "CorePointer"
> InputDevice "Keyboard0" "CoreKeyboard"
> Section "ServerFlags"
> Option "AutoAddDevises" "off"
That's spelled wrong. ("AutoAddDevices")
By turning that off, you are telling xorg-server to ignore hal detection
of devices. So even if hal was running, it would be ignored.
If you let xorg use hal, you can remove the InputDevice sections above
The Handbook section on xorg configuration is pretty thorough:
-Warren Block * Rapid City, South Dakota USA
More information about the freebsd-questions