ABCD wrote:
>
> As I understand it, everything that can be done in xorg.conf can be done
> via HAL, but I'm not sure how you would do so for the video devices.
> That said, you should be able to completely get rid of the input devices
> in xorg.conf, and instead install this in a file in /etc/hal/fdi/policy:
>
> --- 8< --- /etc/hal/fdi/policy/99-local.fdi --- >8 ---
> <?xml version="1.0" encoding="UTF-8"?>
> <deviceinfo version="0.2">
> <device>
> <match key="info.capabilities" contains="input.mouse">
> <merge key="input.x11_driver" type="string">evdev</merge>
> <merge key="input.x11_options.ZAxisMapping" type="string">4 5 6 7</merge>
> <merge key="input.x11_options.ButtonMapping" type="string">3 2 1</merge>
> </match>
> </device>
> </deviceinfo>
> --- 8< --- /etc/hal/fdi/policy/99-local.fdi --- >8 ---
>
> This sets the options for each device that has the "input.mouse"
> capability to the same values you had in xorg.conf.
>
This partially solved the problem. The optical mice were correctly
configured but the quick pointing device on the laptop keyboard was not.
That is the left/right buttons were not switched. HAL does list (below)
the device in two entries that contain the input.mouse keyword.
I find it difficult to get info on configuring HAL devices on the web;
do I need to join a mailing list? It would be helpful to find some
examples of the naming of the fdi files their contents that go under the
/etc/hal/*/policy/ directory.
Thanks for the help and any other additional inputs.
--
Valmor
udi =
'/org/freedesktop/Hal/devices/platform_i8042_i8042_AUX3_port_logicaldev_input_0'
info.capabilities = {'input', 'input.mouse', 'input.touchpad'} (string
list)
info.category = 'input' (string)
info.parent =
'/org/freedesktop/Hal/devices/platform_i8042_i8042_AUX3_port' (string)
info.product = 'AlpsPS/2 ALPS DualPoint TouchPad' (string)
info.subsystem = 'input' (string)
info.udi =
'/org/freedesktop/Hal/devices/platform_i8042_i8042_AUX3_port_logicaldev_input_0'
(string)
input.device = '/dev/input/event8' (string)
input.originating_device =
'/org/freedesktop/Hal/devices/platform_i8042_i8042_AUX3_port' (string)
input.product = 'AlpsPS/2 ALPS DualPoint TouchPad' (string)
input.x11_driver = 'evdev' (string)
linux.device_file = '/dev/input/event8' (string)
linux.hotplug_type = 2 (0x2) (int)
linux.subsystem = 'input' (string)
linux.sysfs_path =
'/sys/devices/platform/i8042/serio4/input/input8/event8' (string)
udi =
'/org/freedesktop/Hal/devices/platform_i8042_i8042_AUX3_port_logicaldev_input'
info.capabilities = {'input', 'input.mouse'} (string list)
info.category = 'input' (string)
info.parent =
'/org/freedesktop/Hal/devices/platform_i8042_i8042_AUX3_port' (string)
info.product = 'DualPoint Stick' (string)
info.subsystem = 'input' (string)
info.udi =
'/org/freedesktop/Hal/devices/platform_i8042_i8042_AUX3_port_logicaldev_input'
(string)
input.device = '/dev/input/event7' (string)
input.originating_device =
'/org/freedesktop/Hal/devices/platform_i8042_i8042_AUX3_port' (string)
input.product = 'DualPoint Stick' (string)
input.x11_driver = 'evdev' (string)
linux.device_file = '/dev/input/event7' (string)
linux.hotplug_type = 2 (0x2) (int)
linux.subsystem = 'input' (string)
linux.sysfs_path =
'/sys/devices/platform/i8042/serio4/input/input7/event7' (string)