[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#626262: xserver-xorg-core: MatchIsKeyboard catch touchpad



Hi again,

Matthieu CASTET <matthieu.castet@parrot.com> (10/05/2011):
> yes, for checking that X that using these files.

ah, you could have said so.

> With original files I got :
>
> [  6806.157] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad
> (/dev/input/event8)
> [  6806.157] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "evdev
> keyboard catchall"
> [  6806.157] (II) Using input driver 'evdev' for 'SynPS/2 Synaptics TouchPad'
> [  6806.157] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
> [  6806.160] (**) Option "config_info"
> "udev:/sys/devices/platform/i8042/serio4/input/input8/event8"
> [  6806.160] (II) XINPUT: Adding extended input device "SynPS/2 Synaptics
> TouchPad" (type: TOUCHPAD)
>
> Note that I added to /usr/share/X11/xorg.conf.d/50-synaptics.conf
> "MatchDevicePath "/dev/input/event*"
>
> But that shouldn't affect MatchIsKeyboard behavior.

Anyway, that happens because udev reports:
| DEVNAME=/dev/input/event8
| SUBSYSTEM=input
| ID_INPUT=1
| ID_INPUT_KEY=1

(see udevadm's output in your initial report)

so it gets detected as a keyboard accordingly (ID_INPUT_KEY leads to
ATTR_KEYBOARD's being set, see config/udev.c).

Mraw,
KiBi.

Attachment: signature.asc
Description: Digital signature


Reply to: