You are not logged in.

#1 2011-04-28 12:29:00

Larsson
Member
From: Sweden
Registered: 2010-03-22
Posts: 156

[SOLVED] Touchpad detected as keyboard

Since some week back, most probably because of some update my touchpad stopped working correctly. It's like all the extra functions are gone since there is no scrolling, no tapfunction, and it's extremly sensitive.
I've read some of the threads on the forum and tried the solutions but found nothing to work. What I've tried:

1. Comment out the touchpad in /etx/X11/xorg.conf.d/10-evdev.conf
2. Remove /etc/X11/xorg.conf
3. Update udev to 168
4. None of the changes I make to /etc/X11/xorg.conf.d/10-synaptics.conf seem to have any effect at all on the touchpad.

The configuration now is:

/etc/X11/xorg.conf.d/10-evdev.conf

Section "InputClass"
        Identifier "evdev pointer catchall"
        MatchIsPointer "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
EndSection

Section "InputClass"
        Identifier "evdev keyboard catchall"
        MatchIsKeyboard "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
EndSection

Section "InputClass"
        Identifier "evdev touchpad catchall"
        MatchIsTouchpad "on"
        MatchDevicePath "/dev/input/event*"
        Driver "synaptic"
EndSection

Section "InputClass"
        Identifier "evdev tablet catchall"
        MatchIsTablet "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
EndSection

Section "InputClass"
        Identifier "evdev touchscreen catchall"
        MatchIsTouchscreen "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
EndSection

/etx/X11/xorg.conf.d/10-synaptic.conf

Section "InputClass"
        Identifier "touchpad catchall"
        Driver "synaptics"
        MatchDevicePath "/dev/input/event*"
        MatchIsTouchpad "on"
        Option "TapButton1" "1"
        Option "TapButton2" "2"
        Option "TapButton3" "3"
    Option "VertEdgeScroll" "on"
EndSection

And the lines from xorg log containing synaptic:

[   705.427] (II) config/udev: Adding input device Sleep Button (/dev/input/event4)
[   705.427] (**) Sleep Button: Applying InputClass "evdev touchpad catchall"
[   705.427] (**) Sleep Button: Applying InputClass "touchpad catchall"
[   705.427] (II) LoadModule: "synaptics"
[   705.428] (II) Loading /usr/lib/xorg/modules/input/synaptics_drv.so
[   705.428] (II) Module synaptics: vendor="X.Org Foundation"
[   705.428]     compiled for 1.10.0, module version = 1.4.0
[   705.428]     Module class: X.Org XInput Driver
[   705.428]     ABI class: X.Org XInput driver, version 12.2
[   705.428] (II) Using input driver 'synaptics' for 'Sleep Button'
[   705.428] (II) Loading /usr/lib/xorg/modules/input/synaptics_drv.so
[   705.428] (**) Sleep Button: always reports core events
[   705.428] (**) Option "Device" "/dev/input/event4"
[   705.560] (--) Sleep Button: invalid x-axis range.  defaulting to 1615 - 5685
[   705.560] (--) Sleep Button: invalid y-axis range.  defaulting to 1729 - 4171
[   705.560] (--) Sleep Button: invalid pressure range.  defaulting to 0 - 256
[   705.560] (--) Sleep Button: invalid finger width range.  defaulting to 0 - 16
[   705.560] (**) Option "VertEdgeScroll" "on"
[   705.560] (**) Option "TapButton1" "1"
[   705.560] (**) Option "TapButton2" "2"
[   705.560] (**) Option "TapButton3" "3"
[   705.666] (--) Sleep Button: no supported touchpad found
[   705.666] (EE) Sleep Button Unable to query/initialize Synaptics hardware.
[   705.720] (EE) PreInit returned 11 for "Sleep Button"
[   705.720] (II) UnloadModule: "synaptics"
[   705.720] (II) Unloading synaptics
...
[   705.827] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/event7)
[   705.827] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "evdev keyboard catchall"
[   705.827] (II) Using input driver 'evdev' for 'SynPS/2 Synaptics TouchPad'
[   705.827] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[   705.827] (**) SynPS/2 Synaptics TouchPad: always reports core events
[   705.827] (**) SynPS/2 Synaptics TouchPad: Device: "/dev/input/event7"
[   705.853] (--) SynPS/2 Synaptics TouchPad: Found 3 mouse buttons
[   705.853] (--) SynPS/2 Synaptics TouchPad: Found absolute axes
[   705.853] (--) SynPS/2 Synaptics TouchPad: Found x and y absolute axes
[   705.853] (--) SynPS/2 Synaptics TouchPad: Found absolute touchpad.
[   705.853] (II) SynPS/2 Synaptics TouchPad: Configuring as touchpad
[   705.853] (**) SynPS/2 Synaptics TouchPad: YAxisMapping: buttons 4 and 5
[   705.853] (**) SynPS/2 Synaptics TouchPad: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[   705.853] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio1/input/input7/event7"
[   705.853] (II) XINPUT: Adding extended input device "SynPS/2 Synaptics TouchPad" (type: TOUCHPAD)
[   705.853] (II) SynPS/2 Synaptics TouchPad: initialized for absolute axes.
[   705.853] (**) SynPS/2 Synaptics TouchPad: (accel) keeping acceleration scheme 1
[   705.853] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration profile 0
[   705.853] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration factor: 2.000
[   705.853] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration threshold: 4
[   705.854] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/mouse0)
[   705.854] (II) No input driver/identifier specified (ignoring)
[   705.854] (II) config/udev: Adding input device PC Speaker (/dev/input/event1)
[   705.854] (II) No input driver/identifier specified (ignoring)

Last edited by Larsson (2011-04-29 12:09:08)


"If the person you are talking to doesn't appear to be listening, be patient. It may simply be that he has a small piece of fluff in his ear." - A.A. Milne (Winnie-the-Pooh)

Offline

#2 2011-04-28 23:10:35

Austin25
Member
Registered: 2011-04-28
Posts: 35

Re: [SOLVED] Touchpad detected as keyboard

Thank you. I had this same problem, and that fixed it.


Huh, that actually worked. Neat-o.

Offline

#3 2011-04-29 05:51:57

Larsson
Member
From: Sweden
Registered: 2010-03-22
Posts: 156

Re: [SOLVED] Touchpad detected as keyboard

Since I'm still having the problem, can you tell me what you did to fix it?


"If the person you are talking to doesn't appear to be listening, be patient. It may simply be that he has a small piece of fluff in his ear." - A.A. Milne (Winnie-the-Pooh)

Offline

#4 2011-04-29 06:18:42

Larsson
Member
From: Sweden
Registered: 2010-03-22
Posts: 156

Re: [SOLVED] Touchpad detected as keyboard

I think I have found the problem, this section from /etc/X11/xorg.conf.d/10-evdev.conf iss applied to the touchpad and not  /etc/X11/xorg.conf.d/10-synaptics.conf, and thus loading evdev instead of synaptic.

Section "InputClass"
        Identifier "evdev keyboard catchall"
        MatchIsKeyboard "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
EndSection

Is there any way to force the configuration to use synaptics driver for my touchpad?


"If the person you are talking to doesn't appear to be listening, be patient. It may simply be that he has a small piece of fluff in his ear." - A.A. Milne (Winnie-the-Pooh)

Offline

#5 2011-04-29 12:08:04

Larsson
Member
From: Sweden
Registered: 2010-03-22
Posts: 156

Re: [SOLVED] Touchpad detected as keyboard

Temporarily solved the problem. It was as I suspected, the touchpad was detected as a keyboard and therefor loaded the evdev driver as seen in xorg.log. So I changed the /etx/X11/xorg.conf.d/10-synaptic.conf to match keyboard instead and only for the specific event named in xorg.log. 

So /etx/X11/xorg.conf.d/10-synaptic.conf:

Section "InputClass"
        Identifier "touchpad catchall"
        Driver "synaptics"
        MatchIsKeyboard "on"
        MatchDevicePath "/dev/input/event7"
        Option "TapButton1" "1"
        Option "TapButton2" "2"
        Option "TapButton3" "3
        Option "VertEdgeScroll" "on"
EndSection

Last edited by Larsson (2011-04-29 12:08:21)


"If the person you are talking to doesn't appear to be listening, be patient. It may simply be that he has a small piece of fluff in his ear." - A.A. Milne (Winnie-the-Pooh)

Offline

#6 2011-04-29 18:05:09

Austin25
Member
Registered: 2011-04-28
Posts: 35

Re: [SOLVED] Touchpad detected as keyboard

Yeah, I'm sorry. It has been randomly picking between the synaptics driver, the evdev driver, and either both or neither(I didn't check yet). I tried what you said in the first post, it loaded the synaptics dirve, and I jumped to conclusions. I didn't have time to post my mistake untill now.

edit: I tried what you did in the last post, and it works (I rebooted this time) . The only thing is, the device file changes (/dev/input/event8 to /dev/input/event9, etc) on reboot. Would it be possible to write a udev rule to bind it to a specific file?

edit 2: Upon updating, it seems to have fixed itself. Good job, developers!

Last edited by Austin25 (2011-05-05 01:36:10)


Huh, that actually worked. Neat-o.

Offline

#7 2011-09-18 15:15:51

delerious010
Member
From: Montreal
Registered: 2008-10-07
Posts: 72

Re: [SOLVED] Touchpad detected as keyboard

Just wanted to add to this post, since it helped me get my touchpad detected.

I had a bit of on issue figuring out which event my touchpad was being reported as on my Air 4.2. Ran across the gentoo wiki : http://en.gentoo-wiki.com/wiki/Synaptics_Touchpad#X.Org

# Determine which events are reported as mice
1. cat /proc/bus/input/devices | grep mouse
# Determine which device is the touchpad
2. cat /dev/mouse/mouse0

The corresponding event for the mouse device that provides output on the terminal is the one to use. In my case, it's event6.

Last edited by delerious010 (2011-09-24 01:51:37)

Offline

Board footer

Powered by FluxBB