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.


Reply via email to