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

2011-05-16 Thread Matthieu CASTET
Julien Cristau a écrit :
 On Tue, May 10, 2011 at 13:34:33 +0200, Matthieu CASTET wrote:

 This bit is suspicious, there shouldn't be different capabilities for
 the mouseX and eventX device nodes corresponding to the same physical
 device.
 

The value reported by reportbug seems wrong (check devlink reported and the real
one in /dev) :

$ ls -l /dev/input/by-path/
total 0
lrwxrwxrwx 1 root root 9 14 mai   10:46 pci-:00:1a.0-usb-0:1.5:1.0-event -
../event7
lrwxrwxrwx 1 root root 9 14 mai   10:46 platform-i8042-serio-0-event-kbd -
../event0
lrwxrwxrwx 1 root root 9 14 mai   10:46 platform-i8042-serio-1-event-mouse -
../event5
lrwxrwxrwx 1 root root 9 14 mai   10:46 platform-i8042-serio-1-mouse - 
../mouse0
lrwxrwxrwx 1 root root 9 14 mai   10:46 platform-i8042-serio-4-event-mouse -
../event9
lrwxrwxrwx 1 root root 9 14 mai   10:46 platform-i8042-serio-4-mouse - 
../mouse1
lrwxrwxrwx 1 root root 9 14 mai   10:46 platform-lis3lv02d-event - ../event4
lrwxrwxrwx 1 root root 9 14 mai   10:46 platform-pcspkr-event-spkr - ../event6

P: /devices/LNXSYSTM:00/device:00/PNP0A08:00/LNXVIDEO:01/input/input10/event10
N: input/event10
S: input/by-path/platform-i8042-serio-4-event-mouse
E: UDEV_LOG=3
E:
DEVPATH=/devices/LNXSYSTM:00/device:00/PNP0A08:00/LNXVIDEO:01/input/input10/event10
E: MAJOR=13
E: MINOR=74
E: DEVNAME=/dev/input/event10
E: SUBSYSTEM=input
E: ID_INPUT=1
E: ID_INPUT_TOUCHPAD=1
E: ID_SERIAL=noserial
E: ID_PATH=platform-i8042-serio-4
E: DMI_VENDOR=Hewlett-Packard
E: DEVLINKS=/dev/input/by-path/platform-i8042-serio-4-event-mouse

This should be even event9

P: /devices/LNXSYSTM:00/device:00/PNP0C0E:00/input/input1/event1
N: input/event1
S: input/by-path/platform-pcspkr-event-spkr
E: UDEV_LOG=3
E: DEVPATH=/devices/LNXSYSTM:00/device:00/PNP0C0E:00/input/input1/event1
E: MAJOR=13
E: MINOR=65
E: DEVNAME=/dev/input/event1
E: SUBSYSTEM=input
E: ID_INPUT=1
E: ID_SERIAL=noserial
E: ID_PATH=platform-pcspkr
E: DMI_VENDOR=Hewlett-Packard
E: DEVLINKS=/dev/input/by-path/platform-pcspkr-event-spkr

This should be event6

P: /devices/pci:00/:00:1a.0/usb1/1-1/1-1.5/1-1.5:1.0/input/input7/event7
N: input/event7
S: input/by-path/platform-i8042-serio-1-event-mouse
E: UDEV_LOG=3
E:
DEVPATH=/devices/pci:00/:00:1a.0/usb1/1-1/1-1.5/1-1.5:1.0/input/input7/event7
E: MAJOR=13
E: MINOR=71
E: DEVNAME=/dev/input/event7
E: SUBSYSTEM=input
E: ID_INPUT=1
E: ID_INPUT_MOUSE=1
E: ID_SERIAL=noserial
E: ID_PATH=platform-i8042-serio-1
E: DMI_VENDOR=Hewlett-Packard
E: DEVLINKS=/dev/input/by-path/platform-i8042-serio-1-event-mouse

this should be event5

P: /devices/platform/i8042/serio1/input/input5/event5
N: input/event5
S: input/by-path/platform-lis3lv02d-event
E: UDEV_LOG=3
E: DEVPATH=/devices/platform/i8042/serio1/input/input5/event5
E: MAJOR=13
E: MINOR=69
E: DEVNAME=/dev/input/event5
E: SUBSYSTEM=input
E: ID_INPUT=1
E: ID_PATH=platform-lis3lv02d
E: DMI_VENDOR=Hewlett-Packard
E: DEVLINKS=/dev/input/by-path/platform-lis3lv02d-event

this should be event4

P: /devices/virtual/input/input8/event8
N: input/event8
S: input/by-path/platform-i8042-serio-1-event-mouse
E: UDEV_LOG=3
E: DEVPATH=/devices/virtual/input/input8/event8
E: MAJOR=13
E: MINOR=72
E: DEVNAME=/dev/input/event8
E: SUBSYSTEM=input
E: ID_INPUT=1
E: ID_INPUT_MOUSE=1
E: ID_SERIAL=noserial
E: ID_PATH=platform-i8042-serio-1
E: DMI_VENDOR=Hewlett-Packard
E: DEVLINKS=/dev/input/by-path/platform-i8042-serio-1-event-mouse

this should be event5. Note that we also already saw this DEVLINKS.

--
I: Bus=0011 Vendor=0001 Product=0001 Version=ab41
N: Name=AT Translated Set 2 keyboard
P: Phys=isa0060/serio0/input0
S: Sysfs=/devices/platform/i8042/serio0/input/input0
U: Uniq=
H: Handlers=sysrq kbd event0
B: PROP=0
B: EV=120013
B: KEY=2 200 20 0 0 0 0 500f 212 3803078 f900d401 fedf ffef
 fffe
B: MSC=10
B: LED=7

I: Bus=0019 Vendor= Product=0003 Version=
N: Name=Sleep Button
P: Phys=PNP0C0E/button/input0
S: Sysfs=/devices/LNXSYSTM:00/device:00/PNP0C0E:00/input/input1
U: Uniq=
H: Handlers=kbd event1
B: PROP=0
B: EV=3
B: KEY=4000 0 0 0 0

I: Bus=0019 Vendor= Product=0005 Version=
N: Name=Lid Switch
P: Phys=PNP0C0D/button/input0
S: Sysfs=/devices/LNXSYSTM:00/device:00/PNP0C0D:00/input/input2
U: Uniq=
H: Handlers=event2
B: PROP=0
B: EV=21
B: SW=1

I: Bus=0019 Vendor= Product=0001 Version=
N: Name=Power Button
P: Phys=LNXPWRBN/button/input0
S: Sysfs=/devices/LNXSYSTM:00/LNXPWRBN:00/input/input3
U: Uniq=
H: Handlers=kbd event3
B: PROP=0
B: EV=3
B: KEY=10 0 0 0

I: Bus=0019 Vendor= Product= Version=
N: Name=ST LIS3LV02DL Accelerometer
P: Phys=lis3lv02d/input0
S: Sysfs=/devices/platform/lis3lv02d/input/input4
U: Uniq=
H: Handlers=event4
B: PROP=0
B: EV=9
B: ABS=7

I: Bus=0011 Vendor=0002 Product=0001 Version=
N: Name=PS/2 Generic Mouse
P: Phys=isa0060/serio1/input0
S: Sysfs=/devices/platform/i8042/serio1/input/input5
U: Uniq=
H: Handlers=mouse0 event5
B: PROP=0
B: EV=7
B: KEY=7 0 0 0 

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

2011-05-14 Thread Matthieu Castet
The value reported by reportdump seems wrong (check devlink reported and the 
real one in /dev) :

$ ls -l /dev/input/by-path/
total 0
lrwxrwxrwx 1 root root 9 14 mai   10:46 pci-:00:1a.0-usb-0:1.5:1.0-event - 
../event7
lrwxrwxrwx 1 root root 9 14 mai   10:46 platform-i8042-serio-0-event-kbd - 
../event0
lrwxrwxrwx 1 root root 9 14 mai   10:46 platform-i8042-serio-1-event-mouse - 
../event5
lrwxrwxrwx 1 root root 9 14 mai   10:46 platform-i8042-serio-1-mouse - 
../mouse0
lrwxrwxrwx 1 root root 9 14 mai   10:46 platform-i8042-serio-4-event-mouse - 
../event9
lrwxrwxrwx 1 root root 9 14 mai   10:46 platform-i8042-serio-4-mouse - 
../mouse1
lrwxrwxrwx 1 root root 9 14 mai   10:46 platform-lis3lv02d-event - ../event4
lrwxrwxrwx 1 root root 9 14 mai   10:46 platform-pcspkr-event-spkr - ../event6

P: /devices/LNXSYSTM:00/device:00/PNP0A08:00/LNXVIDEO:01/input/input10/event10
N: input/event10
S: input/by-path/platform-i8042-serio-4-event-mouse
E: UDEV_LOG=3
E: 
DEVPATH=/devices/LNXSYSTM:00/device:00/PNP0A08:00/LNXVIDEO:01/input/input10/event10
E: MAJOR=13
E: MINOR=74
E: DEVNAME=/dev/input/event10
E: SUBSYSTEM=input
E: ID_INPUT=1
E: ID_INPUT_TOUCHPAD=1
E: ID_SERIAL=noserial
E: ID_PATH=platform-i8042-serio-4
E: DMI_VENDOR=Hewlett-Packard
E: DEVLINKS=/dev/input/by-path/platform-i8042-serio-4-event-mouse

This should be even event9

P: /devices/LNXSYSTM:00/device:00/PNP0C0E:00/input/input1/event1
N: input/event1
S: input/by-path/platform-pcspkr-event-spkr
E: UDEV_LOG=3
E: DEVPATH=/devices/LNXSYSTM:00/device:00/PNP0C0E:00/input/input1/event1
E: MAJOR=13
E: MINOR=65
E: DEVNAME=/dev/input/event1
E: SUBSYSTEM=input
E: ID_INPUT=1
E: ID_SERIAL=noserial
E: ID_PATH=platform-pcspkr
E: DMI_VENDOR=Hewlett-Packard
E: DEVLINKS=/dev/input/by-path/platform-pcspkr-event-spkr

This should be event6

P: /devices/pci:00/:00:1a.0/usb1/1-1/1-1.5/1-1.5:1.0/input/input7/event7
N: input/event7
S: input/by-path/platform-i8042-serio-1-event-mouse
E: UDEV_LOG=3
E: 
DEVPATH=/devices/pci:00/:00:1a.0/usb1/1-1/1-1.5/1-1.5:1.0/input/input7/event7
E: MAJOR=13
E: MINOR=71
E: DEVNAME=/dev/input/event7
E: SUBSYSTEM=input
E: ID_INPUT=1
E: ID_INPUT_MOUSE=1
E: ID_SERIAL=noserial
E: ID_PATH=platform-i8042-serio-1
E: DMI_VENDOR=Hewlett-Packard
E: DEVLINKS=/dev/input/by-path/platform-i8042-serio-1-event-mouse

this should be event5

P: /devices/platform/i8042/serio1/input/input5/event5
N: input/event5
S: input/by-path/platform-lis3lv02d-event
E: UDEV_LOG=3
E: DEVPATH=/devices/platform/i8042/serio1/input/input5/event5
E: MAJOR=13
E: MINOR=69
E: DEVNAME=/dev/input/event5
E: SUBSYSTEM=input
E: ID_INPUT=1
E: ID_PATH=platform-lis3lv02d
E: DMI_VENDOR=Hewlett-Packard
E: DEVLINKS=/dev/input/by-path/platform-lis3lv02d-event

this should be event4

P: /devices/virtual/input/input8/event8
N: input/event8
S: input/by-path/platform-i8042-serio-1-event-mouse
E: UDEV_LOG=3
E: DEVPATH=/devices/virtual/input/input8/event8
E: MAJOR=13
E: MINOR=72
E: DEVNAME=/dev/input/event8
E: SUBSYSTEM=input
E: ID_INPUT=1
E: ID_INPUT_MOUSE=1
E: ID_SERIAL=noserial
E: ID_PATH=platform-i8042-serio-1
E: DMI_VENDOR=Hewlett-Packard
E: DEVLINKS=/dev/input/by-path/platform-i8042-serio-1-event-mouse

this should be event5. Note that we also already saw this DEVLINKS.


I: Bus=0011 Vendor=0001 Product=0001 Version=ab41
N: Name=AT Translated Set 2 keyboard
P: Phys=isa0060/serio0/input0
S: Sysfs=/devices/platform/i8042/serio0/input/input0
U: Uniq=
H: Handlers=sysrq kbd event0 
B: PROP=0
B: EV=120013
B: KEY=2 200 20 0 0 0 0 500f 212 3803078 f900d401 fedf ffef 
 fffe
B: MSC=10
B: LED=7

I: Bus=0019 Vendor= Product=0003 Version=
N: Name=Sleep Button
P: Phys=PNP0C0E/button/input0
S: Sysfs=/devices/LNXSYSTM:00/device:00/PNP0C0E:00/input/input1
U: Uniq=
H: Handlers=kbd event1 
B: PROP=0
B: EV=3
B: KEY=4000 0 0 0 0

I: Bus=0019 Vendor= Product=0005 Version=
N: Name=Lid Switch
P: Phys=PNP0C0D/button/input0
S: Sysfs=/devices/LNXSYSTM:00/device:00/PNP0C0D:00/input/input2
U: Uniq=
H: Handlers=event2 
B: PROP=0
B: EV=21
B: SW=1

I: Bus=0019 Vendor= Product=0001 Version=
N: Name=Power Button
P: Phys=LNXPWRBN/button/input0
S: Sysfs=/devices/LNXSYSTM:00/LNXPWRBN:00/input/input3
U: Uniq=
H: Handlers=kbd event3 
B: PROP=0
B: EV=3
B: KEY=10 0 0 0

I: Bus=0019 Vendor= Product= Version=
N: Name=ST LIS3LV02DL Accelerometer
P: Phys=lis3lv02d/input0
S: Sysfs=/devices/platform/lis3lv02d/input/input4
U: Uniq=
H: Handlers=event4 
B: PROP=0
B: EV=9
B: ABS=7

I: Bus=0011 Vendor=0002 Product=0001 Version=
N: Name=PS/2 Generic Mouse
P: Phys=isa0060/serio1/input0
S: Sysfs=/devices/platform/i8042/serio1/input/input5
U: Uniq=
H: Handlers=mouse0 event5 
B: PROP=0
B: EV=7
B: KEY=7 0 0 0 0 0 0 0 0
B: REL=3

I: Bus=0010 Vendor=001f Product=0001 Version=0100
N: Name=PC Speaker
P: Phys=isa0061/input0
S: Sysfs=/devices/platform/pcspkr/input/input6
U: Uniq=
H: Handlers=kbd event6 
B: PROP=0
B: EV=40001
B: SND=6

I: Bus=0003 Vendor=04f2 

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

2011-05-12 Thread Matthieu CASTET
Hi,


Julien Cristau a écrit :
 On Tue, May 10, 2011 at 13:34:33 +0200, Matthieu CASTET wrote:
 
 P: /devices/platform/i8042/serio4/input/input8/event8
 N: input/event8
 E: UDEV_LOG=3
 E: DEVPATH=/devices/platform/i8042/serio4/input/input8/event8
 E: MAJOR=13
 E: MINOR=72
 E: DEVNAME=/dev/input/event8
 E: SUBSYSTEM=input
 E: ID_INPUT=1
 E: ID_INPUT_KEY=1
 E: XKBMODEL=pc105
 E: XKBLAYOUT=fr
 E: XKBVARIANT=latin9
 E: DMI_VENDOR=Hewlett-Packard

 P: /devices/platform/i8042/serio4/input/input8/mouse1
 N: input/mouse1
 S: input/by-path/platform-i8042-serio-4-mouse
 E: UDEV_LOG=3
 E: DEVPATH=/devices/platform/i8042/serio4/input/input8/mouse1
 E: MAJOR=13
 E: MINOR=33
 E: DEVNAME=/dev/input/mouse1
 E: SUBSYSTEM=input
 E: ID_INPUT=1
 E: ID_INPUT_TOUCHPAD=1
 E: ID_SERIAL=noserial
 E: ID_PATH=platform-i8042-serio-4
 E: DEVLINKS=/dev/input/by-path/platform-i8042-serio-4-mouse

 This bit is suspicious, there shouldn't be different capabilities for
 the mouseX and eventX device nodes corresponding to the same physical
 device.
What can be done to help debugging that ?


Matthieu



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



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

2011-05-10 Thread Matthieu CASTET
Package: xserver-xorg-core
Version: 2:1.10.1-2
Severity: important

Hi,

/usr/share/X11/xorg.conf.d/50-synaptics.conf doesn't catch my touchpad, because 
it is catched by
MatchIsKeyboard and not MatchIsTouchpad.

See the 
[19.761] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad 
(/dev/input/event8)
[19.761] (**) SynPS/2 Synaptics TouchPad: Applying InputClass evdev 
keyboard a catchall
[19.761] (II) Using input driver 'evdev' for 'SynPS/2 Synaptics TouchPad'


Matthieu

-- Package-specific info:
X server symlink status:

lrwxrwxrwx 1 root root 13 May  7 23:53 /etc/X11/X - /usr/bin/Xorg
-rwxr-xr-x 1 root root 2018824 May  1 12:21 /usr/bin/Xorg

VGA-compatible devices on PCI bus:
--
00:02.0 VGA compatible controller [0300]: Intel Corporation Core Processor 
Integrated Graphics Controller [8086:0046] (rev 02)

/etc/X11/xorg.conf does not exist.

/etc/X11/xorg.conf.d does not exist.

KMS configuration files:

/etc/modprobe.d/i915-kms.conf:
  options i915 modeset=1
/etc/modprobe.d/radeon-kms.conf:
  options radeon modeset=1

Kernel version (/proc/version):
---
Linux version 2.6.38-2-amd64 (Debian 2.6.38-4) (b...@decadent.org.uk) (gcc 
version 4.4.6 (Debian 4.4.6-2) ) #1 SMP Sat Apr 23 20:23:42 UTC 2011

Xorg X server log files on system:
--
-rw-r--r-- 1 root root 33876 May 10 13:24 /var/log/Xorg.0.log

Contents of most recent Xorg X server log file (/var/log/Xorg.0.log):
-
[16.937] 
X.Org X Server 1.10.1
Release Date: 2011-04-15
[16.937] X Protocol Version 11, Revision 0
[16.937] Build Operating System: Linux 2.6.32-5-686-bigmem i686 Debian
[16.937] Current Operating System: Linux pioupiou 2.6.38-2-amd64 #1 SMP Sat 
Apr 23 20:23:42 UTC 2011 x86_64
[16.937] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-2.6.38-2-amd64 
root=UUID=547c10a7-c0de-4be7-bfae-e5cb98e7f8bd ro quiet
[16.937] Build Date: 01 May 2011  10:14:44AM
[16.937] xorg-server 2:1.10.1-2 (Julien Cristau jcris...@debian.org) 
[16.937] Current version of pixman: 0.21.8
[16.937]Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[16.937] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[16.938] (==) Log file: /var/log/Xorg.0.log, Time: Tue May 10 13:18:46 
2011
[16.976] (==) Using system config directory /usr/share/X11/xorg.conf.d
[17.014] (==) No Layout section.  Using the first Screen section.
[17.014] (==) No screen section available. Using defaults.
[17.014] (**) |--Screen Default Screen Section (0)
[17.014] (**) |   |--Monitor default monitor
[17.014] (==) No monitor specified for screen Default Screen Section.
Using a default monitor configuration.
[17.014] (==) Automatically adding devices
[17.014] (==) Automatically enabling devices
[17.060] (WW) The directory /usr/share/fonts/X11/cyrillic does not exist.
[17.060]Entry deleted from font path.
[17.163] (WW) `fonts.dir' not found (or not valid) in 
/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType.
[17.163]Entry deleted from font path.
[17.163](Run 'mkfontdir' on 
/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType).
[17.163] (==) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/100dpi/:unscaled,
/usr/share/fonts/X11/75dpi/:unscaled,
/usr/share/fonts/X11/Type1,
/usr/share/fonts/X11/100dpi,
/usr/share/fonts/X11/75dpi,
built-ins
[17.163] (==) ModulePath set to /usr/lib/xorg/modules
[17.163] (II) The server relies on udev to provide the list of input 
devices.
If no devices become available, reconfigure udev or disable 
AutoAddDevices.
[17.163] (II) Loader magic: 0x8232ac0
[17.163] (II) Module ABI versions:
[17.163]X.Org ANSI C Emulation: 0.4
[17.163]X.Org Video Driver: 10.0
[17.163]X.Org XInput driver : 12.2
[17.163]X.Org Server Extension : 5.0
[17.164] (--) PCI:*(0:0:2:0) 8086:0046:103c:7008 rev 2, Mem @ 
0x9000/4194304, 0x8000/268435456, I/O @ 0x5058/8
[17.164] (II) Open ACPI successful (/var/run/acpid.socket)
[17.164] (II) LoadModule: extmod
[17.216] (II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
[17.227] (II) Module extmod: vendor=X.Org Foundation
[17.227]compiled for 1.10.1, module version = 1.0.0
[17.227]Module class: X.Org Server Extension
[17.227]ABI class: X.Org Server Extension, version 5.0
[17.227] (II) Loading extension SELinux
[17.227] (II) Loading extension MIT-SCREEN-SAVER
[17.227] (II) Loading extension 

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

2011-05-10 Thread Cyril Brulebois
Hi Matthieu.

Matthieu CASTET matthieu.cas...@parrot.com (10/05/2011):
 Package: xserver-xorg-core
 Version: 2:1.10.1-2
 Severity: important
 
 Hi,
 
 /usr/share/X11/xorg.conf.d/50-synaptics.conf doesn't catch my
 touchpad, because it is catched by MatchIsKeyboard and not
 MatchIsTouchpad.
 
 See the 
 [19.761] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad 
 (/dev/input/event8)
 [19.761] (**) SynPS/2 Synaptics TouchPad: Applying InputClass evdev 
 keyboard a catchall
 [19.761] (II) Using input driver 'evdev' for 'SynPS/2 Synaptics TouchPad'

That string looks suspicious. Did you edit those files?
$ grep 'evdev keyboard a catchall' /usr/share/X11/xorg.conf.d/*
$

If so, please try reinstalling the affected packages?
$ dlocate /usr/share/X11/xorg.conf.d/
xserver-xorg-input-synaptics: /usr/share/X11/xorg.conf.d/50-synaptics.conf
xserver-xorg-core: /usr/share/X11/xorg.conf.d/10-evdev.conf

Otherwise, please attach those files.

Mraw,
KiBi.


signature.asc
Description: Digital signature


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

2011-05-10 Thread Matthieu CASTET
Hi,

Cyril Brulebois a écrit :
 Hi Matthieu.
 
 Matthieu CASTET matthieu.cas...@parrot.com (10/05/2011):
 Package: xserver-xorg-core
 Version: 2:1.10.1-2
 Severity: important

 Hi,

 /usr/share/X11/xorg.conf.d/50-synaptics.conf doesn't catch my
 touchpad, because it is catched by MatchIsKeyboard and not
 MatchIsTouchpad.

 See the 
 [19.761] (II) config/udev: Adding input device SynPS/2 Synaptics 
 TouchPad (/dev/input/event8)
 [19.761] (**) SynPS/2 Synaptics TouchPad: Applying InputClass evdev 
 keyboard a catchall
 [19.761] (II) Using input driver 'evdev' for 'SynPS/2 Synaptics TouchPad'
 
 That string looks suspicious. Did you edit those files?
yes, for checking that X that using these files.

 If so, please try reinstalling the affected packages?
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.

I attach new Xorg log.


Matthieu
[  6805.517] 
X.Org X Server 1.10.1
Release Date: 2011-04-15
[  6805.517] X Protocol Version 11, Revision 0
[  6805.517] Build Operating System: Linux 2.6.32-5-686-bigmem i686 Debian
[  6805.517] Current Operating System: Linux pioupiou 2.6.38-2-amd64 #1 SMP Sat 
Apr 23 20:23:42 UTC 2011 x86_64
[  6805.517] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-2.6.38-2-amd64 
root=UUID=547c10a7-c0de-4be7-bfae-e5cb98e7f8bd ro quiet
[  6805.517] Build Date: 01 May 2011  10:14:44AM
[  6805.517] xorg-server 2:1.10.1-2 (Julien Cristau jcris...@debian.org) 
[  6805.517] Current version of pixman: 0.21.8
[  6805.517]Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[  6805.517] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  6805.517] (==) Log file: /var/log/Xorg.0.log, Time: Tue May 10 15:11:54 
2011
[  6805.517] (==) Using system config directory /usr/share/X11/xorg.conf.d
[  6805.517] (==) No Layout section.  Using the first Screen section.
[  6805.517] (==) No screen section available. Using defaults.
[  6805.517] (**) |--Screen Default Screen Section (0)
[  6805.517] (**) |   |--Monitor default monitor
[  6805.518] (==) No monitor specified for screen Default Screen Section.
Using a default monitor configuration.
[  6805.518] (==) Automatically adding devices
[  6805.518] (==) Automatically enabling devices
[  6805.518] (WW) The directory /usr/share/fonts/X11/cyrillic does not exist.
[  6805.518]Entry deleted from font path.
[  6805.518] (WW) `fonts.dir' not found (or not valid) in 
/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType.
[  6805.518]Entry deleted from font path.
[  6805.518](Run 'mkfontdir' on 
/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType).
[  6805.518] (==) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/100dpi/:unscaled,
/usr/share/fonts/X11/75dpi/:unscaled,
/usr/share/fonts/X11/Type1,
/usr/share/fonts/X11/100dpi,
/usr/share/fonts/X11/75dpi,
built-ins
[  6805.518] (==) ModulePath set to /usr/lib/xorg/modules
[  6805.518] (II) The server relies on udev to provide the list of input 
devices.
If no devices become available, reconfigure udev or disable 
AutoAddDevices.
[  6805.518] (II) Loader magic: 0x8232ac0
[  6805.518] (II) Module ABI versions:
[  6805.518]X.Org ANSI C Emulation: 0.4
[  6805.518]X.Org Video Driver: 10.0
[  6805.518]X.Org XInput driver : 12.2
[  6805.518]X.Org Server Extension : 5.0
[  6805.519] (--) PCI:*(0:0:2:0) 8086:0046:103c:7008 rev 2, Mem @ 
0x9000/4194304, 0x8000/268435456, I/O @ 0x5058/8
[  6805.519] (II) Open ACPI successful (/var/run/acpid.socket)
[  6805.519] (II) LoadModule: extmod
[  6805.519] (II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
[  6805.520] (II) Module extmod: vendor=X.Org Foundation
[  6805.520]compiled for 1.10.1, module version = 1.0.0
[  6805.520]Module class: X.Org Server Extension
[  6805.520]ABI class: X.Org Server Extension, version 5.0
[  6805.520] (II) Loading extension SELinux
[  6805.520] (II) Loading extension MIT-SCREEN-SAVER
[  6805.520] (II) Loading extension XFree86-VidModeExtension
[  6805.520] (II) Loading extension XFree86-DGA
[  6805.520] (II) Loading extension DPMS
[  6805.520] (II) 

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

2011-05-10 Thread Cyril Brulebois
Hi again,

Matthieu CASTET matthieu.cas...@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.


signature.asc
Description: Digital signature


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

2011-05-10 Thread Matthieu CASTET
Cyril Brulebois a écrit :
 Hi again,
 
 Matthieu CASTET matthieu.cas...@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).
 
What's weird is that after rebooting the other mouse is now seen as keyboard
(was pointer before).

[  6806.156] (II) config/udev: Adding input device PS/2 Generic Mouse (/dev/inpu
t/event7)
[  6806.156] (**) PS/2 Generic Mouse: Applying InputClass evdev pointer catchal
l
[  6806.156] (II) Using input driver 'evdev' for 'PS/2 Generic Mouse'

vs

[   910.270] (II) config/udev: Adding input device PS/2 Generic Mouse (/dev/inpu
t/event8)
[   910.270] (**) PS/2 Generic Mouse: Applying InputClass evdev keyboard catcha
ll
[   910.270] (II) Using input driver 'evdev' for 'PS/2 Generic Mouse'

[   910.272] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad
(/dev/input/event9)
[   910.272] (II) No input driver/identifier specified (ignoring)

but udev seems fine :

UDEV_LOG=6
DEVPATH=/devices/platform/i8042/serio1/input/input8/event8
MAJOR=13
MINOR=72
DEVNAME=/dev/input/event8
ACTION=add
SUBSYSTEM=input
ID_INPUT=1
ID_INPUT_MOUSE=1
.INPUT_CLASS=mouse
ID_SERIAL=noserial
ID_PATH=platform-i8042-serio-1
DEVLINKS=/dev/input/by-path/platform-i8042-serio-1-event-mouse
DMI_VENDOR=Hewlett-Packard

UDEV_LOG=6
DEVPATH=/devices/platform/i8042/serio4/input/input9/event9
MAJOR=13
MINOR=73
DEVNAME=/dev/input/event9
ACTION=add
SUBSYSTEM=input
ID_INPUT=1
ID_INPUT_TOUCHPAD=1
.INPUT_CLASS=mouse
ID_SERIAL=noserial
ID_PATH=platform-i8042-serio-4
DEVLINKS=/dev/input/by-path/platform-i8042-serio-4-event-mouse
DMI_VENDOR=Hewlett-Packard


Matthieu
[   909.601] 
X.Org X Server 1.10.1
Release Date: 2011-04-15
[   909.601] X Protocol Version 11, Revision 0
[   909.601] Build Operating System: Linux 2.6.32-5-686-bigmem i686 Debian
[   909.601] Current Operating System: Linux pioupiou 2.6.38-2-amd64 #1 SMP Sat 
Apr 23 20:23:42 UTC 2011 x86_64
[   909.601] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-2.6.38-2-amd64 
root=UUID=547c10a7-c0de-4be7-bfae-e5cb98e7f8bd ro quiet
[   909.601] Build Date: 01 May 2011  10:14:44AM
[   909.601] xorg-server 2:1.10.1-2 (Julien Cristau jcris...@debian.org) 
[   909.601] Current version of pixman: 0.21.8
[   909.601]Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[   909.601] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   909.601] (==) Log file: /var/log/Xorg.0.log, Time: Tue May 10 15:46:00 
2011
[   909.601] (==) Using system config directory /usr/share/X11/xorg.conf.d
[   909.601] (==) No Layout section.  Using the first Screen section.
[   909.601] (==) No screen section available. Using defaults.
[   909.601] (**) |--Screen Default Screen Section (0)
[   909.601] (**) |   |--Monitor default monitor
[   909.601] (==) No monitor specified for screen Default Screen Section.
Using a default monitor configuration.
[   909.601] (==) Automatically adding devices
[   909.601] (==) Automatically enabling devices
[   909.602] (WW) The directory /usr/share/fonts/X11/cyrillic does not exist.
[   909.602]Entry deleted from font path.
[   909.602] (WW) `fonts.dir' not found (or not valid) in 
/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType.
[   909.602]Entry deleted from font path.
[   909.602](Run 'mkfontdir' on 
/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType).
[   909.602] (==) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/100dpi/:unscaled,
/usr/share/fonts/X11/75dpi/:unscaled,
/usr/share/fonts/X11/Type1,
/usr/share/fonts/X11/100dpi,
/usr/share/fonts/X11/75dpi,
built-ins
[   909.602] (==) ModulePath set to /usr/lib/xorg/modules
[   909.602] (II) The server relies on udev to provide the list of input 
devices.
  

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

2011-05-10 Thread Julien Cristau
On Tue, May 10, 2011 at 13:34:33 +0200, Matthieu CASTET wrote:

 P: /devices/platform/i8042/serio4/input/input8/event8
 N: input/event8
 E: UDEV_LOG=3
 E: DEVPATH=/devices/platform/i8042/serio4/input/input8/event8
 E: MAJOR=13
 E: MINOR=72
 E: DEVNAME=/dev/input/event8
 E: SUBSYSTEM=input
 E: ID_INPUT=1
 E: ID_INPUT_KEY=1
 E: XKBMODEL=pc105
 E: XKBLAYOUT=fr
 E: XKBVARIANT=latin9
 E: DMI_VENDOR=Hewlett-Packard
 
 P: /devices/platform/i8042/serio4/input/input8/mouse1
 N: input/mouse1
 S: input/by-path/platform-i8042-serio-4-mouse
 E: UDEV_LOG=3
 E: DEVPATH=/devices/platform/i8042/serio4/input/input8/mouse1
 E: MAJOR=13
 E: MINOR=33
 E: DEVNAME=/dev/input/mouse1
 E: SUBSYSTEM=input
 E: ID_INPUT=1
 E: ID_INPUT_TOUCHPAD=1
 E: ID_SERIAL=noserial
 E: ID_PATH=platform-i8042-serio-4
 E: DEVLINKS=/dev/input/by-path/platform-i8042-serio-4-mouse
 
This bit is suspicious, there shouldn't be different capabilities for
the mouseX and eventX device nodes corresponding to the same physical
device.

Cheers,
Julien



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org