From owner-freebsd-questions@FreeBSD.ORG Mon Feb 2 08:49:54 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 247C3106567F for ; Mon, 2 Feb 2009 08:49:54 +0000 (UTC) (envelope-from seba.bsd@sinux.net) Received: from smtp1.infomaniak.ch (smtp1.infomaniak.ch [84.16.68.89]) by mx1.freebsd.org (Postfix) with ESMTP id AF9B28FC08 for ; Mon, 2 Feb 2009 08:49:53 +0000 (UTC) (envelope-from seba.bsd@sinux.net) Received: from [172.16.1.20] (217-162-55-198.dclient.hispeed.ch [217.162.55.198]) (authenticated bits=0) by smtp1.infomaniak.ch (8.14.2/8.14.2) with ESMTP id n128noBe019779 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 2 Feb 2009 09:49:51 +0100 From: Sebastien Chassot To: Joe Kelsey In-Reply-To: <49861DEA.6050000@zircon.seattle.wa.us> References: <1233506559.1023.16.camel@dhcppc0> <20090201171920.GB69316@torus.slightlystrange.org> <1233510597.1023.20.camel@dhcppc0> <49861DEA.6050000@zircon.seattle.wa.us> Content-Type: text/plain Date: Mon, 02 Feb 2009 09:49:50 +0100 Message-Id: <1233564590.1039.14.camel@dhcppc0> Mime-Version: 1.0 X-Mailer: Evolution 2.12.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit X-Antivirus: Dr.Web (R) for Mail Servers on smtp1 host X-Antivirus-Code: 100000 Cc: FreeBSD Questions Subject: Re: xorg 7.4 keyboard localisation (xorg.conf vs hal) 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, 02 Feb 2009 08:49:55 -0000 On Sun, 2009-02-01 at 14:10 -0800, Joe Kelsey wrote: > This seems to have a way to enable HAL to detect a keyboard and export > it to X, but what about mice? My Xorg log tells me that it is ignoring > my USB mouse in addition to ignoring my keyboard, so what sort of HAL > file do I add to enable it to find my mouse? You can choose between using HAL config or xorg.conf by doing what /usr/port/UPDATING suggest: =================== 20090123: AFFECTS: users of x11-servers/xorg-server AUTHOR: rnoland@FreeBSD.org If you are using an older xorg.conf several config lines are no longer needed and will generate warnings when X is started. RgbPath will cause X to fail to start, remove it from your config. Server 1.5.3 also really wants to configure its input devices via hald. This is causing some issues with moused and /dev/sysmouse. There are a couple of options for how to deal with it. 1. Add Option "AllowEmptyInput" "off" to your ServerLayout section. This will cause X to use the configured kbd, mouse, and vmmouse sections from your xorg.conf 2. Don't use moused. If you want it to work with addon usb mice set this in rc.conf: moused_enable="NO" moused_nondefault_enable="NO" I'm working on fixing hald or the mouse driver or both. =================== But it don't help on HAL support... > Where in HAL documentation is this information found? R. Noland seemed > to think it was a trivial process to make HAL do keyboards and mice? In > fact it is not trivial but a pain in the ass! If you intend to inflict > broken software on unsuspecting users you had better think through all > of the problems and come up with explicit solutions to all of those > problems so that everyone has a chance to make their systems work. You're right. The handbook don't talk about HAL at all and it's quiet difficult to find doc on web. HAL seems to have huge capability...too much to begin with... ;)