I'm trying to install Linux on my Android. I'm configuring xorg.conf file to map my devices to Ubuntu and stuck with some special device that I can't find how to configure.
This device has
both keyboard and touchpad in one device. To be specific, one event, /dev/input/event8 is both keyboard and touchpad.
I tried to configure this device with the following configuration, where I load one event from two input devices.
Code:
Section "InputDevice"
Identifier "Keyboard0"
Driver "evdev"
Option "Device" "/dev/input/event8"
EndSection
Section "InputDevice"
Identifier "Touchpad0"
Driver "evdev"
Option "Device" "/dev/input/event8"
EndSection
However, there are two problems.
First, second InputDevice is ignored. It says in the log that event8 is already configured and second InputDevice will be ignored.
Code:
[ 199.965] (**) evdev: Touchpad0: Device: "/dev/input/event8"
[ 199.965] (WW) evdev: Touchpad0: device file is duplicate. Ignoring.
Second, evdev only recognizes device as keyboard. When I checked the log, it said
Code:
[ 199.962] (II) evdev: Keyboard0: Configuring as touchpad
[ 199.962] (II) evdev: Keyboard0: Configuring as keyboard
which seems like setting for this device is always overwritten as keyboard. I found you can force device type(keyboard, touchpad) using InputClass. However, this only works device specific. That is, I can tell this device is touchpad or keyboard, but I can't tell xorg.conf to read this device once as touchpad and another time as keyboard.
Full xorg.conf and log file available:
xorg.conf:
http://pastebin.com/LW83x4kX
Xorg.2.log:
http://pastebin.com/j8HY2WDx
Thanks in advance.