From owner-freebsd-questions@FreeBSD.ORG Mon Oct 19 21:52:16 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AEE321065741 for ; Mon, 19 Oct 2009 21:52:16 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 6E7288FC08 for ; Mon, 19 Oct 2009 21:52:16 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.3/8.14.3) with ESMTP id n9JLqF0Y099208; Mon, 19 Oct 2009 15:52:15 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.3/8.14.3/Submit) with ESMTP id n9JLqFJn099205; Mon, 19 Oct 2009 15:52:15 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Mon, 19 Oct 2009 15:52:15 -0600 (MDT) From: Warren Block To: Andrey Zhidenkov In-Reply-To: <20091019185224.GA10790@desktop> Message-ID: References: <20091019185224.GA10790@desktop> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.2 (wonkity.com [127.0.0.1]); Mon, 19 Oct 2009 15:52:15 -0600 (MDT) Cc: freebsd-questions@freebsd.org Subject: Re: Mouse and keyboard don't work in Xorg 7.4 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Oct 2009 21:52:16 -0000 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