From owner-freebsd-stable@FreeBSD.ORG Mon Feb 2 08:43:49 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2E56F106566B; Mon, 2 Feb 2009 08:43:49 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: from mail-bw0-f21.google.com (mail-bw0-f21.google.com [209.85.218.21]) by mx1.freebsd.org (Postfix) with ESMTP id 4F2D98FC19; Mon, 2 Feb 2009 08:43:47 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: by bwz14 with SMTP id 14so369153bwz.19 for ; Mon, 02 Feb 2009 00:43:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=AzBCuLmEGKoLjkXn69UpfMQC7axHX2geumSsF102oh4=; b=D0NtgALrrbV62y4s+L9yx01isH/1XHP3qVOFv3YGPT6lisZjbkV/PFshWpXOglS52q c4Ed50MR8XmGkDLiiX9/yyUTxRdvjG+9eIm83pEENwmtNdmgXshjwCe3v6oFhLV9jApk cl6C9TvPFTe4+8gxpvjsWY6YGp41Yqp4jo8fU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=jKfXG13HQwsWf02fMOeh70t2HbIt99uF0fJJKyfirFmtPsNBDOwRUNGRNr6Vq7Hgo6 8r3U2y9iulr/hBNEYUUQK7/vldlE01rTMVAgbW/GjelA6+vzpcnlqfUlGmQjeKeWHuGX Poxtn6B11SDruKw1gg3vBHbT/pLXFyp3CLEhw= MIME-Version: 1.0 Received: by 10.181.208.8 with SMTP id k8mr388014bkq.128.1233564227158; Mon, 02 Feb 2009 00:43:47 -0800 (PST) In-Reply-To: <1233539822.1534.68.camel@ferret.2hip.net> References: <1233506559.1023.16.camel@dhcppc0> <20090201171920.GB69316@torus.slightlystrange.org> <1233510597.1023.20.camel@dhcppc0> <49861DEA.6050000@zircon.seattle.wa.us> <1233539822.1534.68.camel@ferret.2hip.net> Date: Mon, 2 Feb 2009 00:43:47 -0800 Message-ID: <7d6fde3d0902020043t26d6a526w71b486f0ed5852f8@mail.gmail.com> From: Garrett Cooper To: Robert Noland Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: FreeBSD Stable , Sebastien Chassot , Daniel Bye Subject: Re: xorg 7.4 keyboard localisation (xorg.conf vs hal) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Feb 2009 08:43:49 -0000 On Sun, Feb 1, 2009 at 5:57 PM, Robert Noland wrote: > On Sun, 2009-02-01 at 14:10 -0800, Joe Kelsey wrote: >> Sebastien Chassot wrote: >> > On Sun, 2009-02-01 at 17:19 +0000, Daniel Bye wrote: >> > >> >> On Sun, Feb 01, 2009 at 05:42:39PM +0100, Sebastien Chassot wrote: >> >> >> >>> Hi, >> >>> >> >>> I've upgrade to xorg7.4 and apparently keyboard and mouse are now >> >>> working with hald. >> >>> >> >>> In xorg.conf changing "old" keybord config as no effect and I can't find >> >>> how change it with hal. I've got /usr/local/etc/hal/fdi/* but no >> >>> *keymap* and I don't know how build such a file. >> >>> >> >> This should get you started: >> >> >> >> >> >> >> >> >> >> >> >> gb >> >> >> >> >> >> >> >> >> >> Change the `gb' in the example to your local keymap name, save the file >> >> as /usr/local/etc/hal/fdi/policy/x11-input.fdi and restart hald. >> >> >> 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? > > The above is only to set keyboard layout, everything to detect the > keyboard is already present. > >> 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. > > We (marcus and I) have gone to great pains to try and ensure that hal > behaves correctly in pretty much all mice configurations with or without > sysmouse. If you don't want to use hal, set AutoAddDevices off and > configure away. > >> There had better not be any more surprises waiting in the X 1.6 wings to >> surprise and confound everyone again! > > Are you going to stop paying me? You have no idea how many combinations > of hardware and configurations for X exist, or the amount of wok that > goes into making all of those combinations work. > > robert. I agree. If you really want to help Robert out, contribute funds and hardware for the time and effort he puts in, or volunteer in other areas that might make his life otherwise easier so he can help you out. Otherwise you're asking something extremely unreasonable that he's volunteering to work on. Or as the old adages go: 1. You get what you pay for. 2. I'll scratch your back if you scratch mine. My 2 cents, -Garrett