Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Oct 2009 15:52:15 -0600 (MDT)
From:      Warren Block <wblock@wonkity.com>
To:        Andrey Zhidenkov <andrey.zhidenkov@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Mouse and keyboard don't work in Xorg 7.4
Message-ID:  <alpine.BSF.2.00.0910191539460.99110@wonkity.com>
In-Reply-To: <20091019185224.GA10790@desktop>
References:  <20091019185224.GA10790@desktop>

next in thread | previous in thread | raw e-mail | index | archive | help
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
>
> But:
>
> #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"
> EndSection
>
> Section "ServerFlags"
>    Option "AutoAddDevises" "off"
> EndSection

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 
and below.

The Handbook section on xorg configuration is pretty thorough:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-config.html

-Warren Block * Rapid City, South Dakota USA



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