Just to share what I have found.
wacom events come from /dev/event6,tablet touch event come from /dev/event4.
If we get an event from /dev/event6 and fake an even from /dev/event4,we will then be able to use wacom pen to operate tablet applications.
# cat /proc/bus/input/devices
cat /proc/bus/input/devices
I: Bus=0019 Vendor=0001 Product=0001 Version=0100
N: Name="gpio-keys"
P: Phys=gpio-keys/input0
S: Sysfs=/class/input/input0
U: Uniq=
H: Handlers=kbd event0 evbug
B: EV=23
B: KEY=1800000 0 c3780 f 0 10000000
B: SW=2b
I: Bus=0019 Vendor=0001 Product=0001 Version=0100
N: Name="ESI Virtual Keyboard"
P: Phys=esikbd/input0
S: Sysfs=/class/input/input1
U: Uniq=
H: Handlers=kbd event1 evbug
B: EV=3
B: KEY=100 0 1800000 0 2100 fffff ffffffff fffffffe
I: Bus=0019 Vendor=0000 Product=0000 Version=0000
N: Name="pxa27x-keypad"
P: Phys=
S: Sysfs=/class/input/input2
U: Uniq=
H: Handlers=kbd event2 evbug
B: EV=100003
B: KEY=4
I: Bus=0018 Vendor=dead Product=beef Version=0001
N: Name="ofm"
P: Phys=ofm
S: Sysfs=/class/input/input3
U: Uniq=
H: Handlers=mouse0 event3 evbug
B: EV=7
B: KEY=10000 0 0 0 0 0 0 0 0
B: REL=3
I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="tsc2007"
P: Phys=tsc2007/input0
S: Sysfs=/class/input/input4
U: Uniq=
H: Handlers=mouse1 event4 evbug
B: EV=100000b
B: KEY=400 0 0 0 0 0 0 0 0 0 0
B: ABS=1000003
I: Bus=0019 Vendor=0001 Product=0001 Version=0100
N: Name="power-button"
P: Phys=power-button/input0
S: Sysfs=/class/input/input5
U: Uniq=
H: Handlers=kbd event5 evbug
B: EV=3
B: KEY=1800004 0 0
I: Bus=0013 Vendor=0040 Product=0001 Version=0100
N: Name="Wacom DSU"
P: Phys=ttyS2/serio0/input0
S: Sysfs=/class/input/input6
U: Uniq=
H: Handlers=mouse2 event6 evbug
B: EV=b
B: KEY=70000 0 0 0 0 0 0 0 0
B: ABS=1000003
|