evdev-1.2.0 / hal-0.5.10 combo broken?
Tomas Carnecky
tom at dbservice.com
Sat Jan 19 04:51:54 PST 2008
Rémi Cardona wrote:
> Tomas Carnecky a écrit :
>
>> I'm running hal-0.5.10, evdev-1.2.0, xorg-server-1.4.0.90, gentoo ~amd64
>> system.
>
> Just rebuild xorg-server without the "hal" USE flag and you should be
> fine for now. I hope we'll get around to writing some documentation on
> how to properly configure evdev 1.2.0 on Gentoo.
>
Thanks for the tip, I did that, but it didn't help. I think the bug is
in the evdev driver. I have a 'Mouse1' input section in my xorg.conf,
driver=mouse, device=/dev/input/mice. Through that device the xserver
normally receives all mouse movements, even those from the mouse built
into my keyboard. With only that and no hal, everything except the
multimedia keys work.
Now remember how the keyboard exposes two event devices, one for the
keyboard and one for the builtin mouse and multimedia keys. If the
xserver uses hal, it automatically adds the two event devices, the evdev
driver grabs the devices, and the kernel stops reporting the mouse
movements through /dev/input/mice. But the evdev driver fails to
configure the evdev device as a mouse so I lose the mouse (well, the
Y-axis still works, but that makes the mouse unusable nonetheless). OTOH
the multimedia keys start working. So it's either the builtin mouse or
MM keys, but not both.
Here is the relevant part from Xorg.0.log:
(**) MultimediaKeys: always reports core events
(II) MultimediaKeys: Found 1 absolute axes.
(II) MultimediaKeys: Configuring as pointer.
(II) MultimediaKeys: Found 4 relative axes.
(II) MultimediaKeys: Configuring as pointer.
(EE) MultimediaKeys: Unable to parse 'RelAxis 0' as a map specifier.
(**) MultimediaKeys: Configuring 1 absolute axes.
(II) MultimediaKeys: Checking button DIGI_STYLUS (74)
(II) MultimediaKeys: Checking bit 330
(EE) MultimediaKeys: AbsoluteTouch: 'DIGI_Touch' does not exist.
(II) MultimediaKeys: Found 13 mouse buttons
(II) MultimediaKeys: Configured 18 mouse buttons.
(II) evaluating device (MultimediaKeys)
(II) XINPUT: Adding extended input device "MultimediaKeys" (type: KEYBOARD)
Is there an option I could use to make it properly recognize the mouse?
I read that downgrading hal helped some people who had the same error in
their log (Unable to parse 'RelAxis 0' as a map specifier), but since my
xserver is built without hal, and hald isn't even running, I doubt that
will help in my situation.
tom
More information about the xorg
mailing list