Gentoo Archives: gentoo-user

From: walt <w41ter@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: Some hints about evdev versus xorg and your mouse and keyboard
Date: Fri, 10 Apr 2009 22:30:30
Message-Id: groh9e$qmd$1@ger.gmane.org
In Reply to: [gentoo-user] Some hints about evdev versus xorg and your mouse and keyboard by walt
1 walt wrote:
2 > ...
3 > If you have an unusual mouse, as I do, you will need to create a
4 > new fdi file in /etc/hal/fdi/policy/ to get it working properly.
5
6 Oops, forgot to mention /usr/bin/lshal, which will tell you what
7 hald thinks it knows about your hardware.
8
9 As one more example, here is what lshal says about my logitech
10 mouse *after* I added my /etc/hal/fdi/policy/10-x11-logitech.fdi:
11
12 udi = '/org/freedesktop/Hal/devices/platform_i8042_i8042_AUX_port_logicaldev_input'
13 info.capabilities = {'input', 'input.mouse'} (string list)
14 info.category = 'input' (string)
15 info.parent = '/org/freedesktop/Hal/devices/platform_i8042_i8042_AUX_port' (string)
16 info.product = 'ImExPS/2 Logitech Explorer Mouse' (string)
17 info.subsystem = 'input' (string)
18 info.udi = '/org/freedesktop/Hal/devices/platform_i8042_i8042_AUX_port_logicaldev_input' (string)
19 input.device = '/dev/input/event4' (string)
20 input.originating_device = '/org/freedesktop/Hal/devices/platform_i8042_i8042_AUX_port' (string)
21 input.product = 'ImExPS/2 Logitech Explorer Mouse' (string)
22 input.x11_driver = 'evdev' (string)
23 input.x11_options.EmulateWheel = 'true' (string) <*** my new fdi file added this line ****
24 input.x11_options.EmulateWheelButton = '8' (string) <*** and this line, but nothing else ****
25 linux.device_file = '/dev/input/event4' (string)
26 linux.hotplug_type = 2 (0x2) (int)
27 linux.subsystem = 'input' (string)
28 linux.sysfs_path = '/sys/devices/platform/i8042/serio1/input/input4/event4' (string)
29
30 HTF the average user is supposed to figure all this out for himself
31 is beyond me. I'm thankful for the expert help I got.

Replies

Subject Author
[gentoo-user] Re: Some hints about evdev versus xorg and your mouse and keyboard Nikos Chantziaras <realnc@×××××.de>