Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
evdev controls elantech buttons but not touchpad
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
twobirdstone
n00b
n00b


Joined: 18 Dec 2013
Posts: 5

PostPosted: Thu Jul 03, 2014 4:19 am    Post subject: evdev controls elantech buttons but not touchpad Reply with quote

If at all possible, I want to use the kernel driver elantech and the xorg driver evdev to handle my elantech touchpad.

The system is a new gentoo build from min install cd
hw: samsung 300E5C laptop with both a usb mouse and a usbkeyboard attached
sw: gentoo 3.12.21 amd
Xorg 1.15.0

I'm only trying to configure Xorg right now (no window manager yet).

In the past, I've used a psmouse module and loaded it. However, evdev should drive the touchpad
if the kernel has the elantech driver built into it (my kernel does -see the makemenu.conf below).

My Questions:
1-How can I use the evdev driver to fully operate my elantech touchpad?

2-Is my understanding of how the Xorg and kernel drivers interact correct?
kernel driver (elantech) -> Xorg virtual pointer -> Xorg driver for kernel driver (evdev)

3-Is it legitimate that Xorg loads evdev twice for the _same_ touchpad?

Clues:
A) It seems Xorg 1.15.0 is loading the evdev driver for the Elantech Touchpad twice:

once as /dev/input/event7 -which appears to fully recognize all the Elantech capabilities
and once as /dev/input/mouse0 -which Xorg claims it has no declared drivers and ignores it.

B) xev shows the elantech buttons working but nothing for the touchpad
c) when I change the Driver "evdev" to "elantech", not even the buttons work in xev

Here is 10-evdev.conf from /usr/share/X11/xorg.conf.d (the only file in this directory):
Code:

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 "evdev"
EndSection


Xorg log:
Code:

[  7333.678] (II) config/udev: Adding input device ETPS/2 Elantech Touchpad (/dev/input/event7)
[  7333.678] (**) ETPS/2 Elantech Touchpad: Applying InputClass "evdev touchpad catchall"
[  7333.678] (II) Using input driver 'evdev' for 'ETPS/2 Elantech Touchpad'
[  7333.678] (**) ETPS/2 Elantech Touchpad: always reports core events
[  7333.678] (**) evdev: ETPS/2 Elantech Touchpad: Device: "/dev/input/event7"
[  7333.678] (II) evdev: ETPS/2 Elantech Touchpad: Using mtdev for this device
[  7333.678] (--) evdev: ETPS/2 Elantech Touchpad: Vendor 0x2 Product 0xe
[  7333.678] (--) evdev: ETPS/2 Elantech Touchpad: Found 3 mouse buttons
[  7333.678] (--) evdev: ETPS/2 Elantech Touchpad: Found absolute axes
[  7333.678] (--) evdev: ETPS/2 Elantech Touchpad: Found absolute multitouch axes
[  7333.678] (--) evdev: ETPS/2 Elantech Touchpad: Found x and y absolute axes
[  7333.678] (--) evdev: ETPS/2 Elantech Touchpad: Found absolute touchpad.
[  7333.678] (II) evdev: ETPS/2 Elantech Touchpad: Configuring as touchpad
[  7333.678] (**) evdev: ETPS/2 Elantech Touchpad: YAxisMapping: buttons 4 and 5
[  7333.678] (**) evdev: ETPS/2 Elantech Touchpad: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[  7333.678] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio1/input/input6/event7"
[  7333.678] (II) XINPUT: Adding extended input device "ETPS/2 Elantech Touchpad" (type: TOUCHPAD, id 14)
[  7333.678] (II) evdev: ETPS/2 Elantech Touchpad: initialized for absolute axes.
[  7333.678] (**) ETPS/2 Elantech Touchpad: (accel) keeping acceleration scheme 1
[  7333.678] (**) ETPS/2 Elantech Touchpad: (accel) acceleration profile 0
[  7333.678] (**) ETPS/2 Elantech Touchpad: (accel) acceleration factor: 2.000
[  7333.678] (**) ETPS/2 Elantech Touchpad: (accel) acceleration threshold: 4
[  7333.679] (II) config/udev: Adding input device ETPS/2 Elantech Touchpad (/dev/input/mouse0)
[  7333.679] (II) No input driver specified, ignoring this device.
[  7333.679] (II) This device may have been added with another device file.
[  7333.679] (II) config/udev: Adding input device PC Speaker (/dev/input/event9)
[  7333.679] (II) No input driver specified, ignoring this device.
[  7333.679] (II) This device may have been added with another device file.
[  7361.735] (II) evdev: ETPS/2 Elantech Touchpad: Close


xinput list:
Code:

⎡ Virtual core pointer                       id=2   [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                 id=4   [slave  pointer  (2)]
⎜   ↳ USB Mouse                                  id=12   [slave  pointer  (2)]
⎜   ↳ ETPS/2 Elantech Touchpad                   id=14   [slave  pointer  (2)]
⎣ Virtual core keyboard                      id=3   [master keyboard (2)]
    ↳ Virtual core XTEST keyboard                id=5   [slave  keyboard (3)]
    ↳ Power Button                               id=6   [slave  keyboard (3)]
    ↳ Video Bus                                  id=7   [slave  keyboard (3)]
    ↳ Power Button                               id=8   [slave  keyboard (3)]
    ↳ Logitech USB Keyboard                      id=9   [slave  keyboard (3)]
    ↳ Logitech USB Keyboard                      id=10   [slave  keyboard (3)]
    ↳ WebCam SC-13HDL11939N                      id=11   [slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard               id=13   [slave  keyboard (3)]


my kernel .config:
Code:

# Input device support
#
CONFIG_INPUT=y
CONFIG_INPUT_FF_MEMLESS=y
CONFIG_INPUT_POLLDEV=y
CONFIG_INPUT_SPARSEKMAP=y
# CONFIG_INPUT_MATRIXKMAP is not set

#
# Userland interfaces
#
CONFIG_INPUT_MOUSEDEV=y
# CONFIG_INPUT_MOUSEDEV_PSAUX is not set
CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
# CONFIG_INPUT_JOYDEV is not set
CONFIG_INPUT_EVDEV=y
# CONFIG_INPUT_EVBUG is not set

#
# Input Device Drivers
#
CONFIG_INPUT_KEYBOARD=y
# CONFIG_KEYBOARD_ADP5588 is not set
# CONFIG_KEYBOARD_ADP5589 is not set
CONFIG_KEYBOARD_ATKBD=y
# CONFIG_KEYBOARD_QT1070 is not set
# CONFIG_KEYBOARD_QT2160 is not set
# CONFIG_KEYBOARD_LKKBD is not set
# CONFIG_KEYBOARD_TCA6416 is not set
# CONFIG_KEYBOARD_TCA8418 is not set
# CONFIG_KEYBOARD_LM8323 is not set
# CONFIG_KEYBOARD_LM8333 is not set
# CONFIG_KEYBOARD_MAX7359 is not set
# CONFIG_KEYBOARD_MCS is not set
# CONFIG_KEYBOARD_MPR121 is not set
# CONFIG_KEYBOARD_NEWTON is not set
# CONFIG_KEYBOARD_OPENCORES is not set
# CONFIG_KEYBOARD_STOWAWAY is not set
# CONFIG_KEYBOARD_SUNKBD is not set
# CONFIG_KEYBOARD_XTKBD is not set
CONFIG_INPUT_MOUSE=y
CONFIG_MOUSE_PS2=y
CONFIG_MOUSE_PS2_ALPS=y
CONFIG_MOUSE_PS2_LOGIPS2PP=y
CONFIG_MOUSE_PS2_SYNAPTICS=y
CONFIG_MOUSE_PS2_CYPRESS=y
# CONFIG_MOUSE_PS2_LIFEBOOK is not set
# CONFIG_MOUSE_PS2_TRACKPOINT is not set
CONFIG_MOUSE_PS2_ELANTECH=y
# CONFIG_MOUSE_PS2_SENTELIC is not set
# CONFIG_MOUSE_PS2_TOUCHKIT is not set
CONFIG_MOUSE_SERIAL=y
# CONFIG_MOUSE_APPLETOUCH is not set
# CONFIG_MOUSE_BCM5974 is not set
# CONFIG_MOUSE_CYAPA is not set
# CONFIG_MOUSE_VSXXXAA is not set
# CONFIG_MOUSE_SYNAPTICS_I2C is not set
# CONFIG_MOUSE_SYNAPTICS_USB is not set
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum