From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org)
	by finch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-user+bounces-97895-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1MPLBS-0007YH-TV
	for garchives@archives.gentoo.org; Fri, 10 Jul 2009 18:50:59 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id EE777E00CC;
	Fri, 10 Jul 2009 18:50:56 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	by pigeon.gentoo.org (Postfix) with ESMTP id B0B13E00CC
	for <gentoo-user@lists.gentoo.org>; Fri, 10 Jul 2009 18:50:56 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
	by smtp.gentoo.org (Postfix) with ESMTP id 6227C666B5
	for <gentoo-user@lists.gentoo.org>; Fri, 10 Jul 2009 18:50:56 +0000 (UTC)
X-Virus-Scanned: amavisd-new at gentoo.org
X-Spam-Score: -4.078
X-Spam-Level: 
X-Spam-Status: No, score=-4.078 required=5.5 tests=[AWL=-0.479,
	BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
Received: from smtp.gentoo.org ([127.0.0.1])
	by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id Ysa0nVY8v-x5 for <gentoo-user@lists.gentoo.org>;
	Fri, 10 Jul 2009 18:50:50 +0000 (UTC)
Received: from ciao.gmane.org (main.gmane.org [80.91.229.2])
	(using TLSv1 with cipher AES256-SHA (256/256 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTP id 4B5606682C
	for <gentoo-user@gentoo.org>; Fri, 10 Jul 2009 18:50:49 +0000 (UTC)
Received: from list by ciao.gmane.org with local (Exim 4.43)
	id 1MPLBC-0005PI-KS
	for gentoo-user@gentoo.org; Fri, 10 Jul 2009 18:50:42 +0000
Received: from adsl-69-234-182-209.dsl.irvnca.pacbell.net ([69.234.182.209])
        by main.gmane.org with esmtp (Gmexim 0.1 (Debian))
        id 1AlnuQ-0007hv-00
        for <gentoo-user@gentoo.org>; Fri, 10 Jul 2009 18:50:42 +0000
Received: from w41ter by adsl-69-234-182-209.dsl.irvnca.pacbell.net with local (Gmexim 0.1 (Debian))
        id 1AlnuQ-0007hv-00
        for <gentoo-user@gentoo.org>; Fri, 10 Jul 2009 18:50:42 +0000
X-Injected-Via-Gmane: http://gmane.org/
To: gentoo-user@lists.gentoo.org
From:  walt <w41ter@gmail.com>
Subject: [gentoo-user]  Re: xorg-server mouse and keyboard woes
Date:  Fri, 10 Jul 2009 11:50:27 -0700
Message-ID: <h382hn$3eo$1@ger.gmane.org>
References:  <9acccfe50907092003s29c228ei832b7f949b797184@mail.gmail.com> <tkrat.77c294b62f0e717e@igpm.rwth-aachen.de>
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@lists.gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
Mime-Version:  1.0
Content-Type:  text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding:  7bit
X-Complaints-To: usenet@ger.gmane.org
X-Gmane-NNTP-Posting-Host: adsl-69-234-182-209.dsl.irvnca.pacbell.net
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.1pre) Gecko/20090710 Shredder/3.0b3pre
In-Reply-To: <tkrat.77c294b62f0e717e@igpm.rwth-aachen.de>
Sender: news <news@ger.gmane.org>
X-Archives-Salt: 7cb38c68-7d1c-49fc-b506-5a8bc99d1bc1
X-Archives-Hash: cbb1b6dc812469aa54c46b00e9db28b5

On 07/10/2009 01:29 AM, Helmut Jarausch wrote:
> On  9 Jul, Kevin O'Gorman wrote:
>> I had tried holding back on xorg-server 1.5, but somewhere in May at
>> least one package got past my version limits and X broke.  Rather than
>> to try to revert, I thought surely by now, X would be fixed.  Sigh.
>>
>> In another thread, after spending 2 months without a working X server,
>> I got KDM to start.  But without the mouse and keyboard.
>> The nice folks who got me that far warned and comisserated thus:
>>
>
> I had a similar problem. Finally I added hald to boot

Was hald in 'default' before that?

> rc-update add hald boot
>
> and rebooted. From now on Xorg 1.5 and now 1.6 work just fine
> with hal. I wonder why this hasn't been done/checked by the
> xorg-server ebuild.

Interesting, I never noticed until now that I have hald in 'default'
like Kevin and yet I have no problems with input devices.

I'm using only USB mice but PS/2 keyboard with X+hal and only evdev,
not keyboard or mouse drivers.  No InputDevice sections at all in
xorg.conf.

I'm wondering if this could be related to APCI or BIOS somehow, which
seems to be a major source of different bugs from machine-to-machine.

Dunno, but it's frustrating to watch you guys have so much trouble with
this problem.

Kevin, I have two mice, one very non-standard and the other bog-standard
as the Brits like to say.  The Microsoft Basic Optical Mouse has two
buttons and a wheel, and it works well under evdev except that I like
to use Emulate3Buttons.

My InputDevice sections are gone completely, as I mentioned, so I wrote
a new conf file /etc/hal/fdi/policy/10-emulate3buttons.fdi:

<?xml version="1.0" encoding="ISO-8859-1"?>
<deviceinfo version="0.2">
   <device>
    <match key="info.capabilities" contains="input.mouse">
     <merge key="input.x11_options.Emulate3Buttons" type="string">true</merge>
    </match>
   </device>
</deviceinfo>

I just edited the system input file from /usr/share/hal/fdi/policy after
studying the sytax for awhile, and it worked :o)

Basically, anything you'd put in an InputDevice section of xorg.conf is
transformed into the "input.x11_options" syntax above.  I made another
file for my non-standard mouse adding things like EmulateWheel but the
syntax was identical to above.